OPEN-SOURCE SCRIPT

Simple Market Structure Highs & Lows

165
🟩 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。