OPEN-SOURCE SCRIPT
Liquidity Risk Score (SPX)

This tool is a macro “liquidity regime” indicator designed to help you understand whether conditions are broadly supportive or restrictive for risk assets. It combines a small set of well-known US liquidity inputs (policy rate and short-dated yields, plus measures of money and central bank liquidity growth) into a single score that ranges from loose to very tight. The goal is not to predict exact turning points, but to provide context for the backdrop Bitcoin is trading in.
For BTC, the main use is framing expectations. Bitcoin can still perform well during tight policy, especially relative to the rest of crypto, because it tends to be treated as the “highest quality” asset in the space. In restrictive regimes, liquidity often concentrates into the least risky and most liquid assets first, which can mean BTC holds up better while higher-beta altcoins struggle. This tool helps you spot when you are likely in that type of environment, where the market may reward quality and liquidity over speculation.
It’s best used as a regime filter rather than a standalone trading signal. If the score stays elevated for a sustained period, it suggests tighter conditions where breakouts may be harder to sustain, volatility can be sharper, and rallies may be narrower. If the score trends lower over time, it suggests improving conditions where broader risk-on behavior and stronger follow-through become more likely.
Finally, the indicator should be treated as a starting point. The same liquidity regime can produce different outcomes depending on the asset’s structure, positioning, and narrative. For Bitcoin, you still need to layer in asset-specific analysis such as market structure, volatility, dominance, on-chain behavior, and where you are in the broader cycle.
EDIT - Please use this on SPX due to the way the code works
For BTC, the main use is framing expectations. Bitcoin can still perform well during tight policy, especially relative to the rest of crypto, because it tends to be treated as the “highest quality” asset in the space. In restrictive regimes, liquidity often concentrates into the least risky and most liquid assets first, which can mean BTC holds up better while higher-beta altcoins struggle. This tool helps you spot when you are likely in that type of environment, where the market may reward quality and liquidity over speculation.
It’s best used as a regime filter rather than a standalone trading signal. If the score stays elevated for a sustained period, it suggests tighter conditions where breakouts may be harder to sustain, volatility can be sharper, and rallies may be narrower. If the score trends lower over time, it suggests improving conditions where broader risk-on behavior and stronger follow-through become more likely.
Finally, the indicator should be treated as a starting point. The same liquidity regime can produce different outcomes depending on the asset’s structure, positioning, and narrative. For Bitcoin, you still need to layer in asset-specific analysis such as market structure, volatility, dominance, on-chain behavior, and where you are in the broader cycle.
EDIT - Please use this on SPX due to the way the code works
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.