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

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

author EAcpu | 2 reads | 0 comments |

DRAW_CANDLES - indicator for MetaTrader 5

The indicator draws candles on two symbols in separate windows.

This candle drawing style draws candles using the values ​​of 4 indicator buffers including open, high, low and close. The N variable is defined as an input parameter and can be changed using the Properties window. The color and symbol change randomly every N ticks. To see how this works, attach two indicators to the chart.

Please note that the plot1 plot's initial properties ( drawing candles ) are defined using #property preprocessor directives, further these properties are randomly changed ( OnCalculate() function).

See also: Drawing styles in MQL5 .

DRAW_CANDLES - indicator for MetaTrader 5


Attachment download

📎 draw_candles.mq5 (7.32 KB)

Source: MQL5 #338

Verification code Refresh