Learn R Programming

quantmod (version 0.4.20)

addSAR: Add Parabolic Stop and Reversal to Chart

Description

Add Parabolic Stop and Reversal indicator overlay to chart.

Usage

addSAR(accel = c(0.02, 0.2), col = "blue")

Value

A SAR overlay will be drawn on the current chart. A chobTA object will be returned silently.

Arguments

accel

Accelleration factors - see SAR

col

color of points (optional)

Author

Jeffrey A. Ryan

Details

see 'SAR' in TTR for specific details and references.

References

see SAR in TTR written by Josh Ulrich

See Also

addTA

Examples

Run this code
if (FALSE) {
addSAR()
}

Run the code above in your browser using DataLab