talib.psar

Parabolic SAR, controlled by three numbers rather than a bar count: where the calculation starts, how much it moves on each step, and how far it is allowed to go. All three accept an int or a float.

talib.psar(series float start, series float step, series float max_step) → series float
ParameterTypeRequiredDescription
startseries floatyesStarting value of the calculation.
stepseries floatyesAmount added at each step.
max_stepseries floatyesUpper bound that value will not pass.

Returns series float — A series float.

indicator("Parabolic SAR")
plot(talib.psar(0.02, 0.02, 0.2))

See also talib.alma · talib.atr · talib.barssince

Part of the function index.

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade