Hitting a stoploss in backtesting stops Cbot from making more trades?

Created at 02 Feb 2017, 14:13
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!
49

49high

Joined 02.02.2017

Hitting a stoploss in backtesting stops Cbot from making more trades?
02 Feb 2017, 14:13


When backtesting and using ExecuteMarketOrder without a Stop Loss and Take Profit values, my robot continues placing orders until backtesting stops.

When executing orders including Stop Loss and Take Profit values, the first Stop Loss that is hit prevents the bot from placing more orders.  However, logs for another function print until the end of backtesting, so it appears the bot is running the full way, just not placing any more trades after hitting the first Stop Loss.

Is this a known issue, or should I post code?


@49high