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
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。