OPEN-SOURCE SCRIPT
Confluence Reaction Zones | ProjectSyndicate

Confluence Reaction Zones reads seven classic indicators as a single contrarian composite, then commits a shaded support/resistance zone only where structure and sentiment agree at an extreme. Instead of drawing yet another line at every swing, it waits for a confirmed pivot, samples the composite at that pivot, and color-classifies the level by what the composite was doing when the level formed — deep-oversold support becomes a BUY-DIP zone, overbought resistance becomes a SELL-RIP zone, and everything in between is flagged MIXED. Every zone is ranked 0–10 with a star score, re-scored on each retest, and neutralized the moment price closes through it — and a live diagnostics panel shows the full seven-signal breakdown driving the read, so you can see exactly why a zone is the color it is on the pair and timeframe you trade.
🧠 Composite Core — the central idea. Seven engines — RSI, the EMA stack (9/21/50/100/200/250), MACD, ADX/DI, Ichimoku, Bollinger Bands, and OBV — are each graded onto a 1–5 tube level, where 5 is an oversold / exhausted extreme (a contrarian BUY read), 1 is an overbought extreme (a contrarian SELL read), and 3 is neutral. The seven levels are averaged into a single 0–100 Composite: high means the market is stretched to the downside and coiled to bounce; low means it is stretched to the upside and vulnerable to fade. This is a genuine fade-the-extreme model — it leans against the crowd at the point of exhaustion, not with it.
📈 Contrarian Zone Classification — where the composite meets structure. A zone is born on a confirmed swing pivot, and its class is set by the Composite sampled at that pivot bar. A support pivot that forms while the Composite is oversold becomes a high-conviction BUY-DIP zone; a resistance pivot that forms while the Composite is overbought becomes a high-conviction SELL-RIP zone; a pivot whose structure and Composite disagree is drawn as a dimmed MIXED zone. Because pivots are confirmed and the Composite is read at the settled pivot bar, the classification is fixed once the bar closes — the zones do not repaint.
🎯 Shaded Reaction Bands + Structural Behavior. Each zone is a multi-layer, double-shaded band sized in ATR, with a center line, an inside-edge label, and a live touch counter. Bands extend forward as price develops, tally each clean retest, and re-score on every test. The instant price closes beyond the zone by an adjustable invalidation offset, the level is neutralized — recolored to a muted tone (or dropped entirely) — so a broken level reads as spent context, never as a live signal. Opacity is graded by strength, so the strongest zones sit boldest on the chart.
⭐ 0–10 Zone-Quality Score. Every zone is scored and starred across contrarian-native factors: how far the Composite was from neutral at birth (extremity / conviction), relative volume at the pivot, rejection-wick fraction at the pivot, and buy/sell pressure alignment with the zone's direction — with additional credit accruing for each confirmed retest, capped at 10. Read the score as a confluence / cleanliness rank for thinning and prioritizing zones: it describes how textbook a reaction level is, not a guaranteed outcome.
🧭 Buy/Sell Pressure Split. A rolling intrabar volume split estimates the balance of buying versus selling over a configurable window. It feeds the zone score and prints live on the dashboard as a ▲ buy / ▼ sell percentage, so the participation behind a level is visible at a glance and factored into how the level is graded.
🎚️ Declutter & Conviction Controls. A tight set of dials governs how busy and how selective the chart is: Oversold / Overbought thresholds define what counts as an extreme; a Dedupe Separation (×ATR) filter stops new pivots from stacking bands and labels on top of existing same-side zones; Max Zones caps the live set; Keep-last-N-broken caps neutralized history so gray levels never accumulate into clutter; a Show MIXED toggle hides conflicted zones for a directional-only view; and the invalidation offset sets how decisively price must close through a level to kill it. Tighten for a clean, high-conviction chart; loosen for full structural context.
📊 Live Diagnostics Dashboard. A compact institutional panel tracks, in real time on your chart: the Composite score with a fill bar; the Verdict — BUY DIPS / SELL RIPS / NEUTRAL; the buy/sell pressure split; a full signal diagnostics table showing each of the seven engines at its current tier (L1 ⇊ OVERBOUGHT → L5 ⇈ OVERSOLD), color-keyed so you see instantly which inputs are driving the composite; the active BUY-DIP and SELL-RIP zone counts; and the nearest active zone with its class, star score, and distance in ATR. It is a live read of the engine's current state on your symbol — not a printed statistic.
🎨 Clean Themed Visuals. A dark institutional palette in three schemes — Classic (teal / red / amber), Ice (cyan / pink), and Emerald (green / red / gold) — colors the zone bands, center lines, labels, dashboard, and optional candle tint into one coherent look, so class and conviction read at a glance. Candles inside a live zone are tinted to its color, and small OS / OB dots mark the exact bars where the Composite flips into an oversold or overbought extreme — the moment a fresh contrarian setup arms.
🔔 Alerts. Fires on Composite oversold / overbought flips, on BUY-DIP and SELL-RIP zone retests, and on zone invalidations — formatted for manual or automated use — so you can be pinged when sentiment reaches an extreme or when price returns to a graded level rather than watching the chart.
🔧 Fully Customizable. Every component is exposed: the seven signal parameters (RSI length/source, EMA stack, MACD lengths and MA types, ADX/DI length and tolerance, Ichimoku periods, Bollinger length/MA/source, and the full OBV rise/fall/spike model); the oversold/overbought composite thresholds and pressure lookback; pivot strength, ATR length, zone height, dedupe separation, max zones, invalidation offset, MIXED visibility, broken-zone tone and history cap; gradient fill, candle tint, extreme dots; dashboard position and size; and all three themes.
🎯 Why this is different. Most support/resistance tools draw lines at pivots and leave interpretation to you — every level looks the same whether the market was exhausted or trending into it. This engine reads seven indicators as one contrarian composite, only commits a zone where a confirmed pivot lines up with a sentiment extreme, color-codes the level by that agreement, ranks it 0–10, re-scores it on every retest, and neutralizes it the instant it fails — then surfaces the entire seven-signal rationale on a live panel. You are looking at classified, ranked, self-invalidating levels with the reasoning attached, not an undifferentiated ladder of lines.
🚀 Where to use it. Symbol- and timeframe-agnostic — it runs on forex, indices, metals, crypto, and equities across intraday and higher timeframes. Because the score and pressure split use volume (OBV, relative volume, buy/sell balance), it is sharpest on instruments where volume is meaningful and degrades gracefully where it is only tick volume. Larger Pivot Strength yields fewer, more significant zones on higher timeframes; smaller values give a more reactive intraday map.
🎯 How to trade it
Apply it to a liquid instrument and let the zones and dashboard populate. Read the Composite and Verdict for the prevailing contrarian bias, and use the signal-diagnostics table to see which of the seven engines are actually stretched.
Favor BUY-DIP zones for longs and SELL-RIP zones for shorts, prioritizing higher star scores and, ideally, a Composite already leaning the same way — a fresh OS / OB dot near a matching graded zone is the intended confluence.
Treat each zone as a decision level: plan entries on a controlled retest into the band, define invalidation by a decisive close through it (the same event that neutralizes the zone on the chart), and manage targets against the next opposing zone or your own R model.
Use Dedupe Separation, Max Zones, Show MIXED, and Keep-last-N-broken to set chart density — stricter for a clean, high-conviction map; looser for full structure — and use the star score to focus on the cleanest reaction levels.
⚠️ Important — this is a decision-support tool, not a standalone buy/sell system, and it makes no performance guarantees. The 0–10 score is a confluence / cleanliness rank that describes how textbook a reaction level is; it is not a probability or a promise of outcome, and the dashboard is a live read of the engine's current state, not a backtest or forecast. Zones and their classification confirm on the closed pivot bar, so pivots print with the built-in confirmation lag and you should always wait for a settled level. Contrarian logic fades extremes and will be wrong in strong trends — always pair it with higher-timeframe context, your own analysis, and disciplined risk management, and test it on your market and timeframe before trading it live.
🧠 Composite Core — the central idea. Seven engines — RSI, the EMA stack (9/21/50/100/200/250), MACD, ADX/DI, Ichimoku, Bollinger Bands, and OBV — are each graded onto a 1–5 tube level, where 5 is an oversold / exhausted extreme (a contrarian BUY read), 1 is an overbought extreme (a contrarian SELL read), and 3 is neutral. The seven levels are averaged into a single 0–100 Composite: high means the market is stretched to the downside and coiled to bounce; low means it is stretched to the upside and vulnerable to fade. This is a genuine fade-the-extreme model — it leans against the crowd at the point of exhaustion, not with it.
📈 Contrarian Zone Classification — where the composite meets structure. A zone is born on a confirmed swing pivot, and its class is set by the Composite sampled at that pivot bar. A support pivot that forms while the Composite is oversold becomes a high-conviction BUY-DIP zone; a resistance pivot that forms while the Composite is overbought becomes a high-conviction SELL-RIP zone; a pivot whose structure and Composite disagree is drawn as a dimmed MIXED zone. Because pivots are confirmed and the Composite is read at the settled pivot bar, the classification is fixed once the bar closes — the zones do not repaint.
🎯 Shaded Reaction Bands + Structural Behavior. Each zone is a multi-layer, double-shaded band sized in ATR, with a center line, an inside-edge label, and a live touch counter. Bands extend forward as price develops, tally each clean retest, and re-score on every test. The instant price closes beyond the zone by an adjustable invalidation offset, the level is neutralized — recolored to a muted tone (or dropped entirely) — so a broken level reads as spent context, never as a live signal. Opacity is graded by strength, so the strongest zones sit boldest on the chart.
⭐ 0–10 Zone-Quality Score. Every zone is scored and starred across contrarian-native factors: how far the Composite was from neutral at birth (extremity / conviction), relative volume at the pivot, rejection-wick fraction at the pivot, and buy/sell pressure alignment with the zone's direction — with additional credit accruing for each confirmed retest, capped at 10. Read the score as a confluence / cleanliness rank for thinning and prioritizing zones: it describes how textbook a reaction level is, not a guaranteed outcome.
🧭 Buy/Sell Pressure Split. A rolling intrabar volume split estimates the balance of buying versus selling over a configurable window. It feeds the zone score and prints live on the dashboard as a ▲ buy / ▼ sell percentage, so the participation behind a level is visible at a glance and factored into how the level is graded.
🎚️ Declutter & Conviction Controls. A tight set of dials governs how busy and how selective the chart is: Oversold / Overbought thresholds define what counts as an extreme; a Dedupe Separation (×ATR) filter stops new pivots from stacking bands and labels on top of existing same-side zones; Max Zones caps the live set; Keep-last-N-broken caps neutralized history so gray levels never accumulate into clutter; a Show MIXED toggle hides conflicted zones for a directional-only view; and the invalidation offset sets how decisively price must close through a level to kill it. Tighten for a clean, high-conviction chart; loosen for full structural context.
📊 Live Diagnostics Dashboard. A compact institutional panel tracks, in real time on your chart: the Composite score with a fill bar; the Verdict — BUY DIPS / SELL RIPS / NEUTRAL; the buy/sell pressure split; a full signal diagnostics table showing each of the seven engines at its current tier (L1 ⇊ OVERBOUGHT → L5 ⇈ OVERSOLD), color-keyed so you see instantly which inputs are driving the composite; the active BUY-DIP and SELL-RIP zone counts; and the nearest active zone with its class, star score, and distance in ATR. It is a live read of the engine's current state on your symbol — not a printed statistic.
🎨 Clean Themed Visuals. A dark institutional palette in three schemes — Classic (teal / red / amber), Ice (cyan / pink), and Emerald (green / red / gold) — colors the zone bands, center lines, labels, dashboard, and optional candle tint into one coherent look, so class and conviction read at a glance. Candles inside a live zone are tinted to its color, and small OS / OB dots mark the exact bars where the Composite flips into an oversold or overbought extreme — the moment a fresh contrarian setup arms.
🔔 Alerts. Fires on Composite oversold / overbought flips, on BUY-DIP and SELL-RIP zone retests, and on zone invalidations — formatted for manual or automated use — so you can be pinged when sentiment reaches an extreme or when price returns to a graded level rather than watching the chart.
🔧 Fully Customizable. Every component is exposed: the seven signal parameters (RSI length/source, EMA stack, MACD lengths and MA types, ADX/DI length and tolerance, Ichimoku periods, Bollinger length/MA/source, and the full OBV rise/fall/spike model); the oversold/overbought composite thresholds and pressure lookback; pivot strength, ATR length, zone height, dedupe separation, max zones, invalidation offset, MIXED visibility, broken-zone tone and history cap; gradient fill, candle tint, extreme dots; dashboard position and size; and all three themes.
🎯 Why this is different. Most support/resistance tools draw lines at pivots and leave interpretation to you — every level looks the same whether the market was exhausted or trending into it. This engine reads seven indicators as one contrarian composite, only commits a zone where a confirmed pivot lines up with a sentiment extreme, color-codes the level by that agreement, ranks it 0–10, re-scores it on every retest, and neutralizes it the instant it fails — then surfaces the entire seven-signal rationale on a live panel. You are looking at classified, ranked, self-invalidating levels with the reasoning attached, not an undifferentiated ladder of lines.
🚀 Where to use it. Symbol- and timeframe-agnostic — it runs on forex, indices, metals, crypto, and equities across intraday and higher timeframes. Because the score and pressure split use volume (OBV, relative volume, buy/sell balance), it is sharpest on instruments where volume is meaningful and degrades gracefully where it is only tick volume. Larger Pivot Strength yields fewer, more significant zones on higher timeframes; smaller values give a more reactive intraday map.
🎯 How to trade it
Apply it to a liquid instrument and let the zones and dashboard populate. Read the Composite and Verdict for the prevailing contrarian bias, and use the signal-diagnostics table to see which of the seven engines are actually stretched.
Favor BUY-DIP zones for longs and SELL-RIP zones for shorts, prioritizing higher star scores and, ideally, a Composite already leaning the same way — a fresh OS / OB dot near a matching graded zone is the intended confluence.
Treat each zone as a decision level: plan entries on a controlled retest into the band, define invalidation by a decisive close through it (the same event that neutralizes the zone on the chart), and manage targets against the next opposing zone or your own R model.
Use Dedupe Separation, Max Zones, Show MIXED, and Keep-last-N-broken to set chart density — stricter for a clean, high-conviction map; looser for full structure — and use the star score to focus on the cleanest reaction levels.
⚠️ Important — this is a decision-support tool, not a standalone buy/sell system, and it makes no performance guarantees. The 0–10 score is a confluence / cleanliness rank that describes how textbook a reaction level is; it is not a probability or a promise of outcome, and the dashboard is a live read of the engine's current state, not a backtest or forecast. Zones and their classification confirm on the closed pivot bar, so pivots print with the built-in confirmation lag and you should always wait for a settled level. Contrarian logic fades extremes and will be wrong in strong trends — always pair it with higher-timeframe context, your own analysis, and disciplined risk management, and test it on your market and timeframe before trading it live.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
syndicate001.com
Algo systems for prop traders
Algo systems for pro gold traders
Algo Trading and Indicator Tutorials
Levels desk Gold FX NQ ES JPN225
telegram.me/aisyndicate001
Algo systems for prop traders
Algo systems for pro gold traders
Algo Trading and Indicator Tutorials
Levels desk Gold FX NQ ES JPN225
telegram.me/aisyndicate001
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
syndicate001.com
Algo systems for prop traders
Algo systems for pro gold traders
Algo Trading and Indicator Tutorials
Levels desk Gold FX NQ ES JPN225
telegram.me/aisyndicate001
Algo systems for prop traders
Algo systems for pro gold traders
Algo Trading and Indicator Tutorials
Levels desk Gold FX NQ ES JPN225
telegram.me/aisyndicate001
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน