Logarithmic Moving Average (LMA) [QuantAlgo]🟢 Overview
The Logarithmic Moving Average (LMA) uses advanced logarithmic weighting to create a dynamic trend-following indicator that prioritizes recent price action while maintaining statistical significance. Unlike traditional moving averages that use linear or exponential weights, this indicator employs logarithmic decay functions to create a more sophisticated price averaging system that adapts to market volatility and momentum conditions.
The indicator displays a smoothed signal line that oscillates around zero, with positive values indicating bullish momentum and negative values indicating bearish momentum. The signal incorporates trend quality assessment, momentum confirmation, and multiple filtering mechanisms to help traders and investors identify trend continuation and reversal opportunities across different timeframes and asset classes.
🟢 How It Works
The indicator's core innovation lies in its logarithmic weighting system, where weights are calculated using the formula: w = 1.0 / math.pow(math.log(i + steepness), 2) The steepness parameter controls how aggressively recent data is prioritized over historical data, creating a dynamic weight decay that can be fine-tuned for different trading styles. This logarithmic approach provides more nuanced weight distribution compared to exponential moving averages, offering better responsiveness while maintaining stability.
The LMA calculation combines multiple sophisticated components. First, it calculates the logarithmic weighted average of closing prices. Then it measures the slope of this average over a 10-period lookback: lmaSlope = (lma - lma ) / lma * 100 The system also incorporates trend quality assessment using R-squared correlation analysis of log-transformed prices, measuring how well the price data fits a linear trend model over the specified period.
The final signal generation uses the formula: signal = lmaSlope * (0.5 + rSquared * 0.5) which combines the LMA slope with trend quality weighting. When momentum confirmation is enabled, the indicator calculates annualized log-return momentum and applies a multiplier when the momentum direction aligns with the signal direction, strengthening confirmed signals while filtering out weak or counter-trend movements.
🟢 How to Use
1. Signal Interpretation and Threshold Zones
Positive Values (Above Zero): LMA slope indicating bullish momentum with upward price trajectory relative to logarithmic baseline
Negative Values (Below Zero): LMA slope indicating bearish momentum with downward price trajectory relative to logarithmic baseline
Zero Line Crosses: Signal transitions between bullish and bearish regimes, indicating potential trend changes
Long Entry Threshold Zone: Area above positive threshold (default 0.5) indicating confirmed bullish signals suitable for long positions
Short Entry Threshold Zone: Area below negative threshold (default -0.5) indicating confirmed bearish signals suitable for short positions
Extreme Values: Signals exceeding ±1.0 represent strong momentum conditions with higher probability of continuation
2. Momentum Confirmation and Visual Analysis
Signal Color Intensity: Gradient coloring shows signal strength, with brighter colors indicating stronger momentum
Bar Coloring: Optional price bar coloring matches signal direction for quick visual trend identification
Position Labels: Real-time position classification (Bullish/Bearish/Neutral) displayed on the latest bar
Momentum Weight Factor: When short-term log-return momentum aligns with LMA signal direction, the signal receives additional weight confirmation
Trend Quality Component: R-squared values weight the signal strength, with higher correlation indicating more reliable trend conditions
3. Examples: Preconfigured Settings
Default: Universally applicable configuration balanced for medium-term investing and general trading across multiple timeframes and asset classes.
Scalping: Highly responsive setup with shorter period and higher steepness for ultra-short-term trades on 1-15 minute charts, optimized for quick momentum shifts.
Swing Trading: Extended period with moderate steepness and increased smoothing for multi-day positions, designed to filter noise while capturing larger price swings on 1-4 hour and daily charts.
Trend Following: Maximum smoothing with lower steepness for established trend identification, generating fewer but more reliable signals optimal for daily and weekly timeframes.
Mean Reversion: Shorter period with high steepness for counter-trend strategies, more sensitive to extreme moves and reversal opportunities in ranging market conditions.
Statistics
Liquidity Break Probability [PhenLabs]📊 Liquidity Break Probability
Version: PineScript™ v6
The Liquidity Break Probability indicator revolutionizes how traders approach liquidity levels by providing real-time probability calculations for level breaks. This advanced indicator combines sophisticated market analysis with machine learning inspired probability models to predict the likelihood of high/low breaks before they happen.
Unlike traditional liquidity indicators that simply draw lines, LBP analyzes market structure, volume profiles, momentum, volatility, and sentiment to generate dynamic break probabilities ranging from 5% to 95%. This gives traders unprecedented insight into which levels are most likely to hold or break, enabling more confident trading decisions.
🚀 Points of Innovation
Advanced 6-factor probability model weighing market structure, volatility, volume, momentum, patterns, and sentiment
Real-time probability updates that adjust as market conditions change
Intelligent trading style presets (Scalping, Day Trading, Swing Trading) with optimized parameters
Dynamic color-coded probability labels showing break likelihood percentages
Professional tiered input system - from quick setup to expert-level customization
Smart volume filtering that only highlights levels with significant institutional interest
🔧 Core Components
Market Structure Analysis: Evaluates trend alignment, level strength, and momentum buildup using EMA crossovers and price action
Volatility Engine: Incorporates ATR expansion, Bollinger Band positioning, and price distance calculations
Volume Profile System: Analyzes current volume strength, smart money proxies, and level creation volume ratios
Momentum Calculator: Combines RSI positioning, MACD strength, and momentum divergence detection
Pattern Recognition: Identifies reversal patterns (doji, hammer, engulfing) near key levels
Sentiment Analysis: Processes fear/greed indicators and market breadth measurements
🔥 Key Features
Dynamic Probability Labels: Real-time percentage displays showing break probability with color coding (red >70%, orange >50%, white <50%)
Trading Style Optimization: One-click presets automatically configure sensitivity and parameters for your trading timeframe
Professional Dashboard: Live market state monitoring with nearest level tracking and active level counts
Smart Alert System: Customizable proximity alerts and high-probability break notifications
Advanced Level Management: Intelligent line cleanup and historical analysis options
Volume-Validated Levels: Only displays levels backed by significant volume for institutional-grade analysis
🎨 Visualization
Recent Low Lines: Red lines marking validated support levels with probability percentages
Recent High Lines: Blue lines showing resistance zones with break likelihood indicators
Probability Labels: Color-coded percentage labels that update in real-time
Professional Dashboard: Customizable panel showing market state, active levels, and current price
Clean Display Modes: Toggle between active-only view for clean charts or historical view for analysis
📖 Usage Guidelines
Quick Setup
Trading Style Preset
Default: Day Trading
Options: Scalping, Day Trading, Swing Trading, Custom
Description: Automatically optimizes all parameters for your preferred trading timeframe and style
Show Break Probability %
Default: True
Description: Displays percentage labels next to each level showing break probability
Line Display
Default: Active Only
Options: Active Only, All Levels
Description: Choose between clean active-only view or comprehensive historical analysis
Level Detection Settings
Level Sensitivity
Default: 5
Range: 1-20
Description: Lower values show more levels (sensitive), higher values show fewer levels (selective)
Volume Filter Strength
Default: 2.0
Range: 0.5-5.0
Description: Controls minimum volume threshold for level validation
Advanced Probability Model
Market Trend Influence
Default: 25%
Range: 0-50%
Description: Weight given to overall market trend in probability calculations
Volume Influence
Default: 20%
Range: 0-50%
Description: Impact of volume analysis on break probability
✅ Best Use Cases
Identifying high-probability breakout setups before they occur
Determining optimal entry and exit points near key levels
Risk management through probability-based position sizing
Confluence trading when multiple high-probability levels align
Scalping opportunities at levels with low break probability
Swing trading setups using high-probability level breaks
⚠️ Limitations
Probability calculations are estimations based on historical patterns and current market conditions
High-probability setups do not guarantee successful trades - risk management is essential
Performance may vary significantly across different market conditions and asset classes
Requires understanding of support/resistance concepts and probability-based trading
Best used in conjunction with other analysis methods and proper risk management
💡 What Makes This Unique
Probability-Based Approach: First indicator to provide quantitative break probabilities rather than simple S/R lines
Multi-Factor Analysis: Combines 6 different market factors into a comprehensive probability model
Adaptive Intelligence: Probabilities update in real-time as market conditions change
Professional Interface: Tiered input system from beginner-friendly to expert-level customization
Institutional-Grade Filtering: Volume validation ensures only significant levels are displayed
🔬 How It Works
1. Level Detection:
Identifies pivot highs and lows using configurable sensitivity settings
Validates levels with volume analysis to ensure institutional significance
2. Probability Calculation:
Analyzes 6 key market factors: structure, volatility, volume, momentum, patterns, sentiment
Applies weighted scoring system based on user-defined factor importance
Generates probability score from 5% to 95% for each level
3. Real-Time Updates:
Continuously monitors price action and market conditions
Updates probability calculations as new data becomes available
Adjusts for level touches and changing market dynamics
💡 Note: This indicator works best on timeframes from 1-minute to 4-hour charts. For optimal results, combine with proper risk management and consider multiple timeframe analysis. The probability calculations are most accurate in trending markets with normal to high volatility conditions.
✅ SMA20 Trend Table -(MAJOAK)Trend table of Bullish or Bearish to the SMA 20. Displays 1 Day, 1Hr, 15 Min and 5 min.
Price Reaction Analysis by Day of WeekOverview
The "Price Reaction Analysis by Day of Week" indicator is a tool that enables traders to analyze historical price reaction patterns to technical indicator signals on a selected day of the week. It examines price behavior on a chosen candle (from 1 to 30) in the next day or subsequent days after a signal, depending on the timeframe, and provides success rate statistics to support data-driven trading decisions. The indicator is optimized for timeframes up to 1 day (e.g., 1D, 12H, 8H, 6H, 4H, 1H, 15M), as the analysis relies on day-of-week comparisons. Lower timeframes generate more signals due to the higher number of candles per day.
Key Features
1. Flexible Technical Indicator Selection
Users can choose one of four technical indicators: RSI, SMI, MA, or Bollinger Bands. Each indicator has configurable parameters, such as:
RSI length, oversold/overbought levels.
SMI length, %K and %D smoothing, signal levels.
MA length.
Bollinger Bands length and multiplier.
2. Day-of-Week Analysis
The indicator allows users to select a day of the week (Monday, Tuesday, Wednesday, Thursday, Friday) for generating signals. It analyzes price reactions on a selected candle (from 1 to 30) in the next day or subsequent days after the signal. Examples:
On a daily timeframe, a signal on Monday can be analyzed for the first, fourth, or later candle (up to 30) in subsequent days (e.g., Tuesday, Wednesday).
On timeframes lower than 1 day (e.g., 12H, 8H, 6H, 4H, 1H, 15M), the analysis targets the selected candle in the next day or subsequent days. For example, on a 4H timeframe, you can analyze the second Tuesday candle following a Monday signal. The maximum timeframe is 1 day to ensure consistent day-of-week analysis.
3. Visual Signals
Signals for the analysis period are marked with background highlights in real-time when the indicator’s conditions are met. The last highlighted candle of the selected day is always analyzed. Arrows are displayed on the chart at the candle specified by the “Candles to Compare” setting (e.g., the first candle if set to 1):
Green upward triangles (below the candle) for successful buy signals (the closing price of the selected candle is higher than the signal candle’s close).
Red downward triangles (above the candle) for successful sell signals (the closing price of the selected candle is lower than the signal candle’s close).
Gray “x” marks for unsuccessful signals (no price reversal in the expected direction). Arrow positions are intuitive: buy signals below the candle, sell signals above. Highlights and arrows do not require waiting for future signals but are essential for calculating statistics.
Note: The first candle of the next day may appear shifted on the chart due to timezone differences, which can affect the timing of signal appearance.
4. Signal Conditions (Highlights) for Each Indicator
RSI: The oscillator is in oversold (buy) or overbought (sell) zones.
SMI: SMI returns from oversold (buy) or overbought (sell) zones.
MA: Price crosses the MA (upward for buy, downward for sell).
Bollinger Bands: Price returns inside the bands (from below for buy, from above for sell).
5. Success Rate Statistics
A table in the top-right corner of the chart displays:
The number of buy and sell signals for the selected day of the week.
The percentage of cases where the price of the selected candle in the next day or subsequent days reversed as expected (e.g., rising after a buy signal). Statistics are based on comparing the closing price of the signal candle with the closing price of the selected candle (e.g., first, fourth) in the next day or subsequent days.
Important: Statistics do not account for price movements within the candle or after its close. The price on the selected candle (e.g., fourth) may be lower than earlier candles but still higher than the signal candle, counting as a positive buy signal, though it does not guarantee profit.
6. Date Range
Users can specify the analysis date range, enabling strategy testing on historical data from a chosen period. Ensure the start and end dates are set correctly.
Applications
The indicator is designed for traders who want to leverage historical patterns for position planning. Examples:
On a 4-hour timeframe: If a sell signal highlight appears on Monday and statistics show an 80% chance that the fourth Tuesday candle is bearish, traders may consider playing a correction at the open of that candle.
On a daily timeframe: If a highlight indicates market overheating, traders may consider entering a position at the open of the first candle after the signal (e.g., Tuesday), provided statistics suggest an edge. Users can analyze the signal on the first candle and check later candles to validate results, increasing confidence in consistent patterns.
Key Settings
Indicator Type: Choose between RSI, SMI, MA, or Bollinger Bands.
Selected Day: Monday, Tuesday, Wednesday, Thursday, or Friday.
Candles to Compare: The number of the candle in the next day or subsequent days (from 1 to 30).
Indicator Parameters: Lengths, levels (e.g., oversold/overbought for RSI).
Background Colors: Configurable highlights for buy and sell signals.
Notes
Timeframes: The indicator is optimized for timeframes up to 1 day (e.g., 1D, 12H, 8H, 6H, 4H, 1H, 15M), as the analysis relies on day-of-week patterns. Timeframes lower than 1 day generate more signals due to the higher number of candles per day.
Candle Shift: The first candle of the next day may appear shifted on the chart due to timezone differences, affecting the timing of signals across markets or platforms.
Statistical Limitations: Results are based on the closing prices of the selected candle, ignoring fluctuations in earlier candles, within the candle, or subsequent price movements. Traders must assess whether entering at the open or after the close of the selected candle is profitable.
Testing: Effectiveness depends on historical data and parameter settings. Testing different configurations across markets and timeframes is recommended.
Who Is It For?
Swing and position traders who base decisions on technical analysis and historical patterns.
Market analysts seeking patterns in price behavior by day of the week.
TradingView users of all experience levels, thanks to an intuitive interface and flexible settings.
Avg daily rangeThe Average Daily Range (ADR) is a technical indicator that measures the average price movement of a financial instrument over a specific period.
RAHA Strategy - Short
Roni's Adjusted Hybrid Average – a formula developed by Aharon Roni Pesach.
What is RAHA?
This is an adjusted hybrid average that gives different weight to outliers:
The extreme values (particularly high or low) receive a lower weight.
The calculation is based on the standard deviation and average of the data.
This results in a more sensitive but stable average that does not ignore outliers – but rather considers them in proportion.
The RAHA Short Strategy identifies a negative trend and enters when clear technical conditions are met, such as a downward slope of RAHA 40, RAHA 10 crossing below RAHA 20, and the absence of a sequence of 3 red candles.
Entry is also made in the exceptional case of a red candle above the Bollinger Band.
The position size is determined by 1% of the capital divided by the stop.
The exit is carried out by a stop above the high, or under additional conditions below the profit target (TP).
אסטרטגיית השורט RAHA מבוססת על נוסחת ממוצע ייחודית בשם RAHA – ראשי תיבות של:
Roni's Adjusted Hybrid Average – נוסחה שפיתח אהרון רוני פסח.
מהו RAHA?
מדובר בממוצע היברידי מתואם המעניק משקל שונה לנתונים חריגים:
הערכים הקיצוניים (גבוהים או נמוכים במיוחד) מקבלים משקל נמוך יותר.
החישוב מבוסס על סטיית התקן והממוצע של הנתונים.
כך מתקבל ממוצע רגיש אך יציב יותר, שאינו מתעלם מהחריגים – אלא מתחשב בהם בפרופורציה.
אסטרטגיית השורט RAHA מזהה מגמה שלילית ומבצעת כניסה כשמתקיימים תנאים טכניים ברורים, כמו שיפוע יורד של RAHA 40, חציית RAHA 10 מתחת ל‑RAHA 20, והיעדר רצף של 3 נרות אדומים.
הכניסה מבוצעת גם במקרה חריג של נר אדום מעל רצועת בולינגר.
גודל הפוזיציה נקבע לפי 1% מההון חלקי הסטופ.
היציאה מבוצעת לפי סטופ מעל הגבוה, או בתנאים נוספים מתחת ליעד הרווח (TP).
Gabriel's MPT Moving Average RibbonGabriel's MPT Moving Average Ribbon is a cutting-edge, risk-adjusted technical analysis tool that fuses Modern Portfolio Theory (MPT) with adaptive moving average logic to dynamically guide market participants through bullish and bearish conditions.
This ribbon is not a simple MA crossover — it leverages Sharpe Ratio, Sortino Ratio, Omega Ratio, and Value at Risk (VaR) to scale and smooth each moving average using real-time probabilistic efficiency metrics. Combined, these elements create a volatility-weighted, risk-optimized visualization of market structure.
🔍 Core Features:
Multi-Ratio Adaptive Scaling: Moving averages are dynamically weighted by Omega Ratio, Sortino Stdev, Sharpe Winrate, and VaR conditions for smarter price tracking.
Volatility Engine: Supports multiple return models:
Close-to-Close
Parkinson
Garman-Klass
Rogers–Satchell
Yang–Zhang (default for highest accuracy)
Smart Ribbon Construction:
Blends 3 different MA types per ribbon (e.g., SMA, EMA, WMA) for each of the 4 ribbons
Supports WMA-style dynamic weighting using MPT-derived ratios
Sharpe Winrate Estimation: Uses CDF logic to project the probability of success given current Sharpe ratio.
Dynamic Risk Phase Detection (VaR):
Identifies Risk On, Risk Off, or Neutral states using a triple-model composite VaR framework.
🛎️ Alerts Included:
📈 Bullish Crossover Alert: MA #1 crossing above MA #2 with all ribbons aligned upward.
📉 Bearish Crossunder Alert: MA #1 crossing below MA #2 with all ribbons aligned downward.
📊 Omega Ratio Alert: Triggered when Omega exceeds 1 (profitable risk-adjusted reward).
⚠️ Omega Caution Alert: Triggered when Omega drops below 1.
🟢 Risk On Alert: Market enters a favorable, low-risk zone. Deep Value Zone for Long-Term Investing.
🔴 Risk Off Alert: Market enters a cautionary, high-risk phase.
🎯 Use Cases:
Trend Identification: MA ribbon alignment indicates momentum phases.
Risk-Tuned Entries/Exits: Combine ribbon crossovers with VaR/Ratio signals for confirmation.
Institutional Strategy Overlay: Ideal for portfolio managers integrating risk-adjusted technical overlays.
🧠 Pro Tips:
Use "Complete" mode for the most robust risk signal, as it blends Historical, EWMA, and Variance-Covariance ratios.
Customize each MA’s type and length to match your trading horizon (e.g., intraday, swing).
Toggle Ratios Weighted MA for adaptive weighting when market risk fluctuates.
It's set to the settings I use to trade, from MA settings to MPT table. It goes in order: Sharpe Est. Winrate, Deviation of Sortino, Omega Ratio (1 Year), and the Ideal position size according to VaR.
Automated ChecklistWeekly Bias (Auto / Bullish / Bearish)
Daily Bias (Auto / Bullish / Bearish)
PDH/L Taken (Auto / Yes / No)
🔁 Logic:
If input is Auto, use calculated values.
If Bullish, Bearish, or Yes/No selected, use the manual input.
BTC Prophet Of The Weekly MarketBTC Prophet Of The Weekly Market — Advanced Weekly Bitcoin Signal Suite
Overview
BTC Prophet Of The Weekly Market is a comprehensive weekly timeframe indicator designed to identify significant Bitcoin accumulation and distribution opportunities. By combining on-chain valuation models, long-term momentum readings, and volume-adjusted baselines, this tool provides high-confidence signals that reflect deep market behavior rather than short-term volatility. This indicator is accurate and combines accumulation and distribution processes.
What It Does
This indicator evaluates Bitcoin market conditions using a multi-layered analytical framework that includes:
1. On-Chain Valuation Metrics
-- Market Capitalization and Realized Market Capitalization are retrieved daily and contextualized within historical valuation ranges.
-- A custom Cost Basis Valuation Delta (CVDD) model helps define zones of potential undervaluation or overheated conditions.
2. Dynamic Momentum Analysis
-- Utilizes a dual-layer EMA system inspired by momentum oscillators to gauge the directional bias of price relative to recent trends.
-- Incorporates RSI-based thresholds to estimate whether market sentiment is oversold or overbought.
3. Volume-Adjusted Filters
-- Integrates a smoothed moving average of network transaction volume to further refine signals and avoid excessive noise.
How It Works
BTC Prophet Of The Weekly Market classifies each weekly candle into one of three actionable signals:
1. MAX BUY (Solid Buy Signal)
Triggers under strict conditions combining:
-- Deep oversold momentum readings
-- Price trading below dynamic CVDD thresholds
-- Negative unrealized profit and loss environment
-- Candle closing in the lower range
-- This signal historically aligns with major accumulation opportunities.
2. Accumulation Buy Signal
Indicates a less stringent but still favorable accumulation environment where price trades in undervalued zones alongside moderate oversold momentum.
3. Distribution Sell Signal
Highlights probable distribution phases when:
-- Momentum readings are strongly overbought
-- Price exceeds volume-adjusted valuation zones
-- Unrealized profits reach elevated levels
-- This environment typically coincides with profit-taking and increased downside risk.
When signals are detected, the indicator dynamically plots clear, color-coded labels above or below price to mark actionable areas on the chart:
MAX BUY: Green label reading “MAX BUY”
Accumulation Buy: White upward arrow
Distribution Sell: Red label reading “SELL”
How To Use It
1. Confirm Settings
The indicator is built specifically for weekly BTC pairs (BTCUSD, BTCUSDT, BTCUSDC). Using other pairs or timeframes will disable signals.
2. Interpret Signals
-- MAX BUY: Considered the highest conviction accumulation zone.
-- Accumulation Buy: Indicates conditions favoring gradual allocation.
-- Distribution Sell: Suggests a high-probability exit or hedging environment.
3. Integrate With Strategy
Use signals to time long-term entries or exits.
Combine with broader market analysis, portfolio goals, and risk management plans.
Why It Is Unique
1. Multi-Factor Analysis
Merges momentum, valuation, and volume into a single system.
2. Timeframe Specificity
Optimized exclusively for the weekly chart to capture primary trends.
3. Strict Filtering Logic
Incorporates multiple conditions to reduce false positives and emphasize only meaningful shifts in market structure.
4. Clear Visual Labels
Makes it easy to recognize signals without clutter.
Apply Risk Management
This indicator does not provide investment advice and is not a standalone trading system. Signals should be used as part of a disciplined process that includes:
-- Additional technical and fundamental analysis
-- Defined entry and exit criteria
-- Careful position sizing and risk control
Timeframe Selection
Weekly timeframe only
Best Suited For
Long-term investors, swing traders, and portfolio managers who prefer to anchor decisions on macro-level signals supported by on-chain data and advanced momentum filters.
Important Notes
All signals and interpretations are for educational and informational purposes. Historical performance does not guarantee future results. You are solely responsible for all trading decisions.
License
Developed by the ProphetAlgoAI team. Use is subject to a private, invite-only TradingView license. Redistribution or unauthorized sharing is strictly prohibited.
BTC Market D-Line PhaserBTC Market D-Line Phaser — Bitcoin Market Phase Classification Indicator
Overview
BTC Market D-Line Phaser is a streamlined, daily timeframe indicator designed to categorize the current Bitcoin market environment into clearly defined behavioral phases. By combining on-chain market valuation data with a profitability model, it assists traders and investors in understanding whether Bitcoin is in a deploy (accumulation), hold, pre-sale, distribution, or cash transition phase.
What It Does
BTC Market D-Line Phaser analyzes the Bitcoin market using two primary on-chain metrics:
1. Market Capitalization Data
Retrieves real-time total market capitalization and realized market capitalization from external sources. This combination provides a fundamental perspective on network valuation relative to price action.
2. Normalized Unrealized Profit and Loss (NUPL) Framework
Calculates an aggregate profitability ratio to estimate when the market is predominantly in loss, neutral, or significant profit conditions. This signal historically correlates with shifts in investor sentiment and behavior.
How It Works
The indicator classifies the market into five distinct phases:
1. Deploy Phase
Indicates conditions historically associated with deep value or high fear environments, where price trades at discounted valuations relative to realized capitalization. This phase is often considered by some participants as an opportunity to allocate capital.
2. Hold Phase
Suggests a neutral or moderate-profit environment, where the market is neither clearly oversold nor overextended. Typically seen as a phase of accumulation or consolidation.
3. Pre-Sale Phase
Signals growing unrealized profits across the market. This environment is often associated with rising optimism and elevated expectations.
4. Sell Phase
Highlights conditions where unrealized profits have become significant across holders, increasing the probability of distribution events and profit-taking behavior.
5. Cash Phase
Marks a transition where a previously overextended market (Sell Phase) loses momentum. This often indicates an inflection point where prior profit-taking may have exhausted buying pressure.
Each phase dynamically updates and is visualized on the chart through a color-coded line plotted beneath price. As price action evolves, the phase classification automatically shifts to reflect the current market state.
How To Use It
1. Confirm Timeframe
BTC Market D-Line Phaser is specifically designed for daily charts. Using it on intraday or weekly timeframes is not recommended and may result in inaccurate classifications.
2. Interpret the Phases
-- Deploy Phase: Historically associated with deep undervaluation. Some traders consider this favorable for accumulation.
-- Hold Phase: A baseline or neutral environment.
-- Pre-Sale Phase: Early warning of elevated unrealized profits.
-- Sell Phase: Suggests significant profit-taking risk.
-- Cash Phase: Indicates the aftermath of a distribution environment, potentially transitioning to re-accumulation or correction.
3. Integrate With Strategy
Use phase information to guide discretionary decisions, manage risk exposure, or align entries and exits with broader market sentiment.
Why It Is Unique
1. On-Chain Focus
Combines market cap and profitability metrics in real time, offering insight beyond conventional price-based indicators.
2. Simplified Classification
Distills complex market behavior into five intuitive phases, reducing noise and helping traders stay objective.
3. Visual Clarity
Clean color-coded plotting beneath price action allows immediate recognition of market phase shifts.
4. Daily Chart Optimization
Tuned exclusively for the daily timeframe to capture macro trends rather than short-term fluctuations.
Apply Risk Management
This indicator does not constitute financial advice and is not a standalone trading system. Always combine its insights with your own analysis, clearly defined trading plans, and prudent risk management practices. Evaluate how each phase aligns with your objectives, time horizon, and risk tolerance.
Timeframe Selection
Use only on daily charts. Applying it to other timeframes will compromise the integrity of the phase classification.
Best Suited For
Investors and swing traders who prefer a macro-level perspective on Bitcoin market cycles and wish to structure entries and exits around on-chain sentiment trends.
Important Notes
Signals and phases generated by BTC Market D-Line Phaser are for informational purposes only. Past performance is not indicative of future results. All trading and investing decisions remain your responsibility.
License
This indicator was developed by the ProphetAlgoAI team. Use is subject to a private, invite-only TradingView license. Redistribution or unauthorized usage outside of TradingView is strictly prohibited.
BTC D-CollectorBTC D-Collector — Daily BTC Macro Distribution & Profit-Taking Signal System
Overview
BTC D-Collector is a purpose-built macro-level distribution detection and profit-taking tool designed for Bitcoin traders operating on daily charts. Its primary objective is to identify high-probability conditions for partial or full exits during extended uptrends, combining on-chain market metrics, long-term moving averages, and multi-layer momentum exhaustion filters. This approach helps traders time distributions in mature bull cycles while avoiding premature selling.
What It Does
BTC D-Collector analyzes Bitcoin price action and key metrics across four core dimensions:
1. On-Chain Market Valuation
Integrates external data feeds such as realized market capitalization and aggregate trading volume to compute derived valuation bands. These valuations highlight historically stretched price conditions relative to fundamental usage.
2. Long-Term Momentum & Trend Exhaustion using MACD, StochRSI, RSI and EMAs
Calculates multiple time-adaptive moving averages and dynamic oscillator signals to detect overbought conditions. These moving averages adjust their lengths automatically based on timeframe granularity, ensuring alignment with daily chart structures.
3. NUPL-Based Profitability Framework
Incorporates a normalized measure of unrealized profit and loss (NUPL) to estimate whether aggregate holders are in extreme profit territory, signaling increased risk of distribution phases.
4. Progressive Profit-Taking Logic
Includes a structured mechanism for incremental scaling out of positions. As price multiplies from the most recent significant low, a sequence of partial sell signals is triggered to lock in gains methodically.
How It Works
A signal requires a specific combination of confirmations:
1. Market Restart Signal
When the tool detects renewed bullish conditions (e.g., recovery in the long-term moving average structure), the system resets all partial sell counters and reinitializes the entry baseline.
2. Math AI Distribution Signal
Triggers when a crossover of adaptive moving averages suggests a macro distribution phase is initiating.
3. SELL Signal, Solid Distribution Signal
Activated if multiple conditions converge: high on-chain profitability readings, stretched valuation metrics, sustained overbought oscillator levels, and price trading above all major long-term moving averages.
4. Orange and/or Red Arrow, Risky Distribution Signal
A more aggressive early exit indication, appearing when the market is overextended but some filters are less aligned. These signals are optional and meant for conservative profit-taking.
5. SELL Signal with X on it, Step Distribution Sequence
As price increases by predefined multiples relative to the last confirmed entry, the indicator issues progressive scale-out labels, marking partial profit-taking levels at each multiple.
When any of these signals are confirmed, visual labels are plotted on the chart, and alerts are generated. The system remains inactive if conditions do not meet strict alignment criteria.
How To Use It
1. Confirm Context
Always review higher timeframe charts (weekly, monthly) to assess where Bitcoin is in its broader market cycle. BTC D-Collector is optimized for mature uptrend distribution, not for identifying bottoms.
2. Act According to Signal Type
-- Math AI & Solid Distribution Signals: Consider partial or full profit-taking.
-- Risky Distribution Signals: Optional early profit locks for cautious traders.
-- Step Distribution Labels: Use as incremental exit points to scale out positions progressively as price advances.
3. Integrate With Your Strategy
Combine this indicator’s outputs with your trading system’s risk management rules. Define position sizing and exit criteria in advance.
Why It Is Unique
1. On-Chain + Technical Alignment
Blends on-chain market cap valuation, profitability metrics, and classical price action—rarely combined in a single TradingView tool.
2. Adaptive Time-Based Logic
Moving averages and calculations dynamically adjust to the chart timeframe for consistent sensitivity across historical and current data.
3. Structured Profit-Taking Sequences
Provides a disciplined approach to gradually reduce exposure as price accelerates, avoiding emotional exits.
4. BTC Daily Focus
Optimized exclusively for BTC/USD and BTC/USDT pairs on daily charts, ensuring clarity and relevance for macro cycle traders.
Apply Risk Management
This indicator is not a standalone trading system. Always combine signals with a comprehensive trading plan, position sizing rules, and stop-loss management. Carefully evaluate whether each alert fits your risk tolerance and portfolio objectives.
Timeframe Selection
Designed exclusively for daily charts. Use on other timeframes is not recommended and may yield invalid signals.
Best Suited For
Swing traders, position traders, and long-term BTC investors looking for structured tools to guide profit-taking during sustained bull markets.
Important Notes
Signals generated by BTC D-Collector are intended to assist trading decisions and do not constitute investment advice. Past performance does not guarantee future results. Always conduct your own analysis and apply prudent risk management.
License
This indicator was developed by the ProphetAlgoAI team. Use is subject to a private, invite-only TradingView license. Redistribution or use outside TradingView is strictly prohibited without explicit permission.
Mean Amplitude (300 candles)Displays the average candle amplitude (volatility) as % over a selected period. Useful for gauging market activity compression or expansion.
Volume & Distance IndicatorA comprehensive multi-metric indicator that combines volume analysis, volatility measurement, and momentum positioning to provide crucial trading insights in a clean, customizable table format.
📊 Key Metrics:
52WH (52-Week High Distance) - Shows percentage distance from 52-week high, helping identify momentum and potential reversal zones.
Vol Val (Volume Value) - Calculates current close × SMA of volume, providing dollar-weighted volume analysis for institutional activity insights.
ADR (Average Daily Range) - Measures average volatility using SMA of High/Low ratios, essential for position sizing and risk management.
⚙️ Features: • Customizable periods (20 or 50 days) for Volume and ADR calculations • Enable/disable individual metrics • Fully customizable colors for labels and values • Adjustable text size (Tiny/Small/Normal/Large) • 9 table position options • Smart alert system with color-coded warnings
🚨 Alert System: • Red background when ADR < 3% (low volatility warning) • Red background when 52WH < -25% (oversold condition) • Customizable thresholds for personalized risk management
💡 Use Cases:
Identify low-volatility breakout setups
Monitor institutional volume participation
Track momentum relative to recent highs
Set position sizing based on volatility metrics
Settings are fully customizable - choose your preferred periods, colors, and alert levels. Perfect for swing traders, day traders, and investors who rely on volume and volatility analysis.
Works on all timeframes and asset classes.
This description highlights the indicator's professional features while explaining its practical trading applications for TradingView users.
Custom Bar countBar Count indicator with custom Open Market Time
Editable in settings using Exchange Time
please leave comment if any questions
[TCV] - Position Tool Position Tool by TheCryptoVizier is a trade-planning widget that lets you drop Entry, Take-Profit and Stop-Loss levels directly on the chart, instantly calculates risk-to-reward and position size, and shows only the numbers you actually need. It’s designed for traders who plan visually and don’t want to juggle spreadsheets or external calculators.
WHAT PROBLEM DOES IT SOLVE?
When you drag price levels on TradingView you still have to:
work out how many contracts / coins you can buy for a fixed $ risk,
check that your R:R is acceptable,
copy the final values somewhere else.
The Position Tool automates all of that inside the chart and keeps the screen clean.
HOW TO USE
Add the indicator to any chart.
Drag the blue (Entry), green (TP) and red (SL) lines to your desired levels.
Set your Risk in USDT and toggle the check-boxes to show / hide extra fields.
Read off the position size, risk and R:R in the corner table or copy the exact numbers from the Data Window.
Place your order with confidence – the maths is already done.
Whether you scalp lower-timeframes or swing trade higher ones, the Position Tool removes friction from trade preparation and lets you focus on execution.
KEY FEATURES
Drag-and-drop Entry / TP / SL lines – plan the trade visually.
Fixed-risk position sizing – enter how much you’re willing to lose in USDT (or account currency) and the script tells you the exact position value and quantity.
Live R-to-R ratio – instantly see whether the reward compensates the risk as you move levels.
Smart info panel – overlay table shows Entry, TP, SL, R:R and – optionally via check-boxes – position in USDT, position in $TICKER and risk in USDT. Hide what you don’t need.
Copy-ready Data Window values – the same numbers appear in TradingView’s Data Window, so you can click any cell to copy it straight to the clipboard.
----------
Disclaimer: This indicator is provided for educational purposes only. Trading involves substantial risk, and nothing here should be construed as financial advice or a recommendation to trade. Always do your own research and consult a qualified professional.
Reverso [Flexi+]Reverso – Moving Average Touch Statistics Tracker
Reverso is a premium technical analysis tool that tracks and visualizes how price interacts with a selected Moving Average (EMA/SMA).
Providing detailed statistics about price behavior before, during, and after each Moving Average touch event.
This script is suitable for both trend-following and mean-reversion traders who want to study price reaction with respect to a Moving Average, understand market tendencies, and refine entry/exit strategies based on price-memory dynamics.
Features and Functionality
Supported MAs: EMA / SMA any length
Timeframe Support: any Timeframe >= to the current chart Timeframe
Touch Detection: Triggered when the price range (high to low) crosses or touches the selected MA
Automatic Data Tracking
Tables for Quick Visual Summary
Visual Overlay: Optional Moving Average line plotted on chart
History: User selectable up to 500 touches
Automatic Data Tracking:
Number of MA touches
Time intervals between touches
Price distance from last touch
Maximum price deviation (above/below MA) between touches
Time spent above/below MA
Tables for Quick Visual Summary:
Info Table: Live details about last and first touches, distance from touch, bars above/below, peak movements since last touch
Stats Table: Averages and extreme values for price behavior patterns across recent history
Core Metrics Tracked
Last Touch Price: The last price level where price touched the MA
Distance from Last Touch: Current % change from the last touch price
Time Between Touches: Average and maximum intervals (in bars or time) between touch events
Max Distance Above/Below: Peak movement above/below MA between touches
Bars Above/Below: How long price stayed above/below the MA since last touch
Peak This Cycle: Max deviation above/below in current cycle since last touch
How It Works
Reverso monitors each bar to check if price intersects the selected MA.
When a new touch occurs, it records the touch price and time, and resets the tracking cycle.
From that point forward, it tracks how far and how long price drifts above or below the MA.
This process repeats with each new touch, building a detailed profile of how price behaves around the moving average.
The result is a visual and statistical framework for understanding price memory, market rhythm, and mean-reversion opportunities.
Customization Options
Moving Average Type: Simple or Exponential
MA Length: Any
Show MA Line: Toggle the MA plot on the chart
Show Info Table: Enable/disable the current-touch summary
Show Statistics Table: Show aggregate data over the history
Table Positioning: Customizable placement for both tables
MA Color: Select custom color for MA plot
Max History: Number of touches used for the Statistic computation
Intended Use Cases
Identify reversal or continuation setups near MAs
Validate strategies relying on mean reversion
Backtest the consistency of price respect to MAs
Detect periods of volatility clustering around MAs
Notes and Disclaimers
This script does not repaint: calculations are made on confirmed bars.
This indicator is educational in nature and should be used alongside other forms of analysis.
Time durations in the tables are approximated using bar timing and may vary across markets/timeframes.
ReversoReverso – Moving Average Touch Statistics Tracker
Reverso indicator is a technical analysis tool that tracks and visualizes how price interacts with a selected Exponential Moving Average (EMA). It provides detailed statistics about price behavior before, during, and after each EMA touch event.
This script is suitable for both trend-following and mean-reversion traders who want to study EMA reactions, understand market tendencies, and refine entry/exit strategies based on price-memory dynamics.
Features and Functionality
Supported MAs: EMA 9, 20, or 50
Timeframe Support: Uses the chart’s timeframe
Touch Detection: Triggered when the price range (high to low) crosses or touches the EMA
Automatic Data Tracking
Tables for Quick Visual Summary
Visual Overlay: Optional EMA line plotted on chart
Timeframe Support: Uses the chart’s timeframe
Capped history: Most recent 50 touches
Automatic Data Tracking:
Number of EMA touches
Time intervals between touches
Price distance from last touch
Maximum price deviation (above/below EMA) between touches
Time spent above/below EMA
Tables for Quick Visual Summary:
Info Table: Live details about last and first touches, distance from touch, bars above/below, peak movements since last touch
Stats Table: Averages and extreme values for price behavior patterns across recent history
Core Metrics Tracked
Last Touch Price: The last price level where price touched the EMA
Distance from Last Touch: Current % change from the last touch price
Time Between Touches: Average and maximum intervals (in bars or time) between touch events
Max Distance Above/Below: Peak movement above/below EMA between touches
Bars Above/Below: How long price stayed above/below the EMA since last touch
Peak This Cycle: Max deviation above/below in current cycle since last touch
How It Works
Reverso monitors each bar to check if price intersects the selected EMA.
When a new touch occurs, it records the touch price and time, and resets the tracking cycle.
From that point forward, it tracks how far and how long price drifts above or below the EMA.
This process repeats with each new touch, building a detailed profile of how price behaves around the moving average.
The result is a visual and statistical framework for understanding price memory, market rhythm, and mean-reversion opportunities.
Customization Options
EMA Length: Choose from EMA 9, 20, or 50
Show MA Line: Toggle the EMA plot on the chart
Show Info Table: Enable/disable the current-touch summary
Show Statistics Table: Show aggregate data over the history
Table Positioning: Customizable placement for both tables
MA Color: Select custom color for EMA plot
Intended Use Cases
Identify reversal or continuation setups near EMAs
Validate strategies relying on mean reversion
Backtest the consistency of price respect to EMAs
Detect periods of volatility clustering around EMAs
Notes and Disclaimers
This script does not repaint: calculations are made on confirmed bars.
This indicator is educational in nature and should be used alongside other forms of analysis.
Time durations in the tables are approximated using bar timing and may vary across markets/timeframes.
SD Levels"SD Levels", is a powerful tool for technical analysis that automatically calculates and plots key price levels based on the price action within a user-defined time range. It functions by identifying a specific trading session, calculating the midpoint and half the range of that session's price action, and then using these values as a baseline and a standard deviation equivalent to project a series of customizable Fibonacci-style levels into the future.
These projected levels can act as potential support and resistance zones, helping traders identify significant price areas where the market might react. The indicator is highly customizable, allowing users to tailor its functionality and appearance to their specific trading strategies.
Key Features
• User-Defined Time Range: You can specify a particular time window (e.g., the first three hours of the New York session) and a corresponding timezone. The indicator will base all its calculations on the high, low, and closing prices within this defined period each day.
• Standard Deviation-Based Levels: The core of the indicator is its use of a "standard deviation" value, which is calculated as half the range (High - Low) of the specified session. The baseline, or "0" level, is the midpoint of this range.
• Customizable Fibonacci Levels: The script allows for the plotting of up to 11 distinct levels, each defined by a multiplier of the calculated standard deviation. Users have complete control over:
o The level's multiplier value.
o Whether the level is displayed.
o The color, style (solid, dashed, dotted), and thickness of the level line.
o The option to display a text label for each level.
• Mirrored Levels: An option is available to automatically "mirror" each level on the opposite side of the baseline. For example, if you have a level at 1.5 standard deviations above the baseline, enabling the mirror function will also plot a corresponding level at -1.5 standard deviations below it.
• Visual Customization: Beyond individual line styles, you can adjust the overall appearance of the levels, including:
o Adding a transparent background fill between the levels to enhance visibility.
o Adjusting the padding (extension) of the level lines to the right of the chart.
o Controlling the size of the labels and choosing to display the level value, the price value, or both.
• Historical Analysis: The indicator can display these calculated levels for a user-specified number of previous days, allowing for back-testing and analysis of how price has historically interacted with these zones.
How It Works
1. Session Identification: The indicator first identifies the bars on the chart that fall within the user-defined Range Time and Timezone.
2. Range Calculation: During this identified session, it records the highest high and the lowest low.
3. Baseline and Deviation Calculation: At the end of the session, it calculates two critical values:
o Baseline: The midpoint of the session's range, calculated as (range_high + range_low) / 2. This serves as the 0 level.
o Standard Deviation Value: Half of the session's total range, calculated as (range_high - range_low) / 2.
4. Level Plotting: Using the baseline and the standard deviation value, the indicator calculates and plots the various user-defined Fibonacci levels. For instance, a level with a multiplier of 2.0 would be plotted at baseline + (2 * stdev_val).
5. Drawing and Extension: The calculated levels are drawn starting from the beginning of the session and are extended forward in time, updating with each new bar. This allows traders to see how the current price is interacting with the levels derived from the earlier session.
In essence, the "SD Levels" indicator provides a structured and automated way to identify and visualize significant, data-driven price levels based on the volatility and price action of a specific, important trading period.
NQ Hourly Stats - Detailed Prob (24h)Hourly Sweep Statistics - Probability Engine (Credits to nqstats.com)
Overview
This indicator is a powerful statistical tool designed for intraday traders, particularly those focused on session-based patterns and mean reversion strategies. It automatically tracks the previous hour's high, low, and open, and when a sweep of the high or low occurs, it instantly displays the historical probability of the price returning to the hourly open within that same hour.
The core of this indicator is a comprehensive probability model built on historical price data, providing traders with an objective, data-driven edge.
Key Concepts
The indicator operates on a simple but effective premise: after the high or low of the previous hour is taken, what is the statistical likelihood that price will revert back to the opening price of the current hour?
• Previous Hour High (PHH) & Previous Hour Low (PHL): These levels often act as key liquidity zones. A sweep of these levels can signify either a stop run before a reversal or the start of a strong continuation.
• Return to Open: This is a classic mean-reversion concept. The indicator quantifies the probability of this event happening based on the exact time the sweep occurs.
• Time-Based Probability: The probability of returning to the open is not static; it changes depending on when the sweep happens. A sweep in the first 5 minutes of the hour has a different statistical outcome than a sweep in the last 5 minutes. This indicator accounts for that variance by breaking down the hour into 12 distinct 5-minute buckets.
How It Works
1. Automatic Level Plotting: At the start of each new hour, the indicator automatically draws three lines on your chart:
o The Previous Hour's High (Teal, solid line)
o The Previous Hour's Low (Maroon, solid line)
o The Current Hour's Open (Gray, dotted line)
2. Sweep Detection & Labeling: The script constantly monitors price action. The moment the current price action sweeps (touches or breaks) the PHH or PHL, a label appears.
o High Sweep: A label will appear above the PHH line.
o Low Sweep: A label will appear below the PHL line.
3. Information-Rich Labels: Each label provides crucial, real-time information:
o Direction: "Took PHH" or "Took PHL".
o Time: The exact time (@ HH:MM) the sweep occurred.
o Probability: The historical probability ("Prob to Open: XX.XX%") of price returning to the hourly open after that specific sweep.
4. Dynamic Color-Coding: The labels are color-coded for at-a-glance interpretation:
o Green: High probability (>70%) - Strong statistical likelihood of returning to the open.
o Orange: Medium probability (40%-70%) - Neutral/moderate likelihood.
o Red: Low probability (<40%) - Weak statistical likelihood of returning to the open; may suggest trend continuation.
How to Use in Your Trading
This indicator is not a standalone signal generator but a powerful confluence tool to enhance your decision-making.
• Mean Reversion Setups: When a sweep occurs and a high-probability (green) label appears, it can serve as strong confirmation for a mean-reversion trade. You can look for entries on a lower timeframe, targeting the hourly open.
• Trend Continuation Setups: If a sweep generates a low-probability (red) label, it suggests that the move has strength and is less likely to reverse. This can be used to validate a breakout or trend-following strategy, or to avoid taking a counter-trend trade.
• Filtering Trades: Use the probabilities to filter your existing setups. You might choose to only take reversion trades when the probability is above a certain threshold (e.g., 70%) or avoid them entirely when the probability is low.
Features & Customization
• Full 24-Hour Data: The statistical model includes data for all 24 hours of the day, making it useful for trading any session (Asia, London, New York).
• Timezone Setting: Ensure you set the Chart Timezone input to match your chart's timezone (e.g., 'America/New_York') for the probabilities to be accurate.
• Custom Colors: All line colors are fully customizable to match your chart's theme.
Disclaimer: This indicator is based on historical statistics and does not guarantee future results. It should be used as part of a comprehensive trading plan that includes proper risk management. Always do your own research and backtesting.
Order Blocks Pro (SMC + TP/SL + Panel)An advanced Smart Money Concepts (SMC) script for TradingView that identifies Order Blocks, liquidity zones, structure breaks (CHOCH/BOS), and Fair Value Gaps (FVG). It features automatic entries (aggressive and confirmed), dynamic Take Profit (TP) and Stop Loss (SL) levels, and a visual panel showing key market conditions. Designed for traders seeking institutional-level precision and optimized entries based on structure, HTF wicks, and price behavior.