PROTECTED SOURCE SCRIPT

[ShoshiTrades] HTF Levels

129
[ShoshiTrades] HTF Levels is a clean, lightweight multi-timeframe HTF level marker that automatically plots key “reaction” levels from 4H / Daily / Weekly / Monthly candles directly on your chart.

> What is an “HTF Level” in this script?
In this indicator, an HTF Level is created on a direction flip (pivot) between two consecutive higher-timeframe candles:
If an HTF candle is bullish and the next HTF candle turns bearish, the level is marked at the pivot boundary where the bullish candle’s Close meets the next candle’s Open (these two prices are effectively the same boundary in that flip).
If an HTF candle is bearish and the next HTF candle turns bullish, the level is marked at the pivot boundary where the bearish candle’s Close meets the next candle’s Open.
So practically: the script draws a level at the HTF Open of the “new” candle right when the
HTF flip happens — which corresponds to the Close/Open pivot boundary between the two candles.

> What it does
Plots 4H, Daily, Weekly, Monthly levels on any timeframe chart
Levels extend to the right until they get tapped, then stop extending
Optional Tapped Levels styling (separate style/color/width for tapped levels)
Optional Multilevel merge: when multiple HTF levels are close to each other, they can be stacked into one “cluster” with a combined label (helps reduce clutter)

> Why it’s useful
HTF open-based levels often act like “magnets” where price reacts, rejects, or re-tests. This indicator helps you quickly see where higher timeframe structure is sitting without drawing levels manually.

> Key settings
4H / Daily / Weekly / Monthly: enable/disable + style controls
Tapped Levels: toggle + “Use Original Line Style” option
Multilevel:
- Minimum Count (how many merged items are required for “strong” cluster styling)
- Range % (merge distance threshold)
- Offset (how far labels are pushed to the right)

> Notes
Designed to be fast and minimal, with a focus on readability. Areas where multiple HTF levels merge into a single cluster often behave like “magnets” and can attract price reactions, re-tests, or rejections. Works best when used as a context tool (structure + reaction zones), not as a standalone trading system.

© ShoshiTrades

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน