OPEN-SOURCE SCRIPT
Buy & Sell Arrows - MACD + Best_Solve WPR

MACD + Best_Solve Williams %R – Aggressive Trend-Reversal Catcher
(Allow Signals Even in Overbought/Oversold Zones)
This indicator combines the classic MACD histogram with Best_Solve’s popular custom Williams %R (a 0–100 momentum oscillator that behaves more like a fast Stochastic) to deliver clean, high-conviction entry signals on daily (and higher) timeframes.
Core Logic – Only TWO conditions are required
BUY (large green arrow below bar)
SELL (large red arrow above bar)
Unlike most oscillators, this version deliberately removes the traditional “do not buy when overbought / do not sell when oversold” filters. This allows the script to catch powerful trend reversals and explosive moves immediately — even on violent earnings gaps or panic sell-offs (example: META’s -11 % drop on Oct 30 2025 triggered an instant sell even though %R was deeply oversold).
Built-in Clean-Signal Logic
No consecutive buys or sells — each new signal must be preceded by the opposite direction.
This keeps the chart extremely clean and prevents whipsaw clusters during strong trends.
Best Use Cases
Visuals
Set it, alert it, trade it — one of the cleanest and most responsive daily reversal systems you’ll find.
Enjoy the edge!
(Allow Signals Even in Overbought/Oversold Zones)
This indicator combines the classic MACD histogram with Best_Solve’s popular custom Williams %R (a 0–100 momentum oscillator that behaves more like a fast Stochastic) to deliver clean, high-conviction entry signals on daily (and higher) timeframes.
Core Logic – Only TWO conditions are required
BUY (large green arrow below bar)
- MACD histogram is green (bullish momentum)
- Williams %R fast line is crossing above OR already above its EMA
SELL (large red arrow above bar)
- MACD histogram is red (bearish momentum)
- Williams %R fast line is crossing below OR already below its EMA
Unlike most oscillators, this version deliberately removes the traditional “do not buy when overbought / do not sell when oversold” filters. This allows the script to catch powerful trend reversals and explosive moves immediately — even on violent earnings gaps or panic sell-offs (example: META’s -11 % drop on Oct 30 2025 triggered an instant sell even though %R was deeply oversold).
Built-in Clean-Signal Logic
No consecutive buys or sells — each new signal must be preceded by the opposite direction.
This keeps the chart extremely clean and prevents whipsaw clusters during strong trends.
Best Use Cases
- Daily and 4H swing trading on stocks, indices, crypto, forex
- Excellent for catching sharp reversals after earnings, news events, or overextended moves
- Works especially well on high-beta names and growth stocks
Visuals
- Large green/red arrows with “BUY” / “SELL” text (your favorite style)
- Subtle transparent MACD histogram overlaid on price for instant momentum context
- Ready-to-use alerts (“Buy Alert” / “Sell Alert”)
Set it, alert it, trade it — one of the cleanest and most responsive daily reversal systems you’ll find.
Enjoy the edge!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.