Forex_Strategy_Builder.Day_of_Week.SetDescription C# (CSharp) Method

SetDescription() public method

Sets the indicator logic description
public SetDescription ( SlotTypes slotType ) : void
slotType SlotTypes
return void
        public override void SetDescription(SlotTypes slotType)
        {
            DayOfWeek dowFromDay  = (DayOfWeek)IndParam.ListParam[1].Index;
            DayOfWeek dowUntilDay = (DayOfWeek)IndParam.ListParam[2].Index;

            EntryFilterLongDescription  = "the day of week is from " + dowFromDay + " (incl.) to " + dowUntilDay + " (excl.)";
            EntryFilterShortDescription = "the day of week is from " + dowFromDay + " (incl.) to " + dowUntilDay + " (excl.)";

            return;
        }