Download MetaTrader 5

How to apply EMA to an RSI indicator

To add comments, please log in or register
Roberto Dasso
99
Roberto Dasso  

Hi Sir

I am wondering if there is a way to code a MA indicator applied to another indicator, in this case I want to apply it to the results of an RSI indicator.

At the MT4 platform, you can add a Moving Average to any indicator, just open the MA indicator and select the option - Apply to: Previos Indicator´s Data

But on MQL4 iMA function you cannot choose that option.

Is there any way you can build  a Moving Average indicator based on the results of another indicator?

I guess you could build an array with the indicator's results and then apply the MA to the resulting array, is that correct?

Will someone please show how to do it?

thanks

JHF

Keith Watford
Moderator
10617
Keith Watford  

I guess you could build an array with the indicator's results and then apply the MA to the resulting array, is that correct?

Yes 

Use iMAOnArray()

Roberto Dasso
99
Roberto Dasso  

Thanks


Will work on that.

To add comments, please log in or register