I tried to parse Parabolic SAR formula and implement it to Excel, but I faced some difficulties.
- if (afIncreased && prevBar != CurrentBar) - what those "&&" and "!=" mean?
- if ((longPosition && (Low[0] < todaySAR || Low[1] < todaySAR))
|| (!longPosition && (High[0] > todaySAR || High[1] > todaySAR))) - hard to track those lines as well.
And also this one:
for (int x = 1; x <= 2; x++)
Comment