Forex_Strategy_Builder.Lot_Limiter.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)
        {
            int iMaxLots = (int)IndParam.NumParam[0].Value;

            EntryFilterLongDescription  = "the open lots cannot be more than " + iMaxLots + ". This rule overrides the maximum number of open lots set in the strategy properties dialog";
            EntryFilterShortDescription = "the open lots cannot be more than " + iMaxLots + ". This rule overrides the maximum number of open lots set in the strategy properties dialog";

            return;
        }