Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | DRAW COLOR ARROW

This indicator is a demo of DRAW_COLOR_ARROW drawing style.

It plots arrows on the chart, using the symbols from Windings font. Two indicator buffers are used: one for the price values, the other buffer contains the indexes of the colors. The code parameter is used to specify the base code: code=159 (circle).

The color, char size and shift are changed randomly after N=5 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

MetaTrader Experts, Indicators, Scripts and Libraries

345

Best MetaTrader Indicators + Profitable Expert Advisors