OPEN-SOURCE SCRIPT
MES Trend Pullback Signals - Hitz2kk

MES Trend Pullback Signals - Hitz2kk is an intraday MES workflow overlay built to combine trend structure, pullback timing, key session windows, and prior-period reference levels in one chart.
The script uses a 50 EMA and 200 EMA to separate short-term structure from broader directional bias. Signals are not based on a simple moving-average crossover. Instead, the script looks for price to remain aligned with the EMA structure, pull back toward the fast EMA, and then show renewed directional intent before printing a signal. To reduce weak setups, the pullback logic is combined with RSI confirmation and a minimum candle-body filter based on ATR, so signals appear only when momentum and candle expansion support the move.
A BUY setup is produced when price is trading in a bullish structure, retraces toward the fast EMA, and resumes higher with RSI support. A SELL setup is the reverse process in bearish structure. This makes the indicator more of a pullback-continuation model than a generic trend or crossover tool.
The script also adds VWAP as an intraday value reference, allowing traders to judge whether signals are forming above or below fair-value flow. In addition, it plots ICT-style session boxes for Asia, London, New York AM, and New York PM using New York time, so traders can immediately see whether a signal is forming during lower-liquidity consolidation or during higher-participation session windows.
A separate feature is the Midnight Opening Range, built from the 00:00–00:30 ET period. That range is projected forward as a visual box so traders can monitor later interaction with the early-session range. The indicator can optionally stop extending that box once price revisits the range during the New York touch window, which helps frame whether the range remains untouched or has already been traded back into.
The script also tracks important higher-timeframe references using Previous Day High, Previous Day Low, Previous Week High, and Previous Week Low. These are shown as orange price tags and dotted guide levels so traders can judge where current intraday price is trading relative to recent daily and weekly extremes.
This indicator is designed for traders who want a chart that combines:
• directional structure,
• pullback continuation timing,
• momentum filtering,
• intraday session context,
• and previous day/week reference levels.
It is intended primarily for MES and intraday index futures trading on lower timeframes such as 1m, 5m, 15m, and 30m.
The script uses a 50 EMA and 200 EMA to separate short-term structure from broader directional bias. Signals are not based on a simple moving-average crossover. Instead, the script looks for price to remain aligned with the EMA structure, pull back toward the fast EMA, and then show renewed directional intent before printing a signal. To reduce weak setups, the pullback logic is combined with RSI confirmation and a minimum candle-body filter based on ATR, so signals appear only when momentum and candle expansion support the move.
A BUY setup is produced when price is trading in a bullish structure, retraces toward the fast EMA, and resumes higher with RSI support. A SELL setup is the reverse process in bearish structure. This makes the indicator more of a pullback-continuation model than a generic trend or crossover tool.
The script also adds VWAP as an intraday value reference, allowing traders to judge whether signals are forming above or below fair-value flow. In addition, it plots ICT-style session boxes for Asia, London, New York AM, and New York PM using New York time, so traders can immediately see whether a signal is forming during lower-liquidity consolidation or during higher-participation session windows.
A separate feature is the Midnight Opening Range, built from the 00:00–00:30 ET period. That range is projected forward as a visual box so traders can monitor later interaction with the early-session range. The indicator can optionally stop extending that box once price revisits the range during the New York touch window, which helps frame whether the range remains untouched or has already been traded back into.
The script also tracks important higher-timeframe references using Previous Day High, Previous Day Low, Previous Week High, and Previous Week Low. These are shown as orange price tags and dotted guide levels so traders can judge where current intraday price is trading relative to recent daily and weekly extremes.
This indicator is designed for traders who want a chart that combines:
• directional structure,
• pullback continuation timing,
• momentum filtering,
• intraday session context,
• and previous day/week reference levels.
It is intended primarily for MES and intraday index futures trading on lower timeframes such as 1m, 5m, 15m, and 30m.
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.
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.
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.