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

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 .

Attachment download
📎 draw_candles.mq5 (7.32 KB)
Source: MQL5 #338
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •