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 | Simple Continuous ParabolicSAR | Free Download

RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

  • For any instruments and time frames.
  • The main variable of the period ParabolicSARPeriod.

The principal calculation of the indicator consist of 9 lines

 max=0;
 min=0;
for(int j=1; j<=ParabolicSARPeriod; j++)
     {
   max=max+Highest(High,j,i)/ParabolicSARPeriod;
   min=min+Lowest(Low,j,i)/ParabolicSARPeriod;
     }
max= NormalizeDouble(max,_Digits);
min= NormalizeDouble(min,_Digits);

As a comparison simple ParabolicSAR is shown

Watch in-depth trading tutorials and EA reviews on the RobotFX YouTube channel. Subscribe for free tips.

Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.

1832

Best MetaTrader Indicators + Profitable Expert Advisors