Is it possible to fire OnBar() event every 2.5 second
Created at 12 Sep 2024, 02:24
Is it possible to fire OnBar() event every 2.5 second
12 Sep 2024, 02:24
I can see the smallest granularity for a time bar in cTrader is 1 minute.
Can I get OnBar() event 2.5 second?
I know there is OnTimer() event which I can set to fire every 2.5 second but I already used it for another purpose.
firemyst
17 Sep 2024, 00:55 ( Updated at: 17 Sep 2024, 05:17 )
Yes. You can have multiple timers.
https://ctrader.com/forum/cbot-support/24285/
@firemyst