PROTECTED SOURCE SCRIPT
NY 4H High/Low Levels — VIPIN

What this script does
This indicator automatically marks the first 4 hours of each New York trading day (00:00–03:59, America/New_York time). It calculates the High and Low of that period and plots them as horizontal levels. The lines extend only until the end of the same New York day. Optionally, you can display the previous N days’ levels for additional context.
Why it is useful
The New York session is one of the most active trading sessions. The first 4 hours often set intraday liquidity pools and reference levels that many traders monitor for breakouts or reversals. This tool helps traders identify and visualize those ranges quickly on the chart.
How it works
• Uses TradingView’s time() function to detect bars within 00:00–03:59 America/New_York.
• Accumulates the highest high and lowest low during that 4-hour window.
• At the end of the window, draws High and Low lines for the current day (extend until that day ends).
• Optionally stores and displays levels from a chosen number of previous days.
• Option to show a shaded box highlighting the 4-hour window.
Settings
• Timezone (default: America/New_York)
• Show 4H Window Box (on/off)
• Line colors, width
• Show previous days’ levels (on/off, with how many days to keep)
How to use
• Best applied on intraday timeframes (1m–1h).
• Use these levels as reference points for your own strategy (e.g., breakout, mean reversion, or confluence with other tools).
• The indicator is a utility tool: it does not generate buy/sell signals by itself.
Notes
This script is original: it is not a mashup of multiple public indicators but a dedicated tool to highlight a specific, well-defined trading session.
It is provided for educational purposes only and is not financial advice.
This indicator automatically marks the first 4 hours of each New York trading day (00:00–03:59, America/New_York time). It calculates the High and Low of that period and plots them as horizontal levels. The lines extend only until the end of the same New York day. Optionally, you can display the previous N days’ levels for additional context.
Why it is useful
The New York session is one of the most active trading sessions. The first 4 hours often set intraday liquidity pools and reference levels that many traders monitor for breakouts or reversals. This tool helps traders identify and visualize those ranges quickly on the chart.
How it works
• Uses TradingView’s time() function to detect bars within 00:00–03:59 America/New_York.
• Accumulates the highest high and lowest low during that 4-hour window.
• At the end of the window, draws High and Low lines for the current day (extend until that day ends).
• Optionally stores and displays levels from a chosen number of previous days.
• Option to show a shaded box highlighting the 4-hour window.
Settings
• Timezone (default: America/New_York)
• Show 4H Window Box (on/off)
• Line colors, width
• Show previous days’ levels (on/off, with how many days to keep)
How to use
• Best applied on intraday timeframes (1m–1h).
• Use these levels as reference points for your own strategy (e.g., breakout, mean reversion, or confluence with other tools).
• The indicator is a utility tool: it does not generate buy/sell signals by itself.
Notes
This script is original: it is not a mashup of multiple public indicators but a dedicated tool to highlight a specific, well-defined trading session.
It is provided for educational purposes only and is not financial advice.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.