This is a modified version of ZigZag indicator that draws lines with different colors depending on the price movement direction.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/57
The Zigzag indicator is a series of sections connecting significant tops and bottoms at the price plot.Williams’ Percent Range (%R)
The Williams’ Percent Range Indicator (%R) is dynamic technical indicator, which determines whether the market is overbought/oversold.