- 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