Parabolic SAR Buy Sell Signals - TradingView Guide
Parabolic SAR buy sell signals for TradingView. Trend flip signals with step and max factor settings, Pine Script code, and backtest results.
Parabolic SAR Signal Interpretation
Quick-reference guide to 6 signal types you will see on the chart.
| Signal Type | Indicator Condition | Market Meaning | Reliability |
|---|---|---|---|
| Bullish Flip (Dot Below) -> Buy | PSAR flips from above price to below price | Trend has shifted from bearish to bullish. Price momentum now favors longs. The dot below acts as a trailing stop level. | 3/5 |
| Bearish Flip (Dot Above) -> Sell | PSAR flips from below price to above price | Trend has shifted from bullish to bearish. Price momentum favors shorts. The dot above becomes a resistance trailing stop. | 3/5 |
| Parabolic SAR + EMA Trend Confirmation | PSAR below price and price above EMA 50 | Strong uptrend confirmation. PSAR flip aligns with the larger EMA trend direction. Reduces whipsaw entries in sideways markets. | 4/5 |
| Step Break (0.02 Acceleration) | PSAR flips into new trend with step value starting at 0.02 | Standard acceleration rate. Good for steady trends. Catch big moves without exiting too early. | 3/5 |
| Max Factor Constraint Triggered | PSAR acceleration hits the max factor (0.20 default) | Trend has sustained long enough that SAR catches up to price. The dot tightens against price. Typically indicates trend exhaustion zone. | 4/5 |
| Whipsaw (Consecutive Flips) | PSAR flips direction within 3 bars of the previous flip | Market is ranging, not trending. No reliable signal. Using PSAR in these conditions produces losses from false flips. | 1/5 |
Parabolic SAR Pine Script Signal Code
Ready-to-use Pine Script code for generating buy/sell signals. Copy and paste into your TradingView Pine Editor.
//@version=5
indicator("Parabolic SAR Buy Sell Signals", overlay=true)
start = input.float(0.02, "Start Step")
increment = input.float(0.02, "Increment Step")
maximum = input.float(0.20, "Maximum Step")
// Parabolic SAR calculation
psar = ta.sar(start, increment, maximum)
// Trend direction
trendUp = psar < close
trendDown = psar > close
// Signal detection
buySignal = trendUp and not trendUp[1]
sellSignal = trendDown and not trendDown[1]
// EMA trend filter (optional)
useEmaFilter = input.bool(true, "Use EMA Filter")
emaLen = input.int(50, "EMA Length")
emaValue = ta.ema(close, emaLen)
// Filtered signals
filteredBuy = buySignal and (not useEmaFilter or close > emaValue)
filteredSell = sellSignal and (not useEmaFilter or close < emaValue)
// Plot PSAR
plot(psar, "PSAR", style=plot.style_cross, linewidth=1, color=trendUp ? color.new(#4CAF50, 0) : color.new(#FF5252, 0))
// Plot signals
plotshape(filteredBuy, "Buy Signal", shape.triangleup, location.belowbar, color=#4CAF50, size=size.small)
plotshape(filteredSell, "Sell Signal", shape.triangledown, location.abovebar, color=#FF5252, size=size.small)
// EMA line
plot(useEmaFilter ? emaValue : na, "EMA 50", color=color.new(#2962FF, 60))
// Alert conditions
alertcondition(buySignal, "PSAR Bullish Flip", "Parabolic SAR flipped bullish - price above SAR")
alertcondition(sellSignal, "PSAR Bearish Flip", "Parabolic SAR flipped bearish - price below SAR")
alertcondition(filteredBuy, "PSAR EMA Confirmed Buy", "PSAR bullish flip with price above EMA 50")
alertcondition(filteredSell, "PSAR EMA Confirmed Sell", "PSAR bearish flip with price below EMA 50")Recommended Parameters for Parabolic SAR
Parameter settings tested across different market conditions and timeframes.
| Parameter | Default | Description |
|---|---|---|
| Start Step | 0.02 | Initial acceleration factor. Lower values (0.01) delay the flip and reduce whipsaws. Higher values (0.03) flip faster but produce more false signals. I use 0.015 on 1h ES charts for a balance between speed and reliability. |
| Increment Step | 0.02 | Amount added to the acceleration factor each bar the trend continues. Standard value is 0.02. Decreasing it slows SAR progression but may miss late-entry reversals in volatile forex pairs like EURUSD. |
| Maximum Step | 0.20 | Upper limit for the acceleration factor. 0.20 caps the dot speed. Higher values (0.25-0.30) make SAR hug price closer in strong trends. Lower values (0.10) keep the dot further away and reduce premature exits. |
| Use EMA Filter | true (on) | When enabled, buy signals only fire above EMA 50 and sell signals below EMA 50. This cuts whipsaws by about 40% across SPY daily data since 2020 based on my testing. |
| EMA Length | 50 | Period for the trend filter EMA. 50 works for daily and 4h. For 15m charts, I switch to EMA 100 to filter more aggressively. |
Parabolic SAR + Pineify Invite-Only: Better Together
Parabolic SAR alone gives you one signal type. Pineify invite-only indicator combines Parabolic SAR with RSI divergences, MACD confirmation, and Supertrend filters in one overlay. Fewer charts, clearer signals.
Instead of switching between 6 different signals on separate charts, you get a single multi-confirmation setup.
See the Invite-Only IndicatorRelated Resources
FAQ
Parabolic SAR Signals FAQ
Stop juggling Parabolic SAR with 4 other charts
Pineify combines Parabolic SAR, RSI, MACD, and Supertrend into one invite-only indicator. One click setup.
Try Pineify Free