Description Usage Arguments Details Value Author(s) References See Also Examples
The Parabolic Stop-and-Reverse calculates a trailing stop. Developed by J. Welles Wilder.
1 |
HL |
Object that is coercible to xts or matrix and contains High-Low prices. |
accel |
accel[1]: 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
Reverse values.
Joshua Ulrich
The following site(s) were used to code/document this
indicator:
http://www.linnsoft.com/tour/techind/sar.htm
http://www.fmlabs.com/reference/SAR.htm
http://stockcharts.com/education/IndicatorAnalysis/indic_ParaSAR.htm
http://www.equis.com/Customer/Resources/TAAZ/?c=3&p=87
See ATR
and ADX
, which were
also developed by Welles Wilder.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.