BTC Driver Smoothed Liquidity+Fibonacci Bollinger — Strategy by vsanabria

By vsanabria

Performance Metrics

Description

This strategy is a BTC-driven trading system designed to trade altcoins while using Bitcoin (BTC) as the primary source of market signals. All analytical components are calculated exclusively from BTC price and volume data, while the asset shown on the chart is used only for trade execution.The strategy combines volatility-based structure using Fibonacci-adjusted Bollinger Bands with a smoothed liquidity distribution model derived from BTC volume. It is designed to capture macro-context transitions in Bitcoin that often precede or drive movements in altcoins.This script is inspired by two main conceptual sources. The first is the classic “Bollinger + RSI, Double Strategy” by ChartArt, which introduced the idea of combining volatility bands with confirmation logic. The second inspiration comes from the “Liquidity Thermal Map” indicator by BigBeluga. While the original BigBeluga tool visualizes liquidity as a heatmap, this strategy adapts the underlying concept into a quantitative, oscillator-style metric. The resulting liquidity measure is fully custom-coded and significantly modified to fit a systematic, BTC-driven trading framework.The design philosophy assumes that Bitcoin leads capital flows in the crypto market, while altcoins often react to changes in BTC volatility and liquidity. By anchoring all signals to BTC, the strategy aims to reduce asset-specific noise and focus on higher-level market structure.Bollinger Bands are calculated using BTC closing prices with a relatively long lookback period. This long length helps define broader volatility structure rather than short-term fluctuations. Instead of using the full standard deviation bands, the strategy applies a Fibonacci multiplier, most commonly 0.764, to the Bollinger deviation. These Fibonacci-adjusted levels are used as reaction zones where BTC price re-entries can indicate potential shifts in market behavior.A Bollinger-based condition is triggered only when BTC first moves outside a Fibonacci band and then closes back inside it. This avoids chasing price and requires a confirmed volatility expansion followed by a re-entry, which is treated as a structural signal rather than a simple band touch.In addition to volatility structure, the strategy incorporates a Buy Liquidity oscillator derived from BTC volume. To calculate this, BTC price history over a configurable lookback period is divided into a set number of price bins. Volume is then accumulated into these bins based on where trades occurred relative to price levels. The strategy measures the proportion of total volume that is located below the current BTC price, expressed as a percentage.This liquidity percentage is interpreted as a proxy for market positioning. Higher values indicate that a larger portion of volume sits below price, suggesting directional support, while lower values indicate the opposite. To reduce micro-structure noise, this liquidity metric can be smoothed using a simple moving average. The smoothed version is enabled by default.Two liquidity thresholds are defined: a lower level and an upper level. A bullish liquidity signal occurs when the Buy Liquidity percentage crosses above the lower threshold. A bearish liquidity signal occurs when it crosses below the upper threshold. This crossing behavior is used to detect shifts in liquidity balance rather than fixed states.Trade signals are generated only when both components agree. A long signal requires that BTC re-enters above the lower Fibonacci Bollinger band and that the Buy Liquidity oscillator crosses above its lower threshold. A short signal requires that BTC re-enters below the upper Fibonacci Bollinger band and that the Buy Liquidity oscillator crosses below its upper threshold.All signals are evaluated on bar close, and the strategy does not repaint. Orders are executed on the chart’s symbol, which allows the same BTC-driven logic to be applied across different altcoins.The strategy is configured with no pyramiding, meaning only one position is held at a time. When a signal flips, positions are adjusted accordingly based on the new BTC-driven conditions. Trade management is primarily signal-driven rather than target-driven.A take profit parameter is included but is intentionally set to a very high value by default, effectively disabling fixed take-profit exits. This design choice allows trades to remain open as long as BTC conditions remain favorable. Users may adjust this value or implement additional exit rules depending on the volatility and behavior of the traded asset.The strategy has been designed and tested primarily on intraday timeframes, with the 5-minute timeframe showing the most consistent behavior during extensive simulations. Parameter values included by default represent configurations that demonstrated robust performance across different assets and market regimes. These settings are not guaranteed to be optimal under all conditions and may require adjustment.This script is deterministic, rule-based, and intended solely for educational, research, and experimental purposes. Market conditions evolve continuously, and historical performance does not guarantee future outcomes. Users are strongly encouraged to conduct their own testing and apply appropriate risk management before using this strategy in any trading environment.The information and publications provided do not constitute, and should not be interpreted as, financial, investment, trading, or any other form of advice. This content is neither provided nor endorsed by TradingView. For more information, please visit tradingview.com/support/

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView