Parabolic SAR And Price Versus Supertrend
These filters express current price as a signed percentage distance from Parabolic SAR or Supertrend.
What this is
- price_vs_psar_pct calculates price distance from Parabolic SAR.
- price_vs_supertrend_pct calculates price distance from Supertrend.
Both use (close - reference line) / reference line * 100 . Positive values place price above the line; negative values place it below.
When to use it
Use the zero level for trend-side or flip conditions. Use nonzero distance to require a buffer and reduce reactions to marginal touches.
Before you start
- Both filters support above , below , cross_above , and cross_below .
- Both default to value 0 .
- Parabolic SAR defaults are start: 0.02 , increment: 0.02 , maximum: 0.2 .
- Supertrend defaults are period: 10 , mult: 3 .
Step by step
Step 1: Choose the reference
Parabolic SAR accelerates as a move extends and is sensitive to reversals. Supertrend uses ATR-based bands and can be steadier when the factor is wider.
Step 2: Set sensitivity
For SAR, Start, Increment, and Maximum control acceleration. For Supertrend, ATR Length and Factor control smoothing and band distance.
Step 3: Set state or event
Use above 0 or below 0 for a persistent side. Use crossing zero for a new flip. A buffer such as above 0.2 requires price to be farther above the line.
What you should see
The result should be a signed percentage, making the same conceptual threshold more portable across different price scales.
Common mistakes
- confusing a persistent side with a one-candle crossing event
- making SAR acceleration so aggressive that it flips on normal noise
- assuming every line flip begins a durable trend
- combining both distance filters without a clear reason
Related articles
- Filters Reference
- Supertrend
- Price Versus Moving Averages