The indicator plots the bars of the specified symbol in the separate window.
The DRAW_BARS drawing style is used to plot the bars using the values of 4 indicator buffers with Open, High, Low and Close prices. The bars color and width changed after N ticks. The N variable is defined as input parameter, it can be changed using the "Properties" window.
See also: The Drawing Styles in MQL5.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/337
The DRAW_FILLING drawing style plots the filled area between the values of two indicator buffers. In fact, it plots two lines and fills the area between them with the specified color.DRAW_CANDLES
The DRAW_CANDLES drawing style plots the candles using the values of 4 indicator buffers with Open, High, Low and Close prices.