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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.