Forex_Strategy_Builder.Stop_Limit.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 iStopLoss   = (int)IndParam.NumParam[0].Value;
            int iTakeProfit = (int)IndParam.NumParam[1].Value;

            ExitPointLongDescription  = "when the market falls " + iStopLoss + " pips or rises " + iTakeProfit + " pips from the last entry price";
            ExitPointShortDescription = "when the market rises " + iStopLoss + " pips or falls " + iTakeProfit + " pips from the last entry price";

            return;
        }