OPEN-SOURCE SCRIPT

BTC Macro Trend & Valuation [Final Fixed]

126
This indicator is a comprehensive Bitcoin trading system designed to capture both generational bottoms (Macro) and swing trading opportunities (Trend). It simulates institutional on-chain metrics using high-correlation technical moving averages, allowing users to identify "Deep Value" zones and "Trend Invalidation" levels without requiring paid external data.

The system combines three core components:

1. Macro Bottom Detector (The Purple Floor)

Logic: Simulates the CVDD (Cumulative Value-Days Destroyed) and Realized Price using the 200-Week SMA.

Usage: Historically, this line represents the absolute "hard floor" for Bitcoin price.

Signal: Displays a red "BOTTOM" label when price dips into the deep value zone (default: 5% below the floor), indicating a high-conviction accumulation zone.

2. Bull Market Support Band (The Trend Cloud)

Logic: Simulates the Short-Term Holder Cost Basis using the 20-Week SMA (Green) and 21-Week EMA (Blue).

Usage:

In a Bull Market: This band acts as dynamic support.

In a Bear Market: This band acts as resistance.

Signals:

"DIP" (Yellow Triangle): Appears when the price retests the band during an uptrend but closes above support. Ideal for "buying the dip."

"STOP/EXIT" (Pink Label): Appears when the price closes below the 20W SMA (Green Line), signaling that the bullish trend is broken and it is time to exit or defend capital.

3. Smart Status Dashboard (Top Right)
A real-time information panel that provides:

Macro Status: Are we in "Deep Value," "Fair Value," or "Overheated"?

Current Strategy: Tells you whether to "Buy/Accumulate," "Hold," or "Stay Cash/Stop Loss."

Key Levels: Dynamically displays the exact price you should watch.

In Uptrend: Displays the Stop-Loss price (Green Line).

In Downtrend: Displays the Target Bottom price (Purple Line).

How to Trade with this Script:

Long Term: Accumulate aggressively when price is near the Purple Line ("BOTTOM" signal).

Swing Trade: Enter on Yellow "DIP" signals during a bull run.

Risk Management: Exit positions immediately if the Pink "STOP/EXIT" signal appears.

Disclaimer:
This script is for educational purposes only. It simulates on-chain data using technical analysis proxies. Always do your own research (DYOR).


Macro Bottom Detector: 宏观底部探测器(模拟 CVDD/Realized Price)。

Bull Market Support Band: 牛市支撑带(模拟短手成本)。

Smart Status Dashboard: 智能状态面板(右上角那个表格)。

Key Levels: 关键点位(它会根据趋势自动显示“止损价”或者“抄底目标价”)。

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.