OPEN-SOURCE SCRIPT
MJQ.Confluence Zones

Changed name from RBD Confluence Zones
New input group "Style v2" (appended last, existing inputs untouched):
1. "Zone placement" — Rail / Span, default Rail. Zones no longer stretch back across the lookback window covering
price action; they start a few bars right of the live candle and extend into the right margin as a level ladder.
"Span" = legacy behavior.
2. "Color by side of price" — bool, default on. Clusters above price draw in the supply color (pink #e91e63), below
price in the demand color (cyan #00bcd4), straddling price gray — same palette as the SMC zone engine. Level count
(x2/x3/x4+) is now shown by fill intensity and border width instead of aqua/fuchsia/yellow hues. Off = legacy colors.
3. "Rail offset" — int, default 8. How many bars right of the live candle the rail begins.
4. "Anchor zones near price to candles" — float ×ATR, default 1.0. A zone whose nearest edge is within this distance
of the live close is in play: it extends back 12 bars over the candles with a solid border so you can watch price
trade into it. Distant zones stay parked in the rail. 0 = pure rail.
New input group "Style v2" (appended last, existing inputs untouched):
1. "Zone placement" — Rail / Span, default Rail. Zones no longer stretch back across the lookback window covering
price action; they start a few bars right of the live candle and extend into the right margin as a level ladder.
"Span" = legacy behavior.
2. "Color by side of price" — bool, default on. Clusters above price draw in the supply color (pink #e91e63), below
price in the demand color (cyan #00bcd4), straddling price gray — same palette as the SMC zone engine. Level count
(x2/x3/x4+) is now shown by fill intensity and border width instead of aqua/fuchsia/yellow hues. Off = legacy colors.
3. "Rail offset" — int, default 8. How many bars right of the live candle the rail begins.
4. "Anchor zones near price to candles" — float ×ATR, default 1.0. A zone whose nearest edge is within this distance
of the live close is in play: it extends back 12 bars over the candles with a solid border so you can watch price
trade into it. Distant zones stay parked in the rail. 0 = pure rail.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.