- OnTick runs on every new price. Remember the previous ones.
- OnTick does that on every new price.
- OnBookEvent does that. Perhaps you should read the manual.
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
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
I am a new learner of MQL5 and I want to do the following but I am not sure it is possible in MQL5:
1. Get the price of a sticker every time it has a new price (more or less get the "real time" price" or prices of the last two or three update).
2. Write an EA that runs/loops every time the price of the sticker update.
3. Write an function/sub routine that is triggered to run whenever a buy/sell limit/stop is triggered.
Any help will be highly appreciated.
Thanks,