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

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