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 | MA Rounding

The real author:

BACKSPACE

Crossed МА and ZigZag. To be more exactly, МА drawn on the Zigzag principle. In the input data except the Moving Average itself also the parameter is present.

input uint MaRound=50; //coefficient of rounding 

This parameter determines on what number of points to the side opposite the previous movement the МА doesn't respond.

This indicator was first implemented in MQL4 and published in Code Base on 11.02.2010.

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1 The MA Rounding indicator.

1211

Best MetaTrader Indicators + Profitable Expert Advisors