OPEN-SOURCE SCRIPT
Momentum Reversal / Dip Buyer [Score Based]

Strategy Overview
Momentum Reversal / Dip Buyer [Score Based] is a quantitative reversal engine designed to fade stretched moves and buy dips / sell rallies when multiple momentum and context factors line up. It’s built for liquid instruments especially for ticker
ES1! and works best on intraday timeframes like the 5-minute or 1-minute chart.
Core Logic
This strategy builds a composite Momentum Score by combining:
From this, a single Momentum Score is computed each bar:
Risk Management & Trade Logic
Session Control
Visuals
Disclaimer:
This script is for educational and research purposes only and is not financial advice. Past performance does not guarantee future results. Always forward-test and adjust parameters to your own risk tolerance and market.
Shoutout and all credit goes to AuclairsCapital for building the base foundation of this strategy on ThinkScript
Momentum Reversal / Dip Buyer [Score Based] is a quantitative reversal engine designed to fade stretched moves and buy dips / sell rallies when multiple momentum and context factors line up. It’s built for liquid instruments especially for ticker
Core Logic
This strategy builds a composite Momentum Score by combining:
- Price Location: Relative to 100 SMA, 1000 EMA, and VWAP (trend / regime filter).
- RSI: Overbought/oversold and mid-zone strength.
- VWMO (Volume-Weighted Momentum): Direction and strength of volume-weighted price drift.
- ADX: Trend strength filter (high vs low trend environment).
- Full Stoch (%K): Short-term exhaustion and mean-reversion context.
- CCI: Overbought/oversold turns (key trigger).
- MFI: Volume-confirmed buying/selling pressure.
- ATR Regime: High vs low volatility environment.
- Cumulative Delta: Whether net aggressor flow is rising or falling.
From this, a single Momentum Score is computed each bar:
- Longs: Taken when the score is depressed (scoreLow) and CCI crosses up from oversold.
- Shorts: Taken when the score is elevated (scoreHigh) and CCI crosses down from overbought.
Risk Management & Trade Logic
- Max Daily Trades: Hard cap on entries per day.
- Hard Stop: Fixed % stop based on entry price.
- Profit Target: Target ATR Multiplier × main ATR from entry.
- Breakeven Logic: Optional; moves stop to breakeven (plus optional offset) after price moves a configurable multiple of the main ATR in your favor.
- Trailing Stop (Separate ATR): Optional; uses its own ATR length and ATR-based trigger and distance. This lets you run slower ATR for targets while using a tighter, more reactive ATR for the trail.
Session Control
- Trading Window: Optional session filter (e.g., 09:30–16:00). Entries are only allowed inside the defined window.
- Force Flat at Session End: Option to automatically close all open positions when the session ends.
Visuals
- The script plots entry arrows and a compact dashboard displaying: current Momentum Score, daily trade usage, and CCI status.
Disclaimer:
This script is for educational and research purposes only and is not financial advice. Past performance does not guarantee future results. Always forward-test and adjust parameters to your own risk tolerance and market.
Shoutout and all credit goes to AuclairsCapital for building the base foundation of this strategy on ThinkScript
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
PAYTIENCE
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
PAYTIENCE
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.