silvergerbil:
Is this what you are looking for ? https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/ma
Hi,
Is there anywhere I can find the mq4 file for the Moving Average indicator, the default one that comes with MT4?
RaptorUK:
Is this what you are looking for ? https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/ma
Is this what you are looking for ? https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/ma
Thanks RaptorUK.
Your link contained a full source code link and I changed indicator_chart_window to indicator_separate_window which has given me exactly what I was looking for. Cheers!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi,
Is there anywhere I can find the mq4 file for the Moving Average indicator, the default one that comes with MT4?
It's one of the only indicators that will work when applied to another indicator window that I am using but I need the code so I can try to amend it creating an envelope/band type effect using 2 MAs.
I've already tried a few other indicators but they either won't apply to the separate indicator window or doesn't maintain a constant distance between the upper band and the lower band which is what I want.
The closest which seems to work only with the main chart window even when dragged into the correct window is the following:
https://www.mql5.com/en/code/7975
Any advice will be greatly appreciated.
Cheers.