
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
It's impossible. You can't put two metatraders in the one directory and each MT use its own directory for Global Variable. You have to use the file and winapi functions.
It's impossible. You can't put two metatraders in the one directory and each MT use its own directory for Global Variable. You have to use the file and winapi functions.
Thank you for the response. I was afraid of that. Do you have any examples on how to use the winapi?
File Operations via WinAPI - MQL4 Articles
https://www.mql5.com/en/code/8314
hi guys, anyone know how we can use global variable to keep stop alerting when change between timeframes. or show me a sample indicator that use it...
in regular mode, we stop repeating alerts by a datetime like:
but this not work in this case and each time you change timeframe it will alert again.
thanks
hi guys, anyone know how we can use global variable to keep stop alerting when change between timeframes. or show me a sample indicator that use it...
in regular mode, we stop repeating alerts by a datetime like:
but this not work in this case and each time you change timeframe it will alert again.
thanks
This is one possibility (you can call IsNewBar() any number of time, but only call TickEnded() once at the end of OnTick()):
This is one possibility (you can call IsNewBar() any number of time, but only call TickEnded() once at the end of OnTick()):
wow, its worked. almost all last previous 24 hours i was busy with this problem!, thanks man.