Execute OnBar() every minute

Created at 20 Sep 2017, 18:01
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!
HE

herve.va

Joined 19.09.2017

Execute OnBar() every minute
20 Sep 2017, 18:01


Good afternoon,

I want to execute OnBar() every minute, is it possible ?


@herve.va
Replies

croucrou
20 Sep 2017, 19:49

OnBar() executes every minute on the M1 timeframe.


@croucrou

herve.va
20 Sep 2017, 20:01

So for do that, I select m1 for timeframe below symbol in robot parameter ?


@herve.va

croucrou
21 Sep 2017, 16:41

If you run your robot on the M1 timeframe, the OnBar() logic will execute every minute.

If you are asking about backtesting, you select the timeframe from the menu below the symbol.


@croucrou

herve.va
22 Sep 2017, 15:35

Thanks for your help.
@herve.va