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. اقرأ المزيد في شروط الاستخدام.