OPEN-SOURCE SCRIPT
Session Candles (3 Sessions)

This indicator displays three custom trading sessions as individual candles directly on your chart, plus a live sidebar view to the right of the last bar for quick reference.
It is inspired by Daily Volume Profile [Amtrades] made by apiyada_inversion.
Sessions covered (all times EST):
Session 1: 18:00 – 01:00 (Asian session)
Session 2: 01:00 – 08:00 (London session)
Session 3: 08:00 – 14:00 (New York session)
How it works:
Each session candle starts forming at its open time and freezes when the session closes. The sidebar candles appear one by one as each session begins — at 18:00 only S1 is visible, at 01:00 S2 is added, at 08:00 S3 is added. When the next cycle starts at 18:00, the board resets.
Take / Sweep detection:
Red dotted lines automatically appear on the sidebar candles when a later session takes out the high or low of an earlier session. This helps instantly identify liquidity sweeps and session range breaks.
Features:
Sidebar candles positioned to the right of the last bar, updating live
Individual bull/bear/wick color controls for each session
Adjustable sidebar candle width, gap and offset
Optional OHLC labels on overlay candles
All times handled automatically for EST
Best used on intraday timeframes: 5m, 15m, 1H.
It is inspired by Daily Volume Profile [Amtrades] made by apiyada_inversion.
Sessions covered (all times EST):
Session 1: 18:00 – 01:00 (Asian session)
Session 2: 01:00 – 08:00 (London session)
Session 3: 08:00 – 14:00 (New York session)
How it works:
Each session candle starts forming at its open time and freezes when the session closes. The sidebar candles appear one by one as each session begins — at 18:00 only S1 is visible, at 01:00 S2 is added, at 08:00 S3 is added. When the next cycle starts at 18:00, the board resets.
Take / Sweep detection:
Red dotted lines automatically appear on the sidebar candles when a later session takes out the high or low of an earlier session. This helps instantly identify liquidity sweeps and session range breaks.
Features:
Sidebar candles positioned to the right of the last bar, updating live
Individual bull/bear/wick color controls for each session
Adjustable sidebar candle width, gap and offset
Optional OHLC labels on overlay candles
All times handled automatically for EST
Best used on intraday timeframes: 5m, 15m, 1H.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.