Multi-Asset Universal Valuation Z_score -> PROFABIGHI_CAPITAL

The Multi-Asset Universal Valuation Z-Score โ PROFABIGHI_CAPITAL indicator delivers a sophisticated portfolio screening tool by calculating normalized Z-scores for multiple assets simultaneously, incorporating price deviations alongside a suite of technical and risk-adjusted metrics to uncover relative overvaluations or undervaluations.
It empowers traders to monitor up to 25 assetsโsuch as cryptocurrenciesโin real-time through comprehensive tables, highlighting mispriced opportunities via statistical extremes, fair value estimates, and dynamic rankings for strategic rebalancing in diversified holdings.
๐ Assets Configuration
โ Number of Assets: Define the portfolio size from 1 to 25 symbols, optimizing for computational load while expanding coverage for broader market scans.
โ Asset Symbols (1-25): Individually select tickers, often crypto pairs like BTCUSD or ETHUSD, to form a watchlist tailored to specific sectors or correlations for comparative analysis.
๐ General Settings
โ Z-Score Lookback Period: Set the historical window for mean and standard deviation computations, influencing sensitivity to recent versus long-term deviations.
โ Correlation Analysis Period: Establish the span for evaluating metric-price relationships, ensuring robust adjustments for interdependent signals.
โ Show Main Table: Activate a central dashboard aggregating all assets' prices, sigma bands, fair values, and Z-scores for at-a-glance portfolio oversight.
โ Show Ranking Tables: Enable sorted overviews of the top oversold and overbought assets, prioritizing high-conviction opportunities by deviation severity.
โ Use Price Weighting: Blend direct price Z-scores with indicator-derived ones, anchoring the final score in raw market behavior.
โ Adaptive Weighting: Dynamically scale metric influences by their correlation strength to price, promoting relevance in varying regimes.
๐ RSI Settings
โ Enable RSI: Incorporate relative strength index to capture momentum extremes within the Z-score framework.
โ RSI Length: Adjust the computation period to fine-tune overbought/oversold detection in asset valuations.
๐ ROC Settings
โ Enable ROC: Include rate of change to highlight acceleration or deceleration in price trends for deviation scoring.
โ ROC Period: Specify the lookback for percentage shifts, balancing short-term volatility with trend persistence.
๐ BB% Settings
โ Enable BB%: Factor in Bollinger Bands position to measure range-bound extremes relative to volatility.
โ BB Length: Define the moving average span for the bands' centerline.
โ BB Standard Deviation: Set the multiplier for band width, controlling sensitivity to price envelopes.
๐ Crosby Ratio Settings
โ Enable Crosby Ratio: Activate this trend angle proxy using smoothed Heikin-Ashi for directional slope analysis.
โ Crosby Length: Choose the smoothing window to refine the ratio's responsiveness to price arcs.
๐ Sharpe Ratio Settings
โ Enable Sharpe Ratio: Embed risk-adjusted returns to penalize volatility in the valuation score.
โ Sharpe Period: Select the calculation horizon for mean returns and standard deviation.
โ Sharpe Smoothing: Apply exponential averaging to stabilize the annualized efficiency metric.
๐ Sortino Ratio Settings
โ Enable Sortino Ratio: Focus on downside volatility for a more trader-friendly risk gauge.
โ Sortino Period: Determine the span for excess returns over the risk-free benchmark.
โ Risk-Free Rate (%): Input the annual safe yield to adjust for opportunity costs.
โ Sortino Smoothing: Smooth the downside-focused ratio for consistent signals.
๐ Omega Ratio Settings
โ Enable Omega Ratio: Use gains-versus-losses probability for threshold-sensitive performance ranking.
โ Omega Period: Set the evaluation window for return distributions.
โ Target Return (%): Define the minimum acceptable yield to bifurcate positive/negative outcomes.
โ Omega Smoothing: Refine the ratio with averaging to mitigate outlier impacts.
๐ก๏ธ Threshold Settings
โ Extreme Overbought Level: Mark severe positive deviations warranting aggressive sells or hedges.
โ Extreme Oversold Level: Flag profound negative deviations for opportunistic buys.
โ Overbought Level: Signal moderate upward stretches for cautionary monitoring.
โ Oversold Level: Indicate mild downward pulls for potential accumulation.
๐จ Color Settings
โ Neutral Color: Subtle shade for assets within normal ranges, avoiding false alarms.
โ Overbought Color: Alerting red for high-valuation warnings.
โ Oversold Color: Inviting green for undervaluation opportunities.
โ Extreme Overbought Color: Intense maroon for crisis-level bubbles.
โ Extreme Oversold Color: Bright lime for deep-value bargains.
๐ง Helper Functions
โ RSI/ROC/BB% Computations: Standard oscillators for momentum, change rate, and band positioning.
โ Crosby Ratio: Approximates trend slope via Heikin-Ashi averages and ATR-normalized angles.
โ Sharpe/Sortino/Omega Ratios: Annualized efficiency metrics, with Sortino emphasizing downside and Omega using return thresholds.
โ Z-Score Normalization: Transforms series into standard deviations from means for cross-asset comparability.
โ Correlation & Beta Adjustments: Quantifies metric-price links to refine weighted influences.
โ Weighted Z-Score Blend: Integrates indicators with price via betas and correlations for holistic scoring.
โ Symbol Cleanup: Strips exchange prefixes and pairs for concise table labels.
๐ฆ Multi-Asset Processing
โ Security Fetching: Pulls comprehensive dataโprices, Z-scores, means, deviations, expectationsโfor each asset in parallel.
โ Array Management: Dynamically stores metrics in expandable arrays, scaling to the selected portfolio size.
โ Ranking Engine: Bubble-sorts by Z-scores to prioritize undervalued (low) and overvalued (high) assets for quick scans.
๐ Main Table
โ Central Dashboard: Rows for prices, ยฑ1/2/3 sigma bands, fair values, expected prices, and dual Z-scores; columns per asset with color-coded cells by deviation severity.
โ Dynamic Headers: Asset symbols highlighted if ranked in top oversold/overbought quintiles for immediate focus.
๐ Ranking Tables
โ Oversold Rankings: Top 5 (or fewer) by lowest Z-scores, detailing symbols, individual Z's, averages, and the weakest metric.
โ Overbought Rankings: Top 5 (or fewer) by highest Z-scores, mirroring structure for symmetry in bubble detection.
๐ Current Asset Visualization
โ Sigma Deviation Plots: Lines mapping ยฑ1/2/3 standard deviations from the mean for contextual over/undervaluation.
โ Fair Value & Expected Price Traces: Central mean and Z-adjusted projection to visualize reversion targets.
โ Live Price Overlay: Blue line tracking current close against bands for real-time deviation monitoring.
โ Zone Backgrounds: Faint tints scaling from neutral to extreme colors based on the asset's Z-score status.
๐ Alerts
โ Overbought Entry: Activates on crossing into moderate high-deviation territory.
โ Oversold Entry: Triggers upon entering low-deviation zones.
โ Extreme Overbought/Oversold: High-priority warnings at critical thresholds for portfolio-wide risks.
โ Key Takeaways
โ Cross-asset Z-scores reveal portfolio imbalances via statistical lenses, blending raw price with advanced ratios.
โ Adaptive correlations ensure metric relevance, while rankings accelerate opportunity hunting.
โ Comprehensive tables and band visuals turn complex data into actionable insights for diversified trading.
โ Customizable metrics and thresholds adapt to crypto volatility or traditional equities alike.
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. ร necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente PROFABIGHI_CAPITAL.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunitร .
Istruzioni dell'autore
Declinazione di responsabilitร
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. ร necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente PROFABIGHI_CAPITAL.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunitร .