How to get the No. of the bar. afer order entry. Thanks

Created at 07 May 2020, 14:29
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!
LO

lordyy

Joined 24.03.2015

How to get the No. of the bar. afer order entry. Thanks
07 May 2020, 14:29


Hi,

    How to get the No. of Bar. afer execute order. Thanks a lot


cTrader Automate
@lordyy
Replies

PanagiotisCharalampous
07 May 2020, 14:44

Hi lordyy,

You can add a counter in OnBar() that will start counting after the position was entered.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

lordyy
08 May 2020, 06:11

RE:

PanagiotisCharalampous said:

Hi lordyy,

You can add a counter in OnBar() that will start counting after the position was entered.

Best Regards,

Panagiotis 

Join us on Telegram

 

Thanks a lot


@lordyy