cryptex:
Hello everyone,
I was little clarity on how OnTick() works. I am trying to check if a new bar is forming
OnTick() is run each time a tick is received, what do you want to understand ?
To detect a new bar don't rely on Bars, always use time.
angevoyageur:
Could you throw some more light on this? I thought that by using bars i could avoid any mismatch in time. Can you kindly suggest how you propose on doing it using time?
OnTick() is run each time a tick is received, what do you want to understand ?
To detect a new bar don't rely on Bars, always use time.
https://www.mql4.com/search#!keyword=new%20bar&module=mql4_module_forum
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello everyone,
I was little clarity on how OnTick() works. I am trying to check if a new bar is forming