Logarithmic Moving Average (LMA) [QuantAlgo]🟢 Overview
The Logarithmic Moving Average (LMA) uses advanced logarithmic weighting to create a dynamic trend-following indicator that prioritizes recent price action while maintaining statistical significance. Unlike traditional moving averages that use linear or exponential weights, this indicator employs logarithmic decay functions to create a more sophisticated price averaging system that adapts to market volatility and momentum conditions.
The indicator displays a smoothed signal line that oscillates around zero, with positive values indicating bullish momentum and negative values indicating bearish momentum. The signal incorporates trend quality assessment, momentum confirmation, and multiple filtering mechanisms to help traders and investors identify trend continuation and reversal opportunities across different timeframes and asset classes.
🟢 How It Works
The indicator's core innovation lies in its logarithmic weighting system, where weights are calculated using the formula: w = 1.0 / math.pow(math.log(i + steepness), 2) The steepness parameter controls how aggressively recent data is prioritized over historical data, creating a dynamic weight decay that can be fine-tuned for different trading styles. This logarithmic approach provides more nuanced weight distribution compared to exponential moving averages, offering better responsiveness while maintaining stability.
The LMA calculation combines multiple sophisticated components. First, it calculates the logarithmic weighted average of closing prices. Then it measures the slope of this average over a 10-period lookback: lmaSlope = (lma - lma ) / lma * 100 The system also incorporates trend quality assessment using R-squared correlation analysis of log-transformed prices, measuring how well the price data fits a linear trend model over the specified period.
The final signal generation uses the formula: signal = lmaSlope * (0.5 + rSquared * 0.5) which combines the LMA slope with trend quality weighting. When momentum confirmation is enabled, the indicator calculates annualized log-return momentum and applies a multiplier when the momentum direction aligns with the signal direction, strengthening confirmed signals while filtering out weak or counter-trend movements.
🟢 How to Use
1. Signal Interpretation and Threshold Zones
Positive Values (Above Zero): LMA slope indicating bullish momentum with upward price trajectory relative to logarithmic baseline
Negative Values (Below Zero): LMA slope indicating bearish momentum with downward price trajectory relative to logarithmic baseline
Zero Line Crosses: Signal transitions between bullish and bearish regimes, indicating potential trend changes
Long Entry Threshold Zone: Area above positive threshold (default 0.5) indicating confirmed bullish signals suitable for long positions
Short Entry Threshold Zone: Area below negative threshold (default -0.5) indicating confirmed bearish signals suitable for short positions
Extreme Values: Signals exceeding ±1.0 represent strong momentum conditions with higher probability of continuation
2. Momentum Confirmation and Visual Analysis
Signal Color Intensity: Gradient coloring shows signal strength, with brighter colors indicating stronger momentum
Bar Coloring: Optional price bar coloring matches signal direction for quick visual trend identification
Position Labels: Real-time position classification (Bullish/Bearish/Neutral) displayed on the latest bar
Momentum Weight Factor: When short-term log-return momentum aligns with LMA signal direction, the signal receives additional weight confirmation
Trend Quality Component: R-squared values weight the signal strength, with higher correlation indicating more reliable trend conditions
3. Examples: Preconfigured Settings
Default: Universally applicable configuration balanced for medium-term investing and general trading across multiple timeframes and asset classes.
Scalping: Highly responsive setup with shorter period and higher steepness for ultra-short-term trades on 1-15 minute charts, optimized for quick momentum shifts.
Swing Trading: Extended period with moderate steepness and increased smoothing for multi-day positions, designed to filter noise while capturing larger price swings on 1-4 hour and daily charts.
Trend Following: Maximum smoothing with lower steepness for established trend identification, generating fewer but more reliable signals optimal for daily and weekly timeframes.
Mean Reversion: Shorter period with high steepness for counter-trend strategies, more sensitive to extreme moves and reversal opportunities in ranging market conditions.
Statistics
Liquidity Break Probability [PhenLabs]📊 Liquidity Break Probability
Version: PineScript™ v6
The Liquidity Break Probability indicator revolutionizes how traders approach liquidity levels by providing real-time probability calculations for level breaks. This advanced indicator combines sophisticated market analysis with machine learning inspired probability models to predict the likelihood of high/low breaks before they happen.
Unlike traditional liquidity indicators that simply draw lines, LBP analyzes market structure, volume profiles, momentum, volatility, and sentiment to generate dynamic break probabilities ranging from 5% to 95%. This gives traders unprecedented insight into which levels are most likely to hold or break, enabling more confident trading decisions.
🚀 Points of Innovation
Advanced 6-factor probability model weighing market structure, volatility, volume, momentum, patterns, and sentiment
Real-time probability updates that adjust as market conditions change
Intelligent trading style presets (Scalping, Day Trading, Swing Trading) with optimized parameters
Dynamic color-coded probability labels showing break likelihood percentages
Professional tiered input system - from quick setup to expert-level customization
Smart volume filtering that only highlights levels with significant institutional interest
🔧 Core Components
Market Structure Analysis: Evaluates trend alignment, level strength, and momentum buildup using EMA crossovers and price action
Volatility Engine: Incorporates ATR expansion, Bollinger Band positioning, and price distance calculations
Volume Profile System: Analyzes current volume strength, smart money proxies, and level creation volume ratios
Momentum Calculator: Combines RSI positioning, MACD strength, and momentum divergence detection
Pattern Recognition: Identifies reversal patterns (doji, hammer, engulfing) near key levels
Sentiment Analysis: Processes fear/greed indicators and market breadth measurements
🔥 Key Features
Dynamic Probability Labels: Real-time percentage displays showing break probability with color coding (red >70%, orange >50%, white <50%)
Trading Style Optimization: One-click presets automatically configure sensitivity and parameters for your trading timeframe
Professional Dashboard: Live market state monitoring with nearest level tracking and active level counts
Smart Alert System: Customizable proximity alerts and high-probability break notifications
Advanced Level Management: Intelligent line cleanup and historical analysis options
Volume-Validated Levels: Only displays levels backed by significant volume for institutional-grade analysis
🎨 Visualization
Recent Low Lines: Red lines marking validated support levels with probability percentages
Recent High Lines: Blue lines showing resistance zones with break likelihood indicators
Probability Labels: Color-coded percentage labels that update in real-time
Professional Dashboard: Customizable panel showing market state, active levels, and current price
Clean Display Modes: Toggle between active-only view for clean charts or historical view for analysis
📖 Usage Guidelines
Quick Setup
Trading Style Preset
Default: Day Trading
Options: Scalping, Day Trading, Swing Trading, Custom
Description: Automatically optimizes all parameters for your preferred trading timeframe and style
Show Break Probability %
Default: True
Description: Displays percentage labels next to each level showing break probability
Line Display
Default: Active Only
Options: Active Only, All Levels
Description: Choose between clean active-only view or comprehensive historical analysis
Level Detection Settings
Level Sensitivity
Default: 5
Range: 1-20
Description: Lower values show more levels (sensitive), higher values show fewer levels (selective)
Volume Filter Strength
Default: 2.0
Range: 0.5-5.0
Description: Controls minimum volume threshold for level validation
Advanced Probability Model
Market Trend Influence
Default: 25%
Range: 0-50%
Description: Weight given to overall market trend in probability calculations
Volume Influence
Default: 20%
Range: 0-50%
Description: Impact of volume analysis on break probability
✅ Best Use Cases
Identifying high-probability breakout setups before they occur
Determining optimal entry and exit points near key levels
Risk management through probability-based position sizing
Confluence trading when multiple high-probability levels align
Scalping opportunities at levels with low break probability
Swing trading setups using high-probability level breaks
⚠️ Limitations
Probability calculations are estimations based on historical patterns and current market conditions
High-probability setups do not guarantee successful trades - risk management is essential
Performance may vary significantly across different market conditions and asset classes
Requires understanding of support/resistance concepts and probability-based trading
Best used in conjunction with other analysis methods and proper risk management
💡 What Makes This Unique
Probability-Based Approach: First indicator to provide quantitative break probabilities rather than simple S/R lines
Multi-Factor Analysis: Combines 6 different market factors into a comprehensive probability model
Adaptive Intelligence: Probabilities update in real-time as market conditions change
Professional Interface: Tiered input system from beginner-friendly to expert-level customization
Institutional-Grade Filtering: Volume validation ensures only significant levels are displayed
🔬 How It Works
1. Level Detection:
Identifies pivot highs and lows using configurable sensitivity settings
Validates levels with volume analysis to ensure institutional significance
2. Probability Calculation:
Analyzes 6 key market factors: structure, volatility, volume, momentum, patterns, sentiment
Applies weighted scoring system based on user-defined factor importance
Generates probability score from 5% to 95% for each level
3. Real-Time Updates:
Continuously monitors price action and market conditions
Updates probability calculations as new data becomes available
Adjusts for level touches and changing market dynamics
💡 Note: This indicator works best on timeframes from 1-minute to 4-hour charts. For optimal results, combine with proper risk management and consider multiple timeframe analysis. The probability calculations are most accurate in trending markets with normal to high volatility conditions.
Automated ChecklistWeekly Bias (Auto / Bullish / Bearish)
Daily Bias (Auto / Bullish / Bearish)
PDH/L Taken (Auto / Yes / No)
🔁 Logic:
If input is Auto, use calculated values.
If Bullish, Bearish, or Yes/No selected, use the manual input.
Price Reaction Analysis by Day of WeekOverview
The "Price Reaction Analysis by Day of Week" indicator is a tool that enables traders to analyze historical price reaction patterns to technical indicator signals on a selected day of the week. It examines price behavior on a chosen candle (from 1 to 30) in the next day or subsequent days after a signal, depending on the timeframe, and provides success rate statistics to support data-driven trading decisions. The indicator is optimized for timeframes up to 1 day (e.g., 1D, 12H, 8H, 6H, 4H, 1H, 15M), as the analysis relies on day-of-week comparisons. Lower timeframes generate more signals due to the higher number of candles per day.
Key Features
1. Flexible Technical Indicator Selection
Users can choose one of four technical indicators: RSI, SMI, MA, or Bollinger Bands. Each indicator has configurable parameters, such as:
RSI length, oversold/overbought levels.
SMI length, %K and %D smoothing, signal levels.
MA length.
Bollinger Bands length and multiplier.
2. Day-of-Week Analysis
The indicator allows users to select a day of the week (Monday, Tuesday, Wednesday, Thursday, Friday) for generating signals. It analyzes price reactions on a selected candle (from 1 to 30) in the next day or subsequent days after the signal. Examples:
On a daily timeframe, a signal on Monday can be analyzed for the first, fourth, or later candle (up to 30) in subsequent days (e.g., Tuesday, Wednesday).
On timeframes lower than 1 day (e.g., 12H, 8H, 6H, 4H, 1H, 15M), the analysis targets the selected candle in the next day or subsequent days. For example, on a 4H timeframe, you can analyze the second Tuesday candle following a Monday signal. The maximum timeframe is 1 day to ensure consistent day-of-week analysis.
3. Visual Signals
Signals for the analysis period are marked with background highlights in real-time when the indicator’s conditions are met. The last highlighted candle of the selected day is always analyzed. Arrows are displayed on the chart at the candle specified by the “Candles to Compare” setting (e.g., the first candle if set to 1):
Green upward triangles (below the candle) for successful buy signals (the closing price of the selected candle is higher than the signal candle’s close).
Red downward triangles (above the candle) for successful sell signals (the closing price of the selected candle is lower than the signal candle’s close).
Gray “x” marks for unsuccessful signals (no price reversal in the expected direction). Arrow positions are intuitive: buy signals below the candle, sell signals above. Highlights and arrows do not require waiting for future signals but are essential for calculating statistics.
Note: The first candle of the next day may appear shifted on the chart due to timezone differences, which can affect the timing of signal appearance.
4. Signal Conditions (Highlights) for Each Indicator
RSI: The oscillator is in oversold (buy) or overbought (sell) zones.
SMI: SMI returns from oversold (buy) or overbought (sell) zones.
MA: Price crosses the MA (upward for buy, downward for sell).
Bollinger Bands: Price returns inside the bands (from below for buy, from above for sell).
5. Success Rate Statistics
A table in the top-right corner of the chart displays:
The number of buy and sell signals for the selected day of the week.
The percentage of cases where the price of the selected candle in the next day or subsequent days reversed as expected (e.g., rising after a buy signal). Statistics are based on comparing the closing price of the signal candle with the closing price of the selected candle (e.g., first, fourth) in the next day or subsequent days.
Important: Statistics do not account for price movements within the candle or after its close. The price on the selected candle (e.g., fourth) may be lower than earlier candles but still higher than the signal candle, counting as a positive buy signal, though it does not guarantee profit.
6. Date Range
Users can specify the analysis date range, enabling strategy testing on historical data from a chosen period. Ensure the start and end dates are set correctly.
Applications
The indicator is designed for traders who want to leverage historical patterns for position planning. Examples:
On a 4-hour timeframe: If a sell signal highlight appears on Monday and statistics show an 80% chance that the fourth Tuesday candle is bearish, traders may consider playing a correction at the open of that candle.
On a daily timeframe: If a highlight indicates market overheating, traders may consider entering a position at the open of the first candle after the signal (e.g., Tuesday), provided statistics suggest an edge. Users can analyze the signal on the first candle and check later candles to validate results, increasing confidence in consistent patterns.
Key Settings
Indicator Type: Choose between RSI, SMI, MA, or Bollinger Bands.
Selected Day: Monday, Tuesday, Wednesday, Thursday, or Friday.
Candles to Compare: The number of the candle in the next day or subsequent days (from 1 to 30).
Indicator Parameters: Lengths, levels (e.g., oversold/overbought for RSI).
Background Colors: Configurable highlights for buy and sell signals.
Notes
Timeframes: The indicator is optimized for timeframes up to 1 day (e.g., 1D, 12H, 8H, 6H, 4H, 1H, 15M), as the analysis relies on day-of-week patterns. Timeframes lower than 1 day generate more signals due to the higher number of candles per day.
Candle Shift: The first candle of the next day may appear shifted on the chart due to timezone differences, affecting the timing of signals across markets or platforms.
Statistical Limitations: Results are based on the closing prices of the selected candle, ignoring fluctuations in earlier candles, within the candle, or subsequent price movements. Traders must assess whether entering at the open or after the close of the selected candle is profitable.
Testing: Effectiveness depends on historical data and parameter settings. Testing different configurations across markets and timeframes is recommended.
Who Is It For?
Swing and position traders who base decisions on technical analysis and historical patterns.
Market analysts seeking patterns in price behavior by day of the week.
TradingView users of all experience levels, thanks to an intuitive interface and flexible settings.
Avg daily rangeThe Average Daily Range (ADR) is a technical indicator that measures the average price movement of a financial instrument over a specific period.
Reverso [Flexi+]Reverso – Moving Average Touch Statistics Tracker
Reverso is a premium technical analysis tool that tracks and visualizes how price interacts with a selected Moving Average (EMA/SMA).
Providing detailed statistics about price behavior before, during, and after each Moving Average touch event.
This script is suitable for both trend-following and mean-reversion traders who want to study price reaction with respect to a Moving Average, understand market tendencies, and refine entry/exit strategies based on price-memory dynamics.
Features and Functionality
Supported MAs: EMA / SMA any length
Timeframe Support: any Timeframe >= to the current chart Timeframe
Touch Detection: Triggered when the price range (high to low) crosses or touches the selected MA
Automatic Data Tracking
Tables for Quick Visual Summary
Visual Overlay: Optional Moving Average line plotted on chart
History: User selectable up to 500 touches
Automatic Data Tracking:
Number of MA touches
Time intervals between touches
Price distance from last touch
Maximum price deviation (above/below MA) between touches
Time spent above/below MA
Tables for Quick Visual Summary:
Info Table: Live details about last and first touches, distance from touch, bars above/below, peak movements since last touch
Stats Table: Averages and extreme values for price behavior patterns across recent history
Core Metrics Tracked
Last Touch Price: The last price level where price touched the MA
Distance from Last Touch: Current % change from the last touch price
Time Between Touches: Average and maximum intervals (in bars or time) between touch events
Max Distance Above/Below: Peak movement above/below MA between touches
Bars Above/Below: How long price stayed above/below the MA since last touch
Peak This Cycle: Max deviation above/below in current cycle since last touch
How It Works
Reverso monitors each bar to check if price intersects the selected MA.
When a new touch occurs, it records the touch price and time, and resets the tracking cycle.
From that point forward, it tracks how far and how long price drifts above or below the MA.
This process repeats with each new touch, building a detailed profile of how price behaves around the moving average.
The result is a visual and statistical framework for understanding price memory, market rhythm, and mean-reversion opportunities.
Customization Options
Moving Average Type: Simple or Exponential
MA Length: Any
Show MA Line: Toggle the MA plot on the chart
Show Info Table: Enable/disable the current-touch summary
Show Statistics Table: Show aggregate data over the history
Table Positioning: Customizable placement for both tables
MA Color: Select custom color for MA plot
Max History: Number of touches used for the Statistic computation
Intended Use Cases
Identify reversal or continuation setups near MAs
Validate strategies relying on mean reversion
Backtest the consistency of price respect to MAs
Detect periods of volatility clustering around MAs
Notes and Disclaimers
This script does not repaint: calculations are made on confirmed bars.
This indicator is educational in nature and should be used alongside other forms of analysis.
Time durations in the tables are approximated using bar timing and may vary across markets/timeframes.
ReversoReverso – Moving Average Touch Statistics Tracker
Reverso indicator is a technical analysis tool that tracks and visualizes how price interacts with a selected Exponential Moving Average (EMA). It provides detailed statistics about price behavior before, during, and after each EMA touch event.
This script is suitable for both trend-following and mean-reversion traders who want to study EMA reactions, understand market tendencies, and refine entry/exit strategies based on price-memory dynamics.
Features and Functionality
Supported MAs: EMA 9, 20, or 50
Timeframe Support: Uses the chart’s timeframe
Touch Detection: Triggered when the price range (high to low) crosses or touches the EMA
Automatic Data Tracking
Tables for Quick Visual Summary
Visual Overlay: Optional EMA line plotted on chart
Timeframe Support: Uses the chart’s timeframe
Capped history: Most recent 50 touches
Automatic Data Tracking:
Number of EMA touches
Time intervals between touches
Price distance from last touch
Maximum price deviation (above/below EMA) between touches
Time spent above/below EMA
Tables for Quick Visual Summary:
Info Table: Live details about last and first touches, distance from touch, bars above/below, peak movements since last touch
Stats Table: Averages and extreme values for price behavior patterns across recent history
Core Metrics Tracked
Last Touch Price: The last price level where price touched the EMA
Distance from Last Touch: Current % change from the last touch price
Time Between Touches: Average and maximum intervals (in bars or time) between touch events
Max Distance Above/Below: Peak movement above/below EMA between touches
Bars Above/Below: How long price stayed above/below the EMA since last touch
Peak This Cycle: Max deviation above/below in current cycle since last touch
How It Works
Reverso monitors each bar to check if price intersects the selected EMA.
When a new touch occurs, it records the touch price and time, and resets the tracking cycle.
From that point forward, it tracks how far and how long price drifts above or below the EMA.
This process repeats with each new touch, building a detailed profile of how price behaves around the moving average.
The result is a visual and statistical framework for understanding price memory, market rhythm, and mean-reversion opportunities.
Customization Options
EMA Length: Choose from EMA 9, 20, or 50
Show MA Line: Toggle the EMA plot on the chart
Show Info Table: Enable/disable the current-touch summary
Show Statistics Table: Show aggregate data over the history
Table Positioning: Customizable placement for both tables
MA Color: Select custom color for EMA plot
Intended Use Cases
Identify reversal or continuation setups near EMAs
Validate strategies relying on mean reversion
Backtest the consistency of price respect to EMAs
Detect periods of volatility clustering around EMAs
Notes and Disclaimers
This script does not repaint: calculations are made on confirmed bars.
This indicator is educational in nature and should be used alongside other forms of analysis.
Time durations in the tables are approximated using bar timing and may vary across markets/timeframes.
SD Levels"SD Levels", is a powerful tool for technical analysis that automatically calculates and plots key price levels based on the price action within a user-defined time range. It functions by identifying a specific trading session, calculating the midpoint and half the range of that session's price action, and then using these values as a baseline and a standard deviation equivalent to project a series of customizable Fibonacci-style levels into the future.
These projected levels can act as potential support and resistance zones, helping traders identify significant price areas where the market might react. The indicator is highly customizable, allowing users to tailor its functionality and appearance to their specific trading strategies.
Key Features
• User-Defined Time Range: You can specify a particular time window (e.g., the first three hours of the New York session) and a corresponding timezone. The indicator will base all its calculations on the high, low, and closing prices within this defined period each day.
• Standard Deviation-Based Levels: The core of the indicator is its use of a "standard deviation" value, which is calculated as half the range (High - Low) of the specified session. The baseline, or "0" level, is the midpoint of this range.
• Customizable Fibonacci Levels: The script allows for the plotting of up to 11 distinct levels, each defined by a multiplier of the calculated standard deviation. Users have complete control over:
o The level's multiplier value.
o Whether the level is displayed.
o The color, style (solid, dashed, dotted), and thickness of the level line.
o The option to display a text label for each level.
• Mirrored Levels: An option is available to automatically "mirror" each level on the opposite side of the baseline. For example, if you have a level at 1.5 standard deviations above the baseline, enabling the mirror function will also plot a corresponding level at -1.5 standard deviations below it.
• Visual Customization: Beyond individual line styles, you can adjust the overall appearance of the levels, including:
o Adding a transparent background fill between the levels to enhance visibility.
o Adjusting the padding (extension) of the level lines to the right of the chart.
o Controlling the size of the labels and choosing to display the level value, the price value, or both.
• Historical Analysis: The indicator can display these calculated levels for a user-specified number of previous days, allowing for back-testing and analysis of how price has historically interacted with these zones.
How It Works
1. Session Identification: The indicator first identifies the bars on the chart that fall within the user-defined Range Time and Timezone.
2. Range Calculation: During this identified session, it records the highest high and the lowest low.
3. Baseline and Deviation Calculation: At the end of the session, it calculates two critical values:
o Baseline: The midpoint of the session's range, calculated as (range_high + range_low) / 2. This serves as the 0 level.
o Standard Deviation Value: Half of the session's total range, calculated as (range_high - range_low) / 2.
4. Level Plotting: Using the baseline and the standard deviation value, the indicator calculates and plots the various user-defined Fibonacci levels. For instance, a level with a multiplier of 2.0 would be plotted at baseline + (2 * stdev_val).
5. Drawing and Extension: The calculated levels are drawn starting from the beginning of the session and are extended forward in time, updating with each new bar. This allows traders to see how the current price is interacting with the levels derived from the earlier session.
In essence, the "SD Levels" indicator provides a structured and automated way to identify and visualize significant, data-driven price levels based on the volatility and price action of a specific, important trading period.
NQ Hourly Stats - Detailed Prob (24h)Hourly Sweep Statistics - Probability Engine (Credits to nqstats.com)
Overview
This indicator is a powerful statistical tool designed for intraday traders, particularly those focused on session-based patterns and mean reversion strategies. It automatically tracks the previous hour's high, low, and open, and when a sweep of the high or low occurs, it instantly displays the historical probability of the price returning to the hourly open within that same hour.
The core of this indicator is a comprehensive probability model built on historical price data, providing traders with an objective, data-driven edge.
Key Concepts
The indicator operates on a simple but effective premise: after the high or low of the previous hour is taken, what is the statistical likelihood that price will revert back to the opening price of the current hour?
• Previous Hour High (PHH) & Previous Hour Low (PHL): These levels often act as key liquidity zones. A sweep of these levels can signify either a stop run before a reversal or the start of a strong continuation.
• Return to Open: This is a classic mean-reversion concept. The indicator quantifies the probability of this event happening based on the exact time the sweep occurs.
• Time-Based Probability: The probability of returning to the open is not static; it changes depending on when the sweep happens. A sweep in the first 5 minutes of the hour has a different statistical outcome than a sweep in the last 5 minutes. This indicator accounts for that variance by breaking down the hour into 12 distinct 5-minute buckets.
How It Works
1. Automatic Level Plotting: At the start of each new hour, the indicator automatically draws three lines on your chart:
o The Previous Hour's High (Teal, solid line)
o The Previous Hour's Low (Maroon, solid line)
o The Current Hour's Open (Gray, dotted line)
2. Sweep Detection & Labeling: The script constantly monitors price action. The moment the current price action sweeps (touches or breaks) the PHH or PHL, a label appears.
o High Sweep: A label will appear above the PHH line.
o Low Sweep: A label will appear below the PHL line.
3. Information-Rich Labels: Each label provides crucial, real-time information:
o Direction: "Took PHH" or "Took PHL".
o Time: The exact time (@ HH:MM) the sweep occurred.
o Probability: The historical probability ("Prob to Open: XX.XX%") of price returning to the hourly open after that specific sweep.
4. Dynamic Color-Coding: The labels are color-coded for at-a-glance interpretation:
o Green: High probability (>70%) - Strong statistical likelihood of returning to the open.
o Orange: Medium probability (40%-70%) - Neutral/moderate likelihood.
o Red: Low probability (<40%) - Weak statistical likelihood of returning to the open; may suggest trend continuation.
How to Use in Your Trading
This indicator is not a standalone signal generator but a powerful confluence tool to enhance your decision-making.
• Mean Reversion Setups: When a sweep occurs and a high-probability (green) label appears, it can serve as strong confirmation for a mean-reversion trade. You can look for entries on a lower timeframe, targeting the hourly open.
• Trend Continuation Setups: If a sweep generates a low-probability (red) label, it suggests that the move has strength and is less likely to reverse. This can be used to validate a breakout or trend-following strategy, or to avoid taking a counter-trend trade.
• Filtering Trades: Use the probabilities to filter your existing setups. You might choose to only take reversion trades when the probability is above a certain threshold (e.g., 70%) or avoid them entirely when the probability is low.
Features & Customization
• Full 24-Hour Data: The statistical model includes data for all 24 hours of the day, making it useful for trading any session (Asia, London, New York).
• Timezone Setting: Ensure you set the Chart Timezone input to match your chart's timezone (e.g., 'America/New_York') for the probabilities to be accurate.
• Custom Colors: All line colors are fully customizable to match your chart's theme.
Disclaimer: This indicator is based on historical statistics and does not guarantee future results. It should be used as part of a comprehensive trading plan that includes proper risk management. Always do your own research and backtesting.
Order Blocks Pro (SMC + TP/SL + Panel)An advanced Smart Money Concepts (SMC) script for TradingView that identifies Order Blocks, liquidity zones, structure breaks (CHOCH/BOS), and Fair Value Gaps (FVG). It features automatic entries (aggressive and confirmed), dynamic Take Profit (TP) and Stop Loss (SL) levels, and a visual panel showing key market conditions. Designed for traders seeking institutional-level precision and optimized entries based on structure, HTF wicks, and price behavior.
Icy-Hot Visual Indicator [SciQua]🧊 Icy-Hot Visual Indicator
This indicator colors your price bars and/or chart background based on a normalized & smoothed transform of any price-based input (default: close). It gives you a quick “temperature map” of market momentum or volatility—cool blues for low readings, hot reds for high readings—without cluttering your chart.
🔍 Key Features
1. Dual Visual Layers
Candle Gradient: Applies a smooth, multi-color gradient to candle bodies and wicks based on normalized, smoothed input data
Background Gradient: Adds a semi-transparent gradient behind the candles to highlight broader trend zones or volatility regimes
2. Advanced Customization
Normalization Types: bounded, unbounded, z-score, MAD, percentile, sigmoid, tanh, rank, robust, and more
Smoothing Methods: EMA, SMA, WMA, RMA, HMA, TEMA, VWMA, Gaussian, LinReg, ExpReg, and others (12+ options)
3. Gradient Control: Choose 2–7 color stops, reverse direction, adjust display length
Flexible Source Inputs
Use any built-in price series (close, hl2, volume, etc.)
Feed outputs from external indicators (RSI, custom oscillators, moving averages) into either layer
❓How It Works
Inputs are normalized (z-score, bounded, etc.) then smoothed (EMA, LinReg, etc.) in the order you choose. The result is clamped to 0–1 and passed through a multi-stop gradient engine for precise color mapping.
✨ What Makes It Original
While many indicators apply colors or smoothing, this script combines multi-stage normalization, adaptive smoothing, and a modular gradient rendering engine in a highly customizable dual-layer system. It’s built using proprietary functions from the SciQua suite that are not available in public libraries and allow for advanced visual encoding without relying on alerts, signals, or extra panes.
This makes it original in both design and execution—offering a visual-first approach with unique depth, clarity, and flexibility.
🔐 Why This Script Is Closed-Source
While the underlying functions are published in the open-source SciQua library, this indicator’s specific implementation, configuration architecture, and visual behavior are proprietary. It combines multiple library utilities into a dual-layer adaptive system that handles advanced gradient rendering, multi-stage normalization, and smoothing pipelines in a unique way.
The source is closed to protect the design logic, interface abstraction, and fine-tuned behaviors that make this indicator commercially valuable. The building blocks are open to the Pine community, but this assembled product is not meant for replication or redistribution.
How to Use It
1. Highlight Trend Strength
Source: RSI percentile
Setup: 200-bar look-back, mild smoothing
Result: Warm tones when momentum is peaking; cool when it’s fading. Use as a quick filter for entries in the direction of the trend.
2. Visualize Volatility Regimes
Source: ATR or True Range
Setup: Bounded normalization with tighter smoothing bar color off, bg color on.
Result: Background bands that shade when volatility spikes. Helps you avoid low-volatility breakouts or throttle position sizing in choppy markets.
3. Combine with Other Indicators
Source: Output of your custom indicator (e.g., a Keltner Band width)
Setup: Match normalization period to your strategy’s timeframe
Result: Bars colored by your own logic—no extra panes, just enhanced candles.
4. Background Only Heatmap
Turn off bar coloring and dial in semi-transparent background shades—keeps candles crisp while still giving you a context heat-map behind price.
TradeCrafted - Intraday Consolidation Zones Detector🛡️ TradeCrafted – Intraday Consolidation Zones Detector
Avoid the Trap. Trade Only the Break.
The Intraday Consolidation Zones Detector is engineered to protect traders from one of the most common and costly pitfalls in trading — getting stuck in sideways, choppy price action. Whether you're a scalper or an intraday trend follower, this tool helps you stay out when the market is indecisive and only engage when it truly matters.
🔍 What It Does:
📦 Automatically detects tight price consolidation zones by analyzing price containment behavior within a short window of time.
🧱 Plots visual boundaries of the consolidation range directly on your chart — highlighting areas of uncertainty where smart money often stays flat.
🚫 Issues a “Get Out” warning when excessive consolidation patterns are detected in a single session — telling you when it’s time to step aside and protect your capital.
🔄 Resets daily, so you're always working with fresh, session-specific structure.
💡 How This Can Protect Your Capital:
Trading in consolidation is where most retail traders lose money — fake breakouts, whipsaws, and premature entries are all common traps. This indicator acts as your risk filter:
❌ Stops you from entering low-probability trades.
❌ Prevents emotional entries during boring or manipulated phases.
✅ Keeps you aligned with market structure and breakout potential.
✅ Helps you focus only when the market is ready to move — not when it’s asleep.
✅ Ideal For:
Intraday traders wanting to avoid chop and noise.
Strategy builders needing a reliable range detector.
Risk-conscious traders looking for a discipline-enhancing tool.
Let the market show its hand first. This script helps you wait with purpose — and strike with clarity when it matters.
Trend Reversal Trading Indicator🔍 What It Does
The TRTI indicator is a custom-built tool designed to identify potential trend reversals and plot buy/sell signals on the chart using adaptive volatility-based logic. Unlike basic trend indicators, TRTI recalculates dynamic upper and lower thresholds based on price action and volatility, allowing more precise signal generation.
⚙️ How It Works
Uses a custom trend reversal engine built on median price and ATR-based ranges
Tracks evolving high/low thresholds (TUp / TDown) to define trend direction
Generates 'Long' and 'Short' labels when a clean trend change is confirmed
No reliance on Pine Script’s built-in indicators - this logic is manually developed
Inputs like TRTI Trend and TRTI Swift allow users to control the signal sensitivity
✅ Why It’s Unique
Fully custom-coded trend logic - not a wrapper around built-in indicators
Designed to reduce false breakouts by confirming conditions before flipping trend
Lightweight and effective for intraday, swing, and positional strategies
Offers clean visual entries, especially useful for traders focusing on price action-based trading
⚠️ Note
No indicator is perfect or predictive. TRTI is meant to support decision-making, not replace your analysis. It helps identify potential high-probability reversal zones based on structure and volatility behavior.
long short ratioSummary
Transform your analysis with a clear view of the market's true engine: capital.
The Long/Short Ratio HUD is a visual analysis tool designed to offer an instant perspective on the battle between buyers and sellers. Unlike traditional volume indicators that only measure the quantity of assets traded, this HUD measures the actual monetary value (e.g., USD, USDT) flowing into the market, giving you a much more accurate reading of true sentiment and conviction.
This indicator is presented as a clean, non-intrusive Heads-Up Display (HUD) in a corner of your chart, allowing you to keep your workspace clear while receiving high-value information.
Key Features
Intuitive Sentiment Bar: Instantly visualize the percentage of dominance between buyers (green) and sellers (red) in the current timeframe.
True Monetary Volume: Calculations are not based on simple volume (number of shares or coins) but on quote volume (Volume x Price). Discover how much real capital is backing the bulls and bears.
Data Smoothing: It uses an Exponential Moving Average (EMA) to smooth the volume data, showing the trend in sentiment rather than the noise of a single candle.
Non-Intrusive HUD: Docks to your chosen corner, displaying essential information without cluttering your price action and analysis.
Smart Number Formatting: Large monetary volumes are automatically abbreviated (e.g., 2.1M for millions, 850K for thousands) for a quick and easy read.
Fully Customizable: Easily adjust the HUD's position and the EMA's length (sensitivity) to fit your trading style.
How It Works & How to Interpret It
The indicator analyzes each candle's structure (body and wicks) along with its monetary volume to determine the buying and selling pressure.
Sentiment Calculation:
A green candle with a large body and a high close indicates strong buying pressure.
A red candle with a large body and a low close indicates strong selling pressure.
Long wicks signify a battle; the indicator intelligently distributes the volume to reflect who won that intra-bar fight.
Practical Interpretation:
Clear Dominance (e.g., > 70% Green): Suggests strong control by buyers. Look for confirmation of a trend continuation.
Balance (~50%/50%) with High Monetary Volume: Indicates a major battle or an absorption phase. Although significant capital is being traded, there is no clear winner. This is a key signal to be alert for a potential reversal or consolidation.
Divergences: One of the most powerful signals. If the price is rising but the buying sentiment on the HUD is decreasing, it could indicate that the uptrend is losing capital momentum and is vulnerable to a correction.
Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. All investment and trading decisions are the sole responsibility of the user. Past performance is not indicative of future results.
Max Value Gap [MOT]📊 Max Value Gap — Intraday Fill Zones + Stats Dashboard
Max Value Gap is a real-time gap fill detection system that visualizes institutional-style intraday price inefficiencies on major indices like SPX and NDX. Built for scalpers and short-term traders, it helps identify prime reversal areas where price is likely to return — often within the same session.
This script tracks U.S. regular market hour gaps only (9:30 AM to 4:00 PM ET) and is designed for high-precision execution on the 1-minute chart.
🧠 What Is an SPX Intraday Gap?
An SPX intraday gap occurs when the market creates a void between candles due to rapid price movement — often following volatility spikes, liquidation breaks, or aggressive buyer/seller imbalances. These unfilled zones act like magnetic targets, drawing price back into them as liquidity rebalances.
Unlike overnight gaps, these are formed and resolved within the same session, making them ideal for intraday strategies.
🔍 Key Features
✅ 1. Automatic Gap Detection
Scans only during official U.S. equity market hours (9:30 AM – 4:00 PM EST)
Gap Up: A green candle opens above the previous high
Gap Down: A red candle opens below the previous low
Each valid gap is outlined using colored boxes:
🟩 Green Box = Gap Up
🟥 Red Box = Gap Down
📸 Image : Chart with both green and red boxes marking gaps on SPX.
✅ 2. Dynamic Gap Zone Tracking
Once a gap is identified, the box extends forward until price fills the zone
A gap is considered filled when:
Price trades back into the gap zone
For gap ups: price crosses below the bottom of the gap
For gap downs: price crosses above the top of the gap
Users have the option to auto-delete filled boxes for clarity
📸 Image: Chart with price re-entering and completing a gap fill with box extending only until that point.
✅ 3. Real-Time Statistics Table
Located in the bottom-right of your chart, the built-in dashboard shows:
Total gaps formed
Gaps filled intraday
Gaps filled same day
Percentages of successful fills
📸 Image: Picture of statistics table
This live table helps assess whether the current day’s gaps are behaving in line with historical probabilities — no guesswork required.
🔄 Futures Execution Strategy
While the gaps are plotted on the SPX (or index) chart, the actual trades are taken on MNQ, NQ, or ES, using the gap levels as entry targets.
Sample Trading Flow:
A gap down forms on SPX at 1:45 PM (EST)
Price starts showing reversal signs back toward the gap
Enter long MNQ or NQ targeting a move into the gap zone
Take profit once price fully fills the zone
Repeat throughout the session — trend or chop, gaps are a magnet
This method mirrors institutional mean reversion techniques, capitalizing on market inefficiencies without chasing momentum.
📸 SPX Gap Being Filled with Corresponding MNQ Move Overlay
✅ Best Practices
Works best during morning session volatility (9:30–11:30 AM ET)
Combine with reversal candles or momentum tools for high-quality entries
Avoid during low-volume lunch chop unless tracking larger gap zones
Use on SPX while executing trades on MNQ/NQ/ES
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It does not offer investment advice or trade signals. Past performance does not guarantee future results. Use appropriate risk management. Redistribution or resale is strictly prohibited.
FVG NQ - Clean Version# FVG NQ - Clean Version | גרסה נקייה
## 🇮🇱 תיאור בעברית
### מה זה האינדיקטור?
האינדיקטור מזהה **Fair Value Gaps (FVG)** בגרף דקה ומספק אותות מסחר מדוייקים עם ניהול סיכונים אוטומטי. האינדיקטור מתמחה במסחר בשעות הפתיחה של השוק האמריקאי (8:30-11:30).
### איך זה עובד?
**זיהוי FVG:**
- מחפש "פערים" בין שלושה נרות רצופים בגרף דקה
- בוליש FVG: כשה-High של נר 1 נמוך מה-Low של נר 3
- בריש FVG: כשה-Low של נר 1 גבוה מה-High של נר 3
**לוגיקת פערי פתיחה מחודדת:**
- ` `: יש פער פתיחה והנר ממשיך בכיוון הנכון ✅
- ` `: יש פער פתיחה אבל הנר לא ממשיך בכיוון ⚠️
- רגיל: FVG ללא פער פתיחה
### תכונות מרכזיות:
🎯 **ניהול סיכונים אוטומטי**: חישוב TP/SL לפי גודל ה-FVG או סיכון קבוע
📊 **יחסי סיכון/רווח**: 1:1, 1:2, 1:3
🕐 **מסחר בזמן מוגדר**: רק בין 8:30-11:30
🛡️ **הגנות בטיחות**: מקסימום 5 עסקאות ביום (מעל 2 ריסקי יותר)
📈 **סטטיסטיקות בזמן אמת**: Win Rate, P&L יומי וכללי
🎨 **ויזואליזציה ברורה**: צבעי רקע, קווי Entry/TP/SL, תוויות
### הגדרות:
- **ניהול סיכונים**: אוטומטי (לפי גודל FVG) או קבוע
- **יחס סיכון:רווח**: 1:1, 1:2, 1:3
- **מקסימום עסקאות ביום**: 1-5 (מעל 2 = ריסקי יותר)
- **גודל FVG מינימלי**: 2.0 נקודות (ניתן לשינוי)
### מתאים למי?
- סוחרי Futures NQ/ES
- מסחר בשעות הפתיחה האמריקאית
- מי שמחפש אותות איכותיים עם ניהול סיכונים
---
## 🇺🇸 English Description
### What is this Indicator?
This indicator identifies **Fair Value Gaps (FVG)** on the 1-minute chart and provides precise trading signals with automated risk management. The indicator specializes in trading during US market opening hours (8:30-11:30 AM EST).
### How does it work?
**FVG Detection:**
- Searches for "gaps" between three consecutive candles on 1-minute chart
- Bullish FVG: When candle 1 High is below candle 3 Low
- Bearish FVG: When candle 1 Low is above candle 3 High
**Refined Gap Opening Logic:**
- ` `: Opening gap exists and candle continues in correct direction ✅
- ` `: Opening gap exists but candle doesn't continue direction ⚠️
- Regular: FVG without opening gap
### Key Features:
🎯 **Automated Risk Management**: TP/SL calculation based on FVG size or fixed risk
📊 **Risk/Reward Ratios**: 1:1, 1:2, 1:3
🕐 **Time-Based Trading**: Only between 8:30-11:30 AM EST
🛡️ **Safety Protections**: Maximum 5 trades per day (above 2 is riskier)
📈 **Real-Time Statistics**: Win Rate, Daily & Total P&L
🎨 **Clear Visualization**: Background colors, Entry/TP/SL lines, labels
### Settings:
- **Risk Management**: Automatic (based on FVG size) or Fixed
- **Risk:Reward Ratio**: 1:1, 1:2, 1:3
- **Max Trades Per Day**: 1-5 (above 2 = riskier)
- **Minimum FVG Size**: 2.0 points (adjustable)
### Suitable For:
- NQ/ES Futures traders
- US market opening hours trading
- Traders seeking quality signals with risk management
---
## 📋 Trading Rules
1. **Entry**: When price touches FVG boundary
2. **Stop Loss**: Below/Above FVG + 1 point buffer (Auto mode)
3. **Take Profit**: Based on selected Risk:Reward ratio
4. **Daily Limit**: Stops after max trades reached or SL hit
5. **Time Filter**: Only active during 8:30-11:30 AM EST
## ⚠️ Risk Warning
- Futures trading involves substantial risk of loss
- Past performance doesn't guarantee future results
- Use proper position sizing
- Trading above 2 trades per day increases risk exposure
## 🎨 Visual Elements
- **Yellow Background**: Searching for FVG
- **Blue Background**: Pre-entry setup ready
- **Orange Background**: Currently in trade
- **Red Background**: Failed trade - no more entries today
- **Statistics Table**: Real-time performance metrics
---
*This indicator is designed for educational purposes. Always do your own research and consider your risk tolerance before trading.*
Golden Low-Volume Bar Strategy (Relaxed Version)This indicator highlights potential trend-turning points by identifying three key elements:
Golden Bar — a volume spike where current volume significantly exceeds its 30‑day average (adjustable multiplier).
Golden Line — the close price of the most recent Golden Bar, acting as a support/resistance anchor.
Golden Low‑Volume Bar — the lowest-volume bar within the last 30 days that occurs near (±X%) the Golden Line.
When a Golden Low‑Volume Bar is followed by a bullish bar with rising volume, a Buy Signal is generated.
Boomerang Trading Indicator# Boomerang News Trading Indicator
## Overview
The Boomerang Trading Indicator is designed to identify potential reversal opportunities following major economic news releases. This indicator analyzes the initial market reaction to news events and provides visual cues for potential counter-trend trading opportunities based on Fibonacci retracement levels.
## How It Works
### News Event Detection
- Automatically detects major news release times (NFP, CPI, FOMC, etc.)
- Analyzes the first significant price movement following news releases
- Requires minimum candle size threshold to filter out weak reactions
### First Move Analysis
The indicator employs multiple analytical methods to determine the initial market direction:
**Simple Analysis (High Confidence):**
- When the news candle has ≥70% body-to-total ratio, uses straightforward bullish/bearish classification
**Advanced Analysis (Complex Cases):**
- Volume-weighted direction analysis
- Momentum and wick pattern analysis
- Market structure and gap analysis
- Weighted voting system combining all methods
### Entry Signal Generation
Based on the "boomerang" concept where markets often reverse after initial news reactions:
**For Bullish First Moves (Price Up Initially):**
- Generates SHORT entry signals when price retraces to 1.25-1.5 Fibonacci levels
- Visual: Red triangles above price bars
**For Bearish First Moves (Price Down Initially):**
- Generates LONG entry signals when price retraces to -0.25 to -0.5 Fibonacci levels
- Visual: Green triangles below price bars
## Key Features
### Visual Elements
- **Fibonacci Levels**: Displays key retracement levels based on the initial reaction range
- **Entry Zones**: Clear visual marking of optimal entry areas
- **Direction Arrows**: Shows the initial market reaction direction
- **Target Levels**: Displays profit target zones at 50% and 100% retracement levels
### Information Panel
Real-time display showing:
- Current setup status
- First move direction and body percentage
- Recommended trade direction
- Key price levels (reaction high/low)
- Profit targets with historical success rates
### Alert System
- Pre-news warnings (customizable timing)
- News event notifications
- Setup activation alerts
- Entry signal notifications
### Success Tracking
- Visual "BOOM!" animations when targets are hit
- Target 1 (50% level): ~95% historical success rate
- Target 2 (Main target): ~80% historical success rate
## Configuration Options
### Time Settings
- News release hour and minute (customizable for different events)
- Pre-news alert timing
- Setup duration (default 60 bars after news)
### Fibonacci Levels
- Adjustable retracement percentages
- Customizable target levels
- Mid-level importance weighting
### Risk Management
- Minimum reaction candle size filter
- Maximum risk point setting
- Visual risk/reward display
### Display Options
- Toggle Fibonacci level visibility
- Toggle target level display
- Toggle animation effects
- Customizable alert preferences
## Applicable News Events
This indicator is designed for high-impact economic releases:
- Non-Farm Payrolls (NFP) - First Friday, 8:30 AM ET
- Consumer Price Index (CPI) - Monthly, 8:30 AM ET
- Producer Price Index (PPI) - Monthly, 8:30 AM ET
- Gross Domestic Product (GDP) - Quarterly, 8:30 AM ET
- FOMC Interest Rate Decisions - 8 times yearly, 2:00 PM ET
## Trading Strategy Framework
### Core Principle
Markets often overreact to news initially, then reverse toward more rational price levels. This "boomerang effect" creates short-term trading opportunities.
### Entry Strategy
1. Wait for significant initial reaction (>10 points minimum)
2. Identify the initial direction using multi-factor analysis
3. Trade opposite to the initial reaction when price reaches sweet spot zones
4. Use Fibonacci retracement levels as entry triggers
### Risk Management
- Always use appropriate position sizing
- Set stop losses beyond recent swing levels
- Consider market volatility and news importance
- Monitor for setup invalidation signals
## Important Notes
### Educational Purpose
This indicator is for educational and analytical purposes. Users should:
- Thoroughly test strategies in demo environments
- Understand the risks involved in news trading
- Consider market conditions and volatility
- Use proper risk management techniques
### Market Considerations
- High volatility during news events increases both opportunity and risk
- Spreads may widen significantly during news releases
- Different brokers may have varying execution conditions
- Economic calendar timing may vary between sources
### Limitations
- Past performance does not guarantee future results
- Market conditions can change, affecting strategy effectiveness
- News events may have unexpected outcomes affecting normal patterns
- Technical analysis should be combined with fundamental analysis
## Version Information
- Compatible with TradingView Pine Script v5
- Designed for 1-minute timeframe optimal performance
- Works on major forex pairs, indices, and commodities
- Regular updates based on market condition changes
---
**Disclaimer:** This indicator is provided for educational purposes only. Trading involves substantial risk and is not suitable for all investors. Past performance is not indicative of future results. Users should conduct their own research and consider their financial situation before making trading decisions.
Close vs 50SMA % (Bars colored by 20SMA)This indicator plots the percentage difference between the Close price and the 50-period Simple Moving Average (SMA50), and colors each bar based on whether the Close is above or below the 20-period SMA (SMA20).
XRP 4H UTC Edge | metaduro.com🔍 Strategy Overview
The XRP 16H Strong strategy is a time-based intraday trading system built specifically for XRP on the 4-hour chart. It focuses on the 16:00–20:00 UTC session, targeting short-term price moves during this high-activity window.
✅ Entry Condition
📅 Time = 16:00 UTC → A long position is opened at the start of the 16:00–20:00 UTC candle. This time period often captures late-day momentum and volatility.
❌ Exit Condition
📅 Time = 20:00 UTC → The position is closed at the start of the 20:00–00:00 UTC candle, realizing gains or cutting risk quickly.
📊 No Indicators Used
This strategy is purely based on time-of-day logic — no indicators like RSI, MACD, or moving averages are used. It aims to isolate specific market behavior tied to certain hours.
⚙️ Settings
• Timeframe: 4H (required for correct execution)
• Trade Type: Long only
• Position Size: 100% equity per trade (default setting, adjustable)
💡 Use Cases
• Ideal for testing statistically favorable trading hours
• Can be applied to other crypto assets or combined with filters (e.g., volume spikes, price action patterns)
• Simple foundation for more complex hybrid models (time + indicator-based)
📉 No Stop-Loss or Take-Profit Logic
This script does not use SL/TP. It's recommended to combine with external risk management or modify the code for tighter control.
NQ Hourly Edge (By Scalpr)📊 Hourly Edge (Lorden) - Statistical Trading Edge Indicator
Transform your NQ1! trading with data-driven hourly analysis and high-probability setups based on extensive backtesting.
🎯 What This Indicator Does
The Hourly Edge indicator identifies high-probability "return to open" scenarios during the New York trading session (8am-4pm ET) specifically for NQ1! (Nasdaq futures). When the current hour opens inside the previous hour's range and then sweeps the previous high or low, statistical data shows strong probabilities of price returning to the hourly open.
📈 Key Features
Statistical Edge Detection
Real-time sweep detection with tick-by-tick accuracy
Probability percentages based on extensive NQ1! backtesting data
Color-coded probability levels: Green (75%+), Yellow (51-74%), Red (<50%)
Status tracking: Waiting → Swept → Returned
Visual Trading Tools
Hourly/Custom interval lines with full customization
High/Low tracking with optional current hour hiding
Opening price reference lines
Configurable line styles, colors, and widths
Smart Session Management
NY timezone awareness (8am-4pm ET focus)
"Waiting for 8am" display outside trading hours
20-minute segment analysis for refined probability calculations
🔧 Customization Options
Timeframe Flexibility
Multiple preset intervals: 4H, 1H, 30m, 15m, 10m, 5m
Custom timeframe input (hours + minutes)
Works on any chart timeframe
Display Controls
Show/hide any line type independently
Moveable info box (4 corner positions)
Adjustable text sizes
Historical line limit (1-500 bars)
Line Styling
Individual color settings for each line type
Style options: Solid, Dashed, Dotted
Width control: 1, 2, or 3 pixels
📊 How to Use
Add to NQ1! charts during NY session hours
Watch for sweep notifications in the info box
Check probability percentages for trade confidence
Monitor return status for entry/exit timing
Use alerts for high-probability setups (75%+ edge)
⚡ Best Practices
Optimal timeframes: 1m-15m for entries, 1H for context
Focus on 75%+ probability setups for highest edge
Wait for "moved away from open" confirmation before expecting returns
Combine with your existing NQ1! strategy for enhanced timing
🎯 Perfect For
NQ1! scalpers seeking high-probability entries
Nasdaq day traders wanting statistical edge confirmation
Futures strategy developers incorporating hourly analysis
Risk managers looking for data-driven NQ1! setups