Combine Williams %R (momentum extreme) with MACD (trend direction). Long when Williams %R exits oversold AND MACD is bullish; opposite for shorts. Cross-confirmation filters weak signals.
Long: Williams %R crosses back above β80 (out of oversold) AND MACD histogram is rising or turns positive. Short: Williams %R crosses back below β20 (out of overbought) AND MACD histogram is falling.
Exit longs when Williams %R reaches β20 or MACD histogram peaks and starts declining. Symmetric for shorts.
Below the swing low that triggered the oversold reading (long) or above the swing high (short). Roughly 1ΓATR(14).
The in-browser chart above already simulates on 2 years of Nifty daily/hourly bars (60 days for 15-min due to a Yahoo Finance data cap). This section documents an independent second-source verification: run the exact same rules as a Pine Script on TradingView's Strategy Tester over the past 2 years of NSE:NIFTY daily bars, then compare.
.pine file, click Save, then Add to chartAwaiting the TradingView Strategy Tester screenshot. Once shared, the results table (net profit, win rate, profit factor, max drawdown, Sharpe) will replace this note.
Regardless of the specific setup, these apply to every strategy on this site:
Every strategy here is part of our in-house catalogue, written and calibrated for Indian markets. Past behavior does not guarantee future results. Charts run against 2-year Nifty data β actual results in your account will vary. Backtest, paper-trade, and size responsibly before risking real capital.