EJ: but now it no longer paints the moving averages and it only paints the space between them.
- Bug in 1090. Either recompile until it does or add the #property indicator_type1 DRAW_LINE
-
Start using the new Event Handling Functions.
Event Handling Functions - Functions - Language Basics - MQL4 Reference
And do your lookbacks correctly.

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 have this indicator that use to paint the moving averages and fill the space between them with a color of my choosing but now it no longer paints the moving averages and it only paints the space between them. Can someone help me fixing this? Here's the code: