PROTECTED SOURCE SCRIPT
LiquidTradeRoom Auto Zones

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)
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)
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.