Download MetaTrader 5

Indicators: DRAW_COLOR_SECTION

To add comments, please log in or register
Download MQL5 library codes via MetaTrader. It is convenient!
Automated-Trading
Admin
99097
Automated-Trading 2011.04.26 11:14 

DRAW_COLOR_SECTION:

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. The initial properties of the plot1 graphic plot are defined using the #property preprocessor directive, further these properties changed randomly (see OnCalculate() function).

See also The Drawing Styles in MQL5.

DRAW_COLOR_SECTION

Author: MetaQuotes


To add comments, please log in or register