Parabolic SAR
Category: trend, volatility
Calculates the Parabolic Stop and Reverse (SAR) levels developed by J. Welles Wilder, setting trailing stop levels for trend following and identifying potential trend reversals.
Formula
SAR_{n+1} = SAR_n + \alpha \cdot (EP - SAR_n) \\ \text{where } \alpha \text{ is the acceleration factor and } EP \text{ is the extreme point of the trend.}
Inputs
- i_af_start (default: 0.02)
- i_af_increment (default: 0.02)
- i_af_max (default: 0.20)
See signal primitives, usage in published strategies and more on WOBR StrategyVerse.