OPEN-SOURCE SCRIPT

mgc (propfirmpinescripts)

419
Daily Regime + VWAP Reclaim Trend Strategy
A trend-following intraday strategy that trades pullback reclaims within an established daily regime.

How it works:
Daily regime filter: Uses daily EMA(5)/EMA(10) to establish a higher-timeframe bias (only trades long in uptrends, short in downtrends)
EMA stack confirmation: Requires 9/21/34/50 EMA alignment on the trading timeframe to confirm trend structure
Session VWAP + 1 SD bands: Calculated from RTH session start; entries require price to reclaim beyond the 1-SD band
Volume filter: Entry bar must exceed the 20-period volume average
Risk management: Stop placed beyond the entry bar's high/low (capped at 50 ticks), fixed 3:1 reward-to-risk target
Session/frequency limits: Trades only within a defined RTH window, max 3 entries per day, force-flat at session end

Notes:
Designed and tested on futures — backtest thoroughly on your instrument/timeframe before live use
No repainting: all higher-timeframe data uses lookahead_off
This is a mechanical trend/pullback system, not a reversal or mean-reversion strategy
Past performance in backtesting does not guarantee future results — use proper risk management and position sizing

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.