public string GetDefaultGroup(int slot)
{
string group = "";
string sIndicatorName = Slot[slot].IndicatorName;
SlotTypes slotType = GetSlotType(slot);
if (slotType == SlotTypes.OpenFilter)
{
if (sIndicatorName == "Data Bars Filter" ||
sIndicatorName == "Date Filter" ||
sIndicatorName == "Day of Month" ||
sIndicatorName == "Enter Once" ||
sIndicatorName == "Entry Time" ||
sIndicatorName == "Long or Short" ||
sIndicatorName == "Lot Limiter" ||
sIndicatorName == "Random Filter")
group = "All";
else
group = "A";
}
if (slotType == SlotTypes.CloseFilter)
{
int index = slot - CloseSlot - 1;
group = char.ConvertFromUtf32(char.ConvertToUtf32("a", 0) + index);
}
return group;
}