How can I get the moving average of the Willim Percents' Range or any other indicator?

 
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?
 
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!
Reason: