OPEN-SOURCE SCRIPT

Market Structure: BoS & CHoCH (Math by Thomas)

567
📌 Description:
Market Structure: BoS & CHoCH (Math by Thomas) is a clean and reliable market structure tool designed to visually mark Swing Highs, Swing Lows, and classify each one as HH (Higher High), LH (Lower High), LL (Lower Low), or HL (Higher Low) based on price action. It also detects and labels Break of Structure (BoS) and Change of Character (CHoCH) to help identify potential continuation or reversal in trend.

🛠️ How to Use:
Add the indicator to your chart (works on any timeframe and asset).

Adjust the "Swing Sensitivity" input to fine-tune how many bars the script uses to detect a swing high/low. A higher number smooths out noise.

The script will automatically:

Mark every confirmed swing high or low with a solid line.

Label the swing as HH, LH, HL, or LL depending on its relative position.

Show BoS (trend continuation) or CHoCH (trend reversal) labels with the current trend direction.

Toggle labels or lines on or off with the corresponding checkboxes in settings.

🔍 Tip:
Use this indicator alongside other tools like volume or RSI for more confident entries. A CHoCH followed by two BoS in the same direction often signals a strong trend reversal.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.