OPEN-SOURCE SCRIPT
Saptx Trading Time Ranges v2

Saptx – Trading Time Ranges is a session-based market timing indicator designed for traders who focus on specific intraday trading windows rather than constant screen time.
The indicator highlights predefined key trading times using vertical ranges and reference lines, allowing traders to quickly identify when to actively look for trade setups during live trading, backtesting, or TradingView Replay Mode.
Unlike many session indicators, this tool is specifically engineered to work reliably in Replay Mode without auto-scale or zoom distortions.
Once a trading window has ended, its range automatically freezes to the true High and Low of that session, providing clean and stable historical reference levels.
────────────────────
CORE FEATURES
────────────────────
• Session-based trading time ranges
• Automatic High & Low range detection
• Ranges freeze after the session window ends
• Clean and non-intrusive chart visuals
• Replay and backtesting optimized logic
• No auto-scale or zoom distortion issues
────────────────────
SESSION WINDOWS
────────────────────
• Frankfurt Open
• London Open
• MMM1
• MMM2
• New York Open
• New York Trap
• Market Closing
────────────────────
BACKTEST & REPLAY
────────────────────
• Displays previous, current, and next trading day
• Fast navigation to key trading windows in Replay Mode
• Designed for efficient historical trade review
• Stable behavior while scrolling and zooming the chart
────────────────────
CUSTOMIZATION
────────────────────
• Adjustable UTC offset (Winter / Summer time support)
• Custom colors and transparency for ranges and lines
• Clean session labels with optional visibility
• Optional next-session countdown timer
────────────────────
IMPORTANT NOTE
────────────────────
This indicator does NOT generate trade signals.
It is a visual timing and structural tool intended to support discretionary and session-based trading strategies.
────────────────────
RECOMMENDED MARKETS & TIMEFRAMES
────────────────────
• Forex (EUR/USD, GBP/USD, DXY, etc.)
• Intraday timeframes (M5, M15, H1)
The indicator highlights predefined key trading times using vertical ranges and reference lines, allowing traders to quickly identify when to actively look for trade setups during live trading, backtesting, or TradingView Replay Mode.
Unlike many session indicators, this tool is specifically engineered to work reliably in Replay Mode without auto-scale or zoom distortions.
Once a trading window has ended, its range automatically freezes to the true High and Low of that session, providing clean and stable historical reference levels.
────────────────────
CORE FEATURES
────────────────────
• Session-based trading time ranges
• Automatic High & Low range detection
• Ranges freeze after the session window ends
• Clean and non-intrusive chart visuals
• Replay and backtesting optimized logic
• No auto-scale or zoom distortion issues
────────────────────
SESSION WINDOWS
────────────────────
• Frankfurt Open
• London Open
• MMM1
• MMM2
• New York Open
• New York Trap
• Market Closing
────────────────────
BACKTEST & REPLAY
────────────────────
• Displays previous, current, and next trading day
• Fast navigation to key trading windows in Replay Mode
• Designed for efficient historical trade review
• Stable behavior while scrolling and zooming the chart
────────────────────
CUSTOMIZATION
────────────────────
• Adjustable UTC offset (Winter / Summer time support)
• Custom colors and transparency for ranges and lines
• Clean session labels with optional visibility
• Optional next-session countdown timer
────────────────────
IMPORTANT NOTE
────────────────────
This indicator does NOT generate trade signals.
It is a visual timing and structural tool intended to support discretionary and session-based trading strategies.
────────────────────
RECOMMENDED MARKETS & TIMEFRAMES
────────────────────
• Forex (EUR/USD, GBP/USD, DXY, etc.)
• Intraday timeframes (M5, M15, H1)
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.