Crypto Compass | QuantEdgeBIntroducing Crypto Compass | QuantEdgeB
Overview
Crypto Compass | QuantEdgeB is a multi-asset market regime indicator that decodes the collective momentum and sentiment of the cryptocurrency space. By computing correlation-adjusted valuation across a basket of major tokens and blending them with the chart’s own momentum pulse, it delivers a real-time “compass” of risk-on/off regimes. Plotted as dual EMAs and color-coded candles, and accompanied by a comprehensive dashboard table, Crypto Compass guides traders through broad market cycles instead of isolated price swings.
Key Features
• Correlation-Adjusted Valuation Aggregation
Computes individual valuation for the top 30 Market Cap tokens plus total-market indices; weights each by its correlation to Bitcoin, then averages.
• Large-Cap-Only Mode
Optionally restricts the basket to the top 10 by market cap for a streamlined “blue-chip” sentiment readout.
• Composite Momentum Blend
Mixes the basket average with the chart’s own valuation to capture both cross-asset and local momentum.
• Dual EMA Overlay & Candle Coloring
Plots 12- and 21-period EMAs colored by the composite valuation gradient; candles are likewise color-filled to reflect regime strength.
• Interactive Dashboard Table
Live “Crypto Compass Dashboard” shows, for each asset:
o Current value & prior bar value
o Rate of Change (direction arrow)
o Duration since last EMA crossover
o Current trend state (“Bullish” / “Bearish”)
• Regime Labels & Risk-On/Off Signal
Translates the composite valuation into four regimes—Contraction, Weak, Recovery, Strong—with a clear risk-on/off indicator banner.
How It Works
1. Data Fetch & Valuation Computation
o Retrieves price and a simple TPI (12 vs 21 EMA cross) for each symbol via request.security.
o Calculates a rolling standard deviation over a lookback (length) for each asset and the chart.
2. Correlation Weighting
o Measures each asset’s correlation to Bitcoin
o Multiplies each asset’s value by its correlation coefficient to emphasize high-beta relationships.
3. Basket Averaging
o Averages the top-N weighted value (10 if “Large Cap Only” is true, else all )
o Blends the final average with the chart’s own valuation
4. Visual & Table Overlays
o EMAs (12, 21) and candles are colored via a gradient tied to zsumad thresholds.
o A table grid at the bottom-right displays per-asset metrics and computes duration since TPI crossovers to flag trend longevity.
5. Regime Mapping
≤ –1.5 ⇒ Contraction (Risk Off)
–1.5 to 0 ⇒ Weak (Risk Off)
0 to 1.5 ⇒ Recovery (Risk On)
1.5 ⇒ Strong (Risk On)
How to Use / Who Should Use It
• Crypto Portfolio Managers seeking a holistic market-wide directional bias before allocating capital.
• Swing & Position Traders looking to confirm if cross-asset strength aligns with their primary coin.
• Systematic Strategy Developers integrating regime filters into algorithmic models.
• Risk-Conscious Allocators wanting an early warning on risk-off contractions vs. risk-on expansions.
Default Settings
• Plot EMA: On
• Value Lookback Length: 90
• BTC Correlation Length: 195
• Large Cap Only: True
Conclusion
Crypto Compass distills complex cross-asset dynamics into a single, actionable gauge. By combining correlation-weighted valuation, blended momentum, and dynamic regime mapping—visualized through color-coded EMAs, candles, and a rich dashboard—it empowers traders to navigate the broader crypto market cycle with clarity and confidence.
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
การจัดการพอร์ตการลงทุน
RATIO TPI ETHBTC | JeffreyTimmermansETHBTC Ratio Trend Probability Indicator
Medium-Term Trend Assessment | Dominant Major Detector: The ETHBTC Ratio TPI is a medium-term trend-following indicator designed to measure the relative strength between Ethereum and Bitcoin — the two most dominant assets in crypto. By analyzing the ETHBTC ratio, this tool provides insights into which of the two is currently leading the market trend.
Unlike absolute price indicators, this tool tracks relative dominance. When Ethereum outperforms Bitcoin, the ratio trends upward, signaling ETH dominance. When Bitcoin outperforms Ethereum, the ratio trends downward, signaling BTC dominance.
Key Features
Dominant Major Identification:
The core purpose of this TPI is to determine which asset — Ethereum or Bitcoin — is the dominant major in the current crypto cycle.
ETH Dominant: ETHBTC is trending up
BTC Dominant: ETHBTC is trending down
Neutral: No clear directional edge
8 Trend-Following Inputs:
The indicator aggregates 8 hand-picked, medium-term trend-following metrics into a single score that simplifies the ETHBTC trend assessment.
Score-Based Regime Classification:
Score > 0.1 → ETH is in relative uptrend → Dominant Major: ETH
Score < -0.1 → BTC is in relative uptrend → Dominant Major: BTC
Between -0.1 and 0.1 → Neutral trend → No clear dominance
Dynamic Visuals:
Background color adapts to the dominant asset
Score, trend state per input, and composite result are shown in a clean dashboard
Use Cases:
Rotation Strategy Insight: Understand whether capital is flowing into Ethereum or Bitcoin to adjust your portfolio positioning accordingly.
Dominance-Based Macro Timing: Use the dominance shift as a leading signal for broader altcoin cycles.
Multi-Timeframe Confirmation: Combine with LTPI (Long-Term) and STPI (Short-Term) to build directional conviction.
Conclusion
The ETHBTC Ratio TPI is a highly focused tool that simplifies the complex relationship between Ethereum and Bitcoin into one clear output: who is currently leading the crypto market. With 8 inputs driving a composite trend score and a dynamic dominance label, this indicator is essential for anyone looking to time ETH vs BTC rotations with precision.
BTC Dynamic Trend Core Strategy v45// The Dynamic Trend Core is a sophisticated, multi-layer trading strategy that provides both a quantitative //
// backtesting engine and a rich, intuitive visual interface. It is designed to identify high-probability //
// trend-following opportunities by requiring a confluence of conditions to be met before a signal is considered //
// valid. //
// //
// The system's philosophy is rooted in confirmation, seeking to filter out market noise by ensuring that trend, //
// momentum, market sentiment, and volume are all in alignment. //
// //
// --- CORE LOGIC COMPONENTS --- //
// 1. **Primary Trend Analysis (SAMA):** The foundation is a self-adjusting moving average (SAMA) that //
// determines the underlying market trend (Bullish, Bearish, or Consolidation). //
// //
// 2. **Confirmation & Momentum:** Signals are confirmed with a blend of the Natural Market Slope and a Cyclic //
// RSI to ensure momentum aligns with the primary trend. //
// //
// 3. **Advanced Filtering Layers:** A suite of optional filters allows for robust customization: //
// - **Volume & ADX:** Ensure sufficient market participation and trend strength. //
// - **Market Regime:** Uses total crypto market cap to gauge broad market health. //
// - **Multi-Timeframe (MTF):** Aligns signals with the dominant weekly trend. //
// - **BTC Cycle Analysis:** Uses Halving or Mayer Multiple models to position trades within historical //
// macro cycles. //
// //
// --- VISUAL INTERFACE --- //
// The strategy's real power comes from its on-chart visual feedback system, which provides full transparency. //
// ****Note: for this to be enabled recalculate 'on every tick' needs to be enabled in the properties settings. //
// 1. **Power Core Gauge:** Located at the bottom-center, this gauge is the heart of the system. It displays the //
// number of active filter conditions that have been met (e.g., 5/6). It "powers up" as more conditions align,//
// glowing brightly when a signal is fully confirmed and ready. //
// //
// 2. **Live Conditions Panel:** In the bottom-right corner, this panel acts as a detailed pre-flight checklist. //
// It shows the real-time status of every single filter, helping you understand exactly why a trade is (or //
// is not) being triggered. //
// //
// 3. **Energized Trendline:** The main SAMA trendline changes color and brightness based on the strength and //
// direction of the trend, providing immediate visual context. //
// //
// 4. **Halving cycle visualisation:** Visual guide to halving phases //
// //
// --- HOW TO USE --- //
// 1. **Select Operation Mode:** Use "Backtest Mode" to test settings and "Alerts-Only Mode" for live signals. //
// //
// 2. **Configure Strategy:** Start with the default filters. If a potential trade setup is missed, check the //
// **Live Conditions Panel** to see exactly which filter blocked the signal. Adjust the filters to suit your //
// specific asset and timeframe. //
// //
// 3. **Manage Risk:** Adjust the Risk & Exit settings to match your personal risk tolerance. //
Sat Stacking Strategies Simulation (SSSS)Sat Stacking Strategies Simulation (SSSS)
This indicator simulates and compares different Bitcoin stacking strategies over time, allowing you to visualize performance, cost basis, and stacking behavior directly on your chart.
Core Features:
Three Stacking Strategies
• Trend-Based – Stack only when price is above/below a long-term SMA.
• Stack the Dip – Buy during sharp pullbacks or oversold conditions.
• Price Zone – Stack only in “cheap”, “fair”, or “expensive” zones based on a simulated Short-Term Holder (STH) cost basis.
Always Stack Benchmark
Compare your chosen strategy against a simple “Always Stack” approach for a real-world DCA reference.
Performance Metrics Table
Track:
• Total Fiat Added
• Total BTC Accumulated
• Current Value
• Average Cost per BTC
• PnL %
• CAGR
• Sharpe Ratio & Stdev
• Stack Events & Time Underwater
Advanced Options
• Simulate cash-secured puts on unused fiat.
• Simulate covered calls on BTC holdings.
• Roll over unused stacking amounts for future buys.
This tool is designed for Bitcoiners, stackers, and DCA enthusiasts who want to backtest and visualize their stacking plan—whether you keep it simple or go full quant.
Sometimes the best alpha is just showing up every week with your wallet open… and occasionally wearing a helmet. 🪖💰
SAFE Leverage x100Safe Leverage x100 is an indicator designed to help traders choose prudent , realistic, and dynamic leverage , adapted to the timeframe and volatility of the asset they are trading.
B ased on rigorous statistical and practical observation , this indicator does not propose fixed rules, but rather provides a visual estimate of the maximum leverage a typical trade can tolerate without being liquidated , based on the current candle's movement range. At the same time, it automatically suggests a more conservative leverage (by default, half of the maximum) for more controlled risk management.
Just identify which asset accepts the maximum x100 and win.!!
MTPI SUI | JeffreyTimmermansMedium-Term Trend Probability Indicator
The "Medium-Term Trend Probability Indicator" on SUI is a custom-designed tool created to analyze SUI from a medium-term perspective. While short-term indicators often respond to quick fluctuations and long-term models focus on broader macro cycles, the MTPI sits perfectly in between—detecting trend shifts over multiple weeks and helping traders and analysts stay ahead of the curve.
This specific version of the MTPI is applied to SUI, making it a dedicated trend-following tool for this unique digital asset, tuned to reflect its own volatility and structural behavior.
Key Features
Medium-Term Focus:
The MTPI is optimized for trend tracking over medium horizons—typically weeks to a few months. It filters out noise while remaining responsive to meaningful directional changes.
6 Input Signals:
The model combines 6 carefully selected input trend-following indicators, each targeting different dimensions of trend strength and continuation.
Market Regimes:
The MTPI classifies market conditions into:
Bullish → Strong upward momentum and trend confirmation
Bearish → Sustained downward pressure and breakdown signals
Neutral → Mixed signals or transition phases, often seen in consolidations or early reversals
Visual Background:
The chart background shifts based on the active regime. This provides instant visual clarity on whether the asset is trending, reversing, or consolidating.
Indicator Dashboard:
At the bottom of the chart, the MTPI includes a live dashboard showing:
The state of all 6 inputs (Bullish, Bearish, Neutral)
The composite MTPI Score
The resulting Market Trend classification
How It Works
Input Signal Logic:
Each input returns one of three possible scores:
+1 = Bullish
-1 = Bearish
0 = Neutral
Score Aggregation:
The MTPI Score is calculated as the average of all 6 input values:
Score > +0.1 → Bullish regime
Score < -0.1 → Bearish regime
Between -0.1 and +0.1 → Neutral regime
Background Coloring:
The background changes automatically to match the current trend regime, making it visually easy to interpret the dominant market environment.
Use Cases
Mid-Term Strategy Alignment:
Use the MTPI to align with the dominant medium-term market direction on SUI.
Rotation & Momentum Detection:
Catch early signs of reversals, breakout expansions, or trend exhaustion.
Multi-Timeframe Integration:
Combine MTPI with short-term tools (STPI) or long-term indicators (LTPI) for a complete market overview.
Dynamic Alerts:
Bullish Alert: MTPI Score crosses above +0.1
Bearish Alert: MTPI Score crosses below -0.1
Neutral Zone: MTPI Score enters between -0.1 and +0.1
Conclusion
The MTPI – SUI is a reliable medium-term probability model that simplifies complex market structure into an actionable, color-coded signal system. By distilling 6 intelligent inputs into one combined trend score, it offers clear directional bias and regime classification—crucial for positioning in a volatile asset like SUI. Whether used standalone or as part of a broader trend framework, this indicator enhances clarity, discipline, and precision in your medium-term trading decisions.
MTPI OTHERS.D | JeffreyTimmermansMedium-Term Trend Probability Indicator
The "Medium-Term Trend Probability Indicator" on OTHERS.D is a custom-built model designed to measure the medium-term trend strength of the entire crypto market excluding the Top 10 assets. By focusing on the performance of smaller-cap and emerging cryptocurrencies, this indicator offers a refined view of risk appetite and capital rotation beyond the major players like BTC, ETH, and other top coins.
OTHERS.D (Total Crypto Market Cap Dominance excluding the Top 10) serves as a proxy for altcoin speculation cycles, market breadth, and rotational momentum. The MTPI leverages this by applying 8 carefully selected trend-following indicators to generate a composite probability score that reflects the directional bias of the broader altcoin market.
Key Features
Mid-Term Trend Orientation:
The MTPI focuses on multi-week to multi-month trend phases, filtering out short-term volatility while responding faster than long-term macro models.
8 Input Signals:
Built using 8 trend-following indicators, each measuring trend strength, direction, and persistence within the "OTHERS" segment.
Market Regime Detection:
The MTPI identifies three distinct market states:
Bullish → Clear upward trend in the altcoin market (excluding top 10)
Bearish → Persistent downward movement or weakness in the broader altcoin segment
Neutral → Choppy or indecisive behavior
Background Coloring:
The background dynamically adapts based on the current regime, making it easy to visually identify dominant conditions.
Trend Dashboard:
A dashboard displays:
The current state of all 8 trend signals
The overall MTPI score
The interpreted market regime
How It Works
Trend Signal Evaluation:
Each of the 8 inputs outputs a discrete signal:
+1 → Bullish
-1 → Bearish
0 → Neutral
Composite Score Calculation:
The MTPI score is computed as the average of the 8 inputs:
Score > +0.1 → Bullish regime
Score < -0.1 → Bearish regime
Between -0.1 and +0.1 → Neutral regime
This produces a normalized score from -1 to +1, helping quantify trend confidence and detect early shifts in momentum.
Color-Coded Background:
The score automatically drives the background color:
Green tones for bullish phases
Red tones for bearish phases
Gray/orange tones for sideways conditions
Use Cases
Altcoin Rotation Tracking:
Use MTPI – OTHERS.D to monitor when capital is rotating into or out of smaller-cap cryptocurrencies — a key signal for risk-on or risk-off sentiment.
Medium-Term Positioning:
Perfect for swing traders or trend followers looking to align positions with the dominant trend in the non-top-10 market segment.
Multi-Timeframe Confirmation:
Combine MTPI with other tools like STPI (Short-Term) or LTPI (Long-Term) for enhanced decision-making and better timing across timeframes.
Dynamic Alerts:
Bullish Entry: MTPI score crosses above +0.1
Bearish Entry: MTPI score crosses below -0.1
Neutral Zone: MTPI score moves between -0.1 and +0.1
These alerts help you react quickly to regime shifts in the altcoin market outside the top 10.
Conclusion
The MTPI – OTHERS.D is a focused, probability-based trend tool built for analyzing the non-top-10 segment of the crypto market. By merging 8 independent trend signals into a single composite score and regime model, it provides a clear lens into where capital is flowing and how smaller-cap crypto assets are behaving. An essential tool for anyone active in altcoin trading, rotational strategies, or full-spectrum crypto market analysis.
Custom P&L Tool (EUR/USD)This is a visual profit and loss calculator designed for EUR/USD traders. It acts like the Long/Short Position tool but provides real-time P&L values based on your selected:
Trade direction (Long or Short)
Entry price, Take Profit, and Stop Loss
Lot size (with preset scaling from 0.01 to 10 lots)
Custom P&L Tool (EUR/USD)This tool lets you visually calculate potential Profit & Loss, Risk:Reward, and pip distances for a trade based on your:
Entry price
Stop Loss (SL)
Take Profit (TP)
Lot size (0.01 up to 10 lots)
Trade direction (Long or Short)
🔹 Automatically shows horizontal lines for Entry, TP, and SL
🔹 Displays a live P&L table with:
TP pips
SL pips
Estimated profit/loss in USD
Risk:Reward ratio
MTPI SOL | JeffreyTimmermansMedium-Term Trend Probability Indicator
The "Medium-Term Trend Probability Indicator" on SOL (Solana) is a custom-built tool designed to analyze Solana (SOL) from a medium-term perspective. Unlike short-term indicators that react quickly to intraday volatility or long-term models that focus on macro cycles, the MTPI is optimized to detect medium-term market trends—capturing key turning points and momentum shifts that unfold over multiple weeks.
This version of the MTPI is applied to SOL, making it a Solana-specific trend-following tool with particular sensitivity to its price behavior and structural dynamics.
Key Features
Medium-Term Focus:
Built to monitor price action over several weeks to months, the MTPI filters out short-term noise while remaining responsive to meaningful trend changes.
8 Input Signals:
The MTPI aggregates 8 carefully selected trend-following inputs, each tuned to reflect mid-cycle behavior in SOL’s price movements.
Market Regimes:
The MTPI classifies market behavior into one of three clear regimes:
Bullish → Momentum and structure align to support a continued uptrend
Bearish → Majority of signals point to trend deterioration or downside momentum
Neutral → Mixed signals, often during consolidation or early transition phases
Visual Background:
The background color shifts dynamically to reflect the active regime—making it easy to visually interpret the prevailing market condition.
Comprehensive Dashboard:
The lower panel displays:
The state of each individual input (Bullish, Bearish, Neutral)
The numerical MTPI Score (average of all 8 signals)
The final Trend Classification (Bullish / Bearish / Neutral)
How It Works
Input Analysis:
Each of the 8 inputs outputs a score based on its internal signal:
+1 = Bullish condition
-1 = Bearish condition
0 = Neutral / indecisive
Score Calculation:
The MTPI Score is calculated as the average of all 8 input signals:
Score > +0.1 = Bullish regime
Score < -0.1 = Bearish regime
Score between -0.1 and +0.1 = Neutral regime
Background Coloring:
Color-coded backgrounds instantly reflect the current trend classification based on the MTPI Score, helping traders stay aligned with the market direction at all times.
Use Cases
Mid-Term Positioning:
Identify strong trend phases on SOL with reduced noise and increased directional clarity.
Confirmation Layer:
Use MTPI as a mid-term confirmation tool alongside short-term setups or long-term macro models (like LTPI).
Rotation or Transition Detection:
Spot key moments when SOL transitions from expansion to contraction phases (and vice versa).
Dynamic Alerts:
Bullish Signal: MTPI Score crosses above +0.1
Bearish Signal: MTPI Score crosses below -0.1
Neutral Zone: MTPI Score enters between -0.1 and +0.1
Conclusion
The Medium-Term Trend Probability Indicator (MTPI – SOL) provides a powerful framework for identifying trend phases on Solana with mid-term relevance. By combining 8 intelligent inputs into a single score and market classification, it offers clarity in times of uncertainty and confidence in times of momentum. Whether used alone or as part of a broader multi-timeframe strategy, the MTPI helps refine entries, exits, and macro alignment in the dynamic world of Solana trading.
SAFE Leverage x50Description:
Safe Leverage x50 is an indicator designed to help traders choose prudent, realistic, and dynamic leverage, adapted to the timeframe and volatility of the asset they are trading.
Based on rigorous statistical and practical observation, this indicator does not propose fixed rules, but rather provides a visual estimate of the maximum leverage a typical trade can tolerate without being liquidated, based on the current candle's movement range. At the same time, it automatically suggests a more conservative leverage (by default, half of the maximum) for more controlled risk management.
LTPI BTC | JeffreyTimmermansLong-Term Trend Probability Indicator
The "Long-Term Trend Probability Indicator" on BTC is a custom-built tool designed to analyze BTC from a long-term perspective. Unlike short-term indicators that react to price volatility, LTPI focuses on major trend shifts on BTC, and therefore across the entire crypto market, helping to identify major trend shifts early.
This version of the LTPI is applied to BTC, making it a BTC specific trend following tool, but very broad (crypto wise), because BTC is the biggest asset.
Key Features
Long-Term Focus:
Designed for macro market analysis with less sensitivity to short-term noise.
8 Input Signals:
Combines 8 carefully selected inputs (trend following indicators) into a single score that reflects the overall market condition.
Market Regimes:
Classifies the BTC trend into:
Bullish: Strong uptrend, expansion phase
Bearish: Strong downtrend, contraction phase
Neutral: Transitional or uncertain
Visual Background:
Background colors clearly display which regime is active.
Comprehensive Dashboard:
The panel at the bottom shows each input’s state, the composite LTPI score, and the resulting market trend.
How It Works
Inputs Analysis:
Each of the 8 inputs outputs one of three states:
+1 (Bullish)
-1 (Bearish)
0 (Neutral)
Score Calculation:
The total score is the sum of all 8 input signals divided by 8.
Score > 0.1 = Bullish
Score < -0.1 = Bearish
Between -0.1 and 0.1 = Neutral
Background Coloring:
Background colors dynamically adjust to reflect the long-term market regime.
Use Cases
Long-Term Positioning:
Identify periods of global expansion or contraction to position yourself accordingly.
Macro Confirmation:
Use LTPI in combination with medium-term (MTPI) and short-term tools for multi-timeframe confirmation.
Market Timing:
Alerts when LTPI crosses key thresholds help highlight the start of major bullish or bearish phases.
Dynamic Alerts:
Bullish Entry: LTPI score crosses above 0.1
Bearish Entry: LTPI score crosses below -0.1
Neutral Zone: Score moves back between -0.1 and 0.1
Conclusion
The Long-Term Trend Probability Indicator (LTPI – BTC) is a powerful tool for identifying long-term market phases across the entire crypto ecosystem. By focusing on long term trends and combining 8 inputs into a single probability score, it provides a clear macro trend perspective for strategic decision-making.
LTPI TOTAL | JeffreyTimmermansLong-Term Trend Probability Indicator
The "Long-Term Trend Probability Indicator" on TOTAL is a custom-built tool designed to analyze the global crypto market (TOTAL) from a long-term perspective. Unlike short-term indicators that react to price volatility, LTPI focuses on major trend shifts across the entire crypto market, helping to identify major trend shifts early.
This version of the LTPI is applied to the TOTAL market cap, making it a broad trend following tool.
Key Features
Long-Term Focus:
Designed for macro market analysis with less sensitivity to short-term noise.
10 Input Signals:
Combines 10 carefully selected inputs (trend following indicators) into a single score that reflects the overall market condition.
Market Regimes:
Classifies the TOTAL market into:
Bullish: Strong uptrend, expansion phase
Bearish: Strong downtrend, contraction phase
Neutral: Transitional or uncertain
Visual Background:
Background colors clearly display which regime is active.
Comprehensive Dashboard:
The panel at the bottom shows each input’s state, the composite LTPI score, and the resulting market trend.
How It Works
Inputs Analysis:
Each of the 10 inputs outputs one of three states:
+1 (Bullish)
-1 (Bearish)
0 (Neutral)
Score Calculation:
The total score is the sum of all 10 input signals divided by 10.
Score > 0.1 = Bullish
Score < -0.1 = Bearish
Between -0.1 and 0.1 = Neutral
Background Coloring:
Background colors dynamically adjust to reflect the long-term market regime.
Use Cases
Long-Term Positioning:
Identify periods of global expansion or contraction to position yourself accordingly.
Macro Confirmation:
Use LTPI in combination with medium-term (MTPI) and short-term tools for multi-timeframe confirmation.
Market Timing:
Alerts when LTPI crosses key thresholds help highlight the start of major bullish or bearish phases.
Dynamic Alerts:
Bullish Entry: LTPI score crosses above 0.1
Bearish Entry: LTPI score crosses below -0.1
Neutral Zone: Score moves back between -0.1 and 0.1
Conclusion
The Long-Term Trend Probability Indicator (LTPI – TOTAL) is a powerful tool for identifying long-term market phases across the entire crypto ecosystem. By focusing on long term trends and combining 10 inputs into a single probability score, it provides a clear macro perspective for strategic decision-making.
RISK MANAGEMENT CALCULATOR V3📊 RISK MANAGEMENT CALCULATOR – Lot Size, Profit & R:R Tool
This script is designed to help traders instantly calculate lot size, expected profit, and risk/reward ratio based on their trade plan.
✅ Features:
Input your Risk Amount ($), Entry, Stop Loss, and up to 3 Take Profits
Calculates:
✅ Lot Size based on risk
✅ Split profits per TP level (equally weighted)
✅ Total Profit & Risk/Reward (R:R)
Displays everything in a clean bottom-right table
Optimized for both:
🖥️ Desktop mode (larger layout)
📱 Mobile mode (toggle compact view)
💡 How to Use:
Enter your planned Entry, Stop Loss, and Risk Amount
Set any TP1, TP2, or TP3 prices (set TP to 0 if not used)
The system will auto-compute your ideal lot size and show estimated profits
🔧 Parameters:
Risk Amount ($) – how much you’re willing to lose
Entry Price – your trade entry
Stop Loss Price – your SL level
Take Profit 1/2/3 – optional TP targets
Pip Value – profit/loss per point for 1 standard lot
📱 Mobile Mode – compact the table for small screens
🔐 Notes:
No trades are executed – this is a risk planning tool only
Designed for all markets (forex, gold, indices, crypto)
TP profits are equally split (e.g. 2 TP = 50% / 50%)
RISK MANAGEMENT CALCULATOR📊 RISK MANAGEMENT CALCULATOR – Lot Size, Profit & R:R Tool
This script is designed to help traders instantly calculate lot size, expected profit, and risk/reward ratio based on their trade plan.
✅ Features:
Input your Risk Amount ($), Entry, Stop Loss, and up to 3 Take Profits
Calculates:
✅ Lot Size based on risk
✅ Split profits per TP level (equally weighted)
✅ Total Profit & Risk/Reward (R:R)
Displays everything in a clean bottom-right table
Optimized for both:
🖥️ Desktop mode (larger layout)
📱 Mobile mode (toggle compact view)
💡 How to Use:
Enter your planned Entry, Stop Loss, and Risk Amount
Set any TP1, TP2, or TP3 prices (set TP to 0 if not used)
The system will auto-compute your ideal lot size and show estimated profits
🔧 Parameters:
Risk Amount ($) – how much you’re willing to lose
Entry Price – your trade entry
Stop Loss Price – your SL level
Take Profit 1/2/3 – optional TP targets
Pip Value – profit/loss per point for 1 standard lot
📱 Mobile Mode – compact the table for small screens
🔐 Notes:
No trades are executed – this is a risk planning tool only
Designed for all markets (forex, gold, indices, crypto)
TP profits are equally split (e.g. 2 TP = 50% / 50%)
LTPI Global Liquidity | JeffreyTimmermansLong-Term Probability Indicator (LTPI)
The "Long-Term Probability Indicator (LTPI)" on a generic liquidity ticker is a custom-built analytical tool designed to evaluate market conditions over a long-term horizon, with a strong focus on global liquidity trends. By combining six carefully selected input signals into a single probability score, this indicator helps traders and analysts identify prevailing long-term market states: Bullish, Bearish, or Neutral.
Where short-term systems/timeframes react quickly to price fluctuations, LTPI smooths out noise and focuses on the bigger picture, allowing for informed strategic decision-making rather than short-term speculation.
Key Features
Multi-Input Aggregation:
Uses six independent inputs, each based on long-term liquidity and macro-related data, to generate a composite market probability score.
Long-Term Focus:
Prioritizes medium-to-long-term trends, ignoring smaller fluctuations that often mislead traders in volatile markets.
Simplified Market States:
Classifies the global market into three primary states:
Bullish: Favorable liquidity and conditions for long-term risk-taking.
Bearish: Tightening liquidity and conditions that require caution.
Neutral: Transitional phases or uncertain conditions.
Background Coloring:
Visual cues on the chart help identify which regime is active at a glance.
Global Liquidity Perspective:
Designed for use on a generic liquidity ticker, based on M2 money supply, to track macroeconomic liquidity flows and risk appetite.
Dashboard Display:
A compact on-screen table summarizes all six inputs, their states, and the resulting LTPI score.
Dynamic Alerts:
Real-time alerts signal when the LTPI shifts from one regime to another.
Inputs & Settings
LTPI Inputs:
Input Sources (6): Each input is a carefully chosen trend following indicator.
Weighting: Each input contributes equally to the final score.
Score Calculation:
Bullish = +1
Bearish = -1
Neutral = 0
Color Settings:
Strong Bullish: Bright Green
Weak Bullish: Light Green
Neutral: Gray/Orange
Weak Bearish: Light Red
Strong Bearish: Bright Red
(Colors can be customized.)
Calculation Process
Collect Data:
Six long-term inputs are evaluated at each bar.
Scoring:
Each input’s state contributes +1 (bullish), -1 (bearish), or around 0 (neutral).
Aggregate Probability:
The LTPI Score is calculated as the sum of all six scores divided by 6, resulting in a value between -1 and +1.
Market Classification:
Score > 0.1: Bullish regime
Score < -0.1: Bearish regime
-0.1 ≤ Score ≤ 0.1: Neutral
Background Coloring:
Background colors are applied to highlight the current regime.
How to Use LTPI
Strategic Positioning:
Bullish: Favor holding or adding to long-term positions.
Bearish: Reduce risk, protect capital.
Neutral: Wait for confirmation before making significant moves.
Confirmation Tool:
LTPI works best when combined with shorter-term indicators like MTPI or trend-following tools to confirm alignment across multiple timeframes.
Dynamic Alerts:
Bullish Regime Entry: When the LTPI Score crosses above 0.1.
Bearish Regime Entry: When the LTPI Score crosses below -0.1.
Neutral Zone: When the score moves back between -0.1 and 0.1.
These alerts help identify significant macro-driven shifts in market conditions.
Conclusion
The Long-Term Probability Indicator (LTPI) is an advanced, liquidity-focused tool for identifying macro-driven market phases. By consolidating six inputs into a single probability score and presenting the results visually, LTPI helps long-term investors and analysts stay aligned with global liquidity trends and avoid being distracted by short-term volatility.
ATR % Line from LoD/HoDATR % Line Trading Indicator - Entry Filter Tool
This Pine Script creates a sophisticated ATR (Average True Range) percentage-based entry filter indicator for TradingView that helps traders avoid buying overextended stocks and identify optimal entry zones based on volatility.
Core Functionality - Entry Discipline
The script calculates a maximum entry threshold by taking a percentage of the Average True Range (ATR) and projecting it from the current day's low. This creates a dynamic "no-buy zone" that adapts to market volatility, helping traders avoid purchasing stocks that have already moved too far from their daily base.
Key Calculation:
Measures the ATR over a specified period (default: 14 bars)
Takes a user-defined percentage of that ATR (default: 25%)
Projects this distance from the day's low to establish a maximum entry threshold
Entry Rule: Avoid buying when price exceeds this ATR% level from the daily low or high.
Visual Features
Entry Threshold Line:
Draws a horizontal line at the calculated maximum entry level
Line extends forward for clear visualization of the "no-buy zone"
Red zones above this line indicate overextended conditions
Fully customizable appearance with color, width, and style options
Smart Entry Alerts:
Optional labels show the ATR percentage threshold and exact price level
Visual confirmation when stocks are trading in acceptable entry zones vs. extended areas
Real-Time Monitoring Table:
Displays current distance from daily low as ATR percentage
Shows whether current price is in "safe entry zone" or "extended territory"
Customizable display options for clean chart analysis
Practical Applications for Entry Management
Avoiding Extended Entries:
Primary Use: Don't initiate long positions when price is more than X% ATR from the daily low
Prevents buying stocks that have already made their daily move
Reduces risk of buying at temporary tops within the trading session
Entry Zone Identification:
Price trading below the ATR% line = potential entry opportunity
Price trading above the ATR% line = wait for pullback or skip the trade
Combines volatility analysis with momentum discipline
Risk Management Benefits:
Improved Entry Timing: Enter closer to daily support levels
Better Risk/Reward: Shorter distance to stop loss (daily low)
Reduced Chasing: Systematic approach prevents FOMO-driven entries
Volatility Awareness: Higher volatility stocks get wider acceptable entry ranges
Configuration for Entry Filtering
Key Settings for Entry Management:
ATR Percentage: Set your maximum acceptable extension (15-30% common for day trading)
Reference Point: Use "Low" to measure extension from daily base
Line Style: Make highly visible to clearly see entry threshold
Alert Integration: Visual confirmation of entry-friendly zones
Typical Usage Scenarios:
Conservative Entries: 15-20% ATR from daily low
Moderate Extensions: 25-35% ATR for stronger momentum plays
Aggressive Setups: 40%+ ATR for breakout situations (use with caution)
Entry Strategy Integration
Pre-Market Planning:
Set ATR% threshold based on stock's typical volatility
Identify key levels where entries become unfavorable
Plan alternative entry strategies for extended stocks
Intraday Execution:
Monitor real-time ATR% extension from daily low
Avoid new long positions when threshold is exceeded
Wait for pullbacks to re-enter acceptable entry zones
This tool transforms volatility analysis into practical entry discipline, helping traders maintain consistent entry standards and avoid the costly mistake of chasing overextended stocks. By respecting ATR-based extension limits, traders can improve their entry timing and overall trade profitability.
MTPI TOTAL / BTC | JeffreyTimmermansMedium-Term Probability Indicator (MTPI)
The "Medium-Term Probability Indicator (MTPI)" is a multi-factor model designed to evaluate the medium-term state of a market. By aggregating signals from 20 underlying inputs, it generates a composite score that classifies the market as Bullish, Bearish, or Neutral. This helps traders understand the prevailing market regime and adapt strategies accordingly.
Key Features
Multi-Input Scoring: Combines up to 20 individual inputs (indicators, conditions, or models) into a single probability-based score.
Composite Market State: Translates raw input signals into three states: Bullish, Bearish, or Neutral.
Dynamic Background Coloring: Uses color-coded background shading to visually separate bullish, bearish, and neutral phases.
MTPI Score: Calculates a final numeric score (ranging from -1 to +1) to quantify the market’s directional bias.
Dashboard Display: Shows all input signals, their individual states, and the aggregated MTPI score at a glance.
Medium-Term Focus: Helps identify prevailing conditions that last from several weeks to several months.
Inputs & Settings
MTPI Settings:
Input Signals (1 to 20): Default: Predefined conditions. Each input evaluates the market from a unique perspective (trend, momentum, volatility, etc.).
Composite Score Calculation: Default weighting is equal across all inputs.
Color Settings:
Bullish: Bright green background
Neutral: Gray/orange background
Bearish: Bright red background
These colors can be customized as desired.
Calculation Process
Signal Aggregation:
Each input generates a state:
1 to 0.1 = Bullish
0.1 to -0.1 = Neutral
-0.1 to -1 = Bearish
Scoring:
The MTPI aggregates these values and calculates an average score.
Classification:
Bullish: Score > 0
Bearish: Score < 0
Neutral: Score ≈ 0
Visualization:
Background Coloring: Highlights the dominant phase on the chart.
Dashboard: Displays individual input states, the total MTPI score, and the resulting classification.
How to Use the MTPI
Identifying Market Regimes:
Bullish: Majority of inputs align positively. Favor long positions or trend-following strategies.
Bearish: Majority of inputs align negatively. Favor short positions or defensive strategies.
Neutral: Mixed signals. Caution or range-bound strategies may be preferable.
Transition Detection:
Changes in background color or the MTPI dashboard (score flipping from positive to negative, or vice versa) indicate potential regime shifts.
Dynamic Dashboard:
Score: Displays the net sum of all input signals (normalized).
State: Provides the classification (Bullish, Bearish, Neutral).
Trend: Visual cues for each input showing the current contribution to the MTPI.
Conclusion
The Medium-Term Probability Indicator (MTPI) consolidates multiple signals into a single, intuitive visualization that helps traders quickly assess the medium-term market environment. Its combination of a multi-input dashboard, composite scoring, and background coloring makes it a powerful decision-support tool.
This script is developed by Jeffrey Timmermans and is designed to complement other analysis methods.
R Manager PRO++ – Multi-Setup Risk/Reward ToolDescription
The R Manager PRO++ V1.3d is an advanced risk/reward management tool designed for traders who want to visually plan, track, and manage multiple trade setups directly on their charts.
This script allows you to plot up to three independent setups (A, B, and C) simultaneously. For each setup, you can manually input your Entry and Stop Loss levels, and the tool will automatically calculate and display R-multiple levels (1R to 5R), providing a clear overview of your potential profit targets.
Key Features
Multi-Setup Management (A, B, C)
Track up to three separate trades at the same time, each with individual colors and controls.
Manual Entry & Stop Loss Input
Enter your trade levels manually for flexible usage across any market or strategy.
Automatic R-Multiple Calculation (1R to 5R)
The indicator automatically draws lines and labels for 1R to 5R targets based on your risk distance.
Live R Display
Real-time calculation of your current R multiple, updating with every price move.
Custom Symbol Selection
Link each setup to a specific symbol (e.g., EURUSD, XAUUSD, NAS100) to manage multiple markets without clutter.
Reset Function
One-click reset button to quickly clear individual setups.
Alerts for Reached R-Levels
Receive alerts when price reaches each R level (1R to 5R) to monitor trades without constant chart-watching.
How to Use
- Select Entry and Stop Loss levels manually in the input panel.
- Choose the symbol for each setup (supports Forex, Indices, Gold).
- Enable or disable setups individually with the Activate checkbox.
- Optional: Use the Reset button to clear a setup quickly.
- Monitor R-multiples visually and via alerts as price evolves.
Suitable For
- Swing traders
- Day traders
- Risk-based trading strategies (R-multiples)
- Multi-market portfolio management
2 Asset Optimal PortfolioThis script calculates and plots either the Sharpe Ratio or Sortino Ratio for a two-asset portfolio using historical price data, allowing users to analyse how different allocations affect portfolio performance over a specified lookback period.
Features:
Determine the weights of 2 assets and how they affect the the Sharpe or Sortino ratio.
Adjust timeframe to suit your personal investment timeframe.
User Inputs:
1. Asset 1 and Asset 2: Choose any two symbols to evaluate (default is BTCUSD for both).
2. Look Back Length: Number of past bars (days) to use for calculations (default is 365).
3. Source: Price source for returns (default is close).
4. Ratio: Select which ratio to plot — Sharpe or Sortino.
5. % of Asset 1: Portfolio weight (from 0 to 1) for Asset 1.
Risk Parity Calculator | QuantumResearch📊 Risk Parity Calculator | QuantumResearch
The Risk Parity Calculator by QuantumResearch is a dynamic asset allocation tool designed to help traders and portfolio managers distribute risk equally across multiple assets based on their relative volatility.
This script implements a simplified risk parity methodology, where allocation weights are inversely proportional to the recent volatility of each asset. The goal is to construct a portfolio in which each asset contributes equally to overall risk, rather than allocating by notional value or market cap.
🧠 How It Works
The indicator allows you to select up to 5 different assets (crypto, forex, indices, or commodities) and computes the following:
Logarithmic Return Volatility:
Uses log returns to calculate historical standard deviation over a custom period (default 14 bars).
Inverse Volatility Weighting:
Each asset’s weight is determined by 1 / volatility. Lower volatility assets receive higher weights.
Normalization:
All inverse volatility values are summed, and each is divided by that sum to generate the final weight (∑weights = 1).
Visual Output:
The results are shown in a custom table displaying:
Asset Tickers
Their respective portfolio weightings
Color-coded visuals to quickly assess risk-balanced contributions
This method favors diversification and seeks to reduce concentration risk by avoiding overexposure to more volatile assets like BTC or SOL, unless their volatility drops.
⚙️ Key Features
🔢 Supports 5 Custom Assets
Easily choose any combination of assets to construct your portfolio.
⚖️ Equalized Risk Contribution
Allocations scale automatically to reduce overexposure to high-volatility instruments.
🎨 Color-Coded Table
Visualizes relative weights, with color cues based on magnitude.
🔧 Adjustable Lookback
Modify the length used to compute volatility, giving you control over sensitivity.
🖥️ Flexible Table Position & Font Size
Fully customizable to match your layout preferences.
💡 How to Use It
Select your 5 assets using the input panel.
Set the length to control the volatility calculation window.
Observe the table output showing current risk-parity weights.
Use this to rebalance your portfolio, or validate your current exposure.
This is especially useful for portfolio reallocation, ETF modeling, or any strategy seeking risk-balanced diversification.
🛑 Disclaimer
This tool provides a simplified view of risk parity allocation and does not include cross-asset correlations or covariance matrix modeling. It is not a financial recommendation. Past performance and calculated weights do not guarantee future outcomes. Always apply proper risk management and conduct your own analysis.
Assets Correlation AnalyzerAssets Correlation Analyzer
---------------------------------------------
What is it?
The Assets Correlation Analyzer is a technical indicator that measures and visualizes the statistical relationship between any two financial assets (a 'Base Asset' vs. a 'Comparison Asset', example Gold vs. SPY or Nasdaq vs. Bitcoin). The indicator calculates dynamic correlation tracking using statistical methods, confidence intervals, and category-wide analysis capabilities.
---------------------------------------------
Why was it built? / Potential Benefits
This indicator was developed to help analyze inter-asset relationships in portfolio management and trading strategies. The indicator can be used for:
Risk Assessment: Identify when assets begin moving together
Diversification Analysis: Monitor portfolio component relationships
Pairs Trading: Identify when correlated assets diverge
Market Analysis: Recognize shifts in market conditions through correlation patterns
Asset Analysis: Support decision-making based on correlation dynamics
Hedging Analysis: Identify relationships between different instruments
---------------------------------------------
How it Works
The indicator employs established statistical methods to calculate rolling correlations between two selected assets:
Data Collection: Retrieves price data for both selected assets using TradingView's security function
Returns Calculation: Computes logarithmic or simple returns based on user preference
Outlier Filtering: Optionally removes extreme price movements (beyond 2.5 standard deviations) to improve accuracy
Correlation Computation: Calculates either Pearson or Spearman rank correlation over the specified period
Signal Generation: Applies smoothing and generates a signal line (EMA) for momentum detection
Confidence Assessment: Evaluates data quality and provides confidence metrics
---------------------------------------------
How to Read the Oscillator
Main Correlation Line
Values Range: -1.0 to +1.0
+1.0: Perfect positive correlation (assets move identically)
+0.7 to +0.99: Strong positive correlation
+0.3 to +0.69: Moderate positive correlation
-0.3 to +0.29: Weak/No significant correlation
-0.69 to -0.31: Moderate negative correlation
-0.99 to -0.7: Strong negative correlation
-1.0: Perfect negative correlation (assets move oppositely)
Color Coding System
Green shades: Positive correlation levels, with brighter green indicating stronger positive correlation
Red shades: Negative correlation levels, with brighter red indicating stronger negative correlation
Gray: Insufficient data or transitional periods
The color intensity reflects both correlation strength and momentum relative to the signal line.
Signal Line (Gray)
The EMA-based signal line helps identify momentum changes:
Correlation above signal: Positive momentum in correlation
Correlation below signal: Negative momentum in correlation
Crossovers: Potential turning points in the relationship
Background Fills
Gradient fills provide a quick visual assessment of correlation strength, with intensity indicating the degree of correlation.
---------------------------------------------
Correlation Calculation Methods and Options
Calculation Methods
Spearman Rank Correlation (Default)
Uses ranked values rather than raw prices
Less sensitive to outliers and non-linear relationships
Suitable for volatile or non-normally distributed assets
Pearson Correlation (Traditional)
Standard linear correlation method
More sensitive to outliers
Suitable for assets with normal distribution patterns
---------------------------------------------
Customization Options
Correlation Period (7-500 bars): Determines the lookback window for calculation
Signal Line Period (1-200 bars): Controls the smoothing of the signal line
Outlier Removal: Automatically filters extreme price movements
Return Type: Choose between logarithmic (recommended) or simple returns
Smoothing Period: Reduces noise in correlation readings
---------------------------------------------
Asset Categories
The indicator includes 80+ pre-configured assets across multiple categories:
Metals: Gold, Silver, Copper, Platinum, Palladium, Nickel, Zinc, Aluminum
Energy: WTI/Brent Crude, Natural Gas, Uranium
Agriculture: Corn, Soybeans, Wheat, Coffee
ETFs: Major indices, sector, geographic, and specialty ETFs
Bonds: Government and corporate bond instruments
Financial: Currency pairs, treasury yields, volatility indices
Cryptocurrencies: Major digital assets and market cap indices
Real Estate: REITs and real estate focused instruments
---------------------------------------------
For Whom This Indicator Is Designed
Intended Users
Portfolio Managers: Asset allocation and risk assessment
Quantitative Traders: Correlation-based strategy development
Risk Analysts: Correlation monitoring and analysis
Institutional Investors: Diversification analysis
Active Traders: Pairs trading and arbitrage analysis
Skill Level
Intermediate to Advanced: Requires understanding of correlation concepts and statistical interpretation
Experience with Statistics: Users should be familiar with correlation analysis concepts
---------------------------------------------
Information Tables
Main Analysis Table
Displays current correlation value, data confidence percentage, and selected asset information.
Category Correlation Table
Shows correlation strength between the selected 'Base Asset' (in the chart, Gold) and all assets in the comparison asset's category.
---------------------------------------------
Alert Conditions
Four built-in alert types:
Strong Stable Positive Correlation: Triggers when correlation exceeds +0.8 with low volatility
Strong Stable Negative Correlation: Triggers when correlation falls below -0.8 with low volatility
Bullish Correlation Momentum: Signals when correlation crosses above the signal line
Bearish Correlation Momentum: Signals when correlation crosses below the signal line
---------------------------------------------
Usage Notes
Longer periods (30-50 bars) provide more stable analysis
Shorter periods (10-20 bars) provide more responsive signals
Monitor confidence levels - correlations with <75% confidence should be interpreted cautiously
Correlations tend to increase during market stress periods
Should be used in conjunction with other analysis tools
---------------------------------------------
Important Disclaimer
This indicator is for educational and informational purposes only. It should not be considered as financial advice or a recommendation to buy, sell, or hold any financial instrument. Past correlation patterns do not guarantee future relationships between assets. Users should conduct their own research and consider consulting with a qualified financial advisor before making investment decisions. Trading and investing involve substantial risk of loss, and correlation analysis cannot eliminate these risks. The accuracy of correlation calculations depends on data quality and market conditions, which can change rapidly.