OPEN-SOURCE SCRIPT

Simple Market Structure Highs & Lows

123
🟩 Simple Market Structure Highs & Lows

This indicator identifies basic swing highs and lows based on simple two-candle patterns, giving traders a clean visual view of short-term market structure shifts.

🔹 Logic

A Swing High (H) is marked when an up candle is followed by a down candle.
→ The high of the up candle (the first one) is plotted as a green triangle above the bar.

A Swing Low (L) is marked when a down candle is followed by an up candle.
→ The low of the down candle (the first one) is plotted as a red triangle below the bar.

🔹 Purpose

This tool helps visualize basic market turning points — useful for:

Spotting local tops and bottoms

Analyzing market structure changes

Identifying potential entry/exit zones

Building the foundation for BOS/CHoCH strategies

🔹 Notes

Works on any timeframe or asset.

No repainting — signals appear after the confirming candle closes.

Simple and lightweight — ideal for traders who prefer clean structure visualization.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。