I work on the marketing side of a small trading automation project, so I'm not the one writing Pine Script — but I sat with our dev long enough while he was building this strategy that I can explain the thinking behind it. Figured it's worth sharing because the approach is kind of unusual.
The strategy is called Dump Reversal Peak Trail v2. It's open-source on TradingView, currently on the front page of community scripts. It buys capitulation dips on altcoins — SOL, ETH, DOGE, stuff like that — and trails the rebound.
Why altcoins specifically
Alts dump harder and bounce faster than BTC. When Bitcoin drops 5%, SOL might drop 15-20% in the same window. That's not a bug for this strategy — it's the whole point. The bigger the capitulation candle, the more likely you get a real bounce after it. On BTC the dumps are usually more gradual, less "single candle panic" and more slow bleed. The strategy needs that sharp, overdone dump to work well.
How it actually works
There's 4 stages and they run in sequence:
Stage 1 — find the dump. The strategy watches for a single bar that breaks the N-day low AND drops more than a threshold percentage. Normal volatility doesn't trigger it — it needs a genuine "oh shit" candle. Think SOL going from $145 to $128 in one 15-minute bar.
Stage 2 — don't buy it yet. This is where most dip-buying strategies fail. They buy the dump candle, which looks amazing in backtest but is impossible to identify in real time (you don't know it's the bottom until after). Instead, we wait for the first green close after the dump. There's also a flatness filter — if price is just chopping sideways, it rejects the entry. And a minimum rebound check — needs enough bounce to suggest actual buyers showed up.
// simplified — not the real Pine but the logic
confirmed = close > open
and reboundFromLow > minReboundPct
and not isFlat(flatnessThreshold)
Stage 3 — trail the bounce. Once in, the strategy tracks the highest close since entry. When price pulls back X% from that peak — exit. The nice thing is this adapts automatically: small bounce = quick exit with small profit, big reversal = rides the whole move and only exits when momentum dies.
peakSinceEntry = max(peakSinceEntry, close)
retrace = (peakSinceEntry - close) / peakSinceEntry
if retrace > trailPct and profit > minProfit
exit()
Stage 4 — cooldown. After exit, the strategy sits out for N bars. Without this, it re-enters immediately in choppy conditions and gets chopped up. Learned this the hard way during testing — before cooldown was added, the strategy would enter/exit/enter/exit five times in an hour during sideways action.
The repainting thing
This was non-negotiable for our dev. The strategy only uses confirmed bar values — no security() lookahead, no intra-bar signals. You can verify yourself: throw it on a 1-minute chart, watch it live for 30 minutes, compare with what the backtest shows for the same period. If signals match — clean.
A lot of TradingView strategies with thousands of likes are repainting and nobody notices. The backtest looks incredible, but try running it forward and nothing matches. This one matches.
What to watch out for
Settings before you backtest:
Commission: 0.075-0.1% (not zero, which is TradingView's default — this alone kills most strategies)
Slippage: 15-20 ticks for alts, 10 for ETH
Chart: standard OHLC only. Heikin Ashi will give you fantasy numbers
Timeframe: 5m or 15m works best. On higher TFs the dumps aren't sharp enough
And honestly — discount whatever the backtest shows by at least 50-60% for what you'd actually get live. Real order books on altcoins are thin, especially during the exact moment you're trying to buy.
Where to find it
The strategy is free and open-source: Dump Reversal Peak Trail v2 on TradingView. All parameters are adjustable.
If you want to actually run it live (webhook alerts from TradingView → real orders on Bybit), we built GeekTrade for that. It handles the messy parts — signal deduplication, position reconciliation, risk limits. Non-custodial, there's a free tier.
Full strategy breakdown with more detail: geektrade.online/blog/strategies/drpt-v2
Would love to hear what other reversal approaches people are using. Especially curious if anyone's tried something similar on lower-cap alts where the volatility is even crazier.
Top comments (0)