OPEN-SOURCE SCRIPT

Momentum Reversal / Dip Buyer [Score Based]

3 835
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:

  • 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

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。