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. اقرأ المزيد في شروط الاستخدام.