Open-source scriptindicator/v1
Parabolic SAR
Place a trailing stop-and-reverse curve above or below price as trend direction changes.
#parabolic-sar#stop#trend
Description
Parabolic SAR uses an accelerating trailing calculation that moves toward the prevailing trend extreme. Dots below price identify an upward phase and dots above price identify a downward phase, with reversals switching sides.
Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.
Release notes
Version history · 1 published version
Version 1CurrentChart updatedParabolic SAR · Aug 31, 2026
Source codempl-2.0View sourceHide source
indicator("Parabolic SAR", { overlay: true });
const start = input.float("Start", 0.02, { min: 0.001, max: 1, step: 0.001 });
const increment = input.float("Increment", 0.02, { min: 0.001, max: 1, step: 0.001 });
const maximum = input.float("Maximum", 0.2, { min: 0.01, max: 1, step: 0.01 });
plot(sar(start, increment, maximum), { title: "SAR", color: "#2962ff", type: "circles", lineWidth: 2 });
Community discussion
0 comments
No comments yet. Start the discussion.