OPEN-SOURCE SCRIPT

MHIDa Relative-Weakness vs BTC

141
WHAT IT DOES
This indicator measures how much the asset on your chart is underperforming Bitcoin (or any reference symbol you choose) over a rolling window of bars. It plots the difference between the asset return and the reference return over the same window, in percent, in a separate pane. Values below zero mean the asset is weaker than the reference.

HOW IT WORKS
- It takes the asset return over the last N bars (default 10) and subtracts the reference symbol return over the same N bars. The comparison uses the just-closed bar (close[1] versus close[1+N]), so the reading is based on completed bars.
- Relative weakness = (asset return - reference return) * 100.
- When this value drops below your chosen threshold (default 8%), the pane background is shaded: that is an excess-of-weakness zone.
- If, inside that zone, the current candle closes green (close above open), a small watch triangle prints at the bottom of the pane: the underperformance is extreme AND a first sign of stabilization has appeared. The marker draws only on standard chart types.

WHY THESE PIECES ARE TOGETHER
The shaded zone alone tells you the underperformance is extreme, but an extreme can keep getting worse. The green-candle condition adds the first hint that the fall against the reference is cooling off. Neither piece is a trade signal on its own; together they point at spots worth examining by eye.

HOW TO USE IT
Works on any symbol and timeframe. Inputs: reference symbol (default BTC), window length in bars, weakness threshold in percent, and whether to require a green candle before flagging. An optional alert fires on the flag - it is a reminder to go look at the chart, not an order.

HONEST LIMITS
This is a context tool, not a signal and not financial advice. It is not a winning system on its own. The decision, the context and the risk stay with you.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.