OPEN-SOURCE SCRIPT
Smart Money vs Retail Flow

This indicator estimates the balance of power between institutional ("smart money") participants and retail traders by analyzing the relationship between price movement and volume relative to its average.
How it works:
Smart money tends to move markets with purpose — large volume accompanied by decisive price movement. Retail traders often chase price, buying tops and selling bottoms. This indicator attempts to separate these two behaviors by weighting price momentum against normalized volume activity, then applying RSI-based normalization to create two oscillating lines that reflect each group's relative dominance.
The two lines:
Aqua line (Commercials / Smart Money) — rises when significant price movement is backed by above-average volume, suggesting institutional participation
Red line (Retail Traders) — the inverse signal, rising when retail-style flow dominates
Key levels:
Above 70 — dominant zone. When the smart money line crosses above 70, institutions are aggressively entering
Below 30 — exhaustion zone. A crossover back above 30 on the smart money line triggers a buy signal
50 — midline equilibrium between buyers and sellers
Signals:
Green triangle (Smart Money Buy) — smart money line crosses back above 30, suggesting institutional accumulation after a pullback
Red triangle (Retail Trap) — retail line crosses above 70, suggesting retail traders are overextended and a reversal may follow
Background shading:
Green background — smart money in dominant zone
Red background — retail flow in dominant zone, potential exhaustion or trap
Best used with:
Price action context, support/resistance levels, and volume profile. Works on all assets and timeframes. Most effective on liquid markets such as indices (ES, NQ, DAX), major forex pairs, and high-volume crypto pairs.
Settings:
Momentum Length — RSI normalization period (default 14)
Volume Length — baseline volume average period (default 20)
Smoothing — EMA smoothing applied to raw flow signal (default 5)
Note: This indicator does not use actual order book or Level 2 data. Smart money flow is estimated using price-volume weighting relative to average volume. Use in confluence with other analysis for best results.
How it works:
Smart money tends to move markets with purpose — large volume accompanied by decisive price movement. Retail traders often chase price, buying tops and selling bottoms. This indicator attempts to separate these two behaviors by weighting price momentum against normalized volume activity, then applying RSI-based normalization to create two oscillating lines that reflect each group's relative dominance.
The two lines:
Aqua line (Commercials / Smart Money) — rises when significant price movement is backed by above-average volume, suggesting institutional participation
Red line (Retail Traders) — the inverse signal, rising when retail-style flow dominates
Key levels:
Above 70 — dominant zone. When the smart money line crosses above 70, institutions are aggressively entering
Below 30 — exhaustion zone. A crossover back above 30 on the smart money line triggers a buy signal
50 — midline equilibrium between buyers and sellers
Signals:
Green triangle (Smart Money Buy) — smart money line crosses back above 30, suggesting institutional accumulation after a pullback
Red triangle (Retail Trap) — retail line crosses above 70, suggesting retail traders are overextended and a reversal may follow
Background shading:
Green background — smart money in dominant zone
Red background — retail flow in dominant zone, potential exhaustion or trap
Best used with:
Price action context, support/resistance levels, and volume profile. Works on all assets and timeframes. Most effective on liquid markets such as indices (ES, NQ, DAX), major forex pairs, and high-volume crypto pairs.
Settings:
Momentum Length — RSI normalization period (default 14)
Volume Length — baseline volume average period (default 20)
Smoothing — EMA smoothing applied to raw flow signal (default 5)
Note: This indicator does not use actual order book or Level 2 data. Smart money flow is estimated using price-volume weighting relative to average volume. Use in confluence with other analysis for best results.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。