Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | DRAW FILLING

The indicator plots a channel based on two moving averages with different periods in the separate window.

The change of the channel color shows the change of the trend.

The DRAW_FILLING drawing style plots the filled area between the values of two indicator buffers. In fact, it plots two lines and fills the area between them with the specified color. The colors of the channel changed after N ticks. The N variable is defined as input parameter, it can be changed using the "Properties" window.

Note that initial properties of the plot1 graphic plot (DRAW_FILLING) are defined using the #property preprocessor directive, further these properties changed randomly (OnCalculate() function).

See also: The Drawing Styles in MQL5.

Image:

MetaTrader Experts, Indicators, Scripts and Libraries


336

Best MetaTrader Indicators + Profitable Expert Advisors