OPEN-SOURCE SCRIPT

Trading Sessions - BluePips

145
What the indicator does
A TradingView Pine Script indicator that overlays trading sessions on intraday charts and tracks session highs/lows.
Main features
Three trading sessions (all times in CST/CDT):
Asian Session: 7:00 PM - 12:00 AM (19:00-00:00)
London Session: 1:00 AM - 6:00 AM (01:00-06:00)
New York Session: 7:00 AM - 1:00 PM (07:00-13:00)
Visual elements (toggleable):
Colored boxes: highlight each active session
Session labels: show session name, price range, and average price
Open/Close lines: dashed lines at session open and close prices
Average price line: dotted line showing the average price during the session
High/Low lines: solid lines showing the session high and low
High/Low labels: "AH" (Asian High), "AL" (Asian Low), "LH" (London High), "LL" (London Low), "NH" (New York High), "NL" (New York Low)
Behavior:
During a session: box expands, lines extend, high/low update in real time
After a session ends: box and open/close lines are removed; high/low lines remain visible as reference levels
Daily reset: all elements are cleaned up at the start of each new day
Use cases
Identify session boundaries and overlaps
Track session highs/lows as support/resistance
Analyze price action during specific trading hours
Monitor session ranges and averages
Technical details
Works only on intraday timeframes (errors on daily/weekly/monthly)
Handles daylight saving time automatically via IANA timezones
Properly cleans up visual elements to prevent memory leaks
All times are in Central Standard Time (CST/CDT)
Useful for traders who want to see session-based price levels and ranges directly on their charts.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.