The logic is quite simple and based on the alternation of narrow and wide ranges. Draw the indicator in the following way:
If there are several candlesticks in a row and both the range and the body size are less than their average value, so the next bar with the extended range is expected. Besides, if we have a series of candlesticks with the range and body size less than average and these candlesticks are located on the same price level, then a strong single directed movement is expected.

Recommendations:
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/1125
USDx dollar index
USDX is an index which measures the dollar's value against a basket of six basic currencies
Exp_BrakeParb
The trading system based on the signals taken from the BrakeParb semaphore, signal, trend indicator
CloseSeries
The indicator displays a series of internal, external and single directed closing and prompts exit points on short-term trend trading
Exp_BullsBears
The trading system based on the signals taken from the BullsBears semaphore signal trend indicator.