Expanded Cloud [LuxAlgo]The Expanded Cloud tool allows traders to identify and follow trends accurately. It is based on the well-known Donchian Channels, but with enhanced features.
It features a trailing cloud that expands with the price and a trading stats dashboard.
🔶 USAGE
The tool is super easy to use. Traders can identify bigger or smaller trends just by adjusting the length from the settings panel.
Trend identification is based on Donchian Channels. An uptrend is indicated when the cloud is located below the price, while a downtrend is indicated when the cloud is above it.
Dots signal the start of a new trend, and the width of the clouds identifies the strength of the price expansion. The wider the cloud, the bigger the move.
The expanded cloud, due to its visual, can also act as a trailing stop.
🔹 Trend Identification
As we can see in the chart above, different length values identify different trends on the same BTC daily chart. Larger values identify larger trends.
🔹 Cloud Expansion
From the settings panel, traders can adjust how the clouds expand based on the Expansion % parameter. It accepts values from 0 to 100, which controls how much of the expansion is taken into account. Higher values will make the cloud expand and get closer to the price faster.
When the cloud moves opposite to the direction of the indicated trend (e.g: the cloud decreases while being below the price), it is often indicative of the end of a retracement, and we can expect the price to move with the indicated trend.
The chart above shows the effect of different Expansion % values.
🔹 Dashboard
The trading statistics dashboard informs traders of key metrics derived from the tool. The following are notable:
PNL: Theoretical profit or loss from all trends identified by the tool in the right scale units.
EXPECT.: Expected value of each trade. It is derived from win rate and risk-to-reward metrics.
AVG: 1st TOUCH: The average number of bars from the beginning of a new trend until the price touches the cloud for the first time.
🔶 SETTINGS
Length: Length for trend detection
Expansion %: Percentage of price expansion for cloud formation
Source: Source of the data
🔹 Dashboard
Show Dashboard: Enable/disable the statistics dashboard
Location: Dashboard location
Size: Dashboard size
Signals
Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c)Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c
This indicator provides intraday traders with BUY/SELL reversal signals and automated SL (Stoploss) tracking, based on a 3-candle reversal block logic — designed to work exclusively on the 5-min timeframe.
Key Features:
• 3-Candle Reversal Logic — Signals are generated when a defined 3-candle reversal pattern is detected (body-close breakout).
• Current Session Only — All signals and SL lines are valid only for the current session and automatically reset at session start.
• BUY/SELL Signal Labels — Visual ▲ and ▼ labels mark valid reversal signals on the chart.
• Dynamic Auto SL Lines — Plots dashed SL lines based on the reversal block's low/high.
• SL HIT Tracking — If SL is broken, the line stops extending and a ‘SL HIT’ label is displayed at the midpoint of the SL line.
• Adjustable Visual Settings — Customize signal label size, SL line width, colors, and more.
• Clean & Lightweight — Optimized for intraday use without cluttering the chart.
How to Use:
You can trade this indicator in two ways:
1. Direct Signal Entry — Take a BUY or SELL trade when a valid ▲/▼ reversal signal forms.
2. SL HIT Re-entry — If an existing SL line is broken and ‘SL HIT’ appears, you can optionally take an opposite side trade in the direction of the SL HIT.
Example:
A BUY signal is generated and an SL line is plotted below.
If price breaks the SL (SL HIT appears), you may consider entering a SELL trade at that point — as it indicates weakness.
Important Notes:
• Works only on 5-min timeframe — Set your chart to 5-min for correct behavior.
• Designed for intraday trading — all signals and SL levels reset at session start.
• Does not carry signals between sessions.
• SL lines and HIT labels provide a clear and simple visual aid for trade management.
---
Volatility-Adjusted Momentum Score (VAMS) [QuantAlgo]🟢 Overview
The Volatility-Adjusted Momentum Score (VAMS) measures price momentum relative to current volatility conditions, creating a normalized indicator that identifies significant directional moves while filtering out market noise. It divides annualized momentum by annualized volatility to produce scores that remain comparable across different market environments and asset classes.
The indicator displays a smoothed VAMS Z-Score line with adaptive standard deviation bands and an information table showing real-time metrics. This dual-purpose design enables traders and investors to identify strong trend continuation signals when momentum persistently exceeds normal levels, while also spotting potential mean reversion opportunities when readings reach statistical extremes.
🟢 How It Works
The indicator calculates annualized momentum using a simple moving average of logarithmic returns over a specified period, then measures annualized volatility through the standard deviation of those same returns over a longer timeframe. The raw VAMS score divides momentum by volatility, creating a risk-adjusted measure where high volatility reduces scores and low volatility amplifies them.
This raw VAMS value undergoes Z-Score normalization using rolling statistical parameters, converting absolute readings into standardized deviations that show how current conditions compare to recent history. The normalized Z-Score receives exponential moving average smoothing to create the final VAMS line, reducing false signals while preserving sensitivity to meaningful momentum changes.
The visualization includes dynamically calculated standard deviation bands that adjust to recent VAMS behavior, creating statistical reference zones. The information table provides real-time numerical values for VAMS Z-Score, underlying momentum percentages, and current volatility readings with trend indicators.
🟢 How to Use
1. VAMS Z-Score Bands and Signal Interpretation
Above Mean Line: Momentum exceeds historical averages adjusted for volatility, indicating bullish conditions suitable for trend following
Below Mean Line: Momentum falls below statistical norms, suggesting bearish conditions or downward pressure
Mean Line Crossovers: Primary transition signals between bullish and bearish momentum regimes
1 Standard Deviation Breaks: Strong momentum conditions indicating statistically significant directional moves worth following
2 Standard Deviation Extremes: Rare momentum readings that often signal either powerful breakouts or exhaustion points
2. Information Table and Market Context
Z-Score Values: Current VAMS reading displayed in standard deviations (σ), showing how far momentum deviates from its statistical norm
Momentum Percentage: Underlying annualized momentum displayed as percentage return, quantifying the directional strength
Volatility Context: Current annualized volatility levels help interpret whether VAMS readings occur in high or low volatility environments
Trend Indicators: Directional arrows and change values provide immediate feedback on momentum shifts and market transitions
3. Strategy Applications and Alert System
Trend Following: Use sustained readings beyond the mean line and 1σ band penetrations for directional trades, especially when VAMS maintains position in upper or lower statistical zones
Mean Reversion: Focus on 2σ extreme readings for contrarian opportunities, particularly effective in sideways markets where momentum tends to revert to statistical norms
Alert Notifications: Built-in alerts for mean crossovers (regime changes), 1σ breaks (strong signals), and 2σ touches (extreme conditions) help monitor multiple instruments for both continuation and reversal setups
NASDAQ Reaper📈 NASDAQ Reaper – The Ultimate Wall Street Killer
The NASDAQ Reaper is a highly advanced Smart Money Concepts (SMC) + Price Action based indicator, engineered for traders who demand accuracy, precision, and real-time edge in the NASDAQ (NQ) market.
This tool was crafted for serious traders looking to dominate the charts with institutional-grade logic, featuring:
✅ Smart Buy/Sell Zones
✅ Opening Range Breakout (ORB) Detection
✅ Volume Confirmation for Strong Entries
✅ Real-Time Entry & Exit Signals
✅ Trend & Momentum Alignment (Multi-Timeframe Logic)
✅ Trailing TP & SL with Visual Feedback
✅ Backtest Module for Strategy Validation
💡 Designed to filter noise and highlight only high-probability setups, NASDAQ Reaper helps you stay one step ahead of retail traders and ride the moves the smart money makes.
🔔 Works best on:
• 5M, 15M, and 30M charts
• London and New York sessions
• Scalping or intraday swing strategy
Whether you're aiming for 50+ tick scalps or sniper entries aligned with trend reversals, this is your secret weapon to level up your trading game.
Supertrend MACD StrategySupertrend MACD Strategy - Description & Usage Guide
🚀 EARLY ACCESS INDICATOR
This is an early access version of my Supertrend MACD Strategy.
📊 What Is This Indicator?
The Supertrend MACD Strategy combines the power of MACD signals with filtering mechanisms to work seamlessly across ALL trading instruments - from forex and crypto to stocks and commodities.
Unlike traditional MACD indicators that only work well on specific assets, this universal version automatically adapts to any market's price structure and volatility characteristics.
Key Features:
✅ Universal Compatibility - Works on ANY trading pair without manual adjustments
✅ Smart Multi-Filter System - Combines MACD, ATR, ADX, and higher timeframe analysis
✅ Non-Repainting Signals - Signals form after candle close and never change
✅ Trend Continuation Tracking - BUY+/SELL+ signals for trend strength
✅ Structure Break Detection - Identifies major market shifts
✅ Visual Signal Line - Clear trend state indicator on chart
🎯 How The Signals Work
Signal Types:
BUY (Green) - Initial buy signal when all filters align
SELL (Red) - Initial sell signal when all filters align
BUY+ (Purple) - Second confirmation signal in uptrend
SELL+ (Purple) - Second confirmation signal in downtrend
Triangle Arrows - Additional trend continuation signals (optional)
Signal Formation:
⚠️ IMPORTANT: All signals form AFTER the second candle closes and MAY NOT REPAINT. Once a signal appears, it's final and will never disappear or change position.
🛠️ How To Use This Indicator
Basic Setup:
Add the indicator to any chart (works on all timeframes)
Default settings work for most instruments
Enable "Show Debug Info" to see real-time filter values
Set up alerts for automated notifications
Entry Strategies:
Conservative Approach:
Enter on BUY+ or SELL+ signals (purple labels)
These are second confirmations with higher probability
Wait for signal line color to match your trade direction
Aggressive Approach:
Enter on first BUY or SELL signals (green/red labels)
Use tight stop losses below/above recent swing points
Scale in with additional positions on BUY+/SELL+ signals
Exit Strategies:
Exit when opposite signal appears
Use trailing stops following the signal line
Take partial profits at key resistance/support levels
🔧 Advanced Filter Explanations
ATR Volatility Filter:
Ensures sufficient market movement before signaling
Percentage-based for universal compatibility
Higher values = fewer but higher quality signals
ADX Trend Strength:
Confirms trend momentum before entry
Default 15 works for most markets
Higher values filter out weak trends
Higher Timeframe Confirmation:
Aligns signals with larger trend direction
Default 1-hour works for most timeframes
Use 4H for daily charts, Daily for weekly charts
Structure Break Detection:
Identifies when price breaks significant levels
BOS+ signals indicate strong momentum
Percentage-based for universal scaling
🚨 Important Disclaimers
Signal Timing:
Signals appear AFTER second candle close only
low chance of repainting - signals never change once formed
Real-time bar shows potential signal until close
Risk Management:
This indicator provides signals, not trade outcomes
Always use proper position sizing and stop losses
Backtest thoroughly before live trading
Markets can remain irrational longer than expected
Early Access Notes:
This is a pre-release version with ongoing improvements
Settings may be refined based on user feedback
Additional features planned for future updates
Report any issues or suggestions for enhancement
as said before this is indicator is in its early days so is subject to big changes
Version 1.0 (22 JUNE 25)
Trade responsibly and always conduct your own analysis before making trading decisions.
MACD-VWAP-BB IndicatorMACD-VWAP-BB Indicator Description
This Pine Script creates a technical analysis indicator called the "MACD-VWAP-BB Indicator" for use on TradingView. It combines three popular indicators—MACD (Moving Average Convergence Divergence), VWAP (Volume Weighted Average Price), and Bollinger Bands—to generate buy and sell signals on a chart. The indicator plots visual signals (triangles) to help traders identify potential entry points based on the combined signals from these indicators.
What This Indicator Does
Calculates MACD: Measures momentum by comparing two moving averages of the price.
Calculates VWAP: Tracks the average price weighted by volume to gauge whether the price is above or below a "fair" value.
Calculates Bollinger Bands: Identifies volatility and potential overbought or oversold conditions based on price deviation from a moving average.
Combines Signals: Merges the signals from MACD, VWAP, and Bollinger Bands to create a single oscillator.
Generates Buy/Sell Signals: Plots green triangles below the price for buy signals and red triangles above for sell signals when all indicators align.
How It Works
Inputs You Can Customize:
MACD Fast Length (Default: 6): The shorter moving average period for MACD.
MACD Slow Length (Default: 13): The longer moving average period for MACD.
MACD Signal Length (Default: 5): The period for the MACD signal line.
Bollinger Bands Length (Default: 10): The period for calculating the Bollinger Bands' moving average.
Bollinger Bands Multiplier (Default: 1.5): Controls the width of the Bollinger Bands.
VWAP Lookback (Default: 7): The period for calculating VWAP.
Signal Line Smoothing Period (Default: 5): Smooths the combined signal for clarity.
Signal Confirmation Delay (Default: 1): The number of bars to confirm a signal, reducing false signals.
Indicator Calculations:
MACD: Generates a +1 signal for bullish crossovers (MACD line above signal line) or -1 for bearish crossunders.
VWAP: Gives a +1 signal if the price is above VWAP (bullish) or -1 if below (bearish).
Bollinger Bands: Signals +1 if the price is above the upper band (overbought) or -1 if below the lower band (oversold).
Combined Signal: Adds the three signals (ranging from -3 to +3) and smooths them to create an oscillator.
Buy/Sell Signals: A buy signal occurs when the combined signal is +3 (all indicators bullish) and the oscillator crosses above its signal line. A sell signal occurs when the combined signal is -3 (all indicators bearish) and the oscillator crosses below its signal line. Signals are confirmed within the specified delay period.
Visual Output:
Buy Signals: Green triangles appear below the price bars when conditions for a buy are met.
Sell Signals: Red triangles appear above the price bars when conditions for a sell are met.
How to Use It
Add to Chart:
Copy the script into TradingView’s Pine Editor.
Click "Add to Chart" to apply it to your selected chart.
Adjust Inputs:
Go to the indicator’s settings to tweak parameters like MACD lengths, Bollinger Bands multiplier, or VWAP lookback to suit your trading style.
Interpret Signals:
Look for green triangles below bars for potential buy opportunities.
Look for red triangles above bars for potential sell opportunities.
Use in conjunction with other analysis tools, as no indicator guarantees profits.
Test First:
Backtest the indicator on historical data or use it in a demo account to understand its behavior before trading with real money.
Important Notes
Educational Purpose: This indicator is designed to assist with technical analysis and is not financial advice. Always conduct your own research before trading.
Risk Warning: Trading involves risks, and past performance does not guarantee future results. Use this indicator as part of a broader trading strategy.
Customization: Adjust the input settings to match your preferred timeframe or market (e.g., stocks, forex, crypto).
Limitations: The indicator may produce false signals in choppy or low-volatility markets. The confirmation delay helps reduce this but doesn’t eliminate it entirely.
Compliance with TradingView Rules
This script is shared under the Mozilla Public License 2.0, as noted in the code.
No proprietary claims are made, and the script is provided for educational purposes.
The description avoids promising specific trading results or profits, focusing on functionality and usage.
Rolling Z-Score Trend [QuantAlgo]🟢 Overview
The Rolling Z-Score Trend measures how far the current price deviates from its rolling mean in terms of standard deviations. It transforms price data into standardized scores to identify overbought and oversold conditions while tracking momentum shifts.
The indicator displays a Z-Score line showing price deviation from statistical norms, with background momentum columns showing the rate of change in these deviations. This helps traders and investors identify mean reversion opportunities and momentum shifts across different asset classes and timeframes.
🟢 How It Works
The indicator uses the Z-Score formula: Z = (X - μ) / σ, where X is the current closing price, μ is the rolling mean, and σ is the rolling standard deviation over a user-defined lookback period. This creates a dynamic baseline that adapts to changing market conditions and standardizes price movements for interpretation across different assets and volatility conditions. The raw Z-Score undergoes 3-period EMA smoothing to reduce noise while maintaining responsiveness to market signals.
Beyond the basic Z-Score calculation, the indicator measures the rate of change in Z-Score values between successive bars, displayed as background momentum columns. This momentum component shows acceleration and deceleration of statistical deviations. All calculations are processed through confirmation filters, displaying signals only on confirmed bars to reduce premature signals based on incomplete price action.
🟢 How to Use
1. Z-Score Interpretation and Threshold Zones
Positive Values (Above Zero) : Price trading above statistical mean, suggesting bullish momentum or potential overbought conditions
Negative Values (Below Zero) : Price trading below statistical mean, suggesting bearish momentum or potential oversold conditions
Zero Line Crosses : Signal transitions between statistical regimes and potential trend changes
Upper Threshold Zone : Area above entry threshold (default 1.5) indicating potential overbought conditions
Lower Threshold Zone : Area below negative entry threshold (default -1.5) indicating potential oversold conditions
Extreme Values (±2.0 or higher) : Statistically significant deviations that may indicate reversal opportunities
2. Momentum Background Analysis and Info Table
Green Columns : Accelerating positive momentum in Z-Score values
Red Columns : Accelerating negative momentum in Z-Score values
Column Height : Magnitude of momentum change between bars
Momentum Divergence : When columns contradict primary Z-Score direction, often signals impending reversals
Info Table : Displays real-time numerical values for both Z-Score and momentum, including trend direction indicators and bar-to-bar change calculations for position management
3. Preconfigured Settings
Default : Balanced performance across multiple timeframes and asset classes for general trading and medium-term position management.
Scalping : Responsive setup for ultra-short-term trading on 1-15 minute charts with frequent signals and increased sensitivity to quick price movements.
Swing Trading : Optimized for multi-day positions with noise filtering, focusing on larger price swings. Most effective on 1-4 hour and daily timeframes.
Trend Following : Maximum smoothing that prioritizes established trends over short-term volatility. Generates fewer signals for daily and weekly charts.
Consolidation Zones[RanaAlgo]Overview
This indicator helps traders identify price consolidation zones (ranges) and potential breakouts in the market. It is useful for spotting periods of low volatility before significant price movements.
How It Works
Detects Consolidation Zones
Uses the ADX (Average Directional Index) to determine when the market is in a consolidation phase .
When ADX is below the threshold , the indicator marks the start of a consolidation zone.
Draws a semi-transparent box around the price range, adjusting its height as new highs/lows form.
Tracks Breakouts
When price breaks above/below the consolidation box, it signals a potential trend continuation.
Displays breakout arrows/labels (configurable shape & style) when price exits the range.
Visual Features
Boxes highlight consolidation areas (customizable color, border, and style).
Labels show real-time status ("CONSOLIDATING" or "TRENDING").
Breakout signals appear as arrows or shapes (up/down).
Usefulness in Trading
Range Trading: Helps traders identify sideways markets for buying low and selling high.
Breakout Trading: Signals potential trend entries when price exits consolidation.
Trend Confirmation: Low ADX + consolidation box = weak trend; breakout = possible trend start.
Example: If price stays in a blue box (consolidation) and then breaks above with an arrow, it suggests a bullish move.
Trend Flow Trail [AlgoAlpha]OVERVIEW
This script overlays a custom hybrid indicator called the Money Flow Trail which combines a volatility-based trend-following trail with a volume-weighted momentum oscillator. It’s built around two core components: the AlphaTrail—a dynamic band system influenced by Hull MA and volatility—and a smoothed Money Flow Index (MFI) that provides insights into buying or selling pressure. Together, these tools are used to color bars, generate potential reversal markers, and assist traders in identifying trend continuation or exhaustion phases in any market or timeframe.
CONCEPTS
The AlphaTrail calculates a volatility-adjusted channel around price using the Hull Moving Average as the base and an EMA of range as the spread. It adaptively shifts based on price interaction to capture trend reversals while avoiding whipsaws. The direction (bullish or bearish) determines both the band being tracked and how the trail locks in. The Money Flow Index (MFI) is derived from hlc3 and volume, measuring buying vs selling pressure, and is further smoothed with a short Hull MA to reduce noise while preserving structure. These two systems work in tandem: AlphaTrail governs directional context, while MFI refines the timing.
FEATURES
Dynamic AlphaTrail line with regime switching logic that controls directional bias and bar coloring.
Smoothed MFI with gradient coloring to visually communicate pressure and exhaustion levels.
Overbought/oversold thresholds (80/20), mid-level (50), and custom extreme zones (90/10) for deeper signal granularity.
Built-in take-profit signal logic: crossover of MFI into overbought with bullish AlphaTrail, or into oversold with bearish AlphaTrail.
Visual fills between price and AlphaTrail for clearer confirmation during trend phases.
Alerts for regime shifts, MFI crossovers, trail interactions, and bar color regime changes.
USAGE
Add the indicator to any chart. Use the AlphaTrail plot to define trend context: bullish (trailing below price) or bearish (trailing above). MFI values give supporting confirmation—favor long setups when MFI is rising and above 50 in a bullish regime, and shorts when MFI is falling and below 50 in a bearish regime. The colored fills help visually track strength; sharp changes in MFI crossing 80/20 or 90/10 zones often precede pullbacks or reversals. Use the plotted circles as optional take-profit signals when MFI and trend are extended. Adjust AlphaTrail length/multiplier and MFI smoothing to better match the asset’s volatility profile.
Fibonacci Entry Bands [AlgoAlpha]OVERVIEW
This script plots Fibonacci Entry Bands, a trend-following and mean-reversion hybrid system built around dynamic volatility-adjusted bands scaled using key Fibonacci levels. It calculates a smoothed basis line and overlays multiple bands at fixed Fibonacci multipliers of either ATR or standard deviation. Depending on the trend direction, specific upper or lower bands become active, offering a clear framework for entry timing, trend identification, and profit-taking zones.
CONCEPTS
The core idea is to use Fibonacci levels—0.618, 1.0, 1.618, and 2.618—as multipliers on a volatility measure to form layered price bands around a trend-following moving average. Trends are defined by whether the basis is rising or falling. The trend determines which side of the bands is emphasized: upper bands for downtrends, lower bands for uptrends. This approach captures both directional bias and extreme price extensions. Take-profit logic is built in via crossovers relative to the outermost bands, scaled by user-selected aggressiveness.
FEATURES
Basis Line – A double EMA smoothing of the source defines trend direction and acts as the central mean.
Volatility Bands – Four levels per side (based on selected ATR or stdev) mark the Fibonacci bands. These become visible only when trend direction matches the side (e.g., only lower bands plot in an uptrend).
Bar Coloring – Bars are shaded with adjustable transparency depending on distance from the basis, with color intensity helping gauge overextension.
Entry Arrows – A trend shift triggers either a long or short signal, with a marker at the outermost band with ▲/▼ signs.
Take-Profit Crosses – If price rejects near the outer band (based on aggressiveness setting), a cross appears marking potential profit-taking.
Bounce Signals – Minor pullbacks that respect the basis line are marked with triangle arrows, hinting at continuation setups.
Customization – Users can toggle bar coloring, signal markers, and select between ATR/stdev as well as take-profit aggressiveness.
Alerts – All major signals, including entries, take-profits, and bounces, are available as alert conditions.
USAGE
To use this tool, load it on your chart, adjust the inputs for volatility method and aggressiveness, and wait for entries to form on trend changes. Use TP crosses and bounce arrows as potential exit or scale-in signals.
RSI Buy Sell Signals+ with MFI Cloud [RanaAlgo]Indicator Overview
This indicator combines RSI (Relative Strength Index) with MFI (Money Flow Index) to generate trading signals with additional confirmation filters. The key features include:
RSI Analysis (14-period) with overbought/oversold levels
MFI Cloud (20-period default) showing trend direction via EMAs
Enhanced Signal Generation with volume and trend confirmation options
Visual Elements including colored zones, signal labels, and an information panel
How to Use This Indicator
Basic Interpretation:
Buy Signals (green labels) appear when:
RSI crosses above oversold level (30) OR
RSI shows a rising pattern from oversold zone with volume/trend confirmation (if enabled)
Sell Signals (red labels) appear when:
RSI crosses below overbought level (70) OR
RSI shows a falling pattern from overbought zone with volume/trend confirmation (if enabled)
MFI Cloud provides trend confirmation:
Green cloud = bullish trend (fast EMA > slow EMA)
Red cloud = bearish trend (fast EMA < slow EMA)
Recommended Usage:
For Conservative Trading:
Enable both volume and trend confirmation
Require MFI cloud to align with signal direction
Wait for RSI to clearly exit overbought/oversold zones
For Active Trading:
Combine with price action at key support/resistance levels
Watch for divergence between price and RSI
The Information Panel (top-right) shows:
Current RSI value and status
MFI trend direction
Last generated signal
Current momentum
Customization Options:
Adjust RSI/MFI lengths for sensitivity
Modify overbought/oversold levels
Toggle volume/trend confirmation requirements
Adjust visual elements like cloud opacity and zone visibility
Adaptive MACD Deluxe [AlgoAlpha]OVERVIEW
This script is an advanced rework of the classic MACD indicator, designed to be more adaptive, visually informative, and customizable. It enhances the original MACD formula using a dynamic feedback loop and a correlation-based weighting system that adjusts in real-time based on how deterministic recent price action is. The signal line is flexible, offering several smoothing types including Heiken Ashi, while the histogram is color-coded with gradients to help users visually identify momentum shifts. It also includes optional normalization by volatility, allowing MACD values to be interpreted as relative percentage moves, making the indicator more consistent across different assets and timeframes.
CONCEPTS
This version of MACD introduces a deterministic weight based on R-squared correlation with time, which modulates how fast or slow the MACD adapts to price changes. Higher correlation means smoother, slower MACD responses, and low correlation leads to quicker reaction. The momentum calculation blends traditional EMA math with feedback and damping components to create a smoother, less noisy series. Heiken Ashi is optionally used for signal smoothing to better visualize short-term trend bias. When normalization is enabled, the MACD is scaled by an EMA of the high-low range, converting it into a bounded, volatility-relative indicator. This makes extreme readings more meaningful across markets.
FEATURES
The script offers six distinct options for signal line smoothing: EMA, SMA, SMMA (RMA), WMA, VWMA, and a custom Heiken Ashi mode based on the MACD series. Each option provides a different response speed and smoothing behavior, allowing traders to match the indicator’s behavior to their strategy—whether it's faster reaction or reduced noise.
Normalization is another key feature. When enabled, MACD values are scaled by a volatility proxy, converting the indicator into a relative percentage. This helps standardize the MACD across different assets and timeframes, making overbought and oversold readings more consistent and easier to interpret.
Threshold zones can be customized using upper and lower boundaries, with inner zones for early warnings. These zones are highlighted on the chart with subtle background fills and directional arrows when MACD enters or exits key levels. This makes it easier to spot strong or weak reversals at a glance.
Lastly, the script includes multiple built-in alerts. Users can set alerts for MACD crossovers, histogram flips above or below zero, and MACD entries into strong or weak reversal zones. This allows for hands-free monitoring and quick decision-making without staring at the chart.
USAGE
To use this script, choose your preferred signal smoothing type, enable normalization if you want MACD values relative to volatility, and adjust the threshold zones to fit your asset or timeframe. Use the colored histogram to detect changes in momentum strength—brighter colors indicate rising strength, while faded colors imply weakening. Heiken Ashi mode smooths out noise and provides clearer signals, especially useful in choppy conditions. Use alert conditions for crossover and reversal detection, or monitor the arrow markers for entries into potential exhaustion zones. This setup works well for trend following, momentum trading, and reversal spotting across all market types.
FVG Trailing Stop [LuxAlgo]The FVG Trailing Stop indicator tracks unmitigated Fair Value Gaps (FVG) data to produce a Trailing Stop indicator able to determine if the market is uptrending or downtrending easily.
🔶 USAGE
The FVG Trailing Stop is intended to identify trend directions through its position relative to the closing price:
Bullish: Price is located above the Trailing Stop, indicating that all Bearish FVGs have been mitigated and the trend is anticipated to continue upwards.
Bearish State: Price is located below the Trailing Stop, indicating that all Bullish FVGs have been mitigated and the trend is anticipated to continue downwards.
The Trailing Stop originates from two extremities obtained from the average of respective unmitigated FVGs. The specific directional average is also displayed as a more transparent secondary line, however, the trailing stop is derived from this value and a new trend will not be detected until the opposite directional average is crossed.
Price reaching the Trailing Stop is caused by retracements and can lead to the following scenarios:
Outcome 1: The directional average is crossed next, indicating a new trend direction.
Outcome 2: The directional average is held as support or resistance, leading to a new impulse and a continuation of the trend.
🔹 Reset on Cross
While price crossing the Trailing Stop should be considered as a sign of an upcoming trend change; it is possible for the price to still evolve outside it.
As a solution, we have included the "Reset on Cross" feature, which (as the name suggests) hides and resets the Trailing Stop each time it is crossed, leading to a "Neutral" state.
This opens the opportunity for the Trailing Stop to be displayed again once the price moves again in the direction of the pre-established trend. A trader might use this to accumulate positions within a specific trend.
🔶 DETAILS
The script uses a typical identification method for FVGs. Once identified, the script collects the point of the FVG farthest from the current price when formed.
For Upwards FVGs this is the bottom of the FVG.
For Downwards FVGs this is the top of the FVG.
The data is managed only to use the last input lookback of FVGs. If an FVG is mitigated, it frees up a spot in the memory for a new FVG, however, if the lookback is full, the oldest will be deleted.
From there, it uses a "trailing" logic only to move the Trailing Stop in one direction until the trailing stop resets or the direction flips.
The extremities used to calculate the Trailing Stop are created from 2 calculation steps, the first step involves taking the raw average of the FVG mitigation levels, and the second step applies a simple moving average (SMA) smoothing of the precedent-obtained averages.
🔶 SETTINGS
Unmitigated FVG Lookback: Sets the maximum number of Unmitigated FVGs that the script will use.
Smoothing Length: Sets the smoothing length for the Trailing Stop to reduce erratic results.
Reset on Cross: When enabled, hide and reset the Trailing Stop until the price starts moving in the pre-established trend direction again.
Candle Breakout Oscillator [LuxAlgo]The Candle Breakout Oscillator tool allows traders to identify the strength and weakness of the three main market states: bullish, bearish, and choppy.
Know who controls the market at any given moment with an oscillator display with values ranging from 0 to 100 for the three main plots and upper and lower thresholds of 80 and 20 by default.
🔶 USAGE
The Candle Breakout Oscillator represents the three main market states, with values ranging from 0 to 100. By default, the upper and lower thresholds are set at 80 and 20, and when a value exceeds these thresholds, a colored area is displayed for the trader's convenience.
This tool is based on pure price action breakouts. In this context, we understand a breakout as a close above the last candle's high or low, which is representative of market strength. All other close positions in relation to the last candle's limits are considered weakness.
So, when the bullish plot (in green) is at the top of the oscillator (values above 80), it means that the bullish breakouts (close below the last candle low) are at their maximum value over the calculation window, indicating an uptrend. The same interpretation can be made for the bearish plot (in red), indicating a downtrend when high.
On the other hand, weakness is indicated when values are below the lower threshold (20), indicating that breakouts are at their minimum over the last 100 candles. Below are some examples of the possible main interpretations:
There are three main things to look for in this oscillator:
Value reaches extreme
Value leaves extreme
Bullish/Bearish crossovers
As we can see on the chart, before the first crossover happens the bears come out of strength (top) and the bulls come out of weakness (bottom), then after the crossover the bulls reach strength (top) and the bears weakness (bottom), this process is repeated in reverse for the second crossover.
The other main feature of the oscillator is its ability to identify periods of sideways trends when the sideways values have upper readings above 80, and trending behavior when the sideways values have lower readings below 20. As we just saw in the case of bullish vs. bearish, sideways values signal a change in behavior when reaching or leaving the extremes of the oscillator.
🔶 DETAILS
🔹 Data Smoothing
The tool offers up to 10 different smoothing methods. In the chart above, we can see the raw data (smoothing: None) and the RMA, TEMA, or Hull moving averages.
🔹 Data Weighting
Users can add different weighting methods to the data. As we can see in the image above, users can choose between None, Volume, or Price (as in Price Delta for each breakout).
🔶 SETTINGS
Window: Execution window, 100 candles by default
🔹 Data
Smoothing Method: Choose between none or ten moving averages
Smoothing Length: Length for the moving average
Weighting Method: Choose between None, Volume, or Price
🔹 Thresholds
Top: 80 by default
Bottom: 20 by default
RSI Buy Sell Signals[RanaAlgo]Overview
This Premium RSI with Enhanced Signals builds upon the classic Relative Strength Index by incorporating multiple confirmation filters and visual enhancements to improve signal reliability. The indicator goes beyond basic overbought/oversold levels by adding volume confirmation, trend alignment, and peak detection logic.
Key Features
Enhanced Signal Detection
Peak Strength Filter: Requires RSI movements to meet minimum strength criteria (configurable from 1-5 bars)
Volume Confirmation: Optional volume filter to ensure signals occur with above-average trading activity
Trend Alignment: Optional trend confirmation that checks price position relative to 20-period EMA
Visual Improvements
Dynamic coloring of RSI line (green in oversold, red in overbought)
Customizable reference lines and zones
Clear buy/sell signals with triangle markers
Comprehensive info panel showing current RSI status
Alert Capabilities
Ready-to-use alert conditions for both buy and sell signals
Visual and audible alerts when signals trigger
How It Works
Core RSI Calculation: Uses standard RSI formula with configurable length (default 14)
Signal Generation:
Buy signals require either:
RSI rising from oversold with volume/trend confirmation (when enabled)
Simple crossover above oversold level (when filters disabled)
Sell signals require either:
RSI falling from overbought with volume/trend confirmation
Simple crossunder below overbought level
Additional Filters:
Minimum peak strength prevents weak, insignificant movements from generating signals
Volume filter helps confirm institutional participation
Trend filter aligns signals with broader price direction
Usage Instructions
Apply to any chart timeframe (works best on 1H or higher)
Configure settings in the input panel:
Adjust RSI length if needed
Set overbought/oversold levels (default 70/30)
Enable/disable volume and trend filters
Customize visual elements
Signals appear as triangles below/above the RSI line
Use alerts to get notified of new signals
Differentiation from Standard RSI
This indicator adds several layers of confirmation that aren't present in the basic RSI:
Multi-bar momentum requirement for peaks/troughs
Volume validation option
Trend confirmation option
Smoothed RSI line for cleaner visualization
Comprehensive info panel with current status
The combination of these features helps filter out false signals that commonly occur with traditional RSI implementations.
Enhanced Stock Ticker with 50MA vs 200MADescription
The Enhanced Stock Ticker with 50MA vs 200MA is a versatile Pine Script indicator designed to visualize the relative position of a stock's price within its short-term and long-term price ranges, providing actionable bullish and bearish signals. By calculating normalized indices based on user-defined lookback periods (defaulting to 50 and 200 bars), this indicator helps traders identify potential reversals or trend continuations. It offers the flexibility to plot signals either on the main price chart or in a separate lower pane, leveraging Pine Script v6's force_overlay functionality for seamless integration. The indicator also includes a customizable ticker table, visual fills, and alert conditions for automated trading setups.
Key Features
Dual Lookback Indices: Computes short-term (default: 50 bars) and long-term (default: 200 bars) indices, normalizing the closing price relative to the high/low range over the specified periods.
Flexible Signal Plotting: Users can toggle between plotting crossover signals (triangles) on the main price chart (location.abovebar/belowbar) or in the lower pane (location.top/bottom) using the Plot Signals on Main Chart option.
Crossover Signals: Generates bullish (Golden Cross) and bearish (Death Cross) signals when the short or long index crosses above 5 or below 95, respectively.
Visual Enhancements:
Plots short-term (blue) and long-term (white) indices in a separate pane with customizable lookback periods.
Includes horizontal reference lines at 0, 20, 50, 80, and 100, with green and red fills to highlight overbought/oversold zones.
Dynamic fill between indices (green when short > long, red when long > short) for quick trend visualization.
Displays a ticker and legend table in the top-right corner, showing the symbol and lookback periods.
Alert Conditions: Supports alerts for bullish and bearish crossovers on both short and long indices, enabling integration with TradingView's alert system.
Technical Innovation: Utilizes Pine Script v6's force_overlay parameter to plot signals on the main chart from a non-overlay indicator, combining the benefits of a separate pane and chart-based signals in a single script.
Technical Details
Calculation Logic:
Uses confirmed bars (barstate.isconfirmed) to calculate indices, ensuring reliability by avoiding real-time bar fluctuations.
Short-term index: (close - lowest(low, lookback_short)) / (highest(high, lookback_short) - lowest(low, lookback_short)) * 100
Long-term index: (close - lowest(low, lookback_long)) / (highest(high, lookback_long) - lowest(low, lookback_long)) * 100
Signals are triggered using ta.crossover() and ta.crossunder() for indices crossing 5 (bullish) and 95 (bearish).
Signal Plotting:
Main chart signals use force_overlay=true with location.abovebar/belowbar for precise alignment with price bars.
Lower pane signals use location.top/bottom for visibility within the indicator pane.
Plotting is controlled by boolean conditions (e.g., bullishLong and plot_on_chart) to ensure compliance with Pine Script's global scope requirements.
Performance Considerations: Optimized for efficiency by calculating indices only on confirmed bars and using lightweight plotting functions.
How to Use
Add to Chart:
Copy the script into TradingView's Pine Editor and add it to your chart.
Configure Settings:
Short Lookback Period: Adjust the short-term lookback (default: 50 bars) to match your trading style (e.g., 20 for shorter-term analysis).
Long Lookback Period: Adjust the long-term lookback (default: 200 bars) for broader market context.
Plot Signals on Main Chart: Check this box to display signals on the price chart; uncheck to show signals in the lower pane.
Interpret Signals:
Golden Cross (Bullish): Green (long) or blue (short) triangles indicate the index crossing above 5, suggesting a potential buying opportunity.
Death Cross (Bearish): Red (long) or white (short) triangles indicate the index crossing below 95, signaling a potential selling opportunity.
Set Alerts:
Use TradingView's alert system to create notifications for the four alert conditions: Long Index Valley, Long Index Peak, Short Index Valley, and Short Index Peak.
Customize Visuals:
The ticker table displays the symbol and lookback periods in the top-right corner.
Adjust colors and styles via TradingView's settings if desired.
Example Use Cases
Swing Trading: Use the short-term index (e.g., 50 bars) to identify short-term reversals within a broader trend defined by the long-term index.
Trend Confirmation: Monitor the fill between indices to confirm whether the short-term trend aligns with the long-term trend.
Automated Trading: Leverage alert conditions to integrate with bots or manual trading strategies.
Notes
Testing: Always backtest the indicator on your chosen market and timeframe to validate its effectiveness.
Optional Histogram: The script includes a commented-out histogram for the index difference (index_short - index_long). Uncomment the plot(index_diff, ...) line to enable it.
Compatibility: Built for Pine Script v6 and tested on TradingView as of May 27, 2025.
Acknowledgments
This indicator was inspired by the need for a flexible tool that combines lower-pane analysis with main chart signals, made possible by Pine Script's force_overlay feature. Share your feedback or suggestions in the comments below, and happy trading!
SuperTrend Confluence Signals [AlgoAlpha]OVERVIEW
This script enhances the classic SuperTrend indicator by integrating volume dynamics, retracement detection, and a multi-asset trend matrix—alongside an automatic mitigation-level drawing system. It's designed for traders who want to see not just trend direction, but the confluence of trend strength, volatility-adjusted retracements, and capital flow through volume pressure. It visually maps key transitions in market structure while offering a clean, color-coded overview of multiple symbols and timeframes in a single chart.
CONCEPTS
At the core is the traditional SuperTrend , which determines directional bias using Average True Range (ATR) with a volatility multiplier. This script overlays that with a dynamic volume histogram that scales relative to recent volume standard deviation, coloring volume bursts within the trend. Retracement signals are triggered when price pulls back toward the SuperTrend level but respects it—quantified through normalized distance sensitivity. On top of that, the indicator automatically draws and manages horizontal support/resistance zones that appear at key trend shifts. These levels persist and are cleared based on configurable rules such as wick/body sweeps or consecutive candle closes. A multi-asset, multi-timeframe table then gives an instant snapshot of trend status across five user-defined symbols and timeframes.
FEATURES
SuperTrend : Configurable ATR length and multiplier for flexible trend sensitivity.
Volumetric Histogram : Gradient-filled candles anchored to SuperTrend bands, scaled by relative volume to indicate activity intensity during trends.
Retracement Arrows : Signals printed when price nears the SuperTrend level without breaking it, allowing identification of high-probability continuation zones.
Volume TP Markers : Diamond markers flag high-volume events, contextualizing price moves with liquidity bursts.
Automatic Structure Levels : Draws clean horizontal lines at significant trend transitions, with optional volatility-based band fills. These levels self-update and clear based on price interaction logic.
Trend Table : Displays trend direction (▲/▼) across five assets and five timeframes. Each cell is colored according to trend bias, providing a compact overview for multi-market confluence.
USAGE
Start by loading the indicator on your main chart and adjusting the ATR Length and Multiplier to match your strategy timeframe. Use lower values for scalping and higher values for swing trading. The histogram bars will appear as colored candles above or below the SuperTrend level, indicating how strong volume is within that trend. Arrow signals suggest minor pullbacks within the trend, which can act as entry opportunities. The level system will automatically plot key price zones during trend flips; if "Body" is selected for mitigation, price must close through the level to invalidate it. If "Wick" is chosen, a single wick breach is enough. Adjust expiry and rejection settings to fine-tune how long levels stay on chart. Finally, enable the Multi-Asset Table to view live trend signals across popular symbols like AAPL or NVDA in different timeframes, helping spot macro-to-micro alignment for higher-confidence trades.
Long Wick Detector [LuxAlgo]The Long Wick Detector tool allows traders to identify candle wicks longer than a user-defined volatility threshold. This makes it useful for spotting zones with high supply or demand.
The tool displays mitigated and unmitigated levels and changes the color of the candles based on wick size and level breakouts.
🔶 USAGE
By default, the tool displays long mitigated and unmitigated candle wicks, with a maximum duration for an unmitigated long wick of 1,000 bars. What does all this mean?
🔹 Wick Threshold
Traders can adjust the volatility threshold to identify long wicks, with a higher threshold detecting more significant wicks.
As we can see in the image above, the tool detects more wicks with a smaller threshold compared to a higher one.
🔹 Level %
Traders can choose the percentage of the wick at which the level is located. By default, the level is displayed at the extremes of the wick. This parameter accepts values between 0 and 100.
100: extreme of the wick
50: middle of the wick
0: start of the wick
🔹 Max Duration
This parameter allows traders to specify the number of bars for the levels. The tool will only display mitigated or unmitigated levels up to the specified number of bars.
As shown in the above image, a longer duration allows more room for mitigation, displaying more levels.
🔹 Colored Candles
The tool allows for color customization using two parameters from the settings panel. The chart shows the different outputs.
The setting "Wick-Based Transparency" makes candles with smaller wicks less visible and candles with longer wicks more visible.
On the other hand, "Breakout-Based Color" changes the base color of the candles based on the mitigation of long wicks. When the price breaks above a detected top wick, the bullish color is used. When the price breaks below a detected bottom wick, the bearish color is used.
🔶 SETTINGS
Wick Threshold: The volatility threshold for wick detection. Use a smaller value to detect smaller wicks.
Level %: Placement of the plotted level relative to the wick.
Max Duration: The maximum duration in bars of mitigated wicks.
Mitigated Wicks: Enable or disable mitigated wicks.
🔹 Style
Wick Based Transparency: Make candles with smaller wicks more transparent and candles with longer wicks more solid.
Breakout Based Color: Change the base color based on wick mitigation.
Bullish & Bearish Colors
Market Breadth Toolkit [LuxAlgo]The Market Breadth Toolkit allows traders to use up to 6 different market breadth measures on two different exchanges, for a total of 12 different views of the market.
This toolkit includes divergence detection and allows setting custom fixed levels for traders who want to experiment with them.
🔶 USAGE
The main idea behind Breadth is to measure the number of advancing and declining issues and/or volume by exchange to have an idea of the underlying strength of the whole exchange.
On the other hand, thrusts represent big impulses in the breadth, as it is described by technicians to be the start of a new bullish trend.
By default, the Toolkit is set to "Breadth Thrust Zweig", with divergences enabled.
We will now explain all the different breadth measures available in the toolkit.
🔹 Deemer Breakaway Momentum
The "Breakaway Momentum" is a concept related to market breadth introduced by legendary technical analyst Walter Deemer.
As stated on his website:
We coined the term "breakaway momentum" in the 1970's to describe this REALLY powerful upward momentum
and:
We now know that the stock market generates breakaway momentum when the 10-day total advances on the NYSE are greater than 1.97 times the 10-day total NYSE declines OR the 20-day total advances on the NYSE are greater than 1.72 times the 20-day total NYSE declines.
As we can see in the chart above, which shows both methods, momentum is identified when the ratio of advancing issues to declining issues is greater than 1.97 for the 10-day average or 1.72 for the 20-day average.
🔹 Zweig Breadth Tools
Legendary trader and author Marting Zweig, best known as the author of "Winning on Wall Street" and the creator of the Put/Call Ratio.
In this toolkit, we feature two of his other tools:
Breadth Thrust: Number of Advancing / (Number of Advancing + Number of Declining Stocks)
Market Thrust: (Number of Advancing × Advancing Volume) — (Number of Declining Stocks × Declining Volume)
As we can see on the above chart, the Breadth Thrust printed a new signal on April 24, 2025, which is a bullish signal on the daily chart that can last several months, considering the previous signals.
On the right side, we have the Market Thrust as the delta between advancing minus declining volume weighted.
🔹 Whaley Measures
Wayne Whaley received the 2010 Charles Dow Award from the CMT Association, as stated on their website: "In 1994, the CMT Association established the Charles H. Dow Award to recognize outstanding research in technical analysis."
We include two of the tools from this paper:
Advance Decline Thrust: Number of Advancing / (Number of Advancing + Number of Declining Stocks)
Up/Down Volume Thrust Advancing Volume / (Advancing Volume + Declining Volume)
The chart above shows Thrust signals at extreme readings as described in the paper.
🔹 Divergences
The divergence detector is enabled by default, traders can disable it and fine-tune the detection length in the settings panel.
🔹 Fixed Levels
Traders can adjust the Thrust detection thresholds in the settings panel.
In the image above, we can see the Deemer Breakaway Momentum 10 with the original threshold (below) and with the 3.0 threshold (above).
🔶 SETTINGS
Breadth: Choose between 6 different breadth thrust measurement methods.
Data: Choose between NYSE or NASDAQ exchanges.
Divergences: Enable/Disable divergences and select the length detection.
🔹 Levels
Use Fixed Levels: Enable/Disable Fixed Levels.
Top Level: Select the top-level threshold.
Bottom Level: Select bottom level threshold.
Levels Style: Choose between dashed, dotted, or solid style.
🔹 Style
Breadth: Select breadth colors
Divergence: Select divergence colors
Adaptive Momentum Oscillator [LuxAlgo]The Adaptive Momentum Oscillator tool allows traders to measure the current relative momentum over a given period using the maximum delta in price.
It features a histogram with gradient color, divergences, and an adaptive moving average that allows traders to clearly see the smoothed trend direction.
🔶 USAGE
This unbounded oscillator has positive momentum when values are above 0 and negative momentum when values are below 0. The adaptive moving average is used as a minimum lag smoothing tool over the momentum histogram.
🔹 Signal Line
There are two main uses for the signal line drawn on the chart above.
Momentum crosses above or below the signal line: acceleration in momentum.
Signal line crosses the 0 value: positive or negative momentum.
🔹 Data Length
On the chart above, we can compare different length sizes and how the tool values change, allowing traders to get a shorter or longer-term view of current market strength.
🔹 Smoothing Length
In the previous figure, we can compare how different Smoothing Length values affect the oscillator output.
🔹 Divergences
The divergence detector is disabled by default. Traders can enable it and adjust the divergence length from the settings panel.
As we can see in the chart above, by changing the length of the divergences, traders can fine-tune their detection, a small number will detect smaller divergences, and use a larger number for larger divergences.
🔶 SETTINGS
Data: Select data source, close price by default
Data Length: Select the length for data gathering
Smoothing Length: Select the length for data smoothing
Divergences: Enable/Disable divergences detection and length
Equal High/Low (EQH/EQL) [AlgoAlpha]OVERVIEW
This script detects and visualizes Equal High (EQH) and Equal Low (EQL) zones—key liquidity areas where price has previously stalled or reversed. These levels often attract institutional interest due to the liquidity buildup around them. The indicator is built to highlight such zones using dynamic thresholding, overbought/oversold RSI filtering, and adaptive mitigation logic to manage zone relevance over time.
CONCEPTS
Equal Highs/Lows are price points where the market has repeatedly failed to break past a certain high or low, hinting at areas where stop orders and pending interest may be concentrated. These areas are often prime targets for liquidity grabs or reversals. By combining this with RSI filtering, the script avoids false signals during neutral conditions and instead focuses on zones where market pressure is more directional.
FEATURES
Detection Logic: The script identifies EQH and EQL zones by comparing the similarity between recent highs or lows with a dynamic volatility threshold. The `tolerance` input allows users to control how strict this comparison is.
RSI Filtering: If enabled, it only creates zones when RSI is significantly overbought or oversold (based on the `state_thresh` input). This helps ensure zones form only in meaningful market conditions.
Zone Display: Bullish (EQL) zones are shown in grey, while bearish (EQH) zones are in blue. Two horizontal lines mark the zone using wick and body extremes, and a filled area visualizes the zone between them.
Zone Management: Zones automatically extend with price until they’re invalidated. You can choose whether a zone is removed based on wick or body sweeps and whether it requires one or two candle confirmations. Zones also expire after a customizable number of bars.
Alerts: Four alert conditions are built in—when a new EQH/EQL is formed and when one is mitigated—making it easy to integrate into alert-based workflows.
USAGE
Equal highs/lows can be used as liquidity markers, either as entry points or as take-profit targets.
This tool is ideal for liquidity-based strategies and helps traders map out possible reversal or sweep zones that often precede aggressive moves.
NR4 & NR7 with Breakouts [LuxAlgo]NR4 & NR7 with Breakouts is a simple indicator that utilizes the NR4 and NR7 candle patterns to display candle ranges and signals from range breakouts.
🔶 USAGE
The Narrow Range Patterns are candle formations determined by the last candle having a narrower (high-low) range than the previous number. This indicator showcases the 2 most recognized Narrow Range Patterns, which are the 4 and 7 bar variants (NR4 and NR7).
These patterns, introduced by Toby Crabel, are thought to provide insight for potential market breakouts by identifying periods of low volatility indicated by a candle with a small range. This is due to the idea that markets often move from periods of low volatility (contraction) to high volatility (expansion), and the NR4 and NR7 patterns help spot these transitions.
By utilizing these patterns, traders are better able to anticipate and respond to market shifts for better decision-making and risk management.
NOTE: These patterns have traditionally been studied on the Daily Timeframe Chart. This indicator allows the user to select a timeframe to generate these patterns from. It is suggested to be mindful of this when considering these patterns.
In this indicator, on the bar after the pattern is detected, the Narrow Range Bar will be highlighted with a zone, and lines displaying the range will extend from it. These ranges are helpful for providing levels to set limit orders and for managing risk.
Users are able to adjust which pattern they want visualized on their chart, please note;
All NR7s are NR4s but not all NR4s are NR7s.
Because of this, you will notice that when selecting "NR4" to display, the colors will change, but the detected ranges will not change.
🔹 Signals
When a Narrow Range Bar is detected, the script will wait for the price to close outside of the Range, then a signal will fire indicating the direction of exit. The signals are produced from the last NR4 or NR7 and will have the potential to fire from that range until a new NR4 or NR7 is detected.
After a signal fires, the logic goes into a "reset" period where it will wait for the price to reach the Range Mean before firing another signal.
These signals can be anticipated by considering the underlying logic and watching price approach the range extremities, and can be improved by utilizing other market information for confluence.
🔶 SETTINGS
Timeframe: Choose which timeframe to identify the NR4 and NR7 Pattern on. This must be Higher than the chart timeframe.
Pattern Type: Choose which (or all) patterns to display.
Market Structure Confluence [AlgoAlpha]OVERVIEW
This script is called "Market Structure Confluence" and it combines classic market structure analysis with a dynamic volatility-based band system to detect shifts in trend and momentum more reliably. It tracks key swing points (higher highs, higher lows, lower highs, lower lows) to define the trend, then overlays a basis and ATR-smoothed volatility bands to catch rejection signals and highlight potential inflection points in the market.
CONCEPTS
Market structure is the foundation of price action trading, focusing on the relationship between successive highs and lows to understand trend conditions. Break of Structure (BOS) and Change of Character (CHoCH) events are important because they signal when a market might be shifting direction. This script enhances traditional structure by integrating volatility bands, which act like dynamic support/resistance zones based on ATR, allowing it to capture momentum surges and rejections beyond just structural shifts.
FEATURES
Swing Detection: It detects and labels Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) based on user-defined time horizons, helping traders quickly spot the trend direction.
BOS and CHoCH Lines: When a previous swing point is broken, the script automatically plots a Break of Structure (BOS) line. If the break represents a major trend reversal (a CHoCH), it is marked differently to separate simple breakouts from real trend changes.
Rejection Signals: Special arrows plot when price pierces a band and then pulls back, suggesting a potential trap move or rejection signal in the direction of the new structure.
Alerts: Built-in alerts for structure breaks, CHoCHs, swing points, rejections at bands, and trend flips make it easy to automate setups without manually watching the chart.
USAGE
Set your preferred swing detection size depending on your timeframe and trading style — smaller numbers for intraday, larger numbers for swing trading. Choose whether you want BOS/CHoCH confirmed by candle closes or by wick breaks. Use the volatility band settings to fine-tune how tightly or loosely the bands hug the price, adjusting sensitivity based on market conditions. When a BOS or CHoCH occurs, or when a rejection happens at the bands, the script will highlight it clearly and optionally trigger alerts. Watch for combinations where both structure breaks and volatility band rejections happen together — those are high-quality trade signals. This setup works best when used with basic trend filtering and higher timeframe confirmation.