SAR Strategy: The Oversold Bounce Hunter
Nickname: Parabolic Rebound Sniper
Profession: Trend Reversal Sharpshooter
Timeframe: 5 minutes
I. What Is This Strategy?
Simply put, SAR is:
- Designed to catch "oversold and about to bounce" opportunities
- Uses RSI indicator to find oversold points
- Uses moving averages and Bollinger Bands to confirm position
- Buy and sell logic are completely symmetrical
It's like a sniper waiting for the target to show its head before firing - doesn't chase highs, doesn't kill lows, specifically ambushes at oversold positions! 🎯
II. Core Configuration: "Quick In, Quick Out"
Profit-Taking Rules (ROI Table)
0 minutes → Run with 4% profit
30 minutes → Run with 2% profit
60 minutes → Run with 1% profit
Translation: Wants 4% right after buying, but after an hour, even 1% profit is okay. Typical "take the money and run" type.
Stop-Loss Rules
Fixed stop-loss: -10%
Trailing stop: Enabled
Translation: Accept defeat at 10% loss, but if making money, follow the rise, sell when it stops going up.
III. Buy Conditions: 4 Conditions Must All Be Met
This strategy's buy conditions are strict as airport security - no exceptions:
🎯 Condition #1: RSI Crosses Above 30
qtpylib.crossed_above(dataframe['rsi'], 30)
Plain English:
"RSI crossed up from below 30, meaning it was oversold and might bounce!"
📉 Condition #2: TEMA Below Bollinger Band Middle Band
dataframe['tema'] <= dataframe['bb_middleband']
Plain English:
"Price is still at a relatively low position, not buying at the top."
📈 Condition #3: TEMA Rising
dataframe['tema'] > dataframe['tema'].shift(1)
Plain English:
"Short-term trend is starting to go up, not still falling."
🔊 Condition #4: Has Volume
dataframe['volume'] > 0
Plain English:
"Don't be a fake signal, someone needs to be trading."
IV. Sell Logic: Completely Symmetrical with Buy
The beauty of this strategy - buy and sell conditions are symmetrical!
Sell Conditions Are Also 4:
| Condition | Buy Version | Sell Version |
|---|---|---|
| RSI | Crosses above 30 (oversold) | Crosses above 70 (overbought) |
| TEMA Position | Below BB middle band | Above BB middle band |
| TEMA Trend | Rising | Falling |
| Volume | > 0 | > 0 |
Plain English:
"Buy is finding oversold bounces, sell is finding overbought pullbacks. Crystal clear logic!"
V. Protection Mechanism: Two "Seatbelts"
| Protection Type | Function | Plain English |
|---|---|---|
| Fixed stop-loss -10% | Run if losing too much | "Maximum 10% loss, I give up!" |
| Trailing stop | Follow the rise when profitable | "Ride it up, sell on the way back down" |
Critique: 10% stop-loss is a bit wide, depends on the trading pair's volatility. Some coins have 10% as normal fluctuation, others a 10% drop is a crash 😅
VI. This Strategy's "Personality"
✅ Pros (Praise Section)
- Symmetrical Logic: Buy and sell conditions perfectly mirror each other, easy to understand and adjust
- Classic Method: RSI oversold bounce is textbook-level strategy
- Condition Filtering: 4 conditions must all be met, few false signals
- Simple Parameters: Not like some strategies with dozens of parameters, this one is easy to tune
⚠️ Cons (Critique Section)
- Gets Slapped Around in Sideways Markets: RSI keeps crossing back and forth, buy and it drops, sell and it rises
- Only One Signal Source: No backup plan if this signal doesn't work
- Stop-Loss a Bit Wide: 10% might be okay for small coins, but too wide for stablecoins
- Doesn't Chase Trends: Misses one-way big rallies because always waiting for oversold
VII. Applicable Scenarios: When to Use It?
| Market Environment | Recommendation | Reason |
|---|---|---|
| Oscillating decline reversal | ✅ Use it! | This is its home turf |
| One-way crash | ❌ Don't use | Don't catch falling knives! |
| One-way rally | ❌ Use with caution | It's waiting for oversold, won't buy in |
| Sideways oscillation | ⚠️ Light position test | Many false signals, easy to get chopped |
VIII. Summary: How's This Strategy Really?
One-Liner Evaluation
"Simple and crude oversold bounce hunter, clear logic but not for all markets."
Who Should Use It?
- ✅ Beginners learning quantitative trading
- ✅ Traders who like catching bounces
- ✅ Steady types who don't chase highs and kill lows
- ✅ 5-minute timeframe short-term traders
Who Shouldn't Use It?
- ❌ Trend-chasing traders
- ❌ High-frequency traders
- ❌ People who want to lie flat in sideways markets
- ❌ People who only want to buy, never sell
My Recommendations
- Test with paper trading first: See how it performs on your chosen trading pairs
- Adjust stop-loss: Tune the percentage based on trading pair volatility
- Add other indicators: Can add ADX to filter trend strength
- Don't use on high-volatility coins: 10% stop-loss might not be enough
IX. What Markets Can This Strategy Make Money In?
9.1 Core Logic: Oversold Bounce
SAR strategy is a trend reversal capture strategy. About 250 lines of code, clear and simple logic.
Its Money-Making Philosophy: Extremes Reverse
- Wait for Oversold: RSI drops below 30, means oversold
- Wait for Trend Turn: TEMA starts going up, not still falling
- Wait for Position Confirmation: TEMA still below BB middle band, not buying at top
- Symmetrical Sell: Overbought then sell, same logic
9.2 Performance in Different Markets (Plain English Version)
| Market Type | Performance Rating | Plain English Explanation |
|---|---|---|
| 📈 Oscillating decline reversal | ⭐⭐⭐⭐⭐ | This is its home turf! Catches oversold bounces accurately |
| 🔄 Sideways oscillation | ⭐⭐⭐☆☆ | RSI keeps crossing back and forth, gets slapped around |
| 📉 One-way downtrend | ⭐⭐☆☆☆ | Don't catch falling knives! Buy more as it drops, lose big |
| ⚡️ High volatility | ⭐☆☆☆☆ | Signals can't keep up with price changes |
One-Liner Summary: Use SAR for oscillating bounce markets, find another strategy for trend markets!
X. Want to Run This Strategy? Check These Configurations First
10.1 Trading Pair Configuration
| Configuration Item | Recommended Value | Critique |
|---|---|---|
| Number of pairs | 5-15 | Too many分散 attention |
| Volatility | Medium | Don't find extremely volatile coins |
| Liquidity | Must be good | Otherwise slippage eats profits |
10.2 Key Configuration File Settings
# Stop-loss can be adjusted
stoploss: -0.08 # Or -0.12, depends on coin
# ROI can also be adjusted
minimal_roi:
"0": 0.03 # Want more aggressive? Lower it
"30": 0.015
"60": 0.01
10.3 Hardware Requirements
This strategy doesn't need much computation, hardware requirements are low:
| Number of Pairs | Minimum Memory | Recommended Memory | Experience |
|---|---|---|---|
| 1-10 pairs | 2GB | 4GB | Runs easily |
| 10-50 pairs | 4GB | 8GB | No problem |
10.4 Backtesting vs Live Trading
Backtesting looks great, be careful in live trading!
Recommended Process:
- Backtest with historical data first
- See if maximum drawdown is acceptable
- Run paper trading for a week
- Small capital live test
- Slowly increase position
Don't go all-in from the start, no matter how good the strategy, it needs to be broken in!
XI. Bonus: The Author's "Little Secrets"
Looking carefully at the code, you'll find some interesting things:
-
Strategy named SAR but SAR indicator is just for display
"I'm called Parabolic SAR, but RSI is actually the main character 😂"
-
Prepared lots of indicators but only uses a small portion
"ADX, MACD, MFI, Stochastic all calculated, but buy/sell logic doesn't use them"
-
Buy and sell conditions are perfectly symmetrical
"Perfect for OCD! Buy conditions mirror sell conditions"
-
Commented out lots of candlestick pattern recognition
"Probably wanted to use candlestick patterns, gave up later"
XII. Final Words
One-Liner Evaluation
"Clear logic, beginner-friendly oversold bounce strategy, but choose the right market environment!"
Who Should Use It?
- ✅ Quantitative trading beginners
- ✅ Traders who like catching bounces
- ✅ 5-minute timeframe short-term players
- ✅ Steady types who don't chase highs
Who Shouldn't Use It?
- ❌ Trend chasers
- ❌ High-frequency traders
- ❌ People who want to lie flat
- ❌ People who only want to make money in bull markets
Manual Trader Recommendations
If you trade manually, you can reference this logic:
- Find coins with RSI below 30
- Wait for the bounce to start (short-term MA going up)
- Set stop-loss, don't be too greedy
- Consider selling when RSI reaches around 70
XIII. ⚠️ Risk Emphasis Again (Must Read This Part)
Backtesting Looks Great, Be Careful in Live Trading
SAR strategy's historical backtest performance might be pretty good - but note:
Simple strategy doesn't mean stable profit. RSI oversold bounce is a classic method, but there's no holy grail in the market.
Simply put: Good historical performance doesn't guarantee future profits
Hidden Risks in Live Trading
In live trading, watch out for:
- Slippage: Buy/sell spread might eat some profits
- Fees: Frequent trading adds up in fees
- Liquidity: Small coins might have trouble buying/selling
- False Breakouts: RSI crossing up then back down is common
My Recommendations (Honest Truth)
1. Run paper trading for a month first
2. If max drawdown exceeds 20%, adjust parameters
3. Don't use in one-way downtrend markets
4. Adjust stop-loss based on coin volatility
Remember: No matter how good the strategy, when the market teaches you a lesson, it won't give notice. Light position testing, survival is most important! 🙏