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