This is the modified version of Position in channel indicator.
The indicator calculates the values, similar to "Williams Percent Range" for 5 different periods. The values are plotted as a histogram. The histogram forms different patterns at different stages of the trend.
Three sets of periods are used:
Translated from Russian by MetaQuotes Software Corp.
Original code: http://www.mql5.com/ru/code/890