Take Profit not set while execute order.

Created at 12 Aug 2022, 13:43
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!
MongolTrader's avatar

MongolTrader

Joined 12.02.2015

Take Profit not set while execute order.
12 Aug 2022, 13:43


Take profit not set after execution market order. And i use take profit point for some calculation and when it not set an orders it stops whole bot and exception error occur. Please check this. I used it ontick also onbar method there both same result. Maybe this is bug of new version. Please check. 

01/10/2022 11:11:59.362 | CBot instance [AA, EURUSD, t2] crashed with error "Crashed in OnTick with InvalidOperationException: Nullable object must have a value."


@MongolTrader
Replies

PanagiotisCharalampous
12 Aug 2022, 13:51

Hi MongolTrader.

Please share your cBot code.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous