Please help by adding a moving average to this useful indicator

 

Hi, I have been using this indicator which was in this thread: https://www.mql5.com/en/forum/178015 Post #17.

In the image, I have manually added the Moving Average. I found it useful as a signal and tried to add a moving average to the source file. I've done this several times before but for some reason it will not work on this indicator.

Would some kind person add a moving average so we can all use/evaluate (currency_strenght_fast.mq4) OR make corrections to my attempt (currency_stregth_histo.mq4). I have documented all additions in the _histo version..

Very grateful for anyone who can solve this.

 
Newton51:
Hi, I have been using this indicator which was in this thread: https://www.mql5.com/en/forum/178015 Post #17.

In the image, I have manually added the Moving Average. I found it useful as a signal and tried to add a moving average to the source file. I've done this several times before but for some reason it will not work on this indicator.

Would some kind person add a moving average so we can all use/evaluate (currency_strenght_fast.mq4) OR make corrections to my attempt (currency_stregth_histo.mq4). I have documented all additions in the _histo version..

Very grateful for anyone who can solve this.

Hi Newton51, this is a simplified version with the ma added. The picture is the 2 in a comparison.

Files:
 

mrtoools, once again you have helped me solve a problem I've spent time trying to solve. Thank you so much. I will study how you did this and will learn a new thing again.

Reason: