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

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

author EAcpu | 5 reads | 0 comments |

DRAW_FILLING - indicator for MetaTrader 5

DRAW_FILLING - indicator for MetaTrader 5

DRAW_FILLING - indicator for MetaTrader 5

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 .

DRAW_FILLING - indicator for MetaTrader 5


Attachment download

📎 draw_filling.mq5 (5.53 KB)

Source: MQL5 #336

Verification code Refresh