OnBar first run

Created at 24 Apr 2017, 06:17
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!
ozan's avatar

ozan

Joined 07.11.2015

OnBar first run
24 Apr 2017, 06:17


When a cbot starts to run first time, does OnBar calls true or waits for candle close and then calls true on next bar?

Thanks in advance.


@ozan
Replies

kricka
29 Apr 2017, 23:39

"ozan" that is a very interesting question and need to be answered. Maybe the Spotware team will add additional information here. I am drawing the conclusion it's on the closing of the bar when the reality of the information is presented as a fact.


@kricka