OPEN-SOURCE SCRIPT
업데이트됨 Minimal Sessions Liquidities

Description
The Session Liquidities indicator is an advanced, automated toolkit for traders who rely on time-based liquidity sweeps and daily structural levels. It automatically highlights the high and low price points for the most actively traded sessions in the market and tracks them dynamically.
Instead of manually drawing horizontal rays across your chart every day, this script does the heavy lifting by identifying the highs and lows of six distinct timeframes (all strictly mapped to Eastern Time / New York Time) and carrying them forward until they are interacted with.
🕒 Sessions Tracked
The engine tracks liquidity boundaries for the following key windows:
Asian Session (AS): 20:00 - 00:00 ET
London Session (LN): 02:00 - 05:00 ET
New York AM Session (NY AM): 09:30 - 11:30 ET
New York Lunch Session (NY LN): 12:00 - 13:00 ET
New York PM Session (NY PM): 13:30 - 16:30 ET
Current Day (CD): 18:00 - 16:55 ET
✨ Key Features
Dynamic Liquidity Extensions: Once a session closes, its high and low lines are automatically extended forward into future price action, acting as pristine liquidity magnets.
Stop When Swept: An optional setting allows you to stop drawing the liquidity line exactly on the candle where the price eventually sweeps (crosses) it. This prevents your chart from being cluttered by old, invalidated liquidity levels.
Previous Day (PD) Memory: The script remembers historical session data. When a new day begins, the script automatically re-labels the previous day's untouched levels to "PD" (e.g., PD AS H for Previous Day Asian High), or D-2 for older levels.
Smart Overlap Merging: It's very common for two sessions to share the exact same high or low. To keep your charts incredibly sleek, the engine actively scans for overlapping labels. If two liquidity pools rest at the exact same tick, it merges their labels into a single comma-separated text (e.g., Current Day High, AS L) and removes the redundant visual clutter.
Customizable Lookback: Control exactly how many historical days of liquidity you want to track (up to 40 days) to match your trading style without overwhelming your screen.
⚙️ Settings
Sessions to Show: Toggle any of the 6 individual sessions on or off.
Session Colors: Fully customize the color of the lines and labels for each specific session.
Lookback Limit: Adjust how many historical periods are kept on the chart (1 = Current Only, 2 = Current + Previous Day).
Stop Lines When Swept: Toggle whether the line should extend indefinitely or terminate upon contact with price.
Label Size: Change the typography size (defaults to Tiny for a professional, unobtrusive aesthetic).
The Session Liquidities indicator is an advanced, automated toolkit for traders who rely on time-based liquidity sweeps and daily structural levels. It automatically highlights the high and low price points for the most actively traded sessions in the market and tracks them dynamically.
Instead of manually drawing horizontal rays across your chart every day, this script does the heavy lifting by identifying the highs and lows of six distinct timeframes (all strictly mapped to Eastern Time / New York Time) and carrying them forward until they are interacted with.
🕒 Sessions Tracked
The engine tracks liquidity boundaries for the following key windows:
Asian Session (AS): 20:00 - 00:00 ET
London Session (LN): 02:00 - 05:00 ET
New York AM Session (NY AM): 09:30 - 11:30 ET
New York Lunch Session (NY LN): 12:00 - 13:00 ET
New York PM Session (NY PM): 13:30 - 16:30 ET
Current Day (CD): 18:00 - 16:55 ET
✨ Key Features
Dynamic Liquidity Extensions: Once a session closes, its high and low lines are automatically extended forward into future price action, acting as pristine liquidity magnets.
Stop When Swept: An optional setting allows you to stop drawing the liquidity line exactly on the candle where the price eventually sweeps (crosses) it. This prevents your chart from being cluttered by old, invalidated liquidity levels.
Previous Day (PD) Memory: The script remembers historical session data. When a new day begins, the script automatically re-labels the previous day's untouched levels to "PD" (e.g., PD AS H for Previous Day Asian High), or D-2 for older levels.
Smart Overlap Merging: It's very common for two sessions to share the exact same high or low. To keep your charts incredibly sleek, the engine actively scans for overlapping labels. If two liquidity pools rest at the exact same tick, it merges their labels into a single comma-separated text (e.g., Current Day High, AS L) and removes the redundant visual clutter.
Customizable Lookback: Control exactly how many historical days of liquidity you want to track (up to 40 days) to match your trading style without overwhelming your screen.
⚙️ Settings
Sessions to Show: Toggle any of the 6 individual sessions on or off.
Session Colors: Fully customize the color of the lines and labels for each specific session.
Lookback Limit: Adjust how many historical periods are kept on the chart (1 = Current Only, 2 = Current + Previous Day).
Stop Lines When Swept: Toggle whether the line should extend indefinitely or terminate upon contact with price.
Label Size: Change the typography size (defaults to Tiny for a professional, unobtrusive aesthetic).
릴리즈 노트
Bug Fixes오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.