Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

DRAW_COLOR_ARROW - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

DRAW_COLOR_ARROW - indicator for MetaTrader 5

This indicator is a demo drawn in color_arrow painting style.

It draws arrows on the chart using symbols from the Windings font. Two indicator buffers are used: one for the price value and another buffer containing the color index. The code parameter is used to specify the base code: code=159 (circle).

Color, character size and offset change randomly after N=5 ticks. plot1 The initial properties of the graph plot are defined using the #property preprocessor directive, further these properties are randomly changed (see OnCalculate() function).

See drawing styles in MQL5

DRAW_COLOR_ARROW - indicator for MetaTrader 5


Attachment download

📎 draw_color_arrow.mq5 (6.28 KB)

Source: MQL5 #345

Verification code Refresh