OPEN-SOURCE SCRIPT
mgc (propfirmpinescripts)

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
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
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
propfirmpinescripts
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
propfirmpinescripts
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.