This indicator is a demo of DRAW_COLOR_SECTION drawing style.
It plots color sections with specified number of bars. Two indicator buffers are used: the first contains the High price of the bar, the color indexes specified in the second indicator buffer. The section color, width and line style are changed randomly after N ticks.
See also The Drawing Styles in MQL5.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/342
The DRAW_COLOR_LINE drawing style is used to plot lines with different colors, the colors are specified in the color buffer.Premier Stochastic Oscillator [v01]
Premier Stochastic Oscillator - Double EMA smoothing of stochastic, based on article in TASC by Lee Leibfarth (August 2008)