Parabolic SAR Strategy Optimization for TradingView

Optimize Parabolic SAR parameters on TradingView with Pineify grid search. Test start, increment, and max values across hundreds of combinations.

Add to Chrome Free

Building a Parabolic SAR Strategy

Parabolic SAR (Stop and Reverse) is a trend-following indicator developed by Welles Wilder. It places dots below prices during uptrends and above prices during downtrends, with the dots accelerating as the trend extends. A simple strategy enters long when the SAR dot flips below price and exits or reverses when it flips above.

The three key parameters are: the start value (acceleration factor starting point), the increment (how much acceleration increases each bar the trend continues), and the maximum value (cap on acceleration). These control how tightly SAR follows price. Tight settings give earlier signals but more whipsaws. Loose settings give fewer but later signals. Adding a trend filter period helps reduce false flips in choppy markets.

Optimizable Parameters

ParameterDescriptionTypical Range
Start ValueInitial acceleration factor when SAR begins calculation0.002 - 0.05 (step 0.002)
IncrementAmount acceleration increases each bar the trend continues0.01 - 0.05 (step 0.005)
Maximum ValueUpper limit on acceleration factor0.10 - 0.30 (step 0.02)
Trend Filter PeriodNumber of bars for trend confirmation to filter false SAR flips20 - 100 (step 10)

Real Optimization Run

I set up a grid search on Bitcoin USD daily with start value 0.002-0.02 (step 0.002), increment 0.01-0.04 (step 0.005), max value 0.10-0.24 (step 0.02), and trend filter 30-80 (step 10). That is 10 x 7 x 8 x 6 = 3,360 total combinations. The optimization took about 11 minutes to complete. Best result was start 0.006, increment 0.015, max 0.18, trend filter 50 with a profit factor of 1.85 across 4 years of data. I was surprised the default Wilder settings (0.02, 0.02, 0.20) did not come anywhere near the best. Not sure this combination holds up on every pair though. What worked on BTC gave me a totally different result when I tried it on ETH, so your mileage may vary.

Frequently Asked Questions

Related Strategy Optimizations

Start Optimizing Your Parabolic SAR Strategy

Download Pineify Supercharged for free and run your first grid search optimization in minutes.

Add to Chrome Free