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
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
PAYTIENCE
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
PAYTIENCE
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.