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: https://www.mql5.com/ru/code/890
Clouds formed by the masses of moving averages of different periods.News VLine
The script adds vertical lines on the chart at the news events.