XAUUSD Vector SMC [MatsukazeAlgo]🇬🇧 ENGLISH
Most SMC tools draw Order Blocks and Fair Value Gaps on every qualifying candle. The chart fills up with levels, most of which price walks right through — because most bars don't have real institutional participation behind them.
This indicator solves that problem. It classifies each bar by volume (PVSRA method), then only draws SMC structure from bars that pass the volume gate. No volume confirmation = no drawing. The result is a dramatically cleaner chart where every visible zone has institutional participation on record.
Volume Classification (PVSRA Concept)
Every bar is classified into one of four tiers based on volume relative to its 10-bar average:
Strong Bull — volume ≥ 2x average, or highest climax (volume × range) of the last 10 bars. Market makers distributing into retail buying.
Strong Bear — same thresholds, inverse. Market makers accumulating from retail selling.
Above-Average Bull — volume ≥ 1.5x average.
Above-Average Bear — same, inverse.
Neutral — everything else. These bars are ignored by the SMC overlays.
Bar colors reflect the classification. Neutral bars keep their normal color.
Volume-Gated Order Blocks
An OB draws only when three conditions are met simultaneously:
1. The bar is a Vector Candle (Strong or Above-Average volume)
2. It sweeps a recent swing high or swing low (liquidity grab)
3. The next bar reverses past the vector candle's open
A sweep-and-reverse on a neutral bar does not draw. This single filter eliminates the majority of false OBs that clutter vanilla SMC indicators.
OB height can be clamped with the Max OB Height setting — useful on lower timeframes where vector candles can produce wide zones.
OBs auto-remove when invalidated (price closes through the zone). Configurable.
Volume-Gated Fair Value Gaps
Standard 3-bar FVGs, but only when the middle bar (the bar that creates the gap) is a Vector Candle. FVGs from low-volume bars are filtered out entirely.
Minimum gap size in dollars keeps trivial gaps off the chart. Default $3 for Gold 5-minute charts. Adjust higher for longer timeframes.
FVGs auto-delete when filled. Configurable.
Labels Track With Zones
Every OB and FVG gets a paired label. When a zone is invalidated or filled, its label is removed together — no orphaned labels cluttering your chart.
Gold-Specific Features
Session Filter — Exclude signals from specific sessions. Asia session signals are excluded by default (Gold produces frequent fakeouts during Asian hours).
Psychological Level Confluence — When an OB or FVG forms near $50/$100 round numbers, the zone is highlighted in gold with a ★ marker. Gold respects round numbers — confluence with volume-backed structure = highest probability zones.
Session Background — Optional Asia/London/NY background coloring.
Dashboard — Real-time display of current session, volume classification state, daily range, and ATR(14).
Alerts — 6 types: Bullish OB, Bearish OB, Bullish FVG, Bearish FVG, Bullish OB + Psych Level, Bearish OB + Psych Level.
Full Color Customization
Every element has independent color inputs. Vector bar colors, OB zones, FVG zones, confluence highlights — all adjustable. Dark and light theme compatible.
How To Use
The volume tier is the confirmation filter. An OB without a vector candle is just an OB — this indicator won't draw it. With a vector behind it, you have institutional participation confirming the setup.
Start with the defaults. If too many zones appear, raise the Min Size for FVGs. If OB boxes are too wide, set Max OB Height to 5-10. Enable Session Filter to focus on London and NY sessions only.
Vector candle concept based on the PVSRA method popularized by Traders Reality. Inspired by outofoptions ' approach of gating SMC structure through volume classification. This script is 100% original code with no shared codebase.
---
🇯🇵 日本語
ほとんどのSMCツールは、すべてのローソク足からOrder BlockやFair Value Gapを描画します。チャートがレベルだらけになり、その大半は価格が素通りします — なぜなら、ほとんどのバーには実際の大口参加者がいないからです。
このインジケーターはその問題を解決します。各バーを出来高で分類(PVSRA手法)し、出来高のゲートを通過したバーからのみSMC構造を描画します。出来高の裏付けがなければ描画しません。結果として、表示されるすべてのゾーンに大口の参加が記録された、圧倒的にクリーンなチャートが得られます。
出来高分類(PVSRAコンセプト)
各バーを直近10本の平均出来高に基づいて4段階に分類:
Strong Bull — 出来高が平均の2倍以上、または直近10本で最大のクライマックス(出来高×レンジ)。マーケットメーカーがリテール買いに売りを入れている。
Strong Bear — 同じ閾値、逆方向。マーケットメーカーがリテール売りから買い集めている。
Above-Average Bull — 出来高が平均の1.5倍以上。
Above-Average Bear — 同上、逆方向。
Neutral — それ以外。SMCオーバーレイから無視される。
Volume-Gated Order Blocks
OBが描画されるのは、3つの条件が同時に満たされた場合のみ:
1. バーがVector Candle(Strong or Above-Average出来高)
2. 直近のスイング高値/安値を突破(流動性スイープ)
3. 次のバーがVector Candleのオープンを超えて反転
Neutral(通常出来高)のバーからは描画しません。この1つのフィルターだけで、通常のSMCインジケーターを埋め尽くす偽OBの大半が排除されます。
Max OB Height設定でOBの高さを制限可能。低い時間足で便利です。
無効化時の自動削除(価格がゾーンを突破)。設定で切替可能。
Volume-Gated Fair Value Gaps
標準の3バーFVGですが、中央バー(ギャップを作るバー)がVector Candleの場合のみ描画。出来高の小さいバーからのFVGは完全に除外。
最小ギャップサイズ(ドル単位)で些末なギャップを除外。ゴールド5分足のデフォルトは$3。上位足では$5-10に調整推奨。
充填時の自動削除。設定で切替可能。
ラベルとゾーンが連動
OB/FVGごとにペアのラベルが付きます。ゾーンが無効化・充填された時、ラベルも一緒に削除されます。孤立したラベルがチャートに残りません。
ゴールド専用機能
セッションフィルター — 特定のセッションのシグナルを除外。Asiaセッションはデフォルトで除外(ゴールドは東京時間にフェイクアウトが頻発)。
心理的価格帯の合流 — OBまたはFVGが$50/$100のラウンドナンバー付近で形成された場合、ゴールド色で★ハイライト。ゴールドはラウンドナンバーを強くリスペクトします。出来高裏付け構造との合流 = 最高確率ゾーン。
セッション背景 — Asia/London/NYの背景色表示(オプション)。
ダッシュボード — 現在のセッション、出来高分類状態、日足レンジ、ATR(14)をリアルタイム表示。
アラート — 6種類:Bullish/Bearish OB、Bullish/Bearish FVG、Bullish/Bearish OB + 心理的価格帯。
全色カスタマイズ対応
Vectorバー色、OBゾーン、FVGゾーン、合流ハイライト — すべて個別の色設定。ダークテーマ・ライトテーマ両対応。
使い方
出来高の分類が確認フィルターです。Vector Candleを伴わないOBはただのOB — このインジケーターは描画しません。Vectorが裏付けにあれば、大口の参加が確認されたセットアップです。
デフォルトで使い始めてください。ゾーンが多すぎればFVGのMin Sizeを上げる。OBボックスが大きすぎればMax OB Heightを5-10に。Session FilterをONにしてロンドン・NYセッションだけに集中。
Vector CandleコンセプトはTraders Realityが広めたPVSRA手法に基づいています。 outofoptions 氏のVolume分類によるSMCゲーティングのアプローチに触発されました。コードは100%オリジナルです。
อินดิเคเตอร์ Pine Script®













