ATR+MA & Bandwidth+ MA

 

Hi, I need a custom indicator that, in a separate window, write atr and moving average calculate on it and same thing for bandwidth. I have made the code in mql4 and I have using the IMAONARRAY for calculate the MA, but the indicator don' t work..can anyone help me???

Thanks

 

Can you attach the indicator so I can take a look? It might just be a small bug.

 

Indicator and moving average don' t update on live market..

Files: