PROTECTED SOURCE SCRIPT

LiquidTradeRoom Auto Zones

48
1. Finds Swing Highs and Swing Lows

It looks for pivot highs and lows using a user-chosen length.

Swing highs = possible supply

Swing lows = possible demand

These swings help the indicator understand the market structure.

2. Automatically Creates Supply & Demand Zones

When a new swing high or low is found:

🔴 Supply zone (after a swing high)

Draws a box above price

Slight buffer added using ATR

Extends the box forward to the right

🔵 Demand zone (after a swing low)

Draws a box below price

ATR buffer

Extends the box to the right

The boxes act as “areas price may react from.”

3. Stops Overlapping Zones

Before creating a new zone, the script checks:

If the new zone is too close to an existing one → it does not draw it.
This avoids clutter & duplicate zones.

4. Draws POI Labels

Within each supply/demand box it draws a small “POI” label showing the midpoint.

This marks the "most important part" of the zone.

5. Marks BOS (Break of Structure) Automatically

If price breaks above a supply zone top or below a demand zone bottom, the indicator:

Converts that zone into a BOS marker

Draws a line showing where structure was broken

Removes the old supply/demand box

This helps identify trend changes.

6. Extends Active Zones

Existing zones are constantly pushed further right so they stay visible on the chart.

7. Optional Zig-Zag

The script can draw a zig-zag line to help visualize:

Higher highs

Higher lows

Lower highs

Lower lows

But you can turn it on or off.

8. Optional Swing Labels

If enabled, it prints:

HH (Higher High)

HL (Higher Low)

LH (Lower High)

LL (Lower Low)

This visually shows market structure.

✨ In summary

This script automatically builds a full “Smart Money Concepts” structure map including:

✔ Swing points
✔ Supply & demand zones
✔ POIs
✔ Break of structure (BOS)
✔ Zig-zag structure
✔ Market structure labels (HH, HL, LH, LL)

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。