-
“Doesn't work” is meaningless — just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires — meaningless.
How To Ask Questions The Smart Way. 2004
When asking about code -
Look for a cross.
double aPrev = …, aCurr = …, bPrev = …, bCurr = …; bool wasUp = aPrev > bPrev, isUp = aCurr > bCurr, isCross = isUp != wasUp;
Thanks for your message.
I had a solution here Indicator not displaying new alerts - Trend Indicators - MQL4 and MetaTrader 4 - MQL4 programming forum (mql5.com)
Indicator not displaying new alerts
- 2021.06.09
- www.mql5.com
Hello, I found this piece of indicator on the net. Once installed it displays old alerts but not the new alerts...
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
I am desperately looking for a simple piece of code that works just for moving average crossover.
All the mql4 code I find on the internet is crappy and not working.
Thanks