OPEN-SOURCE SCRIPT
Svopex Key Levels

Svopex Key Levels
A comprehensive multi-timeframe key-levels indicator that plots the most-watched institutional reference points on a single overlay. Originally built on top
of sbtnc's base code and extended with additional levels for daily trading convenience.
What it plots
For every timeframe, the indicator can display the Open, the previous period's High / Low, and the previous period's Mid (50% of the range):
- 4H — open, prev 4H high/low, prev 4H mid
- Daily — open, prev day high/low (PDH/PDL), prev day mid (PDM)
- Monday Range — current week's Monday high/low/mid (essential for FX weekly bias)
- Weekly — open, prev week high/low (PWH/PWL), prev week mid (PWM)
- Monthly — open, prev month high/low (PMH/PML), prev month mid (PMM)
- Quarterly — open, prev quarter high/low (PQH/PQL), prev quarter mid (PQM)
- Yearly — open, current year high/low (CYH/CYL), current year mid (CYM)
- FX Sessions — London / New York / Tokyo (Asia) ranges, with custom session times
Every level has its own toggle, color, and shorthand label option, so you can light up only the levels you trade.
Display options
- Standard mode — levels are drawn as horizontal lines anchored to their period's start.
- Right Anchored mode — labels and tails stay clustered to the right side of the chart for clean read-outs on busy screens.
- Merge Levels — automatically collapses overlapping levels into a single label so you don't end up with stacked text on confluence.
- Distance / Anchor Distance — controls how far the levels and labels extend.
Styling
- Line Style — Solid, Dashed, or Dotted
- Line Width — Small / Medium / Large
- Text Size — Small / Medium / Large
- Per-group colors — independent color picker for each timeframe / session
- Global Coloring — one switch to recolor everything to a single shade
- Global Text Shorthand — flip every label to its short form (PDH, PWM, CYL …) in one click
How to use
These levels are the price points where institutional liquidity, prior-period highs/lows, and session opens tend to concentrate — they're commonly used as
targets, reaction zones, or stop-hunt destinations. Combine the prev-day high/low with Monday range and the daily/weekly opens for a complete bias and target
framework. The 4H levels are useful for intraday entries; quarterly and yearly levels matter for swing positioning.
Credits
- Base code by sbtnc — thank you.
- Extensions, additional levels, and styling rework by Svopex.
Open source under MPL 2.0 — fork, adapt, and share.
A comprehensive multi-timeframe key-levels indicator that plots the most-watched institutional reference points on a single overlay. Originally built on top
of sbtnc's base code and extended with additional levels for daily trading convenience.
What it plots
For every timeframe, the indicator can display the Open, the previous period's High / Low, and the previous period's Mid (50% of the range):
- 4H — open, prev 4H high/low, prev 4H mid
- Daily — open, prev day high/low (PDH/PDL), prev day mid (PDM)
- Monday Range — current week's Monday high/low/mid (essential for FX weekly bias)
- Weekly — open, prev week high/low (PWH/PWL), prev week mid (PWM)
- Monthly — open, prev month high/low (PMH/PML), prev month mid (PMM)
- Quarterly — open, prev quarter high/low (PQH/PQL), prev quarter mid (PQM)
- Yearly — open, current year high/low (CYH/CYL), current year mid (CYM)
- FX Sessions — London / New York / Tokyo (Asia) ranges, with custom session times
Every level has its own toggle, color, and shorthand label option, so you can light up only the levels you trade.
Display options
- Standard mode — levels are drawn as horizontal lines anchored to their period's start.
- Right Anchored mode — labels and tails stay clustered to the right side of the chart for clean read-outs on busy screens.
- Merge Levels — automatically collapses overlapping levels into a single label so you don't end up with stacked text on confluence.
- Distance / Anchor Distance — controls how far the levels and labels extend.
Styling
- Line Style — Solid, Dashed, or Dotted
- Line Width — Small / Medium / Large
- Text Size — Small / Medium / Large
- Per-group colors — independent color picker for each timeframe / session
- Global Coloring — one switch to recolor everything to a single shade
- Global Text Shorthand — flip every label to its short form (PDH, PWM, CYL …) in one click
How to use
These levels are the price points where institutional liquidity, prior-period highs/lows, and session opens tend to concentrate — they're commonly used as
targets, reaction zones, or stop-hunt destinations. Combine the prev-day high/low with Monday range and the daily/weekly opens for a complete bias and target
framework. The 4H levels are useful for intraday entries; quarterly and yearly levels matter for swing positioning.
Credits
- Base code by sbtnc — thank you.
- Extensions, additional levels, and styling rework by Svopex.
Open source under MPL 2.0 — fork, adapt, and share.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.