OPEN-SOURCE SCRIPT
Franja de pre-mercado

This indicator highlights the entire period from the end of the regular New York trading session through the overnight and pre-market, until the market reopens the next morning.
By default, the highlighted band starts at 16:30 New York time (15 minutes after the official close at 16:15) and continues without interruption through the night until 09:30 New York time, when the regular session begins.
🔹 Works for both futures and stocks (you can adjust the closing time if needed: 16:15 for futures, 16:00 for equities).
🔹 Option to include or exclude weekends.
🔹 Optional highlight for the last hour of RTH (e.g. 15:15–16:15 NY).
🔹 Fully customizable colors and offsets.
This tool helps traders clearly separate the overnight activity and pre-market moves from the main session, making it easier to analyze price action and market structure.
By default, the highlighted band starts at 16:30 New York time (15 minutes after the official close at 16:15) and continues without interruption through the night until 09:30 New York time, when the regular session begins.
🔹 Works for both futures and stocks (you can adjust the closing time if needed: 16:15 for futures, 16:00 for equities).
🔹 Option to include or exclude weekends.
🔹 Optional highlight for the last hour of RTH (e.g. 15:15–16:15 NY).
🔹 Fully customizable colors and offsets.
This tool helps traders clearly separate the overnight activity and pre-market moves from the main session, making it easier to analyze price action and market structure.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。