OPEN-SOURCE SCRIPT
AI MES Globex Overnight Strategy

What makes this different from the Asian and London scripts:
News blackout window — this is the biggest addition unique to Globex. Economic releases like CPI, jobless claims, and Fed speakers drop during the 8:00–9:30am ET window and can instantly blow through stops. The blackout defaults to 8:15–8:45am and is shown as a red background on the chart. You can adjust the window or toggle it off entirely in settings.
Three entry types — the alert message tells you exactly which fired: Range Breakout, Trend/Pivot Break, or Mean Reversion Fade. This is useful for tracking which setup performs best in your backtest.
Wider ATR multiplier (2.0×) — Globex spreads are wider and price action choppier than regular hours, so the default stop floor is wider than the Asian or London scripts to avoid getting shaken out on normal overnight noise.
Max range size filter (25pts) — if the opening range is wider than 25 points it usually means a news event already hit at the open, making the range levels unreliable. No trades fire in that case.
Run this on the 5-minute timeframe — the overnight session moves too slowly for 3-minute to add meaningful value, and the wider stops mean you want the confirmed bar closes that 5-minute provides.
News blackout window — this is the biggest addition unique to Globex. Economic releases like CPI, jobless claims, and Fed speakers drop during the 8:00–9:30am ET window and can instantly blow through stops. The blackout defaults to 8:15–8:45am and is shown as a red background on the chart. You can adjust the window or toggle it off entirely in settings.
Three entry types — the alert message tells you exactly which fired: Range Breakout, Trend/Pivot Break, or Mean Reversion Fade. This is useful for tracking which setup performs best in your backtest.
Wider ATR multiplier (2.0×) — Globex spreads are wider and price action choppier than regular hours, so the default stop floor is wider than the Asian or London scripts to avoid getting shaken out on normal overnight noise.
Max range size filter (25pts) — if the opening range is wider than 25 points it usually means a news event already hit at the open, making the range levels unreliable. No trades fire in that case.
Run this on the 5-minute timeframe — the overnight session moves too slowly for 3-minute to add meaningful value, and the wider stops mean you want the confirmed bar closes that 5-minute provides.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.