Bitcoin Cycle ModelBitcoin Market Cycle Evaluation Using Subjective Z-Scores
Introduction:
I've crafted a unique indicator for Bitcoin that synthesizes multiple market indicators into a single, actionable Z-score, aiming to offer insights into the current market cycle phase. Here's the methodology:
Methodology:
Alpha Validation: Each component indicator has been tested for its predictive power (alpha) against Bitcoin's market cycle peaks and troughs from at least the last two cycles. This ensures each indicator contributes meaningfully to our model.
Z-Score Synthesis: By converting each indicator's value into a Z-score, we normalize their contributions. The average of these Z-scores provides a refined signal, indicating whether Bitcoin is in an overbought or oversold state relative to historical norms.
Features:
Individual Indicator Customization: Users can tweak inputs to optimize each indicator's alpha, enhancing the model's predictive accuracy.
Historical Averages: The script provides visibility into how both technical and fundamental indicators have scored in the past, offering a benchmark for current conditions.
ROC Flexibility: Adjust the Rate of Change (ROC) period to suit your analysis timeframe, allowing for more personalized market cycle interpretation.
Indicators Integrated:
Fundamental:
MVRV (Market Value to Realized Value) - Measures market sentiment vs. actual value.
Bitcoin Thermocap - Relates Bitcoin's market cap to its transaction volume.
NUPL (Net Unrealized Profit/Loss) - Indicates holder's profit or loss status.
CVDD (Coin Days Destroyed) - Shows the movement of long-held coins.
SOPR (Spent Output Profit Ratio) - Highlights whether coins are being spent at a profit or loss.
Technical:
RSI (Relative Strength Index) - Identifies overbought/oversold conditions.
CCI (Commodity Channel Index) - Detects cyclical turns in Bitcoin's price.
Multiple Moving Averages - For trend analysis over various time frames.
Sharpe Ratio - Evaluates risk-adjusted return.
Pi Cycle Indicator - Predicts cycle tops based on moving average crossovers.
Hodrick-Prescott Filter - Separates trend from cycle in price data.
VWAP (Volume Weighted Average Price) - Provides a trading benchmark.
How It Works Together:
This model uses a weighted average of Z-scores from these indicators to give a comprehensive view of Bitcoin's market cycle. The Z-scores are not just summed but considered in context; for example, when fundamental indicators like MVRV suggest an overvaluation while technical ones like RSI indicate a near-term correction, the model's output reflects this nuanced interaction.
Future Developments:
The next step is to include sentiment analysis, potentially from social media or news sentiment, to further refine our cycle predictions.
Chart Example:
Symbol/Timeframe: BTCUSD on a daily chart.
Script Name: Bitcoin Cycle Z-Score Evaluator
Statistics
Bitcoin Trend DashboardIntroducing the Bitcoin Trend Dashboard—a focused tool for tracking BTC’s momentum across multiple timeframes. This dashboard zeroes in on Bitcoin’s trend behavior, offering traders a clear and actionable view of its market dynamics.
Key Metrics:
BTC (1W Timeframe): Captures Bitcoin’s long-term trend on a weekly chart.
BTC (1D Timeframe): Highlights daily movements for medium-term insights.
BTC (12H Timeframe): Zooms into 12-hour shifts for shorter-term precision.
Core Features:
Overall Score:
Assigns a 1 (long) or -1 (short) score for each timeframe based on indicator signals.
Combines these into a robust final signal, showing Bitcoin’s dominant trend direction.
Rate of Change (ROC):
Adjustable ROC settings to measure momentum across all three timeframes.
Customize it to your trading style for sharper analysis.
Market Phase Detection:
Determines if BTC is in a mean-reverting or trending phase on each timeframe.
Align your strategy with Bitcoin’s current behavior.
Evaluation Levels:
Tracks overbought/oversold conditions:
Negative values: Oversold (below 0).
Positive values: Overbought (above 0).
Extremes at 2 and -2: Marks potential reversal zones.
How It Works:
The Bitcoin Trend Dashboard analyzes BTC across 1-week, 1-day, and 12-hour timeframes, delivering a multi-dimensional view of its trend strength. By blending these perspectives into a single signal, it helps you gauge whether Bitcoin is poised for a move—and in which direction. Perfect for BTC-focused traders looking to time their entries and exits.
Crypto Market DashboardIntroducing the Crypto Market Dashboard—a comprehensive tool designed to give you a bird’s-eye view of the crypto market. This dashboard tracks key market aggregates and liquidity trends, combining them with powerful trend analysis for a complete market pulse.
Key Metrics:
TOTAL (1W Timeframe): Tracks the overall crypto market trend on a weekly basis.
TOTAL (1D Timeframe): Zooms in on daily market movements for shorter-term insights.
OTHERS.D (2D Timeframe): Monitors altcoin performance (excluding majors) on a 2-day chart.
Fed Liquidity Formula (1W Timeframe): Analyzes broader market liquidity based on a custom Fed-derived formula.
Core Features:
Overall Score:
Assigns a 1 (long) or -1 (short) score for each metric based on indicator signals.
Combines these into a robust final signal, highlighting the market’s dominant direction.
Rate of Change (ROC):
Adjustable ROC settings to measure momentum across all tracked metrics.
Tailor it to your preferred sensitivity for precise trend tracking.
Market Phase Detection:
Identifies whether each metric is in a mean-reverting or trending phase.
Helps you align your strategy with current market behavior.
Evaluation Levels:
Displays overbought/oversold conditions:
Negative values: Oversold (below 0).
Positive values: Overbought (above 0).
Extremes at 2 and -2: Signals potential turning points.
How It Works:
The Crypto Market Dashboard combines TOTAL (weekly and daily), OTHERS.D (2-day), and a Fed Liquidity Formula (weekly) into a single, intuitive interface. It analyzes trends and momentum across these critical market indicators, delivering a clear picture of where the crypto market—and its liquidity—is headed. Whether you’re a macro trader or just want a market health check, this tool has you covered.
Crypto Majors Trend DashboardIntroducing the Crypto Majors Trend dashboard—a versatile tool for tracking the heavy hitters: BTC, ETH, SOL, and SUI. This dashboard delivers a unified view of trends and relative strength across these key assets, empowering traders with clear, actionable insights.
Key Features:
Overall Score:
Each asset (BTC, ETH, SOL, SUI) receives a 1 (long) or -1 (short) score per indicator.
These scores combine into a robust final signal, spotlighting which crypto major is leading the pack.
Rate of Change (ROC):
Adjustable ROC to measure momentum across all four assets.
Customize it to your trading timeframe for sharper trend detection.
Market Phase Detection:
Identifies whether each asset is in a mean-reverting or trending phase.
Adapt your approach based on real-time market conditions.
Evaluation Levels:
Tracks overbought/oversold states:
Negative values: Oversold (below 0).
Positive values: Overbought (above 0).
Extremes at 2 and -2: Flags potential reversal zones.
How It Works:
The Crypto Majors Trend dashboard analyzes BTC, ETH, SOL, and SUI individually, generating long or short signals for each. By combining these into a cohesive overview, it reveals which asset is trending strongest and offers a probabilistic edge for trading decisions. Perfect for spotting opportunities across the majors or fine-tuning your portfolio.
QP SUI Analysis DashboardThis custom TradingView dashboard, crafted in Pine Script, delivers an advanced analytical tool tailored for Sui (SUI) and Solana (SOL). It combines trend probability algorithms with ratio analysis, empowering traders to assess market trends and relative performance with precision and clarity.
Key features include:
Ratio Analysis: Presents the performance ratio between SUI and SOL, offering a straightforward comparison of their market movements.
Trend Probability Algorithm: Employs a robust algorithm to calculate and display the probability and strength of trends, utilizing a configurable set of indicators for enhanced accuracy.
Rate of Change (ROC): Measures the percentage change in ratios from prior days, with customizable lookback periods to adapt to various trading horizons.
Adjustable Indicator Count: Allows users to define the number of indicators integrated into the trend probability algorithm, providing flexibility to refine the analysis.
Market Phase Identification: Detects whether the market is trending or mean-reverting, enabling traders to adjust strategies based on prevailing conditions.
Market Evaluation: Blends multiple indicators to determine if the SUI/SOL ratio is overvalued or undervalued relative to recent historical trends, offering a reliable gauge for potential trading opportunities.
Designed for traders tracking SUI and SOL, this dashboard excels at highlighting trend probabilities, market phases, and valuation insights. Its customizable features and multi-indicator framework make it a powerful, adaptable tool for navigating the dynamic cryptocurrency markets on TradingView, suitable for both tactical and strategic trading approaches.
SUI Analysis DashboardIntroducing the SUI Analysis Dashboard—a dynamic tool designed to evaluate SUI and SOL, focusing on the SUI/SOL ratio. This dashboard provides a clear view of relative performance, helping traders identify which asset is outperforming the other with a probabilistic edge.
Key Features:
Overall Score:
Assigns a 1 (long) or -1 (short) score for both SUI and SOL based on individual indicator signals.
Combines these into a robust final signal, revealing which asset is dominating the SUI/SOL ratio.
Rate of Change (ROC):
Customizable ROC settings to track momentum in the SUI/SOL ratio.
Adjust it to your preferred timeframe for precise analysis.
Market Phase Detection:
Determines if the ratio is in a mean-reverting or trending phase.
Align your strategy with the current market behavior.
Evaluation Levels:
Highlights overbought/oversold conditions:
Negative values: Oversold (below 0).
Positive values: Overbought (above 0).
Extremes at 2 and -2: Marks potential turning points.
How It Works:
The dashboard analyzes SUI and SOL independently, generating long or short signals for each. It then compares these through the SUI/SOL ratio to determine which asset is outperforming. Whether you're trading SUI, SOL, or the ratio itself, this tool offers a streamlined way to gauge relative strength and market conditions.
Majors Ratio DashboardIntroducing a powerful tool for analyzing key cryptocurrency ratios: ETH/BTC, SOL/ETH, and SOL/BTC. This dashboard provides a comprehensive view of market dynamics through ratio analysis, delivering actionable insights for traders.
Key Features:
Overall Score:
Each indicator generates a score of 1 (long) or -1 (short) based on its signal.
These scores are combined into a robust final signal, highlighting which asset is probabilistically dominating the ratio.
Rate of Change (ROC):
Adjustable ROC settings to track momentum shifts in the ratios.
Fine-tune it to your preferred time horizon for sharper insights.
Market Phase Detection:
Identifies whether the ratio is in a mean-reverting or trending phase.
Helps you adapt your strategy to current market conditions.
Evaluation Levels:
Displays overbought/oversold conditions:
Negative values: Oversold (below 0).
Positive values: Overbought (above 0).
Extremes at 2 and -2: Signals potential reversal zones.
How It Works:
The dashboard analyzes ETH/BTC, SOL/ETH, and SOL/BTC ratios to uncover relative strength and weakness. By combining multiple indicators into a single score, it simplifies decision-making while offering a probabilistic edge. Whether you're trading the majors or looking for portfolio insights, this tool helps you see the bigger picture.
MF Global Money Supply M2 by MigueFinanceglobal m2 offset 70/aspdoifcjapsodifjpa oswedf pxaciswfpmqonvjswdf
Standard Deviation Lines v1.0Overview
The Standard Deviation Lines v1.0 indicator is designed to provide a statistical approach to market volatility by plotting multiple standard deviation levels based on price action. This tool helps traders identify key price levels where the market may experience significant reactions, making it useful for trend analysis, support/resistance identification, and volatility-based trading strategies.
Key Features
✅ Dynamic Standard Deviation Levels: Calculates and plots up to ±3 standard deviation levels, giving traders a clear view of price dispersion and potential overbought/oversold areas.
✅ Quadrant-Based Deviation Zones: Divides standard deviation ranges into smaller, meaningful levels (e.g., 0.214, 0.382, 0.50, 0.618, 0.786) for a granular analysis of price movements.
✅ VIX Integration for Volatility Adjustment: Incorporates CBOE:VIX to dynamically adjust standard deviation levels based on market volatility.
✅ Weekly vs. Daily Mode: Users can toggle between weekly and daily standard deviation calculations to adapt to different trading strategies.
✅ Auto-Updating Levels: The indicator refreshes at market close (17:00), ensuring traders work with the latest price data.
✅ Customizable Display: Uses color-coded lines to differentiate between positive and negative deviations, with dashed lines for mid-levels and key support/resistance areas.
How to Use
📌 Trend & Volatility Analysis – Higher standard deviation levels indicate strong price movements, helping traders assess trend strength and market volatility.
📌 Reversal & Continuation Signals – Prices reaching extreme standard deviation levels (±2 or ±3) may suggest potential reversals or breakouts.
📌 Support & Resistance Zones – The quadrant-based deviation zones help identify hidden support/resistance areas where price may react.
📌 Risk Management – Traders can use standard deviation bands to set stop-loss and take-profit levels based on statistical price dispersion.
Best For
🔹 Day traders & swing traders looking to incorporate volatility-based strategies.
🔹 Mean reversion traders who capitalize on price returning to statistical averages.
🔹 Momentum traders who want to confirm trend strength and continuation.
Try the Standard Deviation Lines v1.0 now and enhance your market analysis with a statistical edge!
Coinbase 比特币溢价指数The "Coinbase Bitcoin Premium Index" indicator is designed to measure the price difference between Bitcoin on the Coinbase exchange and the Binance exchange, presented as a percentage premium. Here's a detailed explanation of its meaning and function:
Gap-Down ReversalThis indicator is designed to identify potential reversal opportunities following gap-down opens, based on statistical principles and observed market behavior. (Use only stocks.)
📈 What It Does?
The script calculates standard deviation of daily log (logarithm) returns over a user-defined period (default: 90 days). It then detects when the opening price gaps down significantly (beyond a user-defined Z-score threshold, default: 1.0), potentially indicating an overreaction in the market.
When such a condition is met, the indicator plots (at the open) a green triangle below the bar, signaling a potential area where mean reversion may occur.
🧠 Why Gap-Downs Might Reverse?
This indicator is based on well-studied market behaviors:
Panic Selling: Many traders and investors react emotionally to overnight news, “tweets“ leading to excessive selling at the open.
Liquidity Imbalances: Institutional traders often delay large buy orders, allowing early price movements to be exaggerated.
Lack of Stock-Specific News: Many gap-downs happen due to broad market movements rather than stock-specific bad news.
These events can lead to temporary mispricings, which often mean revert once rational price discovery resumes.
📚 A similar mean-reversion concept is discussed in Ernest P. Chan’s book, " Algorithmic Trading: Winning Strategies and Their Rationale " (2013).
⚙️ How It Works
Standard Deviation Length: Determines the historical volatility used for calculating significant gaps.
Z-Score Threshold: Defines how large the gap-down must be (relative to volatility) to trigger a signal.
Gap-Down Return: Measured from today’s open vs. yesterday’s low.
⚠️ Important Note
This indicator is designed for use in normal market conditions. It may produce unreliable signals during extreme volatility events, such as black swan scenarios, flash crashes, or major macroeconomic shocks. During such periods, market dynamics deviate from statistical norms, and price behavior may not revert as expected.
This script is for educational and informational purposes only.
Largest Intraday Moves with Dateslargest intraday moves shows dates and price moves of highest intraday moves both ways
Definition of Moves:
Upward Move: Calculated as dailyHigh - dailyLow (largest increase from low to high in a day).
Downward Move: In this simplified version, it’s also dailyHigh - dailyLow because, within a single day, the largest range covers both directions. If you meant something different (e.g., largest drop from a peak to a subsequent low across bars), let me know, and I’ll adjust!
Text Display:
Green label above the high shows "Up Move Date: DD/MM/YYYY".
Red label below the low shows "Down Move Date: DD/MM/YYYY".
These update to reflect the date of the largest move observed so far in the day.
Simplification:
Removed arrays and extra complexity.
Focused solely on tracking the largest range (high - low) and its date.
Correlation X macroeconomicsFind the correlation between financial assets and the main Brazilian macroeconomic variables:
SELIC rate (Red)
PIB (Green)
Inflation (Blue)
Employment and income (Yellow)
Unlike other indicators that measure the correlation between two assets, the indicator "Correlation X macroeconomics" measures, for example, the correlation that the VALE3 asset has with the SELIC rate.
The correlation is obtained by calculating the variation suffered by a given asset on the day a given Brazilian macroeconomic variable is released.
This indicator can be used on any financial asset.
Use time frame chart = 1 day.
To calculate the correlation, data published by IBGE and the Central Bank of Brazil over a period of time are used. This time period is different depending on the selected macroeconomic variable. Namely:
16 PIB disclosures (4 years)
24 SELIC rate disclosures (3 years)
24 disclosures of IPCA and employment and income data (2 years)
You can select one or more macroeconomic variables to check the effect of correlation separately on each of them.
This indicator "Correlation X macroeconomics" will be updated monthly, as detailed below:
At the end of the day on which the PIB is released
At the end of the day on which employment and income data are released
At the end of the day following the day on which the SELIC rate is published
On the last business day of the month if none of the aforementioned disclosures occur
Price Level IndicatorThe "Price Level Indicator" (PLI) is a powerful tool for analyzing price levels across different timeframes. It calculates and displays moving averages (SMA, EMA, SMMA, WMA, VWMA) from various time intervals (1m, 3m, 5m) on a single chart.
How to Use:
Add the indicator to your chart
Select the moving average type and data source
Set the period length (default is 1024)
Enable/disable the display of lines for different timeframes (3m, 5m)
Key Features:
Display data from multiple timeframes on a single chart
Calculate percentage deviations (x25, x50, x75) from the main MA line
Customizable colors for all indicator elements
Information panel with current values
Interpretation:
Main lines (SMA 1m, 3m, 5m) show the average price value on the corresponding timeframes
Additional lines display potential support and resistance levels
Varying line thickness helps visually distinguish timeframes
This indicator is particularly useful for identifying key price levels when trading across multiple timeframes simultaneously.
If you have any questions about usage, please leave a comment under the indicator.
Happy trading!
Visible High/Low Liquidation LevelsThis indicator helps traders identify potential liquidation levels based on visible price ranges. It calculates high and low median levels from a specified number of bars and displays multiple liquidation thresholds (x1, x2, x3, x5, x10, x25, x50, x75) above the low median and below the high median.
The indicator creates a visual map of potential price zones where liquidations might occur, helping traders anticipate market movements and manage risk effectively. Each liquidation level is color-coded for easy identification.
Features:
Configurable visible range for both low and high calculations
8 customizable liquidation threshold levels (x1-x75)
Color-coded lines for easy visual identification
Toggle options for each level
Detailed legend with color references
Separately adjustable for both bullish and bearish scenarios
Use Cases:
Identify potential support and resistance zones based on liquidation levels
Anticipate price reversals at major liquidation thresholds
Manage risk by understanding where market volatility might increase
Set stop-loss and take-profit levels based on institutional liquidation points
Exponential Moving Averages CloudCombination of 3 (exponential) moving averages.
Preferably 21, 89, and 200 daily EMA.
Invictus📝 Invictus – Probabilistic Trading Indicator
🔍 1. General Introduction
Invictus is a technical trading indicator designed to support traders by identifying potential buy and sell signals through a probabilistic and adaptive analytical approach. It aims to enhance the analytical process rather than provide explicit trading recommendations. The indicator integrates multiple analytical components—price pattern detection, momentum analysis (RSI), dynamic trend lines (Kalman Line), and volatility bands (ATR)—to offer traders a structured and contextual framework for making informed decisions.
Invictus does not guarantee profitable outcomes but seeks to enhance analytical clarity and support cautious decision-making through multiple validation layers.
⚙️ 2. Main Components
🌊 2.1. Price Pattern Detection
Invictus identifies potential market shifts by analyzing specific candlestick sequences:
Bearish Patterns (Sell): Detected when consecutive candles close below their openings, indicating increased selling pressure.
Bullish Patterns (Buy): Detected when consecutive candles close above their openings, suggesting increased buying interest.
These patterns provide historical insights rather than absolute predictions for market movements.
⚡ 2.2. Momentum Confirmation (RSI)
To improve signal clarity, Invictus employs the Relative Strength Index (RSI):
Buy Signal: RSI below a predefined threshold (e.g., 30), signaling potential oversold conditions.
Sell Signal: RSI above a threshold (e.g., 70), signaling potential overbought conditions.
RSI acts exclusively as an additional validation filter to reduce, though not eliminate, false signals derived solely from price patterns.
🌀 2.3. Kalman Dynamic Line
The Kalman Dynamic Line smooths price action and dynamically tracks trends using a Kalman filter algorithm:
Noise Reduction: Minimizes minor price fluctuations.
Trend Direction Indicator: Line slope visually represents bullish or bearish market bias.
Adaptive Support/Resistance: Adjusts continuously to market conditions.
Volatility Sensitivity: Adjustments use ATR to scale proportionally with market volatility.
This adaptive dynamic line provides clear context, aiding traders by filtering short-term volatility.
📊 2.4. Volatility Bands (ATR-based)
ATR-based volatility bands define potential breakout zones and market extremes dynamically:
Upper/Lower Bands: Positioned relative to the Kalman Line based on ATR (volatility multiplier).
Volatility Zones: Highlight potential areas of trend continuation or reversal due to significant price movements.
These bands assist traders in visually assessing significant market movements and reducing the focus on minor fluctuations.
🧠 3. Component Interaction and Validation Logic
Invictus is designed to enhance analytical clarity by integrating multiple technical components, requiring independent confirmations before signals may be considered as potentially actionable
🔗 Step 1: Pattern + RSI Validation
Initial identification of price patterns.
Signal validation through RSI conditions (oversold/overbought).
🔗 Step 2: Trend Alignment (Kalman Line)
Validated signals undergo further assessment with respect to the Kalman Dynamic Line.
Buy signals require price action above the Kalman Line; sell signals require price action below.
🔗 Step 3: Volatility Confirmation (ATR Bands)
Price action must penetrate and close beyond the corresponding volatility band.
Ensures signals align with adequate market volatility and momentum.
🔄 4. Comprehensive Decision-Making Flow
Identify price patterns (initial indication).
Confirm momentum via RSI.
Verify trend alignment using the Kalman Line.
Confirm adequate volatility via ATR bands.
💡 5. Practical Example (Buy Scenario)
Invictus signals a potential buy scenario.
Trader waits for the price to cross above the Kalman Line.
Entry consideration occurs only after a confirmed close above the upper ATR volatility band.
⚠️ 6. Important Limitations
Do not rely solely on Invictus signals; always perform broader market analysis.
Invictus performs optimally in trending markets; exercise caution in sideways or range-bound markets.
Always evaluate broader market context and the dominant trend before making decisions.
📝 7. Risk Management & Responsible Trading
Invictus serves as an analytical support tool, not a guarantee of market outcomes:
Set prudent stop-loss levels.
Apply conservative leverage, especially in volatile conditions.
Conduct thorough backtesting and practice on a demo account before live trading.
⚠️ Disclaimer: Trading involves significant risks. Invictus generates signals based on historical and technical analysis. Past performance is not indicative of future results. Responsible trading practices are strongly advised.
💡 8. Final Considerations
Invictus provides an analytical framework integrating various supportive technical methodologies designed to enhance decision-making and comprehensive analysis. Its multi-layered validation process encourages disciplined analysis and informed decision-making without implying any guarantees of profitability.
Traders should incorporate Invictus within broader strategic frameworks, consistently applying disciplined risk management and thorough market analysis.
CosmicCalcsTrading Toolkit containing +30 adaptive indicators and statistical models, Fractal aware calculations and dynamic risk tools.
Wyckoff Enhanced Signals//@version=5
indicator("Wyckoff Enhanced Signals", overlay=true)
// === Input ===
len = input.int(20, "Range Lookback")
volMult = input.float(1.5, "Volume Spike Multiplier")
rsiLength = input.int(14, "RSI Period")
rsiOB = input.int(70, "RSI Overbought")
rsiOS = input.int(30, "RSI Oversold")
// === Dati base ===
highLevel = ta.highest(high, len)
lowLevel = ta.lowest(low, len)
rangeMid = (highLevel + lowLevel) / 2
avgVol = ta.sma(volume, len)
volSpike = volume > avgVol * volMult
// === Indicatori ausiliari ===
rsi = ta.rsi(close, rsiLength)
obv = ta.cum(close > close ? volume : close < close ? -volume : 0)
// === Segnali Wyckoff ===
spring = low < lowLevel and close > rangeMid and volSpike and rsi < rsiOB
upthrust = high > highLevel and close < rangeMid and volSpike and rsi > rsiOS
sos = close > highLevel and volSpike and obv > obv and rsi < rsiOB
sow = close < lowLevel and volSpike and obv < obv and rsi > rsiOS
// === Plot Segnali ===
plotshape(spring, title="Spring", location=location.belowbar, color=color.lime, style=shape.triangleup, size=size.small, text="Spring")
plotshape(sos, title="SOS Breakout", location=location.belowbar, color=color.green, style=shape.labelup, size=size.small, text="BUY")
plotshape(upthrust, title="Upthrust", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="Upthrust")
plotshape(sow, title="SOW Breakdown", location=location.abovebar, color=color.maroon, style=shape.labeldown, size=size.small, text="SELL")
// === Fasi Wyckoff ===
priceRange = highLevel - lowLevel
isFlat = priceRange / close < 0.05
isAccum = isFlat and close > rangeMid
isDistrib = isFlat and close < rangeMid
isMarkup = close > highLevel and obv > obv
isMarkdown = close < lowLevel and obv < obv
// === Etichetta dinamica ===
var label wyckoffLabel = na
if (bar_index % 10 == 0) // mostra una label ogni 10 barre
label.delete(wyckoffLabel)
labelText = isAccum ? "Accumulo" :
isDistrib ? "Distribuzione" :
isMarkup ? "Markup" :
isMarkdown ? "Markdown" : ""
if labelText != ""
wyckoffLabel := label.new(x=bar_index, y=high, text=labelText, style=label.style_label_down, color=color.black, textcolor=color.white, size=size.small)
BTC Dominance PercentageThis BTC Dominance Percentage indicator calculates Bitcoin's dominance relative to altcoins, excluding stablecoins.
🔹 Unlike the standard BTC.D metric, which includes all cryptocurrencies (including stablecoins like USDT, USDC, and DAI), this version focuses only on Bitcoin’s market share compared to altcoins.
🔹 It calculates BTC dominance relative to major altcoins (ETH, BNB, ADA, XRP, SOL) and the OTHERS.D index, which represents smaller-cap altcoins.
🔹 Stablecoins are excluded, providing a clearer view of Bitcoin’s actual strength against the altcoin market, without distortion from fiat-pegged assets.
🚀 This is a true BTC dominance metric for tracking Bitcoin’s market position against altcoins!
QP Ratio Analysis DashboardThis custom-built TradingView dashboard, developed in Pine Script, provides a comprehensive ratio analysis tool for Bitcoin (BTC), Ethereum (ETH), and Solana (SOL). Designed for traders seeking actionable insights, the dashboard integrates a trend-following algorithm with multiple indicators to assess market dynamics and evaluate trading opportunities.
Key features include:
Ratio Analysis: Displays the relative performance ratios of BTC, ETH, and SOL, enabling quick comparison across these major cryptocurrencies.
Trend Strength Indicator: A sophisticated trend-following algorithm calculates and visualizes trend strength, leveraging a user-defined number of indicators for precision and adaptability.
Rate of Change (ROC): Tracks the percentage change in ratios from previous days, with adjustable lookback periods to suit different trading styles.
Customizable Indicator Count: Allows users to specify the number of indicators feeding into the trend algorithm, offering flexibility for fine-tuning analysis.
Market Phase Detection: Identifies whether the market is in a mean-reverting or trending phase, helping traders align strategies with current conditions.
Market Evaluation: Combines multiple indicators to assess whether each ratio is overvalued or undervalued compared to recent historical behavior, providing a clear signal for potential entry or exit points.
This dashboard is ideal for traders aiming to monitor cryptocurrency trends, evaluate market phases, and make data-driven decisions based on the relative strength and valuation of BTC, ETH, and SOL. Its adjustable settings and multi-indicator approach make it a versatile tool for both short-term and long-term trading strategies on TradingView.