The Parabolic Stop-and-Reverse calculates a trailing stop. Developed by J. Welles Wilder.
Object that is coercible to xts or matrix and contains High-Low prices.
accel: Acceleration factor.
The calculation for the SAR is quite complex. See the URLs in the references section for calculation notes.
The SAR assumes that you are always in the market, and calculates the Stop And Reverse point when you would close a long position and open a short position or vice versa.
A object of the same class as
HL or a vector (if
try.xts fails) containing the Parabolic Stop and
The following site(s) were used to code/document this
ADX, which were
also developed by Welles Wilder.