quantmod (version 0.4-12)

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")

Arguments

accel

Accelleration factors - see SAR

col

color of points (optional)

Value

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

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
# NOT RUN {
addSAR()
# }

Run the code above in your browser using DataCamp Workspace