Scripting Moving Averages of other indicators

 
Hi, Is it possible to create a moving average based on the value of another indicator, rather than price? I would like to create an EA which takes a signal when an indicator such as momentum or CCI crosses a moving average of itself. Is this possible, can anbody link me to anything which details how this may be done?
 
kieranf:
Hi, Is it possible to create a moving average based on the value of another indicator, rather than price? I would like to create an EA which takes a signal when an indicator such as momentum or CCI crosses a moving average of itself. Is this possible, can anbody link me to anything which details how this may be done?


iMAOnArray()

https://www.mql5.com/en/forum/141701