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 Indicators | Fractals Modified | Source Code Included

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.

This indicator is a small modification of classical Fractals Indicator.

You can choose the number or left/right bars to have a new top or bottom as well a shift parameter.

In the following chart you can see the indicator with parameter values:

Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.

  • leftbars=10;
  • rightbars=10;
  • shift=0.

Fractals Modified Indicator MQL5

The parameter leftbars/rightbars indicates the necessary number of bars to the left/right to have either a bottom or a top. Instead, the last parameter, shift, can be choosed to be 0 to have a good visualization of the top/bottom levels.

However, in order to use this indicator it should be convinient to choose it as maximum between leftbars and rightbars. It is in this moment when the top/bottom is created.

In the following chart you can see the same as before with parameters:

  • leftbars=10;
  • rightbars=10;
  • shift=10.

Fractals Modified Indicator MQL5

Complement community code with advanced automation from RobotFX.

2135

Best MetaTrader Indicators + Profitable Expert Advisors