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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน