XAUUSD S/R Zones [MatsukazeAlgo]🇬🇧 ENGLISH
A volume-weighted Support and Resistance zone indicator optimized for Gold (XAUUSD). Builds zones from clustered pivot points, weighted by volume and wick rejection. Stronger institutional participation = more vivid zones. Weak levels fade into the background. Gold's $50/$100 psychological levels are detected automatically when they align with a volume-backed zone.
Concepts
Volume-Weighted Clustering — Traditional S/R tools draw a line at every pivot. This indicator clusters nearby pivots together, then weights each one by its volume and wick size. A pivot with heavy volume and a deep rejection wick scores far higher than a quiet poke. The result is fewer zones on the chart, but the ones that appear have measurable institutional backing behind them.
Zone Strength Rating — Each zone receives a relative strength score (★ to ★★★) compared to other active zones. This is not arbitrary — it derives from the weighted sum of all pivots in the cluster, decayed by age. A ★★★ zone has the most institutional interest on the chart right now.
Age Fading — Zones that haven't been touched recently fade in transparency. Fresh zones stay vivid. This creates a natural visual hierarchy without manual cleanup.
Psychological Level Confluence — Gold respects $50 and $100 round numbers as institutional order clusters. When a volume-weighted zone aligns with a psychological level, the zone is highlighted with a gold border and ★ marker. This confluence represents the highest-probability S/R on Gold.
Preset System — Four presets adapt the pivot parameters for different timeframes and trading styles. Scalp uses tight pivots for 1-5m charts. Local tightens zones from recent structure. Swing (default) balances depth and relevance. Major surfaces macro levels for 4H-Daily.
How It Works
1. Pivot Detection: Configurable left/right bar lookback confirms pivot highs and lows. Each pivot records its price, bar index, volume, and wick size.
2. Clustering: Pivots within a tolerance distance (ATR-based) are grouped. A minimum bar spacing prevents tight consolidations from inflating a single zone.
3. Weighting: Each pivot's contribution is weighted by volume, wick depth, and recency (exponential decay). The weighted center becomes the zone's price level.
4. Zone Selection: Zones are ranked by total weighted strength. Only the top N per side (default 6) are displayed.
5. Lifecycle: Active zones extend right until broken (close beyond the zone) or dropped (replaced by stronger pivots). Broken zones can optionally be displayed as historical reference.
Gold-Specific Features
Psychological Level Confluence — When a zone contains a $50 or $100 round number, it receives a gold-coloured border and a ★ marker in the label. Gold traders know these levels matter — this feature surfaces the confluence automatically.
DXY Direction — The stats table shows current DXY direction (▲/▼). Support zones carry more weight when DXY is falling (Gold bullish bias). Resistance zones carry more weight when DXY is rising.
MatsukazeAlgo Palette — Support zones in teal, resistance in rose. Psych confluence zones in gold. Broken zones in muted tones. Consistent with the full MatsukazeAlgo Gold toolkit.
Signals (Optional, Default: Test Markers ON with RSI Filter)
Successful Test — A circle appears when price touches a zone and closes back in the rejection direction. Confirms the zone is holding. Filtered by RSI by default (only fires at oversold for support, overbought for resistance).
Retest — A diamond appears when price returns to a previously broken zone and reacts. The classic broken-resistance-becomes-support setup. Default OFF.
Zone Reaction — Small diamonds when price touches and holds, bold labels when a zone breaks. Default OFF.
RSI Filter — Reduces signals to higher-conviction setups by requiring RSI extremes. Default ON.
Cooldown — Prevents the same zone from firing repeated signals within a configurable bar window (default 20).
Input Reference
Zone Strength — Preset selector: Scalp / Local / Swing (default) / Major / Custom.
Custom Parameters — Left Bars, Right Bars (pivot confirmation), Cluster Tolerance (×ATR, how far apart pivots can be to merge), Min Bars Between Touches, Pivot Memory (how far back to look).
Zones — Active Zones Per Side (default 6), Min Touches (default 2), Fade After (bars before transparency increases), Hide Zones Farther Than (% from current price).
Broken Zones — Show Broken (confirmed breaks), Show Dropped (replaced by stronger pivots). Both default OFF.
Signals — Test Markers (default ON), Retest Markers (default OFF), Zone Reaction (default OFF), RSI Filter (default ON), RSI Length/Oversold/Overbought, Cooldown Bars, Retest Window.
Gold Settings — Psych Confluence: detect $50/$100 within zones. Confluence Colour (default gold). DXY Alignment: show in stats table.
Stats Table — Show Table (default OFF), Position, Size, Text/Title Colour. Displays active support/resistance count, psych confluence count, and DXY direction.
Style — Color by Volume (high-volume zones more vivid), Show Labels (strength + touches + volume), Show Volume Score, Volume Format (Absolute/Percentage), Zone Opacity.
Alerts — 9 types: Resistance Touched, Support Touched, Resistance Broken, Support Broken, Support Test, Resistance Test, Bullish Retest, Bearish Retest, New Pivot.
Conclusion
XAUUSD S/R Zones replaces guesswork with measurement. Every zone on the chart has volume and rejection data behind it. The strength rating tells you which levels matter most right now. The psychological level confluence highlights where institutional volume meets Gold's natural round-number structure. Four presets let you switch from scalping to swing trading in one click.
Recommended timeframe: 1min–1H on XAUUSD (use Scalp preset for lower timeframes).
---
Based on Support and Resistance Zones by FeelsStrategy . This version adds psychological level confluence with gold highlighting, DXY alignment, MatsukazeAlgo colour palette, session stats table, bilingual UI, and Gold-specific tuning.
---
🇯🇵 日本語
ゴールド(XAUUSD)に最適化されたボリューム加重サポート&レジスタンスゾーンインジケーターです。クラスター化されたピボットポイントからゾーンを構築し、ボリュームとウィックのリジェクションで重み付け。機関投資家の参加が大きいほど鮮明なゾーンになります。弱いレベルは背景に溶けます。ゴールドの$50/$100心理的価格帯がボリューム裏付けゾーンと一致すると自動検出されます。
コンセプト
ボリューム加重クラスタリング — 従来のS/Rツールは全てのピボットにラインを引きます。このインジケーターは近接するピボットをクラスター化し、各ピボットをボリュームとウィックサイズで重み付けします。大量のボリュームと深いリジェクションウィックを持つピボットは、静かなタッチよりはるかに高いスコアを得ます。結果として、チャート上のゾーンは少なくなりますが、表示されるものには測定可能な機関投資家の裏付けがあります。
ゾーン強度ランキング — 各ゾーンは他のアクティブゾーンと比較して相対的な強度スコア(★〜★★★)を受けます。クラスター内の全ピボットの加重合計から導出され、経過時間で減衰します。★★★ゾーンは現在チャート上で最も機関投資家の関心が高い場所です。
経過フェード — 最近タッチされていないゾーンは透明度が上がります。新鮮なゾーンは鮮明に残ります。手動のクリーンアップなしで自然な視覚的優先順位が生まれます。
心理的価格帯の合流 — ゴールドは$50/$100のラウンドナンバーを機関投資家の注文クラスターとしてリスペクトします。ボリューム加重ゾーンが心理的価格帯と一致すると、ゴールド色のボーダーと★マーカーでハイライトされます。この合流がゴールドで最も高確率のS/Rです。
プリセットシステム — 4つのプリセットがタイムフレームとトレーディングスタイルに合わせてピボットパラメータを調整。Scalp(1-5分)、Local(短期構造)、Swing(デフォルト、バランス型)、Major(4H-日足のマクロレベル)。
仕組み
1. ピボット検出:設定可能な左右バー数でピボット高値/安値を確認。各ピボットは価格、バーインデックス、ボリューム、ウィックサイズを記録。
2. クラスタリング:ATRベースの許容距離内のピボットをグループ化。最小バー間隔で密な保ち合いがゾーンを膨張させるのを防止。
3. 重み付け:各ピボットの寄与をボリューム、ウィック深さ、経過時間(指数減衰)で重み付け。加重中心がゾーンの価格レベルに。
4. ゾーン選択:全ゾーンを加重強度でランク付け。片側上位N個(デフォルト6)のみ表示。
5. ライフサイクル:アクティブゾーンはブレイク(終値がゾーンを超える)またはドロップ(より強いピボットに置換)まで右に延長。ブレイク済みゾーンは過去の参照として表示可能。
ゴールド専用機能
心理的価格帯の合流 — ゾーンに$50/$100のラウンドナンバーが含まれる場合、ゴールド色ボーダーとラベルに★マーカー。ゴールドトレーダーがこれらのレベルを重視することを知っている — この機能が合流を自動で検出します。
DXY方向 — 統計テーブルにDXY方向(▲/▼)を表示。DXY下落時はサポートゾーンの重みが増し、DXY上昇時はレジスタンスゾーンの重みが増します。
シグナル(オプション、デフォルト:テストマーカーON + RSIフィルタON)
テストマーカー — 価格がゾーンにタッチしてリジェクション方向に引けると○が出現。ゾーンが機能していることを確認。デフォルトでRSIフィルタ付き(サポートは売られすぎ、レジスタンスは買われすぎでのみ発火)。
リテスト — ブレイク後にゾーンに戻って反応すると◆が出現。デフォルトOFF。
ゾーンリアクション — タッチ&ホールドで小さい◆、ブレイク時にラベル。デフォルトOFF。
入力パラメータ
ゾーン強度 — プリセット:Scalp / Local / Swing(デフォルト)/ Major / Custom。
カスタム設定 — 左バー、右バー、クラスター許容範囲(×ATR)、最小タッチ間隔、ピボット記憶数。
ゾーン — 片側最大数(デフォルト6)、最小タッチ数(デフォルト2)、フェード開始バー数、非表示距離(%)。
ブレイク済みゾーン — ブレイク表示、ドロップ表示。デフォルトOFF。
シグナル — テストマーカー(デフォルトON)、リテスト(OFF)、ゾーンリアクション(OFF)、RSIフィルタ(デフォルトON)、RSI設定、クールダウン、リテストウィンドウ。
ゴールド設定 — 心理的合流($50/$100検出)、合流色、DXYアライメント。
統計テーブル — テーブル表示(デフォルトOFF)、位置、サイズ、文字色。アクティブS/R数、心理的合流数、DXY方向を表示。
スタイル — ボリューム色、ラベル表示、ボリュームスコア、ボリュームフォーマット、ゾーン透明度。
アラート — 9種類:レジスタンスタッチ/ブレイク、サポートタッチ/ブレイク、サポートテスト、レジスタンステスト、強気リテスト、弱気リテスト、新ピボット。
まとめ
XAUUSD S/R Zonesは推測を測定に置き換えます。チャート上の全ゾーンにボリュームとリジェクションのデータがあります。強度ランキングが今最も重要なレベルを教えます。心理的価格帯の合流は、機関投資家のボリュームとゴールドの自然なラウンドナンバー構造が交わる場所をハイライトします。4つのプリセットでスキャルピングからスイングまでワンクリックで切替可能です。
推奨時間足:1分〜1時間(XAUUSD、低時間足ではScalpプリセット推奨)
---
Based on Support and Resistance Zones by FeelsStrategy . 心理的価格帯の合流検出(ゴールドハイライト)、DXYアライメント、MatsukazeAlgoカラーパレット、統計テーブル、日英併記UI、ゴールド専用チューニングを追加。
Wskaźnik Pine Script®






















