Teril Second Candle Cross Alert (Intrabar)Teril Second Candle Cross Alert
Teril Second Candle Cross Alert
Teril Second Candle Cross Alert
Teril Second Candle Cross Alert
Padrões gráficos
Terilss final EMA 20 Body Cross + 1:1 RR AlertEMA 20 Body Cross
EMA 20 Body Cross
EMA 20 Body Cross
EMA 20 Body Cross
Smart Money Concepts [LuxAlgo]-fixedSmart Money Concepts -fixed, not working intially but modified to get this script working.
teril final Second Candle Cross Alert (Intrabar) before closeteril final Second Candle Cross Alert (Intrabar) before close
teril final Second Candle Cross Alert (Intrabar) before close
teril final Second Candle Cross Alert (Intrabar) before close
teril final Second Candle Cross Alert (Intrabar) before close
Lipsius Pure Momentum (1m/5m/15m/1h)Description:
Overview This script provides a complete, mechanical scalping strategy designed for 5m, 10m, and 15m timeframes. It combines trend filtering with momentum confirmation to identify high-probability entries while keeping you out of choppy markets.
It features a Real-Time Dashboard that tells you the current market state at a glance: Bullish, Bearish, or Neutral.
How it Works (The Logic) The strategy is built on three core pillars:
EMA 200 (Trend): Determines the long-term direction.
VWAP (Volume/Value): Acts as the dynamic "fair value" level.
RSI (Momentum): Measures the strength of the move.
Entry Rules
LONG Signal (Green 'L'):
Price must be ABOVE both the EMA 200 and the VWAP.
RSI must be healthy (oversold enough to have room to grow).
Trigger: RSI crosses above the 50-line.
SHORT Signal (Red 'S'):
Price must be BELOW both the EMA 200 and the VWAP.
RSI must be healthy (not already oversold).
Trigger: RSI crosses below the 50-line.
NO TRADE (Neutral):
If the price is trapped between the EMA and VWAP, the dashboard will show NEUTRAL. This is a chop zone—do not trade.
Features
Asset Class Switcher: Select "Crypto" (uses standard Volume VWAP) or "Forex" (uses a fallback calculation if volume data is missing) in the settings.
Live Dashboard: Displays the status of the EMA, VWAP, RSI, and the final Trading Bias (Seek Long / Seek Short).
Timeframe Monitor: The dashboard warns you (Orange color) if you are not on the recommended 5m, 10m, or 15m charts.
Settings
EMA Length: 200 (Default)
RSI Length: 14 (Default)
Asset Class: Toggle between Crypto and Forex.
Terilsss Second Same Color Candle Break AlertSecond Same Color Candle Break Alert
Second Same Color Candle Break AlertSecond Same Color Candle Break Alert
Second Same Color Candle Break Alert
Second Same Color Candle Break Alert
Second Same Color Candle Break Alert
Crypto MMFCrypto MMF Indicator:
The Crypto Money Flow (MMF) indicator represents an advanced technical analysis tool specifically designed for cryptocurrency markets. This document outlines the logical foundation for its component integration, explains the synergistic mechanisms between its constituent elements, and provides practical implementation guidance without making unrealistic performance claims.
Integration Rationale
Volume-Weighted Momentum Analysis
The primary integration rationale combines price momentum with trading volume—two fundamental market dimensions frequently analyzed in isolation. Traditional momentum oscillators like RSI measure price velocity but ignore transaction volume, potentially misrepresenting conviction behind price movements. By multiplying price changes by corresponding volume, the indicator creates a conviction-weighted momentum measure that distinguishes between high-volume breakouts and low-volume price fluctuations.
The theoretical foundation for this integration stems from market microstructure theory, which posits that volume accompanies informed trading. In cryptocurrency markets—where volatility is pronounced and manipulation attempts occur—volume confirmation provides valuable filtering of meaningful price movements from noise.
Multi-Timeframe Momentum Convergence
The second integration layer incorporates higher timeframe analysis, acknowledging that markets function across temporal hierarchies. While shorter timeframes offer precision for entry and exit timing, longer timeframes establish directional bias and filter out insignificant counter-trend movements. This multi-timeframe approach follows established technical analysis principles that prioritize trend alignment across time horizons.
This integration is particularly relevant for cryptocurrency traders, as these markets exhibit strong momentum characteristics where higher timeframe trends often dominate shorter-term fluctuations. The higher timeframe component serves as both a trend filter and early warning system for momentum divergences.
Component Synergy Mechanism
Core Calculation Components
Price-Volume Integration Engine
The indicator begins by calculating the average of open, high, low, and close prices (OHLC4), providing a balanced price representation less susceptible to intra-period anomalies. This value undergoes differencing to establish direction, then multiplies by volume to create volume-weighted momentum values. This transformation produces two separate data streams: upward volume-weighted momentum and downward volume-weighted momentum.
Exponential Smoothing Application
Both momentum streams undergo exponential smoothing using Wilder's Relative Moving Average methodology. This approach applies greater weight to recent observations while maintaining memory of historical patterns, striking an optimal balance between responsiveness and noise reduction. The smoothed upward and downward momentum values create a ratio representing the relative strength between buying and selling pressure.
Normalization Process
The momentum ratio undergoes mathematical normalization to produce a bounded oscillator ranging from 0 to 100. This normalization enables consistent interpretation across different market conditions, timeframes, and cryptocurrency pairs, establishing standardized overbought and oversold thresholds.
Multi-Timeframe Synchronization System
Hierarchical Timeframe Calculation
The indicator dynamically determines appropriate higher timeframes based on user-defined multipliers and current chart intervals. This automated calculation eliminates manual timeframe selection errors while ensuring logical temporal relationships between analyzed periods.
Cross-Timeframe Data Retrieval
A secure data retrieval mechanism accesses higher timeframe momentum calculations without introducing future bias or repainting. This process maintains data integrity while enabling direct comparison between current and higher timeframe momentum conditions.
Higher Timeframe Smoothing Layer
An additional exponential moving average smooths the higher timeframe data, reducing noise and creating a stable reference signal for divergence analysis. This smoothing parameter is independently adjustable, allowing users to balance sensitivity and stability according to their trading style.
Signal Generation Framework
Threshold-Based Zone Analysis
The indicator establishes three operational zones based on statistical observations of momentum extremes:
Neutral zone (25-75): Represents balanced market conditions
Lower extreme zone (0-25): Indicates potential oversold conditions
Upper extreme zone (75-100): Indicates potential overbought conditions
These threshold levels derive from empirical observations of momentum oscillator behavior in trending and ranging cryptocurrency markets, though optimal values may vary across different market regimes.
Conditional Signal Categorization
The system monitors four distinct momentum conditions:
Initial extreme readings: Momentum enters extreme zones without confirmation
Confirmed extremes: Smoothed momentum follows into extreme zones
Multi-timeframe alignment: Current and higher timeframe momentum move in concert
Multi-timeframe divergence: Current and higher timeframe momentum diverge
Each condition category carries different interpretive implications, with stronger signals emerging when multiple conditions converge.
Practical Implementation Guidelines
Functional Applications
Trend Confirmation Protocol
When price trends directionally with momentum maintaining consistent readings above or below the midpoint (50), and higher timeframe momentum confirms the direction, this suggests sustainable trend conditions. The volume-weighting component further validates whether significant trading activity supports the price movement.
Divergence Detection Methodology
Three divergence types merit monitoring:
Classic divergence: Price reaches new extremes while momentum fails to confirm
Hidden divergence: Price retraces within a trend while momentum suggests trend continuation
Timeframe divergence: Momentum moves opposite directions across timeframes
Divergence analysis proves most reliable when occurring in conjunction with other technical factors such as support/resistance levels or chart patterns.
Zone-Based Risk Assessment
The oscillator's bounded nature facilitates structured risk assessment:
Extreme zone entries: Higher potential reward but require confirmation
Neutral zone movements: Lower signal clarity but potentially favorable risk-reward ratios
Zone transitions: Often precede accelerated price movements
Parameter Configuration Philosophy
Core Parameter Settings
The default parameters balance responsiveness and reliability across diverse cryptocurrency market conditions. The 14-period calculation length aligns with conventional momentum oscillator standards, providing sufficient data for meaningful smoothing while maintaining sensitivity to recent market developments.
Multi-Timeframe Multiplier Selection
The default 3x multiplier creates meaningful temporal separation without introducing excessive lag. This multiplier proves particularly effective for swing trading horizons, though position traders may benefit from larger multipliers while shorter-term traders might reduce this value.
Smoothing Parameter Considerations
Dual smoothing parameters (primary and higher timeframe) allow independent adjustment of sensitivity. More volatile cryptocurrency pairs typically benefit from increased smoothing, while less volatile conditions may permit reduced smoothing for earlier signal generation.
Interpretation Protocol
Step 1: Momentum Context Assessment
Begin analysis by determining the current momentum context:
Absolute level relative to threshold zones
Direction and velocity of recent momentum changes
Relationship to the midpoint (50) level
Step 2: Timeframe Alignment Evaluation
Compare current and higher timeframe momentum:
Confirm directional alignment for trend trading
Identify divergences for potential reversal scenarios
Assess convergence strength for position sizing decisions
Step 3: Volume Confirmation Analysis
Evaluate whether recent volume patterns support momentum readings:
Extreme momentum with declining volume: Caution warranted
Neutral momentum with increasing volume: Potential breakout precursor
Confirmed momentum with expanding volume: Higher conviction signal
Step 4: Market Context Integration
Correlate momentum readings with broader market context:
Correlated cryptocurrency movements
Overall market capitalization trends
Relevant news or fundamental developments
Originality and Differentiation
Innovative Design Elements
Volume-Integrated Momentum Calculation
Unlike conventional momentum oscillators that analyze price in isolation, this indicator integrates volume as a conviction multiplier. This integration follows logical market principles where volume validates price movements, creating a more robust momentum assessment particularly valuable in cryptocurrency markets where volume manipulation attempts occasionally occur.
Dynamic Timeframe Adaptation
The automated timeframe calculation system eliminates manual timeframe selection while ensuring logical temporal relationships. This approach reduces user error and maintains consistency across different charting intervals and trading instruments.
Multi-Layer Confirmation Framework
The indicator employs three analytical layers: raw momentum, smoothed momentum, and higher timeframe momentum. This layered approach provides graduated confirmation levels, allowing traders to distinguish between preliminary signals and confirmed conditions.
Theoretical Foundations
The indicator's design incorporates elements from multiple technical analysis disciplines:
Momentum analysis principles from oscillator theory
Volume-price relationships from market microstructure
Multi-timeframe analysis from hierarchical trend theory
Statistical normalization from quantitative analysis
This interdisciplinary approach creates a comprehensive tool addressing multiple dimensions of market analysis rather than focusing on isolated phenomena.
Risk Management Integration
Signal Quality Assessment
The indicator facilitates signal quality evaluation through multiple confirmation requirements:
Primary momentum extreme reading
Smoothed momentum confirmation
Higher timeframe alignment or constructive divergence
Supporting volume characteristics
Signal strength varies with the number of confirmed elements, enabling proportionate position sizing and risk allocation.
False Signal Mitigation
Several design elements reduce false signal susceptibility:
Volume-weighting filters low-conviction price movements
Exponential smoothing reduces noise-induced fluctuations
Multi-timeframe analysis filters counter-trend movements
Graduated confirmation requirements prevent premature action
These mechanisms collectively improve signal reliability while acknowledging that no technical indicator eliminates false signals entirely.
Implementation Considerations
Cryptocurrency Market Specificity
The indicator incorporates design elements particularly relevant to cryptocurrency markets:
24/7 market operation accommodation
High volatility regime compatibility
Volume data availability considerations
Cross-market correlation awareness
These adaptations enhance effectiveness in cryptocurrency trading environments while maintaining applicability to traditional financial markets.
Customization Guidelines
Users may adjust parameters based on:
Trading timeframe (scalping, day trading, swing trading)
Cryptocurrency pair characteristics (volatility, volume profile)
Risk tolerance and trading style
Market regime (trending, ranging, transitional)
Empirical testing across different parameter sets and market conditions provides the most reliable customization guidance.
Conclusion
The Crypto MMF indicator represents a logically integrated analytical tool combining volume-weighted momentum analysis with multi-timeframe perspective. Its component synergy creates a comprehensive market assessment framework while maintaining practical implementation feasibility. Users should integrate this tool within broader trading methodologies, combining its signals with additional technical, fundamental, and risk management considerations.
The indicator's value derives from its structured approach to market analysis rather than predictive capabilities. By providing organized information about momentum, volume relationships, and timeframe interactions, it supports informed trading decisions within appropriate risk parameters.
ORB FOR WINNERSMarks out the highs and lows for the first 15m candle or the first 1H candle for Asia, London & NY Session
Crypto Dual MA Signal EditionCrypto Dual MA Signal Edition - Comprehensive Technical Analysis Indicator
Overview
The Crypto Dual MA Signal Edition is a sophisticated technical analysis indicator specifically designed for cryptocurrency markets, combining trend-following and momentum analysis systems into a unified framework. This indicator integrates multiple proven technical analysis concepts to provide comprehensive market insights while maintaining clear, actionable signals.
Integration Rationale & Component Synergy
1. Dual EMA Trend System + Stochastic RSI Convergence
Integration Basis: Trend-following indicators (EMA) work effectively when combined with momentum oscillators (Stochastic RSI) to filter false signals and confirm trend strength.
Synergy Mechanism:
The dual EMA system (12/25 periods) identifies primary trend direction
Stochastic RSI (14-period) provides overbought/oversold readings within that trend
Trend signals are only confirmed when both systems align, reducing whipsaws
EMA crossovers provide entry signals, while Stochastic RSI validates momentum
2. MA Filter Integration
Integration Basis: Longer-term moving averages act as trend filters to avoid trading against established market direction.
Synergy Mechanism:
200-period MA (configurable type: EMA/SMA/WMA) serves as trend benchmark
Long positions only triggered above 200-MA in bullish trends
Short positions only triggered below 200-MA in bearish trends
Provides multi-timeframe confirmation to intraday signals
3. Background Highlight System
Integration Basis: Visual cues enhance signal recognition and emphasize critical market conditions.
Synergy Mechanism:
Background colors highlight Stochastic RSI events without cluttering price chart
Different colors for different signal types (middle cross, overbought/oversold, level breaks)
Works in parallel with other systems, providing additional context without interference
Component Functions & Operational Principles
Core Components:
Dual EMA System
Fast EMA (12): Quick trend changes
Slow EMA (25): Confirmed trend direction
Mode: Switchable between dual EMA display and single EMA
Signal generation based on EMA positioning and consecutive bars
Stochastic RSI System
Combines RSI momentum with stochastic oscillator principles
Triple-smoothed (RSI → Stochastic → K/D smoothing)
Predefined levels: 80 (overbought), 50 (middle), 20 (oversold)
Multiple cross types for different market conditions
Signal Generation Logic
Consecutive count mechanism for trend persistence
"B" signals: Initial bullish EMA alignment
"S" signals: Initial bearish EMA alignment
Candlestick coloring for visual trend representation
Alert Systems
EMA cross alerts for major trend changes
Stochastic RSI cross alerts for momentum shifts
Separate alerts for different signal categories
Practical Usage Guidelines
For Trend Traders:
Primary Trend Identification: Use EMA positioning relative to 200-MA
Entry Timing: Wait for "B" or "S" signals confirmed by Stochastic RSI alignment
Trend Continuation: Monitor consecutive bar counts and candlestick colors
Exit Signals: Watch for opposing signals or Stochastic RSI divergence
For Range/Swing Traders:
Overbought/Oversold Levels: Stochastic RSI extremes (below 20/above 80)
Middle Crosses: Stochastic RSI crosses around 50 level
EMA Filter: Use 200-MA as support/resistance reference
Customization Options:
Adjust EMA periods for different trading styles
Modify Stochastic RSI parameters for sensitivity
Enable/disable background highlights based on preference
Select MA type and period for trend filtering
Originality & Unique Features
Distinctive Integration:
Consecutive Count System: Tracks trend persistence beyond simple crossovers
Unified Signal Display: Combines letters ("B"/"S"), candlestick colors, and background highlights
Flexible EMA Modes: Switch between dual and single EMA displays
Comprehensive Filtering: EMA alignment, MA position, and momentum confirmation
Practical Design Choices:
Color Scheme: Blue for bullish, orange for bearish (clear differentiation)
Signal Prioritization: Initial signals marked with letters, trends with colors
Multi-layer Validation: Three-tier confirmation system (EMA + Stochastic + MA filter)
Clean Visualization: Information-rich display without chart clutter
Important Disclaimers & Limitations
Realistic Expectations:
This indicator provides signals, not guarantees
All technical indicators have inherent lag
Market conditions change; no system works perfectly in all environments
Cryptocurrency markets exhibit high volatility and unpredictable behavior
Proper Usage:
Never rely solely on one indicator for trading decisions
Always use appropriate risk management and position sizing
Consider fundamental factors and market context
Test thoroughly on historical data before live implementation
Adjust parameters to match specific cryptocurrency pairs and timeframes
Development Philosophy
This indicator was developed with these principles:
Evidence-Based: Components based on widely researched technical concepts
Practical Focus: Designed for actual trading use, not theoretical perfection
User-Centric: Customizable to individual preferences and trading styles
Transparent: Clear logic without "black box" calculations
Final Recommendations
For optimal results:
Start with default parameters on major cryptocurrency pairs (BTC, ETH)
Adjust Stochastic RSI sensitivity for altcoins with different volatility profiles
Use higher timeframes (4H, Daily) for primary trend analysis
Combine with volume analysis and market structure for confirmation
Regularly review and adjust settings as market conditions evolve
The Crypto Dual MA Signal Edition provides a comprehensive toolkit for cryptocurrency analysis, but successful trading requires disciplined execution, continuous learning, and integrated risk management strategies.
EMA Squeeze Alert (ADR Filter)This indicators is for Pine Screener. You could use it on Pine Screener to filter out stocks with EMAs Convergence.
The EMAs used are EMA 9, EMA 12 and EMA 20.
When the current closing price is within 50% of 20-days ADR% from these three EMAs, it would give you an alert signal.
The way to use it is to apply it onto the Pine Screener.
You then select the watchlist you would like to filter out, and check the alert signal to True, and click scan.
If Condition is True, the candlesticks would have a green arrow below and the background is highlighted.
The script is published, feel free to amend it as you like
Have a Nice Day, and Trade Safe !
Rejection Block StrategiyaRejection Block Strategy. This indicator draws rejection blocks on the chart based on the strategy explained by VerumTrader. You can use the default settings or change the settings.
Trendlines with Breaks + Fib Lines ONLY15min and 3min fib line already marked 15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked15min and 3min fib line already marked
Simplified Zones + Styled CALL/PUT TP/SL + Fixed Scoreboardaarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice aarons practice
Daily Weekly Monthly ClosesFeatures:
Labels showing the close price for each period
Toggle visibility for day, week, and month closes
Customizable colors for each level
Adjustable line width and style (solid, dashed, dotted)
Labels appear on the right side of the chart
Multi-Layer Support Resistance & Auto TrendlineMulti-Layer Support Resistance & Auto Trendline (Multi-Timeframe Analysis)
Maximize your chart analysis with this advanced Support and Resistance (S/R) engine. This indicator automatically detects critical horizontal levels and diagonal trendlines across four different lookback periods, giving you a comprehensive view of market structure.
Why this indicator?
Universal Search Appeal: Ideal for traders looking for "Support and Resistance," "Auto Trendline," "Pivot Points," and "Gap Detection."
Multi-Layer Logic: Filters market noise by identifying levels from short-term scalping confirms to ultra-long-term historical walls.
Auto Trendlines: No more manual drawing. It automatically connects valid pivot highs and lows to visualize trend channels and breakouts.
Gap Analysis: Automatically marks "Windows" (Gaps) as high-priority zones, often acting as magnetic levels for future price action.
Cyberpunk Aesthetics: High visibility neon colors with customizable transparency to keep your chart professional yet intuitive.
How to trade: Focus on price action where multiple layers (e.g., a diagonal trendline and a long-term horizontal line) intersect. These "confluence zones" offer higher probability trade setups.
多層型サポート&レジスタンス+自動トレンドライン(マルチ分析エンジン)
「サポート・レジスタンス」「自動トレンドライン」「窓(ギャップ)検知」を一つに統合した、高度な相場分析ツールです。4つの期間(短期・中期・長期・超長期)から価格の壁と流れを自動的に抽出し、精度の高いトレード戦略をサポートします。
本インジケーターの強み:
高い検索親和性: 「サポレジ」「自動トレンドライン」「ピボット」「窓埋め」などの普遍的な要素を全て網羅しています。
4層の多角ロジック: ノイズの多い短期的な節目から、歴史的に意識される超長期の壁までを階層的に表示。
自動トレンドライン: 高値・安値の更新に合わせて斜めのラインを自動描画。トレンドの転換やブレイクアウトを瞬時に判断できます。
ギャップ(窓)検知: 窓が開いた重要価格帯を自動マーク。窓埋めや反発の根拠として利用できます。
洗練されたデザイン: 視認性の高いネオンカラーを採用しつつ、層ごとの透明度や太さを自由に調整可能。チャートの美しさと実用性を両立しました。
活用方法: 複数のライン(例:斜めのトレンドラインと長期水平線)が重なる「コンフルエンス(根拠の重なり)」に注目してください。そこが最も反発やブレイクが期待できる強力なエントリーポイントになります。
ICT Silver Only Toolkit (XAGUSD) No Baby ICTThis indicator is designed exclusively for Silver (XAGUSD) and applies core ICT concepts to help traders identify high-probability smart-money setups. It automatically plots the Asia session range, London and New York killzones, previous day high/low, equal highs and lows (liquidity pools), Asia liquidity sweeps, and ICT fair value gaps (FVGs).
The toolkit also includes “Do Nothing” warning labels to help traders avoid low-quality conditions such as trading outside killzones, extended pre-NY moves, or impulsive candles. Built for precision and patience, this indicator supports traders who wait for liquidity, displacement, and retracement rather than chasing price.
Best used on 1–15 minute charts during London and New York sessions.
No indicators for bias guessing. No scalping gimmicks. Just clean ICT structure for Silver.
Full Dashboard V20 - Pro PA & Stoch OVB/OVS StatusTable (Multi timefram)
- show Trend
- show rsi
- show Stoch
- show prev candle (default hide)
- show curr candle (default hide)
- shows the time when the candlestick will close.
--can config show/hide all column
Graph
- show rsi 89/21
Signal
- show signal with tp/sl (default hide)
Full Dashboard V18 - Pro PA & Column CustomizationTable (Multi timefram)
- show Trend
- show rsi
- show Stoch
- show prev candle (default hide)
- show curr candle (default hide)
- shows the time when the candlestick will close.
- can config show/hide all column
Graph
- show rsi 89/21
Signal
- show signal with tp/sl (default hide)
XAUUSD Psych Zones (0/25/50/75)This indicator plots psychological quarter levels on XAUUSD (0 / 25 / 50 / 75) and highlights them as tradable zones.
Each level is displayed as a horizontal zone with a midpoint line, designed for support & resistance, break-and-retest, and reaction-based trading on gold.
Zones extend across the chart and are sized using a custom pip definition (default: 1 pip = 1.00, ±5 pips each side).
Crypto Precision Signals "Crypto Precision Signals - Reliable" Script Comprehensive Documentation
This document aims to clearly and objectively explain the functional principles, design logic, and usage methods of the "Crypto Precision Signals - Reliable" Pine Script. We adhere to principles of transparency and pragmatism. All descriptions are based on publicly available technical analysis theories, and we make no promises regarding any definitive profit performance. Final trading decisions should be made independently by the user based on comprehensive market analysis.
I. Core Design Philosophy and Originality
The originality of this script lies not in creating new analytical indicators, but in constructing a decision-making framework based on multi-dimensional condition confluence and systematic risk control. Its core philosophy is: a signal from a single indicator has limited reliability, whereas signals from different analytical dimensions (trend, momentum, overbought/oversold levels, market participation) can, when converging under specific rules, potentially identify higher-probability trading environments. Furthermore, the script encourages more disciplined trading through mandatory cooldown mechanisms and visual state tracking.
II. Detailed Explanation of Integration Rationale and Synergistic Operation Mechanism
The script integrates four classic technical elements, and their selection and combination have clear logical justification:
1. Trend & Momentum Foundation Layer: MACD
Integration Rationale: MACD is a classic tool for identifying trend direction, momentum strength, and potential turning points. The crossover of its fast and slow lines is an intuitive representation of momentum change, providing the initial "action signal" for the system.
Synergistic Mechanism: In this script, a MACD golden cross or death cross is one of the primary conditions for triggering a potential buy or sell signal. It acts as the system's "engine," responsible for identifying the initiation of market momentum.
2. Overbought/Oversold & Auxiliary Trigger Layer: RSI
Integration Rationale: RSI measures the speed and magnitude of price changes to gauge overbought or oversold market conditions. It complements the trend-following MACD by providing reference points for market sentiment extremes.
Synergistic Mechanism: The script innovatively sets RSI extremes (<30 oversold, >70 overbought) as trigger conditions parallel to MACD crossovers. This means the system can capture not only trend initiation points but also potential reversal opportunities from extreme sentiment (e.g., a buy point after a pullback to key support within an uptrend due to short-term oversold conditions). MACD and RSI together form a dual-trigger engine of "trend momentum" and "market sentiment."
3. Trend Filter Layer: 50-Period Simple Moving Average (SMA)
Integration Rationale: "Trading with the trend" is a core tenet of technical analysis. The SMA-50 is widely used as a benchmark for medium-term trends.
Synergistic Mechanism: This layer acts as a strict "direction filter." All potential signals generated by MACD or RSI must pass the SMA-50 test:
Buy Signal: The current price must be above the SMA-50, ensuring the trade attempt aligns with the potential medium-term uptrend.
Sell Signal: The current price must be below the SMA-50, ensuring the trade attempt aligns with the potential medium-term downtrend.
This mechanism effectively filters out numerous counter-trend, high-risk reversal attempts, focusing the system on "trading with the major trend" opportunities.
4. Volume Confirmation Layer: Dynamic Volume Average
Integration Rationale: Volume is key to gauging market participation and the authenticity of price movements. Price breakouts or signals lacking volume support are often weak.
Synergistic Mechanism: This is the key validation layer of the script. The system calculates a 30-period average volume and allows users to set a multiplier (default 2.0). A signal is only finally confirmed when the trigger condition (from MACD or RSI) occurs simultaneously with the current bar's volume being significantly higher than the recent average (i.e., a "volume spike"). This validation ensures the signal is supported by broad market participation, aiming to increase the signal's credibility and reduce "false breakouts" or whipsaws caused by low liquidity.
Synergistic Operation Summary:
The script operates like a multi-stage screening funnel:
Signal Trigger: Initiated by a MACD crossover or RSI entering an extreme zone.
Preliminary Trend Screening: The price location of the trigger signal must pass the SMA-50 trend filter (buy above, sell below).
Energy Validation: Concurrently with the above conditions, a volume spike must provide confirmation.
Final Output: Only when all conditions are met simultaneously is a visual "BUY" or "SELL" label generated.
III. Control & Auxiliary Layers: Enhancing Disciplined Use
Beyond the signal generation logic, the script includes two original designs to enhance practicality:
Signal Frequency Controller (Cooldown Period):
Mechanism: After generating a valid signal, the system enters a user-adjustable "cooldown period" (default 5 bars). No new signals of the same type will be generated during this period.
Purpose: Forces a reduction in trading frequency, prevents signal overload during high volatility or ranging markets, encourages waiting for higher-quality, more spaced-out opportunities, and helps avoid emotional overtrading.
Visual State Tracker (Bar Coloring):
Mechanism: The system internally tracks the state of the last valid signal (buy or sell). After a buy signal, subsequent bars are tinted light blue; after a sell signal, subsequent bars are tinted light orange, until the next opposing signal appears.
Purpose: Provides the user with an intuitive visual reference for the "signal validity period" or "observation phase," helping to quickly identify which stage the market is in according to the system's logic and assisting in gauging market rhythm.
IV. Functional Purpose and Usage Method
Core Purpose: Serves as an auxiliary decision-making tool for swing trading or trend-pullback entries, suitable for timeframes of 1 hour and above. It filters for potential trade nodes that combine trend alignment, momentum, sentiment, and capital interest through multi-condition confluence.
Usage Process:
Loading: Add the script to a TradingView chart.
Observation: Watch for "BUY/SELL" labels confirmed by a "volume spike" and aligned with the trend direction.
Analysis: Never treat signals as direct trading orders. Always analyze the signal within the broader market context:
Check if the signal occurs near key support or resistance levels.
Observe the candlestick patterns (e.g., Pin Bar, Engulfing patterns) on the signal bar and its vicinity.
Assess the overall market structure on higher timeframes.
Decision & Risk Control: Only consider using the signal as an entry reference if it aligns with conclusions from your other analysis tools. Any trade must have a clearly defined stop-loss level set in advance and proper position sizing/risk management.
V. Important Disclaimer
This script is a technical analysis辅助 tool. Its signals are calculated based on historical data and mathematical formulas. Financial markets carry inherent risks, and past performance is in no way indicative of future results. Users must understand that all trading decisions carry the possibility of loss. The developer assumes no responsibility for any trading activities conducted by users based on this script or their outcomes. Please use it prudently under a full understanding of its logic and associated risks.
MVRV Ratio Indicator [captainua]MVRV Ratio Indicator - Market Value to Realized Value Ratio
Overview
This professional indicator calculates and visualizes the MVRV (Market Value to Realized Value) ratio (raw, non-Z-score) with optional MVRV-Z overlay, comparing current market capitalization to realized capitalization to help identify potential market tops and bottoms for cryptocurrency markets.
Unlike MVRV-Z which normalizes the ratio using standard deviation (creating a Z-score), the raw MVRV ratio provides direct comparison between market cap and realized cap. This indicator enhances the raw ratio with historical percentile bands, percentile rank calculation, divergence detection, historical event logging, dynamic color gradients, enhanced visualization options, optional MVRV-Z comparison, and NEW advanced metrics including Risk Score, MVRV Momentum, Time in Zone tracking, and Price Target calculations.
NEW Features in This Version:
• Risk Score (0-100): Composite indicator based on MVRV level and percentile rank for instant risk assessment
• MVRV Momentum: Rate of change indicator showing trend direction (↑ Increasing, ↓ Decreasing, → Flat)
• Time in Zone: Tracks how long MVRV has been in the current zone (top/bottom/neutral) in bars
• Price Targets: Calculates price levels at key MVRV thresholds (fair value, top, bottom)
• Input Validation: Warns about invalid parameter combinations (e.g., extreme thresholds out of order)
• Multiple Smoothing Options: SMA, EMA, WMA, RMA for noise reduction
• Performance Optimized: Cached request.security() calls, ta.percentrank() for efficiency
• Human-Readable Timestamps: Event log now shows dates (YYYY-MM-DD) instead of bar indices
Core Calculations
MVRV Ratio Calculation:
The script calculates MVRV ratio using the standard formula: MVRV Ratio = Market Cap / Realized Cap. This formula provides a direct ratio without normalization, showing how many times the current market cap exceeds (or falls below) the realized cap.
Market Capitalization (Market Cap): The total market value of all coins in circulation, calculated as current price × circulating supply. This represents the market's current valuation of the asset.
Realized Capitalization (Realized Cap): The sum of the value of each coin when it last moved on-chain, representing the average cost basis of all coins.
Raw Ratio Interpretation:
- Ratio > 3.5: Extreme overvaluation (market cap significantly above realized cap)
- Ratio 2.5-3.5: Moderate overvaluation
- Ratio 1.0-2.5: Fair value to moderate overvaluation
- Ratio 0.8-1.0: Fair value to moderate undervaluation
- Ratio < 0.8: Undervaluation (market cap close to or below realized cap)
Risk Score (NEW):
Composite risk indicator ranging from 0-100:
- 80-100: Very High Risk (extreme overvaluation)
- 60-80: High Risk (overvaluation)
- 40-60: Moderate Risk (fair value range)
- 20-40: Low Risk (undervaluation)
- 0-20: Very Low Risk (extreme undervaluation)
The risk score uses percentile rank when available, or normalizes MVRV ratio to the 0-100 scale based on configured thresholds.
MVRV Momentum (NEW):
Rate of change indicator showing trend direction:
- ↑ Increasing: MVRV ratio rising (momentum > 0.01)
- ↓ Decreasing: MVRV ratio falling (momentum < -0.01)
- → Flat: MVRV ratio stable
- Displays percentage change over configurable period (default: 14 bars)
Time in Zone (NEW):
Tracks duration in current zone:
- Top Zone: Bars spent above top threshold (3.5)
- Bottom Zone: Bars spent below bottom threshold (0.8)
- Neutral Zone: Bars spent between thresholds
- Resets when zone changes
- Helps identify prolonged extreme conditions
Price Targets (NEW):
Calculates price levels at key MVRV thresholds:
- Price @ Fair Value: Price when MVRV = 1.0
- Price @ Top Threshold: Price when MVRV = 3.5
- Price @ Bottom Threshold: Price when MVRV = 0.8
- Based on estimated realized price (current price / MVRV ratio)
Data Source Selection:
The indicator supports multiple data source options for maximum flexibility:
Glassnode (Recommended):
- Uses Glassnode Market Cap data
- Calculates MVRV from Market Cap / Realized Cap
- Symbol format: GLASSNODE:{TOKEN}_MARKETCAP
- Requires Glassnode data subscription
- Also requires CoinMetrics for Realized Cap
- Best for comprehensive analysis with MVRV-Z comparison
IntoTheBlock:
- Direct MVRV ratio data from IntoTheBlock
- Simplest option - no calculations required
- Works for BTC and other supported tokens
- Symbol format: INTOTHEBLOCK:{TOKEN}_MVRV
- Requires IntoTheBlock data subscription on TradingView
Historical Percentile Bands:
The indicator calculates rolling percentile bands over a configurable period (default: 500 bars):
- 5th Percentile: Very low historical values (extreme undervaluation range)
- 25th Percentile: Lower quartile (undervaluation range)
- 50th Percentile: Median (fair value center)
- 75th Percentile: Upper quartile (overvaluation range)
- 95th Percentile: Very high historical values (extreme overvaluation range)
Percentile bands use ta.percentile_nearest_rank() for efficient calculation.
Percentile Rank:
Percentile rank shows where the current MVRV ratio sits in the historical distribution (0-100%):
- 0-25%: Bottom quartile (undervaluation)
- 25-50%: Lower half (moderate undervaluation to fair value)
- 50-75%: Upper half (fair value to moderate overvaluation)
- 75-100%: Top quartile (overvaluation)
Now uses efficient ta.percentrank() instead of array-based calculation.
Input Validation (NEW):
The indicator validates input parameters and displays warnings for:
- Extreme High Threshold should be > Top Threshold
- Extreme Low Threshold should be < Bottom Threshold
- Min Lookback Range must be < Max Lookback Range
- Top Threshold should be > Moderate Overvalued
- Moderate Overvalued should be > Fair Value
- Fair Value should be > Bottom Threshold
- Rapid Increase Threshold should be > 0
- Rapid Decrease Threshold should be < 0
Smoothing Options (Enhanced):
Multiple smoothing types available:
- SMA: Simple Moving Average (equal weight)
- EMA: Exponential Moving Average (more weight to recent)
- WMA: Weighted Moving Average (linear weight)
- RMA: Running Moving Average (Wilder's smoothing)
Reference Levels
Overvalued (Potential Top) - 3.5:
The 3.5 level indicates potentially extreme overvaluation. When MVRV ratio exceeds this threshold:
- Market cap is significantly above realized cap
- Potential selling opportunities for profit-taking
- Risk of market corrections or reversals
- Risk Score typically >80 (Very High Risk)
Moderately Overvalued - 2.5:
The 2.5 level indicates moderate overvaluation:
- Market cap is above realized cap but not extreme
- Caution warranted but not necessarily sell signal
- Risk Score typically 60-80 (High Risk)
Fair Value - 1.0:
The 1.0 level indicates fair valuation:
- Market cap equals realized cap
- Balanced market conditions
- Risk Score typically 40-60 (Moderate Risk)
Undervalued (Potential Bottom) - 0.8:
The 0.8 level indicates potentially undervalued conditions:
- Market cap is close to or below realized cap
- Potential buying opportunities for accumulation
- Risk Score typically <40 (Low Risk)
Visual Features
MVRV Ratio Line:
The main indicator line displays the calculated MVRV ratio with dynamic color gradient:
- Bright Red: Extreme overvaluation (ratio ≥ top threshold + 0.5)
- Orange: High overvaluation (ratio ≥ top threshold)
- Cornflower Blue: Neutral/Fair value (around fair value level)
- Deep Sky Blue: Low/Undervaluation (ratio ≤ bottom threshold)
- Bright Green: Extreme undervaluation (ratio ≤ bottom threshold - 0.1)
Can also be displayed as histogram/bar chart.
Historical Percentile Bands:
Five percentile bands with optional fills:
- 5th Percentile (Blue): Very low historical range
- 25th Percentile (Blue): Lower quartile
- 50th Percentile (Gray): Historical median
- 75th Percentile (Orange): Upper quartile
- 95th Percentile (Red): Very high historical range
Reference Lines:
Horizontal reference lines at key levels (all customizable):
- Top Threshold (default 3.5): Purple/violet
- Moderate Overvalued (default 2.5): Orange
- Fair Value (1.0): Gray
- Bottom Threshold (default 0.8): Blue
Background Highlights:
Optional background color highlights:
- High Zone (Maroon/Red): MVRV ratio ≥ top threshold
- Low Zone (Green): MVRV ratio ≤ bottom threshold
Divergence Detection:
Advanced divergence detection between price and MVRV ratio:
- Regular Bullish Divergence: Price lower low + MVRV higher low
- Regular Bearish Divergence: Price higher high + MVRV lower high
- Hidden Bullish Divergence: Price higher low + MVRV lower low
- Hidden Bearish Divergence: Price lower high + MVRV higher high
- Visual markers with icons (🐂/🐻) and connecting lines
Historical Event Log (Enhanced):
Comprehensive event tracking:
- Tracks zone entries/exits, extreme values, cross events
- Now displays human-readable dates (YYYY-MM-DD) instead of bar indices
- Color-coded events (red for top/high, green for bottom/low)
- Configurable log size (5-50 events)
Information Table (Enhanced):
Comprehensive on-chart table with NEW metrics:
Current Values:
- MVRV Ratio: Current ratio value
- Percentile Rank: Position in historical distribution (0-100%)
- Risk Score (NEW): Composite risk indicator (0-100) with risk level
- Market Status: Current market condition
- Signal: Trading signal (Strong Buy/Buy/Hold/Sell/Strong Sell)
- MVRV Momentum (NEW): Trend direction with percentage change
- Time in Zone (NEW): Current zone and duration in bars
Price Information (Enhanced):
- Current Price: Current market price
- Est. Realized Price: Estimated realized price
- Price @ Fair Value (NEW): Price when MVRV = 1.0
- Price @ Top Threshold (NEW): Price when MVRV = 3.5
- Price @ Bottom Threshold (NEW): Price when MVRV = 0.8
Other Metrics:
- Percentile Bands: Range from 5th to 95th percentile
- MVRV-Z Score: Z-score value (when comparison enabled)
- Change (1D/1W/1M): Ratio change over timeframes
- To Top/Bottom: Percentage distance to key levels
- Historical Range: Percentage below ATH / above ATL
- 30D Volatility: Standard deviation
Historical Event Log:
- Recent events with dates and values
- Color-coded for quick identification
Alert System
Comprehensive alerting capabilities:
Zone Alerts:
- Top Zone Entry/Exit
- Bottom Zone Entry/Exit
Cross Alerts:
- Cross Above/Below Top Threshold
- Cross Above/Below Fair Value (1.0)
Extreme Value Alerts:
- Extreme High (configurable, default: 4.5)
- Extreme Low (configurable, default: 0.7)
Rate of Change Alerts:
- Rapid Increase/Decrease
Divergence Alerts:
- Bullish/Bearish Divergence
- Hidden Bullish/Bearish Divergence
All alerts support cooldown to prevent spam.
Usage Instructions
Getting Started:
1. Select data source (Glassnode recommended)
2. Enable Risk Score for composite risk assessment (0-100)
3. Enable MVRV Momentum to track trend direction
4. Enable Time in Zone to see zone duration
5. Enable Price Targets to see price levels at key thresholds
6. Use weekly timeframe for cleaner signals
Risk-Based Position Sizing:
Use Risk Score to guide position sizing:
- Risk Score >80 (Very High Risk): Reduce/exit positions
- Risk Score 60-80 (High Risk): Smaller positions, caution
- Risk Score 40-60 (Moderate Risk): Normal positions
- Risk Score 20-40 (Low Risk): Larger positions opportunity
- Risk Score <20 (Very Low Risk): Strong accumulation zone
Momentum-Based Analysis:
Use MVRV Momentum for trend confirmation:
- ↑ Increasing + High MVRV: Late bull market, caution
- ↑ Increasing + Low MVRV: Recovery phase, bullish
- ↓ Decreasing + High MVRV: Distribution, potential top
- ↓ Decreasing + Low MVRV: Capitulation, accumulation opportunity
Zone Duration Analysis:
Use Time in Zone for context:
- Extended time in Top Zone: Late cycle, increased reversal risk
- Extended time in Bottom Zone: Accumulation opportunity
- Quick zone transitions: Higher volatility regime
Price Target Usage:
Use Price Targets for planning:
- Price @ Fair Value: Natural equilibrium level
- Price @ Top Threshold: Potential distribution target
- Price @ Bottom Threshold: Potential accumulation target
Technical Specifications
- Pine Script Version: v6
- Indicator Type: Non-overlay (displays in separate panel)
- Repainting Behavior: Minimal - calculations based on confirmed bar data
- Performance: Optimized with cached request.security() calls and ta.percentrank()
- Input Validation: Validates parameter combinations with warnings
- Compatibility: Works on all timeframes (data sources provide daily resolution)
- Edge Case Handling: Zero-division protection, NA value handling, boundary checks
Performance Optimizations:
- Cached request.security() calls for Market Cap, Realized Cap, and IntoTheBlock data
- Efficient ta.percentrank() replaces array-based percentile calculation
- Consolidated duplicate code (color functions, state tracking)
- Single-line ternary expressions for Pine Script compatibility
Constants:
- MAX_HISTORY_BARS = 5000 (TradingView's limit)
- PERCENTILE_EXTREME_HIGH = 90.0
- PERCENTILE_HIGH = 75.0
- PERCENTILE_MID = 50.0
- PERCENTILE_LOW = 25.0
- MIN_PERCENTILE_SAMPLES = 10
- DEFAULT_VOLATILITY_HIGH = 0.1
Known Limitations
- Data availability: Requires valid data subscription (IntoTheBlock, Glassnode, or CoinMetrics)
- Token support: Works with tokens supported by the selected data source
- Historical data: Percentile calculations require sufficient history (200+ bars recommended)
- Timeframe: Always uses daily resolution data from providers; works on all chart timeframes
- History limit: All lookback periods capped at 5000 bars
Changelog
Latest Version:
- Added Risk Score (0-100) composite indicator
- Added MVRV Momentum with trend direction
- Added Time in Zone tracking
- Added Price Target calculations
- Added Input Validation with warnings
- Added multiple smoothing options (SMA, EMA, WMA, RMA)
- Improved performance with cached security calls
- Replaced array-based percentile with ta.percentrank()
- Human-readable timestamps in event log (YYYY-MM-DD)
- Fixed hline() conditional value bug
- Consolidated duplicate code
- Updated indicator name for clarity
For detailed usage instructions, see the script comments.
Multi-Timeframe Order BlocksDesigned to identify and visualize key supply and demand zones based on order block theory across multiple timeframes. The indicator detects order blocks by analyzing sequential candle patterns and price movement thresholds to highlight potential reversal or continuation zones where institutional buying or selling activity may have occurred.
The indicator works by scanning for clusters of consecutive bullish or bearish candles followed by a significant price move, which signals the formation of an order block. It then plots these zones as colored boxes on the chart—green for demand (bullish order blocks) and red for supply (bearish order blocks). The zones can be based on candle bodies or wicks, depending on user preference, and the indicator supports multi-timeframe analysis by allowing optional higher timeframe inputs.
How It Works:
Sequential Candle Detection: The indicator looks for a specified number of consecutive bullish or bearish candles (configurable by the user) to identify potential order blocks.
Price Movement Threshold: It checks if the price movement after the order block formation exceeds a user-defined percentage threshold, ensuring only significant zones are marked.
Zone Plotting: Once an order block is confirmed, the indicator draws a supply or demand zone as a box on the chart, using either candle bodies or wicks for zone boundaries.
Multi-Timeframe Support: Users can optionally specify higher timeframes to incorporate broader market context, enhancing the reliability of the zones.
Zone Management: The indicator limits the number of zones displayed to avoid clutter, automatically removing the oldest zones when the maximum count is exceeded.
How to Interpret:
Demand Zones (Green Boxes): These represent areas where buying pressure was strong enough to create a bullish order block. Price often finds support here, making these zones potential entry points for long trades or areas to watch for price bounces.
Supply Zones (Red Boxes): These indicate areas of strong selling pressure forming bearish order blocks. Price may face resistance in these zones, which can be used as potential exit points for longs or entry points for shorts.
Multi-Timeframe Confirmation: Zones identified on higher timeframes tend to be stronger and more reliable. Use the optional higher timeframe inputs to align your trades with broader market trends.
Use with Other Indicators: Combine order block zones with volume, momentum, or trend indicators to improve trade confirmation and risk management.
Zone Breaks: A decisive break and close beyond a supply or demand zone may signal a shift in market sentiment and potential trend continuation or reversal.
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Trading involves significant risk, and it is possible to lose more than your initial investment. Users should conduct their own research and consider their financial situation carefully before making any trading decisions. The developer and publisher of this indicator are not responsible for any trading losses or damages incurred. Always use proper risk management and consult with a licensed financial advisor if needed.






















