Universal moving average which fills the chart space with a colored background. The moving average itself serves as the color separation line.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article “Averaging Price Series for Intermediate Calculations Without Using Additional Buffers”.
Fig.1. The ColorX2MA_Cloud indicator