Topics

Forum Topics not found

Replies

rtdias
23 May 2020, 13:03

RE: wonder on number 5 at execute order?

NyanHtet said:

what is the last 5 means?

 

ExecuteMarketOrder(TradeType.Buy, Symbol, volume, "korakodmy", StopLoss, TakeProfit, 5);

 

ExecuteMarketOrder(TradeType.Sell, Symbol, volume, "korakodmy", StopLoss, TakeProfit, 5);

 

regards,

Nyan

ExecuteMarketOrder SYNTAX:

ExecuteMarketOrder(TradeType tradeType, string symbolName, double volume, string label, double? stopLossPips, double? takeProfitPips, string comment, bool hasTrailingStop, StopTriggerMethod? stopLossTriggerMethod)

@rtdias