Whats the moving average of indicator?
When you attach an indicator to the chart it uses the price to for it calculation and save (draw) them . You can calculate the moving average of this array. I’ll give you a manual example before going to create our mql4 version. Let’s say that we will attach the CCI (Commodity Channel Index) indicator to our chart (Figure 1). Now we want to get the moving average of the CCI. We can do that by dragging the Moving Average indicator to the window holds the CCI indicator and choose the Apply to: Previous Indicator’s Data (Figure 2).