public override void SetDescription(SlotTypes slotType)
{
EntryFilterLongDescription = "the " + ToString() + " ";
EntryFilterShortDescription = "the " + ToString() + " ";
ExitFilterLongDescription = "the " + ToString() + " ";
ExitFilterShortDescription = "the " + ToString() + " ";
switch (IndParam.ListParam[0].Text)
{
case "The RSI MA Oscillator rises":
EntryFilterLongDescription += "rises";
EntryFilterShortDescription += "falls";
ExitFilterLongDescription += "rises";
ExitFilterShortDescription += "falls";
break;
case "The RSI MA Oscillator falls":
EntryFilterLongDescription += "falls";
EntryFilterShortDescription += "rises";
ExitFilterLongDescription += "falls";
ExitFilterShortDescription += "rises";
break;
case "The RSI MA Oscillator is higher than the zero line":
EntryFilterLongDescription += "is higher than the zero line";
EntryFilterShortDescription += "is lower than the zero line";
ExitFilterLongDescription += "is higher than the zero line";
ExitFilterShortDescription += "is lower than the zero line";
break;
case "The RSI MA Oscillator is lower than the zero line":
EntryFilterLongDescription += "is lower than the zero line";
EntryFilterShortDescription += "is higher than the zero line";
ExitFilterLongDescription += "is lower than the zero line";
ExitFilterShortDescription += "is higher than the zero line";
break;
case "The RSI MA Oscillator crosses the zero line upward":
EntryFilterLongDescription += "crosses the zero line upward";
EntryFilterShortDescription += "crosses the zero line downward";
ExitFilterLongDescription += "crosses the zero line upward";
ExitFilterShortDescription += "crosses the zero line downward";
break;
case "The RSI MA Oscillator crosses the zero line downward":
EntryFilterLongDescription += "crosses the zero line downward";
EntryFilterShortDescription += "crosses the zero line upward";
ExitFilterLongDescription += "crosses the zero line downward";
ExitFilterShortDescription += "crosses the zero line upward";
break;
case "The RSI MA Oscillator changes its direction upward":
EntryFilterLongDescription += "changes its direction upward";
EntryFilterShortDescription += "changes its direction downward";
ExitFilterLongDescription += "changes its direction upward";
ExitFilterShortDescription += "changes its direction downward";
break;
case "The RSI MA Oscillator changes its direction downward":
EntryFilterLongDescription += "changes its direction downward";
EntryFilterShortDescription += "changes its direction upward";
ExitFilterLongDescription += "changes its direction downward";
ExitFilterShortDescription += "changes its direction upward";
break;
default:
break;
}
return;
}