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. קרא עוד ב־תנאי השימוש.