- 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