Can someone share an EA that will send alerts every time when price stop moving within one minute?
How to make a search on the forum/Market/CodeBase:
https://www.mql5.com/en/forum/193510
How can I search for indicators and other elements in this forum?
- 2017.05.29
- augusdel
- www.mql5.com
How can I search for indicators in this forum? I need the Hodrick Prescott Filter for MT4. Please, if anyone can help me, I thank you in advance...
Hi
I don’t know if this would work, but you can use OnTimer here and set it every second or more frequent (according to your needs) and add this function there:
static bool flag=false; MqlTick lastTick; SymbolInfoTick(_Symbol,lastTick); if(TimeCurrent()-lastTick.time>=3600){ if(!flag){ Alert("LastTick 1 minute ago!"); flag=true; //set flag to not replicate alerts every second } } else flag=false;
Have a nice weekend
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