OPEN-SOURCE SCRIPT
Macro Dashboard V5

Macro Dashboard V5 is a macro sentiment indicator for TradingView that combines multiple markets into one dashboard.
It analyzes relationships between:
Bitcoin
U.S. Dollar Index (DXY)
S&P 500 (SPX)
CBOE Volatility Index (VIX)
The panel displays trend, Daily/Weekly bias, liquidity sweeps, correlations, and calculates a Confluence Score (0-100) to identify high-probability trading setups.
When strong market alignment occurs, the indicator triggers a High Probability Setup alert.
Macro Dashboard V5 is a macro analysis panel that combines multiple markets to determine risk sentiment and trading bias.
The indicator analyzes the relationship between:
Bitcoin
U.S. Dollar Index (DXY)
S&P 500 (SPX)
CBOE Volatility Index (VIX)
It generates a Confluence Score (0-100) to identify high probability setups.
Dashboard Components
Trend
Trend is determined using EMA crossover:
EMA 20
EMA 50
Interpretation:
Status Meaning
Bull bullish trend
Bear bearish trend
Daily
Shows if price is:
Above Daily Open → bullish bias
Below Daily Open → bearish bias
This is one of the most important intraday levels.
Weekly
Displays the relation to the Weekly Open.
Useful for mid-term market bias.
Liquidity
Detects liquidity sweeps:
High Sweep – break of Previous Day High
Low Sweep – break of Previous Day Low
Often followed by strong reversals or expansions.
Correlation
Displays BTC correlation with:
Asset Interpretation
DXY usually inverse
SPX usually positive
VIX inverse correlation
Risk Engine
Defines the market regime:
Regime Conditions
Risk ON SPX up, DXY down, VIX down
Risk OFF SPX down, DXY up, VIX up
Interpretation:
Risk ON → look for longs
Risk OFF → look for shorts
Confluence Score
Score is calculated using multiple conditions:
Condition Points
BTC above Daily Open +20
BTC above Weekly Open +20
SPX bullish +20
DXY bearish +20
VIX bearish +20
Score Interpretation
Score Meaning
80-100 High probability setup
60-80 Bullish bias
40-60 Neutral
0-40 Bearish bias
Alerts
The indicator triggers an alert:
High Probability Setup
when:
Score ≥ 80
This indicates strong market alignment.
It analyzes relationships between:
Bitcoin
U.S. Dollar Index (DXY)
S&P 500 (SPX)
CBOE Volatility Index (VIX)
The panel displays trend, Daily/Weekly bias, liquidity sweeps, correlations, and calculates a Confluence Score (0-100) to identify high-probability trading setups.
When strong market alignment occurs, the indicator triggers a High Probability Setup alert.
Macro Dashboard V5 is a macro analysis panel that combines multiple markets to determine risk sentiment and trading bias.
The indicator analyzes the relationship between:
Bitcoin
U.S. Dollar Index (DXY)
S&P 500 (SPX)
CBOE Volatility Index (VIX)
It generates a Confluence Score (0-100) to identify high probability setups.
Dashboard Components
Trend
Trend is determined using EMA crossover:
EMA 20
EMA 50
Interpretation:
Status Meaning
Bull bullish trend
Bear bearish trend
Daily
Shows if price is:
Above Daily Open → bullish bias
Below Daily Open → bearish bias
This is one of the most important intraday levels.
Weekly
Displays the relation to the Weekly Open.
Useful for mid-term market bias.
Liquidity
Detects liquidity sweeps:
High Sweep – break of Previous Day High
Low Sweep – break of Previous Day Low
Often followed by strong reversals or expansions.
Correlation
Displays BTC correlation with:
Asset Interpretation
DXY usually inverse
SPX usually positive
VIX inverse correlation
Risk Engine
Defines the market regime:
Regime Conditions
Risk ON SPX up, DXY down, VIX down
Risk OFF SPX down, DXY up, VIX up
Interpretation:
Risk ON → look for longs
Risk OFF → look for shorts
Confluence Score
Score is calculated using multiple conditions:
Condition Points
BTC above Daily Open +20
BTC above Weekly Open +20
SPX bullish +20
DXY bearish +20
VIX bearish +20
Score Interpretation
Score Meaning
80-100 High probability setup
60-80 Bullish bias
40-60 Neutral
0-40 Bearish bias
Alerts
The indicator triggers an alert:
High Probability Setup
when:
Score ≥ 80
This indicates strong market alignment.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.