Informational indicator. It displays a histogram in different colors, depending on the ratio between the candlestick prices and the moving average.
There are three adjustable parameters:
Calculation:
If Low > MA: MA > PrevMA = color 1 MA < PrevMA = color 2 If High < MA: MA < PrevMA = color 3 MA > PrevMA = color 4
where:
MA is the moving average with the Period, by Method, and at Applied price PrevMA - moving average on the previous bar

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/21036