Neeson Trend Price Oscillator Pulse EditionNeeson Trend Price Oscillator Pulse Edition: A Comprehensive Market Cycle Analysis Tool
Overview and Purpose
The Trend Price Oscillator Pulse Edition is a sophisticated technical analysis indicator designed to identify major market cycle tops and bottoms. This tool operates as a standalone oscillator in a subchart, providing clear visual signals of overbought and oversold conditions within the context of long-term market cycles. Developed for position traders and long-term investors, it focuses on capturing significant market turning points rather than short-term fluctuations.
Integration Rationale and Component Synergy
The indicator integrates three core analytical concepts into a cohesive system:
Detrended Price Oscillator (DPO) Foundation: Traditional DPO methodology isolates cyclical price movements by removing the underlying trend component. This creates a clearer view of oscillatory behavior without the distortion of long-term directional bias.
Normalization Framework: By converting raw DPO values to a standardized 0-100 scale, the indicator establishes consistent reference points for market extremes across different instruments and timeframes. This normalization enables meaningful comparison of oscillator readings regardless of absolute price levels.
Dynamic Threshold System: The implementation of adjustable threshold levels (default: 95% for overbought, 5% for oversold) creates adaptive boundaries that respond to changing market volatility and cycle characteristics.
These components work synergistically: The DPO extracts cyclical information from price action, the normalization process standardizes this information for consistent interpretation, and the threshold system provides actionable decision points based on historical extremes.
Operational Mechanism
The indicator calculates a detrended price value by comparing current price against a displaced moving average. This detrended value is then normalized against its historical range over a specified lookback period, transforming it into a percentage-based oscillator. A smoothing filter is applied to reduce noise and highlight significant movements.
The oscillator's movement through threshold zones generates four distinct market signals:
Entry into overbought territory (crossing above 95%)
Exit from overbought territory (crossing below 95%)
Entry into oversold territory (crossing below 5%)
Exit from oversold territory (crossing above 5%)
Each signal corresponds to a specific market condition hypothesis regarding institutional versus retail trader dynamics in major market cycles.
Practical Application Guidelines
Primary Use Cases:
Identification of potential major cycle turning points on weekly and monthly timeframes
Confirmation tool for existing trading strategies requiring cycle analysis
Risk management through recognition of extreme market conditions
Interpretation Framework:
Overbought Conditions (Oscillator ≥ 95%): Suggest potential selling pressure from major market participants. Consider reducing long exposure or implementing protective measures.
Oversold Conditions (Oscillator ≤ 5%): Indicate potential accumulation zones by institutional buyers. Consider establishing or adding to long positions using dollar-cost averaging strategies.
Threshold Crossings: Monitor for exits from extreme zones as potential confirmation that a cycle peak or trough may have formed.
Parameter Considerations:
Default parameters (548-period oscillator, 274-period offset, 1096-period lookback) are optimized for identifying major market cycles. Users may adjust these values for different market conditions or timeframes, though significant parameter changes will alter the indicator's sensitivity and signal frequency.
Originality and Distinctive Features
This implementation incorporates several innovative aspects:
Extended Cycle Focus: Unlike most oscillators designed for shorter timeframes, this tool employs exceptionally long calculation periods specifically for identifying primary market cycles.
Dynamic Normalization: The lookback-based normalization adapts to changing market conditions without requiring manual recalibration.
Multi-Signal Alert System: Four distinct alert conditions provide nuanced information about market state transitions rather than simple binary signals.
Integrated Risk Context: Each signal includes contextual information about potential market participant behavior, encouraging disciplined risk management.
Empirical Considerations and Limitations
The indicator provides probabilistic assessments based on historical price behavior, not predictive certainties. Market conditions may change, rendering historical patterns less reliable. Users should consider:
The indicator performs best in trending or cyclical markets; it may generate false signals during extended range-bound periods.
No technical indicator, including this one, can guarantee future market movements.
Proper position sizing and risk management should accompany all trading decisions, regardless of indicator signals.
Expected User Outcomes
When used as part of a comprehensive trading plan, this indicator can help users:
Identify potential reversal zones in major market cycles
Develop patience by focusing on significant rather than frequent trading opportunities
Maintain objective perspective during market extremes through quantitative assessment
Coordinate entry and exit timing with cycle analysis
The Trend Price Oscillator Pulse Edition represents a specialized tool for traders seeking to align their strategies with major market cycles through systematic analysis of price oscillation behavior relative to long-term trends.
Indicators and strategies
Neeson RSI Divergence DetectorIntegrating Multi-Indicator Strategies: A Rational Approach to Technical Analysis Tools
Introduction
The integration of multiple technical indicators into a unified trading script represents a sophisticated approach to market analysis, combining complementary analytical methods to enhance decision-making. This article outlines the rational basis for combining specific indicators, explains their synergistic operation, and provides practical guidance for users seeking to understand the functional utility, operational mechanics, and unique value proposition of integrated technical analysis tools.
Functional Purpose and Rational Integration Basis
Integrated technical scripts are designed to address the inherent limitations of single-indicator analysis by combining multiple analytical perspectives. The rational basis for integration typically follows these principles:
Complementary Signal Validation: Different indicators measure distinct market characteristics (momentum, volatility, trend strength, etc.). Their combination allows cross-validation of signals, reducing false positives inherent in single-indicator systems.
Multi-Timeframe Confirmation: Integrated scripts often incorporate elements that analyze price action across different temporal dimensions, providing a more comprehensive market perspective.
Risk Management Enhancement: By combining overbought/oversold indicators with trend confirmation tools, these scripts help identify not only entry opportunities but also potential risk zones.
Market Phase Adaptation: Different market conditions (trending, ranging, volatile) favor different indicator types. Integrated approaches maintain relevance across varying market environments.
Synergistic Operational Mechanism
The components of well-designed integrated scripts operate through several synergistic mechanisms:
Primary Trend Identification: Core trend-following indicators establish the dominant market direction, serving as a filter for other signals. This prevents counter-trend entries that might otherwise be generated by oscillators or momentum indicators.
Momentum Confirmation: Oscillator-based components (like RSI or Stochastic) validate the strength of the identified trend, distinguishing between healthy retracements and potential reversals.
Divergence Detection: By comparing price action with momentum indicators, these scripts identify subtle shifts in market dynamics that often precede trend changes.
Volatility Adjustment: Volatility-based components dynamically adjust signal thresholds and position sizing recommendations based on current market conditions.
Multi-Layer Filtering: Each signal passes through successive validation layers, with only the strongest, most confirmed signals triggering alerts or visual markers.
Practical Application Guidance
Users can maximize the utility of integrated scripts through these practical approaches:
Parameter Customization: Adjust indicator periods and thresholds to match the characteristics of specific trading instruments and timeframes. Historical testing can identify optimal settings for particular markets.
Signal Hierarchy Interpretation: Learn to distinguish between primary signals (strongly confirmed across multiple indicators) and secondary signals (weaker confirmation) for appropriate position sizing.
Contextual Analysis: Consider integrated signals within the broader market context, including support/resistance levels, volume patterns, and fundamental developments.
Performance Correlation: Monitor how different market conditions affect script performance. Some configurations may excel in trending markets while others perform better in ranging conditions.
Risk Calibration: Use the multi-indicator confirmation to calibrate stop-loss and take-profit levels, with tighter parameters for strongly confirmed signals and wider parameters for weaker ones.
Originality and Value Proposition
The originality of well-designed integrated scripts manifests in several dimensions:
Unique Combination Logic: The specific selection and weighting of indicators, along with their integration methodology, represents intellectual value distinct from simple indicator stacking.
Innovative Signal Processing: Advanced scripts often incorporate proprietary algorithms for signal filtering, noise reduction, or probability weighting not found in standard indicators.
Adaptive Framework: Some scripts dynamically adjust their analytical approach based on changing market conditions, representing a form of artificial market intelligence.
Visualization Innovation: The presentation of complex multi-indicator data in an intuitive, actionable format constitutes significant user interface originality.
Empirical Limitations and Responsible Use
It is crucial to maintain realistic expectations regarding integrated technical scripts:
No Predictive Certainty: These tools analyze probabilities, not certainties. No combination of historical price indicators can guarantee future price movements.
Market Efficiency Limitations: All technical analysis operates within the constraints of market efficiency, with script effectiveness varying across different market conditions and time periods.
Complementary Role: Integrated scripts should complement, not replace, comprehensive trading strategies including risk management, fundamental analysis, and market knowledge.
Continuous Evaluation: Regular performance assessment against established benchmarks helps maintain realistic expectations and identifies when script adjustments may be necessary.
Conclusion
The thoughtful integration of multiple technical indicators represents a logical evolution in analytical methodology, addressing the limitations of single-indicator approaches through complementary validation and multi-dimensional analysis. By understanding the rational basis for integration, the synergistic operation of components, and the practical application parameters, users can employ these tools as valuable components within broader, disciplined trading approaches. The true value emerges not from predictive accuracy but from structured decision support that helps traders navigate complex market environments with greater consistency and insight.
ICT Liquidity & OTE Engine - Real TimeICT Liquidity & OTE Engine - Real Time
This indicator is a comprehensive toolkit designed for traders utilizing Inner Circle Trader (ICT) concepts. It automates the identification of key structural liquidity pools (Buy Side & Sell Side Liquidity) and calculates real-time Optimal Trade Entry (OTE) levels, allowing you to react instantly to market structure shifts and liquidity sweeps.
Core Features
1. Dynamic Liquidity Pools (BSL / SSL) The script uses pivot high and low logic to identify significant swing points where stop losses and breakout orders typically reside.
BSL (Buy Side Liquidity): Green lines extending from Pivot Highs. These represent areas where short sellers have stops (buy stops).
SSL (Sell Side Liquidity): Red lines extending from Pivot Lows. These represent areas where long traders have stops (sell stops).
2. Real-Time "Sweep" Detection Unlike static support/resistance indicators, this script reacts to live price action.
Visual Feedback: When price "sweeps" or purges a liquidity level (breaks a BSL or SSL line), the line style automatically changes from solid to dotted and becomes semi-transparent.
Why this matters: This provides immediate visual confirmation that a "Stop Hunt" has occurred, often a precursor to a Smart Money reversal.
3. Optimal Trade Entry (OTE) 70.5% The indicator continuously tracks the highest high and lowest low over a definable lookback period (default 40 bars) to establish the current dealing range.
It plots the 70.5% Fibonacci retracement level, which is the classic ICT "Sweet Spot" for entries during a retracement.
This removes the need to manually draw and redraw Fib tools every time the range expands.
4. Bullish Fair Value Gap (FVG) Markers The script highlights specific bars that exhibit bullish displacement gaps, aiding in the identification of strong buying pressure or potential entries after a liquidity sweep.
How It Works
Pivots: It calculates pivots based on your user-defined Lookback input (default 20). A higher number finds longer-term swings; a lower number finds short-term scalping levels.
Liquidity Logic: Once a pivot is confirmed, a line is projected forward. If the current live High or Low breaches this line, the script detects the liquidity run and alters the line's appearance.
OTE Logic: (Highest High - Lowest Low) * 0.705. This dynamic calculation ensures the OTE level moves with the market structure in real-time.
How to Use
Identify the Sweep: Wait for price to run a SSL (Red Line) or BSL (Green Line). Watch for the line to turn dotted, indicating the liquidity has been taken.
Wait for Displacement: Look for a reaction away from the sweep (e.g., a sharp move up after taking SSL).
Find the Entry: Look for price to retrace to the plotted OTE 70.5% Line, ideally aligning with a marked FVG square, to position yourself in alignment with Smart Money.
Settings
Pivot Lookback: Adjusts the sensitivity of the liquidity lines (Default: 20).
Show BSL/SSL Lines: Toggles the liquidity pools on/off.
Show OTE Levels: Toggles the real-time Fibonacci level.
OTE Line Color: Customize the visual style of your entry level.
Gold Professional MacrosMacro Window Descriptions
London Opening Sweep (08:00 – 08:30 CET)
Purpose: The "Judas Swing" window. It captures the initial surge of European liquidity, often creating a false move to sweep Asian Session highs or lows before establishing the true London trend.
London LOD/HOD (09:30 – 10:00 CET)
Purpose: The "Maturity" window. This is where the morning trend often establishes its Low of Day (LOD) or High of Day (HOD) before entering a mid-day consolidation.
Pre-NY News Window (13:30 – 14:00 CET)
Purpose: The "High-Impact" window. Corresponds to 07:30–08:00 NY Time, aligning with major US economic data releases (CPI, Jobless Claims) that trigger immediate repricing in Gold.
NY Open Power Surge (15:15 – 15:45 CET)
Purpose: The "Volatility" window. Marks the official New York open. This is the prime time for ICT Silver Bullet setups as heavy institutional volume enters the market.
The Gold Fix Liquidation (16:00 – 16:30 CET)
Purpose: The Master Macro. This is the London Gold Fix. It is the most critical period for Gold, often resulting in massive reversals or final daily expansions as central banks and bullion dealers settle prices globally.
PM Reversal (19:30 – 20:00 CET)
Purpose: The "Correction" window. Often sees Gold retracing to fill Fair Value Gaps (FVG) or imbalances created during the violent NY morning session.
Key Features of the Script
Visual Time-Boxing: Color-coded background zones for instant recognition.
Automated Labeling: Clearly identifies each macro at the moment of inception.
Multi-Timeframe Compatible: Optimized for M1, M5, and M15 execution charts.
Timezone Synchronized: Hard-coded to Europe/Paris (CET) to align perfectly with European and US market overlaps.
Position Size RulerThis script is designed for day traders who need to visualize contract sizing based on stop loss size instantly without manual calculations. It bridges the gap between a trader's defined risk and the fast-moving price action of assets like NQ or MNQ.
The tool operates by creating a "position size ruler" that projects contract-specific zones based on a draggable Stop Loss anchor.
Draggable Stop Loss: In settings, you will first need to enter a value for the stop loss. This value should be near the current price value so that the ruler can be seen on your chart. Once that is done, you can click and drag the "blue dot" handle—anchored to the left edge of the stop loss—to align it with your anticipated stop loss location.
Adaptive AI SuperTrend [AlgoPoint]🚀 Adaptive AI SuperTrend
Adaptive AI SuperTrend is a high-performance trading terminal that redefines trend-following by integrating Machine Learning (ML) principles with advanced market regime detection. Unlike static indicators, this system dynamically recalibrates its internal parameters to match the ever-changing volatility of the financial markets.
Equipped with a custom "Wizard Engine," it filters out market noise during consolidation and identifies high-probability trend continuation points, making it an essential tool for scalpers, day traders, and swing traders alike.
🧠 What Makes it "AI"?
While traditional indicators use fixed rules, Adaptive AI SuperTrend utilizes Algorithmic Intelligence to make real-time decisions:
KNN-Inspired Adaptation: The engine analyzes the last 150 bars of volatility and trend strength to automatically adjust its sensitivity.
Market Regime Intelligence: It distinguishes between "Trending" and "Ranging" states using a sophisticated Squeeze Momentum module, preventing "whipsaws" during low-volume periods.
Self-Backtesting Logic: The indicator continuously calculates its own historical Win-Rate. If the probability of success falls below a certain threshold, it suppresses lower-quality signals.
🛠 Key Features
Dynamic Consolidation Boxes: Automatically identifies and wraps "choppy" price action in professional gray boxes. It waits for 3+ bars of consolidation before marking the zone, helping you spot breakout opportunities early.
Multi-Strategy Aggression:
- Conservative: Filtered signals for long-term trend following.
- Balanced: Optimized for daily volatility.
- Aggressive: High-frequency signals for capturing micro-trends.
Dual-Exit Risk Management:
- ATR TP-SL Mode: Sets mathematical targets based on market volatility with persistent on-screen lines.
- Smart Trailing Mode: Rides the trend to its exhaustion point. Includes intelligent labeling (🎯 TP or 🛑 SL) based on the trade's net profitability.
- RSI Pullback Confirmation: Beyond simple trend flips, it detects "buy the dip" or "sell the rip" opportunities within an existing trend using RSI 50-level crossovers.
📊 Real-Time Analytics Dashboard
The integrated AlgoPoint Dashboard provides a surgical view of the market:
- Market State: Instant "Trending" vs. "Ranging" (Consolidation) detection.
- Trend Strength: ADX-based momentum tracking.
- Strategy Status: Real-time feedback on your active aggression and exit modes.
🎨 Clean Charting & Customization
Built for professional clarity, you have total control over the UI:
Toggle Consolidation Boxes on/off.
Toggle ATR Target Lines and Exit Labels.
Customize background filters and dashboard visibility.
RSMPatternLibLibrary "RSMPatternLib"
RSM Pattern Library - All chart patterns from PATTERNS.md
Implements: Candlestick patterns, Support/Resistance, Gaps, Triangles, Volume Divergence, and more
ALL PATTERNS ARE OWN IMPLEMENTATION - No external dependencies
EDGE CASES HANDLED:
- Zero/tiny candle bodies
- Missing volume data
- Low bar count scenarios
- Integer division issues
- Price normalization for different instruments
bullishEngulfing(minBodyRatio, minPrevBodyRatio)
Detects Bullish Engulfing pattern
Parameters:
minBodyRatio (float) : Minimum body size as ratio of total range (default 0.3)
minPrevBodyRatio (float) : Minimum previous candle body ratio to filter dojis (default 0.1)
Returns: bool True when bullish engulfing detected
EDGE CASES: Handles doji previous candle, zero range, tiny bodies
bearishEngulfing(minBodyRatio, minPrevBodyRatio)
Detects Bearish Engulfing pattern
Parameters:
minBodyRatio (float) : Minimum body size as ratio of total range (default 0.3)
minPrevBodyRatio (float) : Minimum previous candle body ratio to filter dojis (default 0.1)
Returns: bool True when bearish engulfing detected
EDGE CASES: Handles doji previous candle, zero range, tiny bodies
doji(maxBodyRatio, minRangeAtr)
Detects Doji candle (indecision)
Parameters:
maxBodyRatio (float) : Maximum body size as ratio of total range (default 0.1)
minRangeAtr (float) : Minimum range as multiple of ATR to filter flat candles (default 0.3)
Returns: bool True when doji detected
EDGE CASES: Filters out no-movement bars, handles zero range
shootingStar(wickMultiplier, maxLowerWickRatio, minBodyAtrRatio)
Detects Shooting Star (bearish reversal)
Parameters:
wickMultiplier (float) : Upper wick must be at least this times the body (default 2.0)
maxLowerWickRatio (float) : Lower wick max as ratio of body (default 0.5)
minBodyAtrRatio (float) : Minimum body size as ratio of ATR (default 0.1)
Returns: bool True when shooting star detected
EDGE CASES: Handles zero body (uses range-based check), tiny bodies
hammer(wickMultiplier, maxUpperWickRatio, minBodyAtrRatio)
Detects Hammer (bullish reversal)
Parameters:
wickMultiplier (float) : Lower wick must be at least this times the body (default 2.0)
maxUpperWickRatio (float) : Upper wick max as ratio of body (default 0.5)
minBodyAtrRatio (float) : Minimum body size as ratio of ATR (default 0.1)
Returns: bool True when hammer detected
EDGE CASES: Handles zero body (uses range-based check), tiny bodies
invertedHammer(wickMultiplier, maxLowerWickRatio)
Detects Inverted Hammer (bullish reversal after downtrend)
Parameters:
wickMultiplier (float) : Upper wick must be at least this times the body (default 2.0)
maxLowerWickRatio (float) : Lower wick max as ratio of body (default 0.5)
Returns: bool True when inverted hammer detected
EDGE CASES: Same as shootingStar but requires bullish close
hangingMan(wickMultiplier, maxUpperWickRatio)
Detects Hanging Man (bearish reversal after uptrend)
Parameters:
wickMultiplier (float) : Lower wick must be at least this times the body (default 2.0)
maxUpperWickRatio (float) : Upper wick max as ratio of body (default 0.5)
Returns: bool True when hanging man detected
NOTE: Identical to hammer - context (uptrend) determines meaning
morningStar(requireGap, minAvgBars)
Detects Morning Star (3-candle bullish reversal)
Parameters:
requireGap (bool) : Whether to require gap between candles (default false for crypto/forex)
minAvgBars (int) : Minimum bars for average body calculation (default 14)
Returns: bool True when morning star pattern detected
EDGE CASES: Gap is optional, handles low bar count, uses shifted average
eveningStar(requireGap, minAvgBars)
Detects Evening Star (3-candle bearish reversal)
Parameters:
requireGap (bool) : Whether to require gap between candles (default false for crypto/forex)
minAvgBars (int) : Minimum bars for average body calculation (default 14)
Returns: bool True when evening star pattern detected
EDGE CASES: Gap is optional, handles low bar count
gapUp()
Detects Gap Up
Returns: bool True when current bar opens above previous bar's high
gapDown()
Detects Gap Down
Returns: bool True when current bar opens below previous bar's low
gapSize()
Returns gap size in price
Returns: float Gap size (positive for gap up, negative for gap down, 0 for no gap)
gapPercent()
Returns gap size as percentage
Returns: float Gap size as percentage of previous close
gapType(volAvgLen, breakawayMinPct, highVolMult)
Classifies gap type based on volume
Parameters:
volAvgLen (int) : Length for volume average (default 20)
breakawayMinPct (float) : Minimum gap % for breakaway (default 1.0)
highVolMult (float) : Volume multiplier for high volume (default 1.5)
Returns: string Gap type: "Breakaway", "Common", "Continuation", or "None"
EDGE CASES: Handles missing volume data, low bar count
swingHigh(leftBars, rightBars)
Detects swing high using pivot
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
Returns: float Swing high price or na
swingLow(leftBars, rightBars)
Detects swing low using pivot
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
Returns: float Swing low price or na
higherHigh(leftBars, rightBars, lookback)
Checks if current swing high is higher than previous swing high
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
lookback (int) : How many bars back to search for previous pivot (default 50)
Returns: bool True when higher high pattern detected
EDGE CASES: Searches backwards for pivots instead of using var (library-safe)
higherLow(leftBars, rightBars, lookback)
Checks if current swing low is higher than previous swing low
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
lookback (int) : How many bars back to search for previous pivot (default 50)
Returns: bool True when higher low pattern detected
lowerHigh(leftBars, rightBars, lookback)
Checks if current swing high is lower than previous swing high
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
lookback (int) : How many bars back to search for previous pivot (default 50)
Returns: bool True when lower high pattern detected
lowerLow(leftBars, rightBars, lookback)
Checks if current swing low is lower than previous swing low
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
lookback (int) : How many bars back to search for previous pivot (default 50)
Returns: bool True when lower low pattern detected
bullishTrend(leftBars, rightBars, lookback)
Detects Bullish Trend (HH + HL within lookback)
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
lookback (int) : Lookback period (default 50)
Returns: bool True when making higher highs AND higher lows
bearishTrend(leftBars, rightBars, lookback)
Detects Bearish Trend (LH + LL within lookback)
Parameters:
leftBars (int) : Bars to left for pivot (default 5)
rightBars (int) : Bars to right for pivot (default 5)
lookback (int) : Lookback period (default 50)
Returns: bool True when making lower highs AND lower lows
nearestResistance(lookback, leftBars, rightBars)
Finds nearest resistance level above current price
Parameters:
lookback (int) : Number of bars to look back (default 50)
leftBars (int) : Pivot left bars (default 5)
rightBars (int) : Pivot right bars (default 5)
Returns: float Nearest resistance level or na
EDGE CASES: Pre-computes pivots, handles bounds properly
nearestSupport(lookback, leftBars, rightBars)
Finds nearest support level below current price
Parameters:
lookback (int) : Number of bars to look back (default 50)
leftBars (int) : Pivot left bars (default 5)
rightBars (int) : Pivot right bars (default 5)
Returns: float Nearest support level or na
resistanceBreakout(lookback, leftBars, rightBars)
Detects resistance breakout
Parameters:
lookback (int) : Number of bars to look back (default 50)
leftBars (int) : Pivot left bars (default 5)
rightBars (int) : Pivot right bars (default 5)
Returns: bool True when price breaks above resistance
EDGE CASES: Uses previous bar's resistance to avoid lookahead
supportBreakdown(lookback, leftBars, rightBars)
Detects support breakdown
Parameters:
lookback (int) : Number of bars to look back (default 50)
leftBars (int) : Pivot left bars (default 5)
rightBars (int) : Pivot right bars (default 5)
Returns: bool True when price breaks below support
bullishVolumeDivergence(leftBars, rightBars, lookback)
Detects Bullish Volume Divergence (price makes lower low, volume decreases)
Parameters:
leftBars (int) : Pivot left bars (default 5)
rightBars (int) : Pivot right bars (default 5)
lookback (int) : Bars to search for previous pivot (default 50)
Returns: bool True when bullish volume divergence detected
EDGE CASES: Library-safe (no var), searches for previous pivot
bearishVolumeDivergence(leftBars, rightBars, lookback)
Detects Bearish Volume Divergence (price makes higher high, volume decreases)
Parameters:
leftBars (int) : Pivot left bars (default 5)
rightBars (int) : Pivot right bars (default 5)
lookback (int) : Bars to search for previous pivot (default 50)
Returns: bool True when bearish volume divergence detected
rangeContracting(lookback)
Detects if price is in a contracting range (triangle formation)
Parameters:
lookback (int) : Bars to analyze (default 20)
Returns: bool True when range is contracting
EDGE CASES: Uses safe integer division, checks minimum lookback
ascendingTriangle(lookback, flatTolerance)
Detects Ascending Triangle (flat top, rising bottom)
Parameters:
lookback (int) : Bars to analyze (default 20)
flatTolerance (float) : Max normalized slope for "flat" line (default 0.002)
Returns: bool True when ascending triangle detected
EDGE CASES: Safe division, normalized slope, minimum lookback
descendingTriangle(lookback, flatTolerance)
Detects Descending Triangle (falling top, flat bottom)
Parameters:
lookback (int) : Bars to analyze (default 20)
flatTolerance (float) : Max normalized slope for "flat" line (default 0.002)
Returns: bool True when descending triangle detected
symmetricalTriangle(lookback, minSlope)
Detects Symmetrical Triangle (converging trend lines)
Parameters:
lookback (int) : Bars to analyze (default 20)
minSlope (float) : Minimum normalized slope magnitude (default 0.0005)
Returns: bool True when symmetrical triangle detected
doubleBottom(tolerance, minSpanBars, lookback)
Detects Double Bottom (W pattern) - OWN IMPLEMENTATION
Two swing lows at similar price levels with a swing high between them
Parameters:
tolerance (float) : Max price difference between lows as % (default 3)
minSpanBars (int) : Minimum bars between the two lows (default 5)
lookback (int) : Max bars to search for pattern (default 100)
Returns: bool True when double bottom detected
doubleTop(tolerance, minSpanBars, lookback)
Detects Double Top (M pattern) - OWN IMPLEMENTATION
Two swing highs at similar price levels with a swing low between them
Parameters:
tolerance (float) : Max price difference between highs as % (default 3)
minSpanBars (int) : Minimum bars between the two highs (default 5)
lookback (int) : Max bars to search for pattern (default 100)
Returns: bool True when double top detected
tripleBottom(tolerance, minSpanBars, lookback)
Detects Triple Bottom - OWN IMPLEMENTATION
Three swing lows at similar price levels
Parameters:
tolerance (float) : Max price difference between lows as % (default 3)
minSpanBars (int) : Minimum total bars for pattern (default 10)
lookback (int) : Max bars to search for pattern (default 150)
Returns: bool True when triple bottom detected
tripleTop(tolerance, minSpanBars, lookback)
Detects Triple Top - OWN IMPLEMENTATION
Three swing highs at similar price levels
Parameters:
tolerance (float) : Max price difference between highs as % (default 3)
minSpanBars (int) : Minimum total bars for pattern (default 10)
lookback (int) : Max bars to search for pattern (default 150)
Returns: bool True when triple top detected
bearHeadShoulders()
Detects Bearish Head and Shoulders (OWN IMPLEMENTATION)
Head is higher than both shoulders, shoulders roughly equal, with valid neckline
STRICT VERSION - requires proper structure, neckline, and minimum span
Returns: bool True when bearish H&S detected
bullHeadShoulders()
Detects Bullish (Inverse) Head and Shoulders (OWN IMPLEMENTATION)
Head is lower than both shoulders, shoulders roughly equal, with valid neckline
STRICT VERSION - requires proper structure, neckline, and minimum span
Returns: bool True when bullish H&S detected
bearAscHeadShoulders()
Detects Bearish Ascending Head and Shoulders (variant)
Returns: bool True when pattern detected
bullAscHeadShoulders()
Detects Bullish Ascending Head and Shoulders (variant)
Returns: bool True when pattern detected
bearDescHeadShoulders()
Detects Bearish Descending Head and Shoulders (variant)
Returns: bool True when pattern detected
bullDescHeadShoulders()
Detects Bullish Descending Head and Shoulders (variant)
Returns: bool True when pattern detected
isSwingLow()
Re-export: Detects swing low
Returns: bool True when swing low detected
isSwingHigh()
Re-export: Detects swing high
Returns: bool True when swing high detected
swingHighPrice(idx)
Re-export: Gets swing high price at index
Parameters:
idx (int) : Index (0 = most recent)
Returns: float Swing high price
swingLowPrice(idx)
Re-export: Gets swing low price at index
Parameters:
idx (int) : Index (0 = most recent)
Returns: float Swing low price
swingHighBarIndex(idx)
Re-export: Gets swing high bar index
Parameters:
idx (int) : Index (0 = most recent)
Returns: int Bar index of swing high
swingLowBarIndex(idx)
Re-export: Gets swing low bar index
Parameters:
idx (int) : Index (0 = most recent)
Returns: int Bar index of swing low
cupBottom(smoothLen, minDepthAtr, maxDepthAtr)
Detects Cup and Handle pattern formation
Uses price acceleration and depth analysis
Parameters:
smoothLen (int) : Smoothing length for price (default 10)
minDepthAtr (float) : Minimum cup depth as ATR multiple (default 1.0)
maxDepthAtr (float) : Maximum cup depth as ATR multiple (default 5.0)
Returns: bool True when potential cup bottom detected
EDGE CASES: Added depth filter, ATR validation
cupHandle(lookback, maxHandleRetraceRatio)
Detects potential handle formation after cup
Parameters:
lookback (int) : Bars to look back for cup (default 30)
maxHandleRetraceRatio (float) : Maximum handle retracement of cup depth (default 0.5)
Returns: bool True when handle pattern detected
bullishPatternCount()
Returns count of bullish patterns detected
Returns: int Number of bullish patterns currently active
bearishPatternCount()
Returns count of bearish patterns detected
Returns: int Number of bearish patterns currently active
detectedPatterns()
Returns string description of detected patterns
Returns: string Comma-separated list of detected patterns
Daily Bias Panel (with MTF Toggle)Daily Bias Panel Documentation
Overview
The Daily Bias Panel is a TradingView indicator designed to provide a structured, multi factor assessment of market direction for intraday and swing traders. It consolidates several key bias components—Prior Day levels, VWAP, Overnight High/Low, Multi Timeframe Market Structure, and an Overall Bias—into a clean, compact table. A confidence meter summarizes the combined strength of all signals.
This document explains each line item, the rules behind it, and how to interpret the panel.
1. Prior Day Bias
Definition
Compares the current price to the previous day’s high and low.
Rules
• Bullish (1): Close > Prior Day High
• Bearish (-1): Close < Prior Day Low
• Neutral (0): Price is between the prior high and low
Interpretation
This bias reflects whether the market is breaking out above or below the previous day’s range. It is a foundational directional signal.
2. VWAP Bias
Definition
Measures whether price is trading above or below the Volume Weighted Average Price.
Rules
• Bullish (1): Close > VWAP
• Bearish (-1): Close < VWAP
• Neutral (0): Price is at VWAP
Interpretation
VWAP is a widely used institutional benchmark. Trading above VWAP suggests buyers are in control; below VWAP suggests sellers dominate.
3. ONH / ONL Bias (Overnight High / Low)
Definition
Tracks the overnight session’s high and low (18:00–09:30 ET) and compares current price to those levels.
Rules
• Bullish (1): Close > Overnight High
• Bearish (-1): Close < Overnight Low
• Neutral (0): Price is inside the overnight range
Interpretation
ONH/ONL is extremely important for index futures (ES/NQ). Breaking ONH/ONL often signals strong directional intent at the RTH open.
4. Struct MTF (Market Structure Bias)
Definition
A weighted blend of market structure trends across multiple timeframes.
Modes
Swing Mode
• 4H (50%)
• 1H (30%)
• 15M (20%)
Intraday Mode
• 1H (40%)
• 15M (35%)
• 5M (25%)
Rules
Each timeframe is classified as:
• Bullish (1): Higher High + Higher Low
• Bearish (-1): Lower High + Lower Low
• Neutral (0): No clear structure
The weighted average produces a final structure score.
Interpretation
This is your trend engine. It smooths noise and provides a stable directional backbone.
5. Overall Bias
Definition
A strict agreement filter between Prior Day Bias and VWAP Bias.
Rules
• Bullish (1): Both Prior Day and VWAP are bullish
• Bearish (-1): Both are bearish
• Neutral (0): Any disagreement
Interpretation
This prevents false positives by requiring alignment between two major bias components.
6. Confidence Score
Definition
A weighted blend of all bias components:
• Prior Day (25%)
• VWAP (25%)
• ONH/ONL (20%)
• MTF Structure (30%)
Output
A normalized score between -1.00 and +1.00.
Interpretation
• +1.00: Strong bullish alignment across all systems
• -1.00: Strong bearish alignment
• 0.00: Mixed or unclear conditions
7. Confidence Meter (10 Square Visual)
Definition
A visual representation of the confidence score.
Rules
• 0–10 squares filled based on absolute confidence
• Color reflects direction (green/red/yellow)
Interpretation
A quick glance gauge of trend strength.
8. Debug Mode (Optional)
Purpose
Displays all underlying levels and bias markers directly on the chart.
Includes
• Prior High / Low
• VWAP
• ONH / ONL
• Confidence Score line
• Bias markers (P, V, O, M)
Use Case
Great for verifying logic, backtesting visually, and understanding how each component behaves.
9. Panel Layout & Spacing
Top Left Spacer System
When the panel is placed in the top left corner, a 3 row spacer pushes it below the chart header and indicator dropdown.
Panel Size Options
• Small
• Medium
• Large
These adjust font sizes and meter padding.
______________________________________________________________________________
Summary
The Daily Bias Panel is a compact, multi factor decision tool that blends:
• Prior Day context
• VWAP positioning
• Overnight session dynamics
• Multi timeframe trend structure
• A strict overall bias filter
• A confidence scoring engine
Together, these components give traders a clear, structured view of market direction and strength.
This documentation should serve as a complete reference for understanding, using, and publishing the indicator.
VPE Candle Patterns with Volume ConfirmationPattern Detection Logic:
Doji — Body is ≤10% of the candle range (adjustable)
Hammer — Body in upper third, lower wick ≥2x body size, minimal upper wick
Shooting Star — Body in lower third, upper wick ≥2x body size, minimal lower wick
Volume Confirmation:
Patterns only trigger signals when volume > volume (current candle volume exceeds previous)
Alerts:
Four alert conditions you can configure in TradingView:
Doji Detected
Hammer Detected
Shooting Star Detected
Any Pattern Detected (combined)
Visual Elements:
Labels on chart (D, H, SS) — toggleable
Optional background highlighting
Info table showing current bar status
To set up alerts in TradingView:
Add the indicator to your chart
Right-click → Add Alert
Select the indicator and choose which alert condition
Configure your notification method (webhook, email, app push, etc.)
The input parameters let you tune sensitivity — tighten the dojiBodyRatio for stricter doji detection, or adjust wick ratios if you're getting too many/few signals.
Market Breadth MomentumThe indicator operates by fetching data from external tickers (usually market internal symbols like ATHI and ATLO) and processing them through a momentum filter. It aims to identify "breadth thrusts" or exhaustion points before they become obvious on a standard price chart.
Key ComponentsCustom Data Inputs: By default, it uses New Highs and New Lows tickers. You can toggle between calculating the Net difference (Highs minus Lows) or a Ratio (Highs divided by Lows).
Dual Mode Logic:Raw Mode: Visualizes the raw spread between highs and lows.Momentum Mode: Applies a McClellan-style calculation (Fast EMA minus Slow EMA) to show the rate of change in market breadth.Signal Line: Includes a 9-period EMA (Signal Line) to help identify trend shifts and provide crossover alerts.
Visual InterpretationThe indicator is displayed in a separate pane below the price chart:ElementDescription
Teal ColumnsIndicate that the breadth momentum is increasing (bullish divergence or strengthening trend).
Maroon Columns Indicate that the breadth momentum is decreasing (bearish divergence or weakening trend).Orange LineThe Signal Line; used to smooth out noise and provide entry/exit triggers.Zero LineThe "neutral" mark. Values above zero generally suggest bullish internal health; values below suggest bearish.
Identifying Divergences
If the S&P 500 is making new price highs, but the Breadth Momentum histogram is making lower highs, it suggests the rally is losing participation. This is often a precursor to a market correction.
Momentum Crossovers
A common signal is the "Signal Line Cross." When the columns cross above the orange Signal Line, it indicates a short-term surge in market participation (a "Thrust").
Mean Reversion
Extreme extensions away from the Zero Line (either positive or negative) can signal that the market is overbought or oversold on an internal level, regardless of what the price action looks like.
Settings & Inputs
New Highs/Lows Ticker: Ensure these match the symbols provided by your broker (e.g., HI_NY or ATHI).
Fast/Slow EMA: Standard settings are 19 and 39 (McClellan defaults), but these can be tightened for faster scalping or widened for long-term trend following.
Show Momentum: Toggle this off if you simply want to see the raw "Net Highs" data without the EMA smoothing.
FOMC Policy Events[nakano]### FOMC Policy Events
#### Summary / 概要
This indicator plots the historical policy decisions of the U.S. Federal Open Market Committee (FOMC) directly onto your chart. It is an essential tool for traders and analysts who want to visualize how the market reacts to changes in monetary policy. All historical event data from 2000 onwards is hard-coded into the script for fast and reliable performance.
このインジケーターは、米国連邦公開市場委員会(FOMC)の過去の政策決定をチャート上に直接プロットします。金融政策の変更に対する市場の反応を視覚的に分析したいトレーダーやアナリストにとって不可欠なツールです。2000年以降の全ての過去イベントデータが含まれます。
---
#### Features / 主な機能
* **Comprehensive Historical Data / 包括的な過去データ**
Includes all historical scheduled and emergency FOMC rate decisions from January 2000.
2000年1月以降の、全ての定例および緊急のFOMC金利決定の履歴を含みます。
* **Detailed Event Labels / 詳細なイベントラベル**
Each event is marked with a clear label showing:
各イベントには、以下の情報を示す明確なラベルが表示されます:
* The exact date of the announcement.
発表の正確な日付
* The type of decision (Rate Hike, Rate Cut, Hold, or Emergency Cut).
決定内容(利上げ、利下げ、据え置き、緊急利下げ)
* The resulting Federal Funds Target Rate.
決定後の政策金利(FF金利ターゲット)
* **Fully Customizable Display / 柔軟な表示設定**
From the indicator's settings menu, you can:
インジケーターの設定画面から、以下の操作が可能です:
* Individually toggle the visibility of Rate Hikes, Rate Cuts, and Holds.
「利上げ」「利下げ」「据え置き」の表示・非表示を個別に切り替える
* Choose your preferred language for the labels (English or Japanese).
ラベルの表示言語を「英語」または「日本語」から選択する
* **Clear Visual Cues / 明確なビジュアル**
* **Rate Hikes:** Green labels positioned below the price bars.
**利上げ:** バーの下に緑色のラベル
* **Rate Cuts:** Red labels positioned above the price bars.
**利下げ:** バーの上に赤色のラベル
* **Holds:** Gray labels positioned above the price bars.
**据え置き:** バーの上に灰色のラベル
* **Emergency Events:** Specially highlighted in maroon for easy identification.
**緊急イベント:** 識別しやすいように特別な色(ワインレッド)で強調表示
---
#### How to Use / 使用方法
1. Add the indicator to your chart.
インジケーターをチャートに追加します。
2. Click the **Settings (gear icon)** next to the indicator name on your chart.
チャート上のインジケーター名の横にある**設定(歯車アイコン)**をクリックします。
3. In the "Display Settings" section, check or uncheck the boxes to show or hide different event types.
「Display Settings」セクションで、各イベントタイプの表示・非表示をチェックボックスで切り替えます。
4. In the "Language Settings" section, select your preferred language from the dropdown menu.
「Language Settings」セクションで、ドロップダウンメニューからお好みの言語を選択します。
---
#### A Note on Data / データについて
The event data included in this script is static and contains historical decisions up to September 2025. The script does not plot future scheduled meetings and will need to be manually updated as new policy decisions are made.
このスクリプトに含まれるイベントデータは静的なものであり、2026年1月までの過去の決定を含んでいます。未来のスケジュールをプロットする機能はなく、新しい金融政策が決定された場合は、スクリプトの手動更新が必要です。
Fast EMA Stack >XBT<Multi-timeframe EMA indicator displaying 9/20 EMA bands across 5M, 15M, 1H, and 4H timeframes simultaneously on a single chart.
Quickly assess trend alignment across multiple timeframes without switching charts. A built-in signal table provides instant visual confirmation of bullish or bearish conditions on each timeframe.
Features:
Multi-Timeframe Bands — View EMA 9/20 bands for 5M, 15M, 1H, and 4H all at once
Crossover Labels — Bull/Bear labels appear directly on the chart at each EMA crossover point
Stack Filter — Only show crossover signals that align with your higher timeframe bias (e.g. if 1H is bullish, only show bull signals on lower timeframes)
Individual Label Controls — Toggle crossover labels on/off independently for each timeframe
Label Limit — Set maximum labels per timeframe to keep charts clean (default 5)
Signal Table — Dark-mode table showing BULL/BEAR status with colour-coded indicators
Fully Customisable — Adjust EMA lengths, line thickness, colours, and band transparency per timeframe
Toggle Timeframes — Show or hide individual timeframe bands
Alert Conditions — Pre-built alerts for bullish and bearish EMA crossovers on all four timeframes
How to Use:
Look for alignment across timeframes to confirm trend direction. When multiple timeframes show the same signal (all green or all red), you have stronger confluence. Crossover labels mark exact entry/exit points where momentum shifts.
Stack Filter:
Enable the Stack Filter to only see signals that match your higher timeframe bias. Select your bias timeframe (15M, 1H, or 4H), then:
When bias is bullish → only bull crossovers appear on lower timeframes
When bias is bearish → only bear crossovers appear on lower timeframes
The bias timeframe always shows both directions so you can see when trend changes
This helps filter out counter-trend noise and keeps you trading with the flow.
Green = Bullish (EMA 9 above EMA 20)
Red = Bearish (EMA 9 below EMA 20)
Multi-Session Volume Profile [MarkitTick]💡 This comprehensive Multi-Session Volume Profile indicator offers a sophisticated, array-based approach to Auction Market Theory. By simultaneously processing Daily, Weekly, Monthly, and Custom Session profiles, it empowers traders to visualize the migration of value across multiple timeframes without the performance overhead of standard heavy profile scripts. It is designed to identify key liquidity nodes, support/resistance zones defined by volume, and the directional bias of the market through Point of Control (POC) shifts.
✨ Originality and Utility
● Multi-Dimensional Value Analysis
Unlike standard volume profiles that often restrict users to a single timeframe or require multiple instances of an indicator, this script consolidates four distinct profile calculations into a single, efficient tool. It leverages Pine Script® arrays and custom types (`VPSlot`, `VolumeProfile`) to dynamically calculate volume distribution, ensuring minimal lag while maintaining high data granularity.
● Dynamic POC Shift Tracking
A standout feature of this utility is the "Shift Analysis." The indicator does not merely plot the current Point of Control; it calculates the delta between the current session's POC and the previous session's POC. This provides immediate visual feedback on "Value Migration"—whether the market is accepting higher prices (Bullish Shift) or lower prices (Bearish Shift).
● Granular Control via Custom Types
The script utilizes a custom quantitative structure (`type VolumeProfile`) to manage raw volume, highs, lows, and volatility slots independently for each timeframe. This allows for precise "row" calculations, ensuring that the volume distribution accurately reflects price action within the specific session, rather than broad approximations.
🔬 Methodology and Concepts
● Array-Based Bucketing
The core engine relies on a "Row Size" input to divide the session's price range into horizontal buckets (slots). As new price bars form, the script distributes the bar's volume across these slots. If a bar spans multiple slots, volume is distributed proportionally; if a bar is contained within a single slot, the total volume accumulates there. This mimics a true TPO (Time Price Opportunity) calculation using volume as the weight.
● Statistical Value Area Calculation
The Value Area (VA) is determined using a standard deviation proxy. The script identifies the POC (the slot with the highest accumulated volume) and then iteratively adds the next highest volume slots above or below the POC until the total accumulated volume reaches the user-defined percentage (default 70%).
● Session Logic and Reset
The indicator employs state-logic variables (`isNewDay`, `isNewWeek`, `isNewMonth`) to detect session boundaries. Upon a boundary cross, the `reset()` method clears the arrays and initializes a new profile, while the `draw()` method finalizes the visualization of the completed session. This ensures that the lines on the chart always represent the developing or completed structure of the specific time period.
🎨 Visual Guide
The indicator renders up to four distinct profiles, each color-coded for rapid identification.
● Daily Profile (Default: Yellow)
Solid Yellow Line: Represents the Daily POC (Point of Control)—the price level with the most volume traded today.
Dashed/Dotted Yellow Lines: Represent the Value Area High (VAH) and Value Area Low (VAL).
Yellow Background Box: Highlights the 70% Value Area, showing where the bulk of the day's trading occurred.
● Weekly Profile (Default: Blue)
Solid Blue Line: The Weekly POC. Use this to gauge the medium-term trend direction.
Blue Background: Encapsulates the weekly value area. A breakout from this zone often signals a significant trend continuation.
● Monthly Profile (Default: Purple)
Solid Purple Line: The Monthly POC. This is a high-timeframe magnet level, often acting as major support or resistance.
Purple Background: Shows the macro acceptance zone for the asset.
● Custom Session Profile (Default: Cyan)
Solid Cyan Line: Tracks the POC for a specific time window (e.g., 09:30-16:00). Ideal for isolating RTH (Regular Trading Hours) from electronic sessions.
● Labels and Shift Arrows
Right-Side Labels: Display the exact price of the POC for each active profile.
Shift Indicators (▲ / ▼): Located inside the label. A "▲" indicates the current POC is higher than the previous session's POC (Value Migration Up), while "▼" indicates the opposite.
📖 How to Use
● Trend Confirmation via Value Migration
Observe the Shift Arrows in the labels. If the Daily and Weekly profiles both show "▲" (Up Shift), it confirms that value is migrating higher, suggesting a healthy uptrend. Do not short the market when value is migrating up unless price breaks below the VAL.
● Mean Reversion Trades
When price extends far away from the POC but fails to establish value (volume) at those new levels, it often reverts back to the POC. Use the POC lines as profit targets for mean reversion strategies.
● Breakout Validation
A breakout is considered valid if price closes outside the Value Area (Background Box) and volume begins to build at the new levels. If price spikes out of the VAH but quickly returns inside the box, it is a "Failed Auction," and a rotation to the VAL is probable.
● Confluence Zones
Look for price levels where the Daily POC and Weekly VAL/VAH overlap. These "clusters" of volume act as reinforced support or resistance levels.
⚙️ Inputs and Settings
● General Settings
Row Size: Determines the resolution of the profile. Higher numbers (e.g., 100) give smoother, more precise profiles but use more resources. Lower numbers (e.g., 24) are blockier but faster.
Value Area %: The percentage of total volume to include in the VA. Standard is 70.0.
Show POC Shift Analysis: Toggles the display of the ▲/▼ drift comparison.
● Profile Toggles (Daily, Weekly, Monthly, Session)
Each section has individual toggles for Show Profile , Show Value Area , and Show Background .
Start of Week Day: Allows you to define when the weekly profile resets (e.g., Sunday or Monday).
● Alert Settings
Approach Distance (Ticks): Defines how close price must get to a POC/VAH/VAL level to trigger an "Approaching" alert.
Enable Alerts: Master switch to turn on internal alert condition checks.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Auction Market Theory (AMT)
The script is grounded in Auction Market Theory, which posits that the market's primary purpose is to facilitate trade. Price advertises opportunity, and Volume records the acceptance of that opportunity. The "Value Area" represents the fair value established by buyers and sellers, while the POC represents the price of maximum consensus.
● Gaussian Distribution Application
The calculation of the Value Area at 70% is derived from the statistical properties of a Normal (Gaussian) Distribution, where approximately 68.2% of data points typically fall within one standard deviation of the mean. In this script, the POC acts as the mode (peak frequency), and the Value Area represents that first standard deviation of transactional volume.
● Volume-Price Integration
By integrating volume into price buckets (`VPSlot`), the indicator transforms two-dimensional time/price data into three-dimensional data (Time, Price, Volume). This reveals the "texture" of the market structure, distinguishing between high-volume nodes (strong acceptance) and low-volume nodes (rejection or emotional trading).
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Fractal - VA (Dynamic Wicks)This indicator, which we’ve developed as the Frectal - VA (Multi-Timeframe Visual Analytics), is designed for traders who utilize multi-timeframe analysis but want to keep their main chart clean of overlapping candles.
It functions as a Projected Dashboard, pulling price action from a higher timeframe (HTF) and rendering it as a set of dynamic, solid objects in the right-hand margin of your chart.
Core Philosophy
The "Frectal - VA" is built on the principle of Nested Structure. In professional trading, the "Value Area" or the "Fractal" of a higher timeframe often dictates the trend of the lower timeframe. By projecting these candles into the future (the right side of the chart), you can monitor HTF trend shifts, volatility, and candle closes without the HTF candles obscuring your current "live" price action.
Key Components
Decoupled Visualization: Unlike standard MTF indicators that overlay large boxes behind your current bars, this indicator creates a side-by-side comparison in the chart's whitespace.
Real-Time Data Streaming: It doesn't just show historical candles; the "lead" candle in the dashboard updates with every tick of the current price, showing you exactly how the higher timeframe candle is forming.
Dynamic Color Sync: The body, border, and wick of each projected candle are linked. If a 1-hour candle flips from bullish to bearish on a 5-minute chart, the entire dashboard object changes color instantly.
Customizable Offset: You control the "Drop" (Vertical Offset) and the "Margin" (Horizontal Offset). This allows you to tuck the indicator into a corner of your screen as a heads-up display (HUD).
Strategic Use Cases
Trend Confirmation: If you are trading a 1-minute "scalp" but the 15-minute dashboard shows a solid, large-bodied bearish candle, you are alerted to trade with the HTF momentum.
Volatility Monitoring: By observing the size of the wicks in the dashboard, you can see if the higher timeframe is experiencing "rejection" at certain levels, even if your local timeframe looks like a steady trend.
Visual Backtesting: Because it maintains a queue of the last
X
candles, you can see the immediate history of the HTF structure (e.g., a "Morning Star" pattern or "Engulfing" candles) at a glance.
Technical Specifications
Pine Script Version: v6 (latest standard).
Drawing Engine: Uses box and line arrays for high-performance rendering that doesn't lag the UI.
Memory Management: Automatically deletes old objects to stay within TradingView’s script limits, ensuring stability during long trading sessions.
Gap Hunter Pro [Auto-Alerts + Fill Detection]Gap trading is profitable, but staring at charts waiting for a fill is tedious.
Gap Hunter Pro automates the process by instantly detecting valid gaps, drawing dynamic support/resistance zones, and alerting you exactly when action happens. Unlike standard gap indicators, this script manages the lifecycle of the gap—tracking it from creation to partial entry, and finally removing it once it is fully filled.
Key Features:
🚀 Smart Detection: Automatically finds "Gap Ups" and "Gap Downs" based on your custom threshold (filter out small noise).
🔔 Dual Alerts:
Entry Alert: Get notified the moment price touches the gap zone.
Fill Alert: Get a second notification when the gap is 100% closed (filled).
🧹 Auto-Cleanup: Zones automatically delete themselves from the chart once filled, keeping your workspace clean.
🎨 Fully Customizable: Control colors, border thickness, history depth, and text labels.
How to Use:
Add to Chart: Works on any timeframe (15m recommended for Day Trading, Daily for Swing).
Adjust Settings: Set "Max Gaps to Keep" to control history depth.
Set the Alert (Crucial):
Click the Alert button in TradingView.
Condition: Select Gap Hunter Pro.
Action: Select "Any alert() function call".
You now have a fully automated gap scanner running 24/7.
RSI: Evolved [DAFE]RSI: Evolved : The Ultimate Momentum Intelligence Engine
30+ RSI Engines. 15+ Zero-Lag Smoothers. The Revolutionary Quantum Horizon. This is Not Just an RSI. This is the Evolution of Momentum.
█ PHILOSOPHY: BEYOND THE OSCILLATOR, INTO THE NEXUS
The standard Relative Strength Index is a relic. It is a brilliant, timeless concept trapped in a rigid, one-dimensional formula developed in the 1970s. It assumes all market momentum is uniform, that all volatility is equal, and that a single mathematical lens is sufficient to view the infinitely complex character of modern markets. It is not.
RSI: Evolved was not created to be another RSI. It was engineered to be the definitive evolution of momentum analysis. This is not an indicator; it is a powerful, interactive research environment. It is a laboratory where you, the trader, can move beyond the static "one-size-fits-all" approach and forge a momentum oscillator that is perfectly adapted to the unique physics of your market, timeframe, and trading style.
This suite deconstructs the very DNA of the RSI, rebuilding it with a library of over 30 distinct, mathematically diverse calculation engines . From timeless classics and exotic variations to proprietary DAFE quantum models, this suite provides an unparalleled arsenal for quantifying the unseen forces of market momentum.
█ THE EVOLUTION: WHAT MAKES THIS UNLIKE ANY OTHER RSI?
This is not just a collection of features; it is a seamlessly integrated, multi-layered analytical system. It stands in a class of its own for several key reasons:
The 30+ Algorithm Core: At its heart is a library of over 30 unique RSI calculation engines. You can now choose an engine based on its mathematical properties—whether you need the zero-lag responsiveness of a Hull RSI, the time-warping capability of a Laguerre RSI, or the predictive power of a DAFE Quantum Fusion RSI.
Advanced Post-Processing: After the RSI is calculated, it passes through a multi-stage refinement process. First, choose from over 15+ professional-grade smoothing algorithms to create a crystal-clear signal. Then, activate the intelligent Filter Module to scale the RSI's output based on trend, volatility, or momentum regimes.
The Quantum Horizon & Temporal Wave: This is a revolutionary leap in data visualization. The indicator projects the historical momentum waves from higher timeframes directly onto your main price chart as a futuristic, holographic overlay. You can now see the alignment (or divergence) of macro momentum without ever looking away from price action. This is multi-timeframe analysis evolved into an art form.
Dynamic, Volatility-Adaptive Zones: Static 70/30 levels are obsolete. Evolved's "Quantum Zones" are alive; they "breathe" with market volatility. They automatically widen during powerful trends to keep you in a winning trade and tighten during choppy consolidation to help you catch reversals with greater precision.
Comprehensive Analytical Modules: This is a full suite of institutional-grade tools, including a powerful regular and hidden Divergence Engine , a multi-timeframe Consensus Dashboard , and dynamic RSI Bands (Bollinger, Keltner, etc.) plotted directly on the oscillator.
█ THE QUANTUM HORIZON & TEMPORAL WAVE: SEEING MOMENTUM IN 4D
This groundbreaking feature fundamentally changes how you interact with multi-timeframe momentum data. The Quantum Horizon is a dedicated visualization module that projects up to three "Temporal Waves" directly onto your main price chart. Each wave is a historical representation of a momentum oscillator (RSI, MFI, or Stoch RSI) pulled from a higher timeframe of your choice. Instead of flipping between charts or cluttering your screen with multiple indicators, you get an immediate, intuitive, and aesthetically stunning view of the market's complete momentum structure.
Each Temporal Wave is a self-contained universe, rendered as a glowing, flowing line within its own gridded channel. This channel is not just for show; it represents the 0-100 scale of the oscillator, with key 30, 50, and 70 levels marked for reference. You can see the history of momentum, its peaks, its troughs, and its crossovers with its own signal line. This allows you to visually identify macro divergences, trend alignment, and exhaustion points on your primary trading chart, transforming your analysis from a fragmented process into a single, unified experience. This is no longer just an indicator; it is a true Heads-Up Display for the flow of time and momentum.
█ THE ARSENAL: A DEEP DIVE INTO THE RSI & SMOOTHING ENGINES
This is your library of mathematical DNA. Understanding your tools is the first step to mastery. The 30+ RSI types are grouped into distinct families, each with a unique philosophy.
THE RSI ENGINE FAMILIES
The Classics (Wilder's, Cutler's, EMA, WMA): These are the foundational building blocks of momentum analysis. They provide a reliable, time-tested baseline. Wilder's uses the RMA for a unique smoothing characteristic, while Cutler's uses the SMA for a more direct, arithmetic average of gains and losses. The EMA and WMA versions offer increased responsiveness by weighting recent price action more heavily.
The Low-Lag Warriors (DEMA, TEMA, Hull, ZLEMA): This family is engineered specifically to combat the inherent lag of classical averages. The Double and Triple EMA (DEMA, TEMA) use a composite of multiple EMAs to reduce latency. The Zero-Lag EMA (ZLEMA) attempts to remove lag by adjusting the source price with its own past data. The Hull RSI is a standout, using a weighted moving average calculation to achieve a remarkable balance of extreme smoothness and near-zero lag, making it ideal for scalping.
The Exotics (Laguerre, Connors, Fisher, KAMA): These engines employ advanced mathematical concepts to view momentum through a different lens. The Laguerre RSI , based on John Ehlers' work, uses a time-warping, non-linear filter that can be extremely responsive to changes in trend. The Fisher Transform RSI normalizes the output to a Gaussian distribution, making peaks and troughs sharper and more defined for clearer signals. The KAMA Adaptive RSI is a "smart" algorithm that automatically slows its calculation in choppy markets and speeds it up in strong trends.
The Volume-Based (Volume-Weighted, MFI, VWAP-Weighted): This family infuses price momentum with volume data, providing a measure of conviction. They answer not just "how fast is price moving?" but "how much participation is behind the move?". The Money Flow RSI (MFI) is a classic, while the Volume-Weighted and VWAP-Weighted versions directly incorporate volume into the gain/loss calculation, giving more weight to high-volume bars.
The DAFE Proprietary Engines (The "God Mode" Algos): The crown jewels of the Laboratory, these are custom-built, proprietary algorithms you will not find anywhere else.
DAFE Quantum Fusion: This engine calculates RSI on three harmonic timeframes simultaneously (based on the Golden Ratio) and "superimposes" them using a dynamic weighting system based on volume and momentum confidence. It is the most robust and balanced all-rounder.
DAFE Kinetic Energy: Based on the physics principle that Momentum = Mass × Velocity. Standard RSI only sees Velocity (price change). Kinetic RSI weights every price move by Relative Volume (Mass), measuring the true "force" of the market.
DAFE Spectral: This engine uses concepts from Digital Signal Processing to analyze the frequency of price moves. It automatically differentiates between the "Signal" (the underlying trend) and the "Noise" (the chop), and adapts its calculation speed accordingly.
DAFE Entropy Flow: A unique engine that uses Information Theory to measure market "disorder." In chaotic, high-entropy markets, it automatically dampens its own signal to avoid whipsaws. In orderly, low-entropy trends, it sharpens its signal to be more responsive.
THE POST-SMOOTHING FILTERS
After your primary RSI is calculated, you can pass it through one of over 15 advanced filters for unparalleled clarity.
Low-Lag (Hull, DEMA, TEMA): Ideal for responsive smoothing that tracks the raw RSI closely.
Adaptive (KAMA, VIDYA): Perfect for smart, regime-aware smoothing that is slow in chop and fast in trends.
DSP & Scientific (SuperSmoother, Butterworth, Gaussian, Jurik-Style): The pinnacle of signal processing. These filters provide the absolute cleanest signal with minimal lag, leveraging advanced digital signal processing techniques to surgically remove noise.
█ THE ANALYTICAL MODULES: BEYOND THE LINE
Dynamic Zones: Your overbought/oversold levels (e.g., 70/30) are no longer static lines. They are living, breathing zones that respond to market volatility. They automatically widen during powerful, high-volatility trends to prevent you from selling a strong uptrend too early. Conversely, they tighten during low-volatility consolidation, allowing you to catch smaller, mean-reverting moves with greater precision. This is a crucial evolution for trading in modern, dynamic markets.
Divergence Engine: The automated engine works tirelessly in the background to detect critical disconnects between price and momentum. It automatically identifies and plots both Regular Divergences (which often signal major trend reversals) and Hidden Divergences (which often signal trend continuations after a pullback) with clear on-chart and in-pane markers and lines.
MTF Dashboard: Context is everything. This module provides an instant read on the momentum across three higher timeframes of your choice. The "Consensus" reading tells you if all timeframes are aligned ("ALL BULL" or "ALL BEAR"), providing powerful contextual confirmation for your trades and helping you avoid taking signals that go against the macro flow.
RSI Bands: This module applies a full-fledged band methodology (Bollinger Bands, Keltner Channels, etc.) directly to the RSI line itself. A pierce of the upper or lower band is a powerful sign of a statistical extreme, often preceding a sharp reversion back to the mean. A "squeeze" in the RSI bands often precedes an explosive move in momentum.
Signal Line & Histogram: The fast-moving RSI line is paired with a slower, smoother Signal Line of your choice. Crossovers between these two lines can be used as effective entry/exit triggers that are often more reliable than simple overbought/oversold levels. The histogram visually represents the momentum (the velocity and acceleration) of the RSI itself, turning from light to dark green in a strengthening uptrend, for example.
█ DEVELOPMENT PHILOSOPHY
RSI: Evolved was forged from a single, guiding principle: momentum is not a fixed property; it is a dynamic, multi-faceted force with a unique character in every market. This tool was designed for the trader who is no longer satisfied with a one-size-fits-all indicator. It is for the analyst, the tinkerer, the scientist—the individual who seeks to deconstruct, understand, and master the hidden physics of market momentum. This is a tool for forging your own alpha, not just following a lagging line.
RSI: Evolved is designed to give you that patience and discipline, providing a crystal-clear, multi-dimensional view of momentum so you can act with precision when the perfect setup finally arrives.
█ DISCLAIMER AND BEST PRACTICES
THIS IS AN ADVANCED ANALYTICAL TOOL: This indicator provides intelligence on momentum, not financial advice. It should be used as a core component of a complete trading strategy.
RISK MANAGEMENT IS PARAMOUNT: All trading involves substantial risk. Never risk more capital than you are prepared to lose.
START WITH A ROBUST BASE: The "DAFE Quantum Fusion" engine with the "SuperSmoother" is an exceptionally powerful and well-balanced starting point for most markets.
USE CONFLUENCE: The highest probability signals occur when multiple modules agree. For example: a Regular Bullish Divergence, as the RSI crosses up from an Extreme Oversold Dynamic Zone, while the Quantum Horizon shows the higher timeframes are also starting to turn up.
"The hard part is not making the decision to buy or sell, but having the patience and discipline to wait for the right setup."
— Mark Weinstein
Taking you to school. - Dskyz, Trade with Anticipation. Trade with Strength. Trade with RSI: Evolved
Blockcircle Global Central Bank Balance Sheet and Money SupplyOVERVIEW
This indicator aggregates money supply (M2) and central bank balance sheet data from the world's largest economies into a single, unified view of global liquidity conditions. Rather than manually tracking dozens of separate data feeds or building your own aggregation logic, you get a ready-to-use tool that pulls from FRED, TradingView Economics, and real-time FX rates to convert everything into USD terms automatically.
Global liquidity has historically served as a leading indicator for risk assets. When central banks expand their balance sheets and the money supply grows, capital tends to flow into equities, crypto, and other risk-on assets. When liquidity contracts, markets often follow. This indicator gives you that macro context directly on your chart.
The global liquidity movement (expansionary or contractionary) often leads to asset price appreciation/depreciation in CRYPTOCAP:BTC , SP:SPX , etc
WHAT MAKES IT ORIGINAL AND DIFFERENT
Combines both M2 money supply AND central bank balance sheet data in one place, whereas most existing tools focus on only one metric
Aggregates 11 economies for M2 (USA, EU, China, Japan, UK, Canada, India, Russia, Brazil, Australia, Switzerland) and 10 central banks for balance sheet data
Automatically handles currency conversion using live FX rates so all values display in USD
Includes a dedicated US Net Liquidity calculation (Fed Balance Sheet minus Reverse Repo minus TGA) which filters out temporary distortions that other aggregate tools ignore
Provides granular country by country breakdown in the information table so you can identify which central banks are driving the aggregate trend
Offers four moving average types (SMA, EMA, WMA, RMA) for trend smoothing with configurable length
HOW IT WORKS
The indicator requests monthly M2 data from TradingView's Economics feeds for each included country. Central bank balance sheet data is pulled the same way. All non-USD values are converted using daily FX rates from major currency pairs. The script then sums these converted values to produce the Global M2 and Global CBBS lines.
For US liquidity specifically, the script pulls weekly data for the Reverse Repo Program (RRP) and Treasury General Account (TGA) from FRED. Net Liquidity is calculated as: Fed Balance Sheet minus RRP minus TGA. This formula removes funds parked in reverse repos and Treasury cash balances, showing what is actually circulating in the financial system.
KEY FEATURES
Global M2 Money Supply line tracking 11 major economies with individual toggles for each country
Global Central Bank Balance Sheet line tracking 10 central banks with individual toggles
US-specific components, including Reverse Repo, TGA, and Net Liquidity as separate plot lines
Moving average overlays with selectable type and length for identifying trend direction
Fill the option between M2 and CBBS lines to visualize the gap between money supply and central bank assets
Value labels at line endpoints showing current readings and period-over-period percentage change
Comprehensive information table with optional country breakdown view
Full color customization for all lines, configurable line width, and style options
Alert conditions for significant M2 and CBBS changes plus MA crossover signals
HOW TO USE
Add to any chart and observe the overall direction of global liquidity. Rising lines generally support risk on positioning, while declining lines suggest caution
Watch for divergences between the M2 and CBBS lines. If money supply grows faster than central bank assets, private credit may be expanding. If CBBS rises faster, central banks are actively injecting liquidity
Use the US Net Liquidity line to understand short term dollar liquidity conditions separate from longer term global trends
Enable moving averages to filter noise and identify when liquidity trends are changing direction
Toggle individual countries on or off in the settings to see how specific regions contribute to the total
Reference the information table for exact values and percentage changes without leaving your chart
SETTINGS BREAKDOWN
Table Settings: position, text size, and whether to show the country breakdown
Display Settings: toggle visibility for each line, fill area, value labels, percent labels, and the info table
Line Styling: customize colors for each metric, adjust line width, and select solid, dashed, or dotted style
Moving Average: enable or disable MA overlays for M2 and CBBS, select MA type, and set length
Global M2 Countries: individually enable or disable each of the 11 economies
US Liquidity Components: toggle RRP and TGA data
Global CBBS Countries: individually enable or disable each of the 10 central banks
Alerts: set percentage threshold for change based alerts
IMPORTANT CONSIDERATIONS
Data updates depend on the publication schedule of each source. M2 and CBBS data are typically monthly with some delay. US Fed Balance Sheet, US RRP and US TGA update weekly
FX conversion uses daily close rates which may introduce minor discrepancies during volatile currency periods
Some emerging market data may have longer reporting lags than developed market data
Hope you find it useful and impactful to your trading and investment decisions! If you have any questions at all, please just ask, happy to help
Peak Trading Activity Graphs [LuxAlgo]The Peak Trading Activity Graphs displays four graphs that allow traders to see at a glance the times of the highest and lowest volume and volatility for any month, day of the month, day of the week, or hour of the day. By default, it plots the median values of the selected data for each period. Traders can enable the Median Delta feature to further highlight differences in the data. The graphs are customizable in width and height and feature gradient colors by default.
🔶 USAGE
The tool is simple yet powerful. Using the three main parameters on the settings panel, traders can display up to four different graphs and up to 16 different configurations.
There are two main types of data: volume and volatility. There are also four different time periods: months, days of the month, days of the week, and hours of the day. There is also the possibility of displaying the raw medians or the delta between them.
Understanding which time periods have the most and least volume and volatility is essential for any trader. From avoiding trading during periods of low volume to properly sizing positions during periods of high volatility, there are multiple use cases directly related to improving execution and risk management.
🔹 Months
This chart shows the monthly volume and volatility of NQ as medians at the top and as the delta of medians at the bottom.
As we can see on the left-hand chart, the volume is fairly consistent throughout the year. January, March, and October have the highest volume, and December has the lowest volume for obvious reasons. Note the bottom chart with the delta feature enabled, which clearly shows the top and bottom periods.
On the right, we have volatility, which is also evenly distributed throughout most months. October is the most volatile month, and March is the least volatile month. The differences are also very clear on the bottom chart with delta enabled.
Traders may want to compare median volatility and volume by month to size positions and favor exposure during historically high-activity months.
🔹 Days of Month
The same NQ charts are shown, but in this case, the Days of Month period has been selected. As you can see, this displays a calendar-like graph. The volume is on the left, the volatility is on the right, and the delta feature is enabled on the bottom charts. This feature allows for stronger differences in gradient.
The top charts show that the raw medians of both volume and volatility are evenly distributed. We need to enable the delta feature on the bottom charts to see where the most and least volume and volatility are.
Traders can use median activity by calendar day to anticipate liquidity expansions or contractions and adjust trade frequency.
🔹 Days of Week
In this case, we have BTC charts with the same layout as before. Notably, the difference in volume on weekends is not as pronounced from a volatility perspective on those same days.
A practical use case can be differentiate high-risk, high-participation weekdays from low-activity sessions to select trend or range-based strategies.
🔹 Hours of Day
This shows the volume and volatility of each hour of the day for gold futures. As we can see, the most volume and volatility occur during the three hours around the RTH open at 8:00, 9:00, and 10:00 a.m.
Traders may want to isolate hours with the highest median volatility and volume to concentrate execution and avoid low-liquidity periods.
🔹 Assets Comparison
This tool allows us to compare different assets over the same period. In this case, we are comparing the hours of the day for 10-year notes, the S&P 500, silver, and the yen. Each asset has a different volatility profile throughout the day.
With the Delta feature enabled, we can clearly see the differences. The 10Y Notes move from 7:00 to 9:00 and from 2:00 to 9:00. The Yen moves from 7:00 to 9:00 and from 2:00 to 9:00. Silver moves from 8:00 to 10:00. The S&P 500 moves from 8:00 to 9:00 and from 14:00 to 15:00. All times are in exchange time.
🔹 Sizing & Coloring Graphs
Traders can adjust the width and height of the graphs, as well as the text size, at will.
Traders can choose from four different color configurations in the settings panel.
🔶 SETTINGS
Data: Select the type of data to display: Volume or Volatility.
Period: Select the time period to display: Month, Day of Month, Day of Week, or Hours.
Display delta between medians. Display the difference between the medians as a percentage. The smaller median is 0 and the larger median is 100. Enabling this feature highlights the differences between values.
🔹 Graph
Graph: Select the graph location.
Size: Select the graph size.
Width: Select the graph width.
Height: Select the height of the graph.
🔹 Style
Colors: Select a color map: Viridis, Plasma, Magma, or Custom.
Custom Cold: Select a custom color for cold (low values).
Custom Lukewarm: Select a custom color for lukewarm (medium values).
Custom Hot: Select a custom color for hot (high values).
Target Ladder Pro - MTF ATR + HIT ConfirmationTarget Ladder Pro is a volatility-based target framework that plots multi-timeframe ATR-derived upper and lower reference levels on the price chart and can optionally print HIT confirmations when a defined ATR target is reached.
This script is designed to provide structured volatility context (reach zones, range framing, and objective “target reached” tagging). It does not predict price direction, does not guarantee outcomes, and is not intended as a standalone signal generator.
What This Script Displays
1) Multi-Timeframe ATR Target Ladder (1H / 4H / 1D / 1W)
For each enabled timeframe, the script calculates ATR using higher-timeframe data via request.security() (no lookahead), then plots:
Upper level: Base + ATR × Multiplier
Lower level: Base − ATR × Multiplier
The “Base” can be set to:
the current chart price (for immediate relevance), or
the timeframe’s own close (for a strict MTF reference)
Each timeframe’s upper and lower levels are drawn as price-chart lines.
Last-Bar Target Balloons (per timeframe)
On the last bar, the script prints balloon labels for each timeframe’s upper and lower level. Horizontal x-offsets are configurable per timeframe to keep stacked labels readable.
2) ATR Target + Deviation Bands (Context Layer)
A separate ATR target module calculates a single ATR reference level for the current bar based on candle direction (up/down close relative to the prior close). It also optionally plots:
a mean line (moving average), and
up to four standard-deviation bands (mean ± N × deviation)
These bands provide statistical range context around price.
Target / HIT Labels (per bar)
When enabled:
a Target label marks the computed ATR target level
a HIT label appears when price reaches that target on the same bar (high/low touch rule)
An optional filter can require that the ATR target is inside the first deviation band before printing a HIT label, reducing HIT labels during extended conditions.
Label history can be limited to the most recent N labels or allowed to persist (with a safety cap).
How to Use
Enable the timeframes you want to display (e.g., 1H / 4H / 1D / 1W).
Adjust ATR length and multipliers per timeframe to match the asset’s volatility profile.
Choose whether MTF ladder levels are anchored to current price or the timeframe’s own close.
Use the ladder levels as volatility reach reference zones above and below price.
Use Target/HIT labels as objective “condition occurred” markers for review and journaling.
Notes and Limitations
ATR levels are volatility references, not forecasts or guarantees.
Targets may be reached frequently in high-volatility regimes and rarely in compressed markets.
HIT labels indicate that a defined volatility condition occurred; they do not imply reversal or continuation on their own.
This script is provided for informational and educational purposes only and does not constitute financial advice.
Luminous Volume Flow [Pineify]Luminous Volume Flow
The Luminous Volume Flow is a specialized volume-based momentum oscillator designed to uncover the underlying buying and selling pressure within the market. Unlike traditional volume indicators that simply aggregate volume based on the close relative to the open, LVF analyzes intrabar dynamics—specifically the relationship between the close price and the high/low wicks—to estimate the dominance of buyers or sellers.
By smoothing this raw volume delta and applying a signal line, the LVF provides a clear visual representation of volume flow, helping traders identify trend strength, potential reversals, and momentum shifts with high-definition "luminous" visuals.
Key Features
Intrabar Pressure Analysis : Calculates buying and selling pressure based on wick dynamics and price polarity to provide a more granular view of market sentiment.
Multi-Type Smoothing : Offers selectable Moving Average types (SMA, EMA, RMA) for the main Flow Line to adapt to different market volatilities.
Luminous Visuals : Utilizes dynamic color gradients that brighten as momentum expands and darken as it contracts, offering immediate visual feedback on trend intensity.
Sentiment Cloud : Fills the area between the Flow and Signal lines to clearly visualize the prevailing bullish or bearish sentiment.
High-Contrast Signals : Optional high-contrast signal markers for clear crossover identification.
How It Works
The LVF operates on a multi-stage calculation process:
Pressure Calculation : The script compares the lower wick (Close - Low) against the upper wick (High - Close).
If the lower wick is longer, it suggests buying pressure (rejection of lower prices), and volume is assigned to Buy Pressure .
If the upper wick is longer, it suggests selling pressure (rejection of higher prices), and volume is assigned to Sell Pressure .
If equal, the Close > Open polarity is used as a tie-breaker.
Raw Delta : The difference between Buy and Sell Pressure is calculated to determine the net volume flow for the bar.
Flow Line : The Raw Delta is smoothed using a user-selected Moving Average (SMA, EMA, or RMA) over the Flow Length period. This creates the main oscillator line.
Signal Line : An EMA of the Flow Line is calculated to generate the Signal Line, similar to the MACD mechanic.
Histogram : The difference between the Flow Line and Signal Line determines the Histogram, which drives the "Luminous" color gradient logic.
Trading Ideas and Insights
Trend Confirmation : When the Flow Line is above the Signal Line and the Cloud is green, the bullish trend is supported by volume. Conversely, a red cloud indicates bearish volume dominance.
Momentum Crossovers : The triangle shapes indicate crossovers between the Flow and Signal lines. A triangle up (Green) suggests a potential bullish entry or invalidation of a short bias. A triangle down (Red) suggests a bearish turn.
Expansion vs. Contraction : Pay attention to the brightness of the histogram columns. Bright colors indicate expanding momentum (a strong move), while darker, fading colors suggest the move is losing steam, potentially preceding a consolidation or reversal.
How multiple components work together
This script combines the logic of Volume Delta analysis with Signal Line Crossover mechanics (popularized by MACD). By applying trend-following smoothing to raw volume data, we transform erratic volume spikes into a coherent flow. The "Luminous" visual layer is added to make the data interpretation intuitive—removing the need to mentally calculate the rate of change based on histogram height alone.
Unique Aspects
Adaptive Gradient Coloring : The histogram doesn't just show positive/negative values; it visually communicates the *acceleration* of the move via color intensity based on standard deviation.
Wick-Based Volume Attribution : Instead of a binary close-to-open comparison, LVF respects the price action within the candle (the wicks), acknowledging that a long lower wick on a red candle can actually represent significant buying interest.
How to Use
Add the indicator to your chart.
Adjust the Flow Length to match your trading timeframe (lower for scalping, higher for swing trading).
Select your preferred Smoothing Type (EMA is default and recommended for responsiveness).
Use the "Sentiment Cloud" filter: Look for long signals only when the cloud is green, and short signals when the cloud is red.
Monitor the Luminous Histogram for signs of exhaustion (colors fading) to manage exits.
Customization
Flow Length : Period for the main smoothing (Default: 14).
Signal Length : Period for the signal line (Default: 9).
Smoothing Type : Choose between SMA, EMA, or RMA.
Colors : Fully customizable colors for Bullish/Bearish phases and signals.
Chart Bars : Option to color the main chart candles based on the Flow direction.
Conclusion
The Luminous Volume Flow is a robust tool for traders who want to go beyond price action and understand the volume dynamics driving the market. By visualizing the flow of buying and selling pressure with advanced smoothing and reactive visuals, it provides a clearer picture of market sentiment than standard volume bars.
Laguerre Filter [BackQuant]Laguerre Filter
Overview
The Laguerre Filter is a powerful trend-following tool designed to smooth price action while maintaining responsiveness to market changes. It is based on the Laguerre recursive filter, which is a type of signal processing filter that adapts to both the current price dynamics and the underlying trend. The Laguerre Filter can be seen as a method to reduce market noise, enabling traders to more easily identify the strength and direction of trends while minimizing lag.
The Laguerre Filter is well-suited for markets with varying volatility levels, offering a smoother representation of price action without the delay associated with traditional moving averages. By dynamically adjusting to price movements, the Laguerre Filter provides a more adaptive and reliable signal compared to simpler smoothing techniques.
What is the Laguerre Filter?
The Laguerre Filter is derived from the Laguerre polynomial, which is used in signal processing for smooth filtering of data. The Laguerre filter is a recursive filter, meaning that each new value is calculated based on both the current price data and previous values, with a weighting system that allows it to adapt to market conditions. This recursive nature helps reduce the impact of short-term fluctuations, enabling the filter to focus on the underlying trend.
The Laguerre filter uses a feedback mechanism, where the input signal (price data) is smoothed iteratively. This iterative process helps avoid the lag that is typically associated with traditional moving averages while still capturing the overall trend direction.
The filter is designed to have:
Adaptive behavior: It reacts quickly to significant price changes while ignoring minor fluctuations.
Reduced noise: By filtering out random short-term price movements, it provides a clearer view of the underlying trend.
Customizability: Traders can adjust the filter’s sensitivity through user inputs, making it adaptable to different market conditions.
Core Calculation Methodology
The core of the Laguerre Filter lies in its recursive calculation:
Each new value is calculated using the previous value along with the current price input.
The recursive formula is governed by two key parameters: the damping factor (gamma) and the order of the filter (number of Laguerre elements).
The damping factor controls how responsive the filter is to changes in price. A higher gamma value makes the filter smoother but introduces more lag, while a lower gamma value makes it more reactive to price changes but can introduce more noise.
The order defines how many Laguerre elements are used in the calculation. A higher order results in a smoother output but with more delay, while a lower order provides a faster response but less smoothing.
The filter works by weighting previous values with a binomial weighting system, which assigns more weight to recent values and less weight to older values. This creates a dynamic smoothing effect that adapts to price volatility, ensuring that the filter is neither too slow nor too noisy.
Signal Logic and Trend Detection
The Laguerre Filter continuously evaluates the strength and direction of the trend by comparing the current smoothed value to the previous value:
If the current value is greater than the previous value, the trend is considered bullish, and the filter will signal a long condition.
If the current value is less than the previous value, the trend is considered bearish, and the filter will signal a short condition.
The trend detection logic is based on the recursive nature of the filter, which smooths price movements over time. This allows the filter to capture the broader trend while minimizing the influence of short-term price fluctuations.
The trend state is also visually represented by color-coding:
Green color represents an uptrend (bullish condition).
Red color represents a downtrend (bearish condition).
Neutral (white) indicates no clear trend direction.
This color-coding helps traders easily identify the prevailing trend and decide whether to enter or exit trades based on the trend's strength.
Laguerre Filter Behavior and Performance
The performance of the Laguerre Filter can be influenced by several factors:
Gamma (Damping Factor): A higher gamma value results in a smoother filter but increases lag. A lower gamma value allows for a faster response but may introduce more noise, making it more reactive to smaller price changes.
Filter Order: The order determines how many Laguerre elements are used in the filter calculation. A higher order provides more smoothing but increases lag, while a lower order results in a quicker response but less smoothing.
The sweet spot for gamma is typically between 0.7 and 0.85, where the filter offers a good balance between smoothness and responsiveness. The filter order is usually set to 4 for classic Laguerre filtering, but higher orders can be used for more smoothing if needed.
The Laguerre Filter’s performance shines in markets with sustained trends, where the filter can effectively capture and represent the underlying direction without excessive lag. It is particularly useful in volatile markets, as it helps smooth out noise while providing a clear picture of the trend.
Visual Presentation
The Laguerre Filter provides a dynamic, color-coded line that follows the trend direction. This line can be displayed alongside price data to visually highlight the market trend. In addition to the main Laguerre line, several visual enhancements can be applied:
Gradient fill between the price and the Laguerre Filter line, providing a visual cue for bullish or bearish market conditions.
Candle coloring to reflect the current trend, making it easier to spot trend reversals or confirmations directly on the chart.
Background shading to visually highlight areas of strong trend or consolidation.
Edge glow effect that highlights trend boundaries, making it easy to spot key levels of support or resistance.
These visual elements enhance the usability of the Laguerre Filter, allowing traders to quickly assess the market trend and make informed decisions.
Practical Use Cases
1) Trend Following
The Laguerre Filter is ideal for trend-following strategies. By using the filter to identify the prevailing trend, traders can:
Enter long positions when the Laguerre Filter turns bullish (green).
Enter short positions when the Laguerre Filter turns bearish (red).
By aligning trades with the dominant trend, traders can improve their chances of success.
2) Trend Strength Assessment
The Laguerre Filter can also be used to assess the strength of the trend:
A rising Laguerre value indicates a strengthening uptrend.
A falling Laguerre value indicates a strengthening downtrend.
A flattening Laguerre value signals weakening momentum or consolidation.
This information can be used to adjust position sizing or to decide when to enter or exit a trade.
3) Trade Management
The Laguerre Filter can also assist in trade management:
Use the Laguerre line as a trailing stop for long positions in an uptrend.
Scale out of positions as the Laguerre value begins to flatten or reverse.
Use the Laguerre Filter to avoid trades when the market is in consolidation or lacks a clear trend.
Tuning Guidelines
The Laguerre Filter can be adjusted for different market conditions using the following parameters:
Gamma (Damping Factor): Adjust for the desired level of responsiveness versus smoothness. Typical values range from 0.7 to 0.85.
Filter Order: Adjust to control the level of smoothing. The default value of 4 is a good starting point, but higher orders can be used for smoother filters.
Summary
The Laguerre Filter is a versatile and adaptive trend-following indicator that smooths price data and reduces noise, making it easier to identify and follow trends. By using recursive smoothing techniques and adjustable parameters, the Laguerre Filter provides an accurate representation of market conditions with minimal lag. It is especially useful in volatile markets where traditional moving averages may fail to capture the underlying trend. With its color-coded trend detection, gradient fills, and customizable settings, the Laguerre Filter is a powerful tool for traders looking to stay aligned with the prevailing market direction.
Smart Money Structure FilterEnglish Description
Overview
Smart Money Structure Analyzer is a professional trading tool that implements Smart Money Concepts (SMC) to identify key market structure shifts, Break of Structure (BOS), and Change of Character (CHoCH) patterns. This indicator helps traders follow the "smart money" flow by detecting institutional order flow patterns on any timeframe.
Key Features
Swing Point Detection - Identifies significant highs and lows using fractal-based logic
Market Structure Analysis - Classifies market conditions as Uptrend, Downtrend, or Consolidation
Break of Structure (BOS) - Detects when price breaks key structural levels
Change of Character (CHoCH) - Identifies potential trend reversals
Mitigation Levels - Shows potential retracement targets after structure breaks
How It Works
The indicator analyzes price action through several layers:
Swing Detection Algorithm
Uses a configurable swing period (3-21 bars)
Identifies valid swing highs and lows that are confirmed by surrounding price action
Stores the last 20 swings for structure analysis
Structure Determination
Uptrend: Higher Highs (HH) + Higher Lows (HL)
Downtrend: Lower Lows (LL) + Lower Highs (LH)
Consolidation: Mixed structure or ranging market
Break of Structure (BOS) Logic
Bearish BOS: Price closes below the last confirmed Higher Low (HL)
Bullish BOS: Price closes above the last confirmed Lower High (LH)
Change of Character (CHoCH) Logic
Bearish CHoCH: After a bearish BOS, price forms a Lower Low (confirms trend reversal)
Bullish CHoCH: After a bullish BOS, price forms a Higher High (confirms trend reversal)
Mitigation Levels
Calculates potential retracement levels after BOS (typically ±0.2% from broken structure)
Visual Elements
Fractals: Swing points (optional display)
Structure Lines: Last Higher Low (blue) and Last Lower High (purple)
BOS Signals: Triangles marking structure breaks
CHoCH Signals: Circles confirming trend changes
Mitigation Levels: Dotted orange lines for potential retracements
Info Label: Real-time structure status and key levels
Alerts
The indicator provides alerts for:
Break of Structure (BOS) events
Change of Character (CHoCH) confirmations
Settings
Swing Period: Sensitivity of swing detection (default: 3)
Show Fractals: Toggle swing point markers
Show Structure Lines: Display key structure levels
Show Break of Structure: Display BOS signals
Show Change of Character: Display CHoCH signals
Show Mitigation Levels: Display retracement levels
Best Practices
Use on higher timeframes (1H+) for more reliable signals
Combine with volume analysis for confirmation
Wait for CHoCH confirmation before entering trades
Use mitigation levels as potential entry zones
Русское описание
Обзор
Smart Money Structure Analyzer - профессиональный торговый инструмент, реализующий концепции Smart Money (SMC) для определения ключевых сдвигов рыночной структуры, Break of Structure (BOS) и Change of Character (CHoCH). Индикатор помогает отслеживать поток "умных денег", выявляя паттерны институционального ордерного потока на любом таймфрейме.
Ключевые возможности
Определение свингов - Выявляет значимые максимумы и минимумы с помощью фрактальной логики
Анализ структуры рынка - Классифицирует состояние рынка: Восходящий тренд, Нисходящий тренд или Консолидация
Break of Structure (BOS) - Обнаружение пробития ключевых уровней структуры
Change of Character (CHoCH) - Определение потенциальных разворотов тренда
Уровни митигации - Показывает потенциальные цели отката после пробоя структуры
Принцип работы
Индикатор анализирует ценовое действие через несколько уровней:
Алгоритм определения свингов
Использует настраиваемый период свинга (3-21 свечи)
Определяет валидные максимумы и минимумы, подтвержденные окружающим движением цены
Сохраняет последние 20 свингов для анализа структуры
Определение структуры
Восходящий тренд: Higher Highs (HH) + Higher Lows (HL)
Нисходящий тренд: Lower Lows (LL) + Lower Highs (LH)
Консолидация: Смешанная структура или флет
Логика Break of Structure (BOS)
Медвежий BOS: Цена закрывается ниже последнего Higher Low (HL)
Бычий BOS: Цена закрывается выше последнего Lower High (LH)
Логика Change of Character (CHoCH)
Медвежий CHoCH: После медвежьего BOS формируется Lower Low (подтверждает разворот)
Бычий CHoCH: После бычьего BOS формируется Higher High (подтверждает разворот)
Уровни митигации
Расчет потенциальных уровней отката после BOS (обычно ±0.2% от сломанной структуры)
Визуальные элементы
Фракталы: Точки свингов (опционально)
Линии структуры: Последний Higher Low (синий) и последний Lower High (фиолетовый)
Сигналы BOS: Треугольники, отмечающие пробой структуры
Сигналы CHoCH: Круги, подтверждающие изменение тренда
Уровни митигации: Пунктирные оранжевые линии для потенциальных откатов
Инфо-метка: Статус структуры и ключевые уровни в реальном времени
Оповещения
Индикатор предоставляет алерты для:
Событий Break of Structure (BOS)
Подтверждений Change of Character (CHoCH)
Настройки
Период свинга: Чувствительность определения свингов (по умолчанию: 3)
Показывать фракталы: Включение/выключение маркеров свингов
Показывать линии структуры: Отображение ключевых уровней структуры
Показывать Break of Structure: Отображение сигналов BOS
Показывать Change of Character: Отображение сигналов CHoCH
Показывать уровни митигации: Отображение уровней отката
Рекомендации по использованию
Используйте на старших таймфреймах (1H+) для более надежных сигналов
Комбинируйте с анализом объема для подтверждения
Ждите подтверждения CHoCH перед входом в сделку
Используйте уровни митигации как потенциальные зоны входа
Технические особенности
Максимальное количество меток: 500
Работает на любых таймфреймах
Не перерисовывает прошлые сигналы
Эффективно использует ресурсы благодаря ограничению хранения свингов
Индикатор предназначен для трейдеров, работающих с Price Action и концепциями Smart Money, и помогает систематизировать анализ рыночной структуры в соответствии с подходами институциональных трейдеров.
Sticky NotesSticky Notes is a clean, customizable on-chart memo tool designed to keep your trading rules, checklists, risk guidelines, and important reminders always visible — without cluttering your screen.
Perfect for day traders, swing traders, or anyone who needs quick access to personal trading discipline notes (e.g. "Never trade after journal is done", position sizing rules, max daily loss limits, SL/TP/breakeven conditions, etc.).
Key Features
Up to 6 independent notes, each with its own enable/disable toggle
Custom note titles and multi-line text content (via text areas for easy editing)
Adjustable overall position on the chart (9 corner/center options: top-right, bottom-left, etc.)
5 size choices: tiny → huge (titles automatically scale larger than body text)
Full color customization: title text, content text, table background
Fully adjustable borders:
• Outer frame (visibility, color, thickness 0–6)
• Internal cell borders (visibility, color, thickness 0–5)
→ Turn everything off for a minimal, borderless floating look
Subtle separators between notes for better readability
Efficient table-based rendering — only updates on the last bar
How to Use
Add the indicator to your chart
Open Settings → enable/disable individual notes
Edit titles and text directly in the inputs (supports long multi-line reminders)
Choose your preferred screen position, size, colors, and border style
Keep your trading plan, psychology rules, or daily checklist right in view — no more alt-tabbing to Notion or paper notes!
Great for enforcing discipline: risk management rules, session guidelines, "if this then that" conditions, mandatory routines, or even simple motivational reminders.






















