OPEN-SOURCE SCRIPT

Risk Alignment

40
Risk Alignment evaluates whether market conditions favor risk-on or risk-off behavior by assessing the alignment of BTC and the OTHERS index.

It uses two independent signals: the direction of the 12/25 EMA stack and price position relative to those EMAs, each classified as bullish, bearish, or neutral.

These signals are combined into a six-state regime framework:
Bullish, Neutral-Bullish, Conflicting, Neutral-Bearish, Bearish, or No Signal

This provides a clear hierarchy of conviction rather than a binary output.

It is designed to function as a top-down macro filter, helping traders gate exposure, size risk, and avoid periods of structural disagreement.

It is best used as a regime context layer, not as a standalone entry signal.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.