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



The indicator plots channels in separate windows based on moving averages of two different periods.
Changes in channel color indicate changes in trend.
This draw_fill drawing style draws the filled area between two indicator buffer values. In effect, it draws two lines and fills the area between them with the specified color. The color of the channel changes after N ticks. The N variable is defined as an input parameter and can be changed using the Properties window.
Note that the initial properties of the plot1 plot ( plot_fill ) are defined using the #property preprocessor directive, and further these properties are randomly changed ( OnCalculate() function).
See also: Drawing styles in MQL5 .

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