OPEN-SOURCE SCRIPT
Updated TMA - True NY Midnight

Welcome to the Trend Master Akademi (TMA) institutional toolset.
The TMA - True NY Midnight indicator is designed for precision price action and SMC/ICT traders who need absolute accuracy in defining the daily algorithmic bias.
The Problem with Standard Indicators:
Most Midnight Open indicators on TradingView fail when applied to Regular Trading Hours (RTH) charts (like CME futures or traditional equities). Because the actual 00:00 candle is hidden during RTH, standard scripts mistakenly plot the midnight open at the 09:30 AM RTH opening price, destroying your bias.
The TMA Edge (ETH Bypass Engine):
We solved this by engineering an "Extended Trading Hours (ETH) Bypass". Regardless of your chart's session settings (RTH or 24/7), this indicator runs a ghost data feed in the background. It connects to the 1-minute ETH chart, extracts the exact 00:00 New York print, and projects it directly onto your current chart.
How to Use It (The Institutional Narrative):
In algorithmic trading, the true New York Midnight Open acts as the ultimate daily equilibrium.
Premium Zone: When price is above this line, the asset is considered expensive. Look for Institutional Distribution and Short (Sell) setups.
Discount Zone: When price is below this line, the asset is considered cheap. Look for Institutional Accumulation and Long (Buy) setups.
Judas Swing: Watch for the price to aggressively sweep above or below this line in the early sessions to trap retail traders before reversing to the true daily direction.
Key Features:
Absolute Precision: Extracts the true 00:00 NY price flawlessly, immune to chart session errors.
Zero Chart Clutter: Professionally coded to auto-delete yesterday's line. It only projects the current day's active level, keeping your workspace clean and focused.
Fully Customizable: Adjust line color, thickness, and style to match your charting theme.
Stay disciplined, trade the narrative, and let the algorithms show their hand.
Tags:
#ICT #SmartMoneyConcepts #SMC #NYMidnight #PriceAction #TMA #AlgorithmicTrading #DayTrading
The TMA - True NY Midnight indicator is designed for precision price action and SMC/ICT traders who need absolute accuracy in defining the daily algorithmic bias.
The Problem with Standard Indicators:
Most Midnight Open indicators on TradingView fail when applied to Regular Trading Hours (RTH) charts (like CME futures or traditional equities). Because the actual 00:00 candle is hidden during RTH, standard scripts mistakenly plot the midnight open at the 09:30 AM RTH opening price, destroying your bias.
The TMA Edge (ETH Bypass Engine):
We solved this by engineering an "Extended Trading Hours (ETH) Bypass". Regardless of your chart's session settings (RTH or 24/7), this indicator runs a ghost data feed in the background. It connects to the 1-minute ETH chart, extracts the exact 00:00 New York print, and projects it directly onto your current chart.
How to Use It (The Institutional Narrative):
In algorithmic trading, the true New York Midnight Open acts as the ultimate daily equilibrium.
Premium Zone: When price is above this line, the asset is considered expensive. Look for Institutional Distribution and Short (Sell) setups.
Discount Zone: When price is below this line, the asset is considered cheap. Look for Institutional Accumulation and Long (Buy) setups.
Judas Swing: Watch for the price to aggressively sweep above or below this line in the early sessions to trap retail traders before reversing to the true daily direction.
Key Features:
Absolute Precision: Extracts the true 00:00 NY price flawlessly, immune to chart session errors.
Zero Chart Clutter: Professionally coded to auto-delete yesterday's line. It only projects the current day's active level, keeping your workspace clean and focused.
Fully Customizable: Adjust line color, thickness, and style to match your charting theme.
Stay disciplined, trade the narrative, and let the algorithms show their hand.
Tags:
#ICT #SmartMoneyConcepts #SMC #NYMidnight #PriceAction #TMA #AlgorithmicTrading #DayTrading
Release Notes
V4 - Fixed Performance Patch: Removed lookahead to guarantee 100% real-time accuracy (no repainting). Optimized line rendering with extend_right for lighter CPU load. Institutional precision updated.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.