OPEN-SOURCE SCRIPT

BTC - StableFlow: Pit-Stop & Refuel Engine

136
BTC – StableFlow: Pit-Stop & Refuel Engine | RM

Strategic Context: The Institutional Gas Station In the high-speed race of the crypto markets, Stablecoins (USDT, USDC, DAI) represent the Fuel, and Bitcoin is the Race Car. Most traders only look at the car's speed (Price), but they ignore the gas tank. The StableFlow Engine is a telemetry dashboard designed to monitor the "Fuel Pressure" within the ecosystem, identifying exactly when the car is being refueled and when it is running on empty.

The Telemetry Logic: How to Read the Race
The indicator operates on a Relative Velocity model. We aren't just looking at how many Stablecoins exist; we are measuring the Acceleration of Stablecoin Market Cap relative to the Acceleration of BTC Price.

1. The Fuel Reservoir (The Histogram)
Cyan Zones (Refuel): The gas station is open. Institutional "Dry Powder" is flowing into stables faster than it is being spent on BTC. The tank is filling up.
Orange Zones (Exhaust): The "Overdrive." The car is driving faster than the gas can be pumped. Price is outperforming the stablecoin supply—this is unsustainable and usually precedes a stall.

2. Lap Transitions (The Grey Lines)
These vertical markers signify a Regime Shift. They trigger the moment the momentum crosses the zero-axis, visually distinguishing the transition between a "Net-Refueling" period and a "Net-Exhaustion" period. While not used as direct entry signals, they define the Macro Lap we are currently in.

Operational Playbook: The Pit-Stop Signals
We don't just buy because the tank is full; we buy when the car exits the pits and begins to accelerate. This is captured by our proprietary Pit-Stop Pips.

Blue Pip (Pit-Stop Buy): Triggered when the Refuel momentum has peaked and is now rotating back into the market. The refuel is complete; the car is rejoining the race with a full tank.
Red Pip (Exhaust Sell): Triggered when the price acceleration has overextended relative to its fuel source and begins to "roll over." The tank is near empty; time for a tactical pull-back.

Settings & Calibration: The Pit Wall Dashboard
Signal Mode & Logic The engine features a dual-mode signaling system to adapt to different market conditions (or your personal preferred logic):
Consecutive Mode: Best for high-velocity trends. Fires a pip after n bars of momentum reversal (Default: 2 bars).
Percentage (%) Mode: Best for structural fades. Fires a pip when the momentum retraces by a specific percentage (e.g., 15%) from its local peak, regardless of the bar count.

Recommended Calibration
While the engine is versatile across various timeframes, the Weekly (1W) chart is the preferred setting for identifying high-conviction macro signals. Lower timeframes provide tactical speed, but the 1W frame offers significantly cleaner signals by filtering out the daily market noise.
Weekly (1W) — The Macro Signal (Preferred): * Velocity Lookback: 20 | Smoothing: 5.
Peak Lookback: 25 (Represents roughly half a year of telemetry data). This is a good starting point for identifying major cycle rotations.
Daily (1D) — The Tactical Pulse: * Velocity Lookback: 20 | Smoothing: 5.
Peak Lookback: 25 (Represents one trading month of telemetry). Useful for active swing traders looking for entry/exit timing within an established macro trend.

Technical Documentation
Data Sourcing & Aggregation The script utilizes request.security to aggregate a "Big Three" Stablecoin Market Cap (USDT + USDC + DAI). This prevents "False Exhaustion" signals caused by capital simply migrating between different stablecoin assets.
Mathematical Foundation The core engine calculates the Rate of Change (ROC) for the Aggregate Stablecoin Supply and BTC Price over a synchronized lookback window.
Formula Logic: Fuel Pressure = EMA ( ROC(Stables) - ROC(BTC) )
The Pit-Stop Pips utilize a local peak-finding algorithm via ta.highest and ta.lowest within a rolling 25-bar window to calculate the Relative Retracement Magnitude. This ensures signals are mathematically tied to the volatility of the current market regime.

The Dual-Fuel Framework: StableFlow x Liquisync
The StableFlow Engine is designed to function as the tactical counterpart to the Liquisync: Macro Pulse Engine. While Liquisync monitors the Global Supply Line (the "Tanker Truck" of M2 Liquidity moving from Central Banks toward the track with a 60-day lead), StableFlow measures the Immediate Fuel Pressure (the "Dry Powder" already in the pit lane, ready to be pumped into the car).
By using both indicators in tandem, you can follow the Dual-Fuel Strategy: Liquisync identifies the fundamental macro regime, while StableFlow identifies the specific "Refuel" and "Exhaustion" pivots within that regime. We will be providing a comprehensive breakdown of this synchronized telemetry in our upcoming Substack Masterclass: The Dual-Fuel Architecture.

Risk Disclaimer & Credits
The StableFlow is a thematic macro tool tracking on-chain liquidity proxies. Stablecoin data is subject to exchange reporting delays. This is not financial advice; it is a telemetry model for institutional education. Rob Maths is not liable for losses incurred via use of this model.

Tags:
indicator, bitcoin, btc, stablecoins, usdt, flow, liquidity, macro, refuel, institutional, robmaths, Rob Maths

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。