Stop loss retry

Created at 27 Dec 2024, 21:31
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AL

algobeginner

Joined 15.12.2024

Stop loss retry
27 Dec 2024, 21:31


when operate basic operations like 

ExecuteMarketOrder(TradeType.Sell, NewsSymbol, MarketSeries.LastValue, StopLossPips, TakeProfitPips);

why there is in backtest occurrences of not set SL or TP , tick data or bar data same result . 

 

Is possible to prevent to execute order if SL and TP cant be set ?


@algobeginner
Replies

firemyst
28 Dec 2024, 03:17 ( Updated at: 30 Dec 2024, 07:15 )

REsponded to in this thread:

https://community.ctrader.com/forum/ctrader-algo/45895/

 


@firemyst