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

  • 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

MetaTrader Experts, Indicators, Scripts and Libraries

1832

Best MetaTrader Indicators + Profitable Expert Advisors