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

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

            return;
        }