The indicator paints candlesticks depending on the minimums and maximums of the previous bars.
In this version of the indicator all candlesticks, that are directed against the trend, are painted in yellow.
Originally this indicator has been written in MQL4 and was first published in the Code Base at mql4.com on 25.04.2012.
Fig.1. The SimpleBars_V2 indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14128
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.