OPEN-SOURCE SCRIPT
更新済 Daily Key Levels

Daily Key Levels marks important New York-session opening prices directly on the chart, helping intraday traders keep the current session’s main reference levels visible without carrying old historical lines forward.
The indicator captures each level from 1-minute data and projects it across the active session only. The session resets at 18:00 New York time, matching the common futures session structure.
Key Features
Overlap Logic
When multiple level groups share the same timestamp, the indicator uses a clean priority rule:
For example, the standalone 18:00 market-open level takes priority over both 4H and 6H 18:00 levels. The standalone 10:00 macro level takes priority over the 4H 10:00 level.
Notes
This indicator is designed as a visual reference tool for intraday context, planning, and level awareness. It does not generate trade signals, entries, exits, or alerts. Level accuracy depends on the chart symbol’s available 1-minute data and TradingView’s session/feed data.
The indicator captures each level from 1-minute data and projects it across the active session only. The session resets at 18:00 New York time, matching the common futures session structure.
Key Features
- Marks the 18:00 market open, 8:30 news level, 9:30 New York open, and 10:00 macro level.
- Optional 4-hour opening prices: 18:00, 22:00, 02:00, 06:00, 10:00, and 14:00.
- Optional 6-hour opening prices: 18:00, 00:00, 06:00, and 12:00.
- Automatically avoids duplicate stacked lines when the same timestamp belongs to multiple groups.
- Only displays levels for the current active session.
Overlap Logic
When multiple level groups share the same timestamp, the indicator uses a clean priority rule:
- Dedicated key levels > 4-hour opens > 6-hour opens
For example, the standalone 18:00 market-open level takes priority over both 4H and 6H 18:00 levels. The standalone 10:00 macro level takes priority over the 4H 10:00 level.
Notes
This indicator is designed as a visual reference tool for intraday context, planning, and level awareness. It does not generate trade signals, entries, exits, or alerts. Level accuracy depends on the chart symbol’s available 1-minute data and TradingView’s session/feed data.
リリースノート
This update improves visual customisation and settings organisation for Daily Key Levels.Line styling has been moved to TradingView’s native Style tab, so each plotted level can be customised using TradingView’s standard line controls.
A new Label Colours settings group has also been added, allowing label text colours to be adjusted separately for the 18:00 level, intraday levels, 4-hour opening prices, and 6-hour opening prices.
The previous label visibility setting was removed to keep label handling simpler and avoid duplicating controls.
A new Line Extension settings group now contains the Extend line to right option, which adds right-only extensions for active levels without extending lines backward across the chart.
Note: TradingView/Pine does not allow script labels to automatically inherit user-edited Style tab line colours, so label colours are provided as separate manual controls.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。