In MT4, I can set the moving average indicator's 'Apply to' option to 'First Indicator's Data' in order to show the MA of Willim Percent. But I cann't find the option 'First Indicator's Data' in MQL4. Would you please tell me how I can do that with MQL?
- Indicators - Charts - MetaTrader 5 for Android
- Technical Indicators - Price Charts, Technical and Fundamental Analysis
- Indicators - Chart - MetaTrader 5 for iPhone
In MT4, I can set the moving average indicator's 'Apply to' option to 'First Indicator's Data' in order to show the MA of Willim Percent. But I cann't find the option 'First Indicator's Data' in MQL4. Would you please tell me how I can do that with MQL?
You can use iMaOnArray function!
For more details check my article about this function here:
http://www.metatrader.info/node/84
Your comment is highly appreciated!
Thank you very much, I got the answer!

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