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.
Signals
Main Street Break and Retest ScalpKey Features:
1. Dynamic Zones:
- Resistance zones from swing highs (red)
- Support zones from swing lows (green)
- Zone width based on ATR (automatically adapts to volatility)
2. Signal Logic:
- Buy Signal: Price breaks resistance > retests zone > closes bullishly
- Sell Signal: Price breaks support > retests zone > closes bearishly
3. Visual Elements:
- Solid line: Zone boundary
- Dashed line: Retest level
- Semi-transparent fill: Zone area
- Green/Red labels: Entry signals
4. Customization Options:
- Adjust swing sensitivity (left/right bars)
- Modify zone tolerance (ATR multiplier)
- Set max retest period (1-20 bars)
- Control zone display length
### How to Use:
1. Apply to Chart
2. Wait for price to break through a colored zone
3. Watch for retest of the zone (price touching dashed line)
4. Enter on bullish/bearish close with confirmation label
### Optimization Tips:
- For day trading: Reduce leftBars/rightBars to 2-3
- For swing trading: Increase maxRetestBars to 30-50
- In high volatility: Increase ATR multiplier to 0.7-1.0
1. Volume Pressure Filter:
- Added two new inputs: Volume MA Length (default 20) and Volume Multiplier (default 1.5)
- Signals now require volume to be greater than Volume Multiplier times the moving average volume
- Only candles with above-average volume will generate signals
2. Signal Logic Enhancement:
- Volume filter applied at both detection points:
- During retest confirmation
- At final signal generation
- Maintained original break/retest logic while adding volume confirmation
3. Visual Improvements:
- Updated indicator name to reflect volume filtering
- Cleaner signal labels with "BUY"/"SELL" text
### How the Volume Filter Works:
1. Calculates a moving average of volume (default 20 periods)
2. Defines "sufficient volume" as current volume > (volume MA × multiplier)
3. Requires this volume condition to be true on the retest candle:
- For buys: Volume surge when price retests broken resistance as support
- For sells: Volume surge when price retests broken support as resistance
This modification significantly reduces low-quality signals by ensuring only high-conviction price moves with supporting volume generate trade signals. The original zone identification and retest logic remains unchanged, preserving the core strategy while adding volume confirmation.
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.
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.
EMAZoner+ 0.5EMAZoner – Your new perspective on trends!
Want to always know where a trend starts and ends? Looking for a simple yet visually powerful tool to help you instantly spot key moments for entries and exits? EMAZoner is here for you!
This indicator is designed for anyone who wants to:
- Instantly see where a trend begins and ends (whether you trade short or long term)
- Have clear BUY/SELL signals and trend peaks marked directly on the chart
- Quickly distinguish strong and weak trends thanks to colored backgrounds and a clear info table
- Track current trends not only on your timeframe, but also on higher ones (M15, M30, H1) – perfect for multi-timeframe analysis
- Keep your chart clean with minimalist labels and dotted lines that guide you straight to the right candle
- Get market and trend strength stats without complicated setup
EMAZoner is suitable for everyone – from beginners to experienced traders. It helps you avoid unnecessary noise, quickly find key zones, and make decisions with more confidence.
Try EMAZoner and take your analysis to the next level!
Multi Anchor VWAPThis Multi Anchor VWAP (Volume Weighted Average Price) indicator is made for traders who need accuracy, clear visuals, and an eye on bigger trends.
Features include:
The first anchor is set to the very first candle on your chart.
The second anchor is aligned with the last or current Friday on the chart.
The third anchor is customizable based on your input.
For the third anchor, you can pick the exact year, month, and day to start the VWAP.
The source used is HLC3.
You have full control over how it looks.
Change the color, line width, and style (solid, dotted, dashed, etc.).
Designed to be visible on both light and dark backgrounds.
This indicator works well for:
Weekly expiry options like Nifty and Sensex.
Spotting main zones where price might turn or pause.
Seeing where to set stops during trend dips.
Confirming if a breakout is real.
Combining with other tools like Market Cipher, VRVP, and Fibonacci levels.
How to use: Add the indicator to your chart. Open the settings panel. Set the first and second anchor points; these are fixed. For the third, you can customize. Choose the date and time to start the VWAP from under “Custom Anchor Input.” Pick your preferred color and line thickness to match your style. The VWAP will plot from that point onward.
Best use cases: Use it to spot support and resistance from intraday breakouts. Trace from swing highs or lows to find mean reversion zones. Watch how the VWAP reacts during big macro events or at expiry days.
The design is simple and clean—no labels. Works on all timeframes from 1-minute charts to daily. Perfect for serious intraday traders and those holding positions longer-term.
Gold Signal Quality Selector - Scores 6/7 & 7/7Gold Signal Quality Selector - Scores 6/7 & 7/7
Professional-grade XAU/USD trading signals with multi-factor validation
📜 Description
This indicator identifies high-probability trading opportunities in gold (XAU/USD) using a proprietary 7-point scoring system that evaluates:
Market structure (ChoCH pattern validation)
Volume confirmation (30-period SMA comparison)
Volatility assessment (normalized ATR ratio)
Price action strength (candle-to-ATR ratio)
Fair Value Gap detection
The algorithm filters out lower-quality signals, displaying only those meeting strict criteria (minimum 6/7 score).
🧠 Core Methodology
Structure Analysis (2 points):
Validates bullish/bearish Change of Character (ChoCH)
Confirms trend alignment with 50-period SMA
Quality Confirmation (3-5 points):
Volume spike detection (1.5x 30-period average)
Significant candle bodies (>1.8x ATR)
Fair Value Gap identification
Volatility within optimal range (0.7-2.5 ratio)
🛠 Usage Instructions
Application:
Best used on XAU/USD 15-minute to 4-hour charts
Requires visible candlestick chart (not Heikin Ashi/Renko)
Signal Interpretation:
▲ Blue label: Quality score 6/7 (below bar)
▲ Dark blue label: Premium score 7/7 (below bar)
▼ Red label: Quality score 6/7 (above bar)
▼ Dark red label: Premium score 7/7 (above bar)
Recommended Settings:
Conservative: min_score = 7 (highest quality only)
Active: min_score = 6 (more opportunities)
Adjust volatility ratios for ranging/trending markets
Risk Management:
Always use 1-2% risk per trade
Combine with confirmation from higher timeframes
Suggested stop-loss: 1.5x ATR from entry
⚠️ Limitations
Not repainting, but always confirm with price action
Performance varies across market conditions
Requires normal volatility (0.7-2.5 ratio) for best signals
Not designed for exotic chart types (Heikin Ashi, Renko, etc.)
📊 Realistic Expectations
Historical win rate: ~65-75% on 7/7 signals (backtested 2018-2023)
Requires proper risk/reward management
Sample size: 420 trades in 5-year backtest (15-min chart)
Tested with 0.5% commission + 0.3% slippage
🔧 Technical Details
Language: Pine Script v5
Calculation type: On each bar (non-repainting)
Inputs: Fully customizable thresholds
Display: Limited to 500 labels for clean charts
📜 Compliance Statement
This publication:
Contains original code (no reused open-source components)
Makes no unrealistic profit claims
Uses standard chart types only
Provides complete usage documentation
Discloses all limitations
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.
Turbo Market Regime Detector [QuantAlgo]The Turbo Market Regime Detector is a market state classification system that combines volatility-adaptive filtering with slope analysis to identify and categorize market regimes. It helps traders and investors distinguish between trending and ranging market conditions across different timeframes and asset classes.
🟢 Technical Foundation
The Turbo Market Regime Detector employs a multi-layered analytical approach to market regime identification, incorporating:
Volatility-Adaptive Regime Filter (VARF) : Uses dynamic alpha calculation based on price volatility and range to create an adaptive filter that responds to changing market conditions
Slope Analysis : Calculates the absolute slope of the VARF curve and applies customizable moving average smoothing to determine trend strength and market regime classification
Normalized Histogram : Transforms raw slope data into percentage-based metrics (0-100%) for interpretation of market conditions
Multi-Threshold Classification System : Implements user-defined thresholds to categorize markets into Strong Trend, Weak Trend, and Ranging regimes
The indicator processes price data through mathematical operations including volatility adjustment, slope normalization, and statistical range analysis. This creates a regime detection system that adapts to market volatility while maintaining classification consistency across different timeframes and asset classes.
🟢 Key Features & Signals
1. Market Regime Classification
The indicator presents market conditions through a normalized histogram that distinguishes between three distinct market states:
1/ Strong Trend Regime: When the histogram exceeds the strong trend threshold (default 30%), indicating directional market movement with sustained momentum
2/ Weak Trend Regime: When the histogram falls between weak trend (default 10%) and strong trend thresholds, representing transitional market conditions with moderate directional bias
3/ Ranging Regime: When the histogram remains below the weak trend threshold, signaling consolidation periods with limited directional movement
This classification system provides insights into:
→ Current market state with percentage-based quantification
→ Regime transitions and their timing
→ Market momentum strength across different timeframes
2. Visual Feedback System
The indicator features multiple visualization options for market analysis:
Background Coloring: Optional chart background coloring that applies regime-based colors to both the indicator pane and main price chart for visual context
Bar Coloring: Price bar coloring based on current market regime, providing visual feedback on market conditions
Reference Lines: Horizontal reference lines at 25%, 50%, 75%, and 100% levels for percentage assessment and historical comparison
Information Table: Real-time status display showing current market state and trend strength percentage with customizable positioning and sizing options
3. Alert and Notification System
The indicator generates alerts for regime transitions:
State Change Alerts: Notifications triggered when the market transitions between regime states (Strong Trend ↔ Weak Trend ↔ Ranging)
Specific Regime Entry Alerts: Individual alert conditions for entering Strong Trend, Weak Trend, or Ranging regimes for targeted trading strategies
Customizable Alert Messages: Pre-formatted alert messages including exchange and ticker information for context and decision-making
🟢 Practical Usage Guidelines
→ Regime-Based Strategy Selection: Use the indicator to identify potential trading strategies - trend-following during Strong Trend regimes, mean-reversion during Ranging periods, and adjusted position sizing during Weak Trend transitions
→ Multi-Timeframe Analysis: Apply the indicator across different timeframes to understand market regime hierarchy and identify confluence between short-term and long-term market states
→ Threshold Optimization: Adjust regime thresholds based on market volatility and asset characteristics - lower thresholds for more sensitive regime detection, higher thresholds for more definitive regime changes
🟢 Configuration Tips
VARF settings optimization:
→ Lower thresholds (-0.3 to -0.5) for more responsive regime detection in volatile markets
→ Higher thresholds (-0.1 to 0.1) for smoother signals in stable market conditions
→ Enable adaptive VARF for automatic volatility adjustment across different market cycles
Slope analysis parameter tuning:
→ Shorter MA lengths (100-200) for faster regime transition signals
→ Longer MA lengths (300-500) for more stable regime identification
→ Adjust sensitivity multiplier based on desired responsiveness vs. stability balance
Regime interpretation framework:
→ Strong Trend regimes for momentum-based strategies and trend following
→ Ranging regimes for mean-reversion and support/resistance trading
→ Weak Trend periods for reduced position sizing and cautious market approach
Complementary analysis integration:
→ Volume analysis for regime change confirmation
→ Support/resistance levels for entry/exit timing within regime contexts
→ Price action patterns for validation of regime-based trading decisions
→ Economic calendar events that may influence regime transitions
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
Hybrid Momentum Suite [QuantAlgo]The Hybrid Momentum Suite is an advanced momentum-based technical indicator that utilizes a weighted fusion of RSI and CCI, combined with adaptive boundary detection to help traders and investors identify momentum strength and potential reversal zones across different timeframes and asset classes.
🟢 Technical Foundation
The Hybrid Momentum Suite employs a dual-component approach to momentum analysis, incorporating:
Hybrid RSI-CCI Calculation: Uses a customizable ratio for momentum signature creation, allowing traders and investors to balance the characteristics of both indicators
Bi-Directional Component Separation: Automatically separates unified momentum into distinct bullish and bearish forces for independent analysis
Adaptive Impulse Boundary: Uses exponential moving average combined with standard deviation multipliers to detect momentum exhaustion zones
Multi-Level Gradient Visualization: Applies sophisticated layering with varying transparency to show momentum strength and direction changes
The indicator processes price data through multiple filtering stages, applying mathematical principles including weighted averaging, component isolation, and statistical variance analysis. This creates a momentum system that adapts to market volatility while maintaining clarity in directional bias and strength quantification.
🟢 Key Features & Signals
1. Bi-Directional Component Separation
The indicator presents momentum through mathematically isolated histograms that separate bullish and bearish forces for independent analysis.
When bullish momentum is dominant, the bullish component (green) shows greater amplitude than the bearish component.
Similarly, when bearish momentum is dominant, the bearish component (red) shows greater amplitude than the bullish component.
During transitional periods, components may show equal strength, indicating momentum equilibrium.
This visualization provides immediate insights into:
→ Competing market forces simultaneously
→ Momentum exhaustion before reversals
→ Quantified momentum strength across different timeframes
2. Real-Time Status Update
The indicator features a comprehensive analysis dashboard that operates with dynamic strength classification:
The dashboard automatically categorizes momentum from "Very Weak" to "Very Strong" based on component amplitude.
Historical comparison displays previous bar metrics for trend analysis, helping traders and investors understand momentum persistence.
Color-coded visualization matches histogram components for immediate recognition of market bias.
Adaptive positioning offers nine customizable table locations for optimal display across different chart layouts.
Regardless of position, the dashboard displays:
Current momentum direction (BULLISH or BEARISH)
Momentum strength percentage (0-100%)
Previous bar comparison for trend persistence
Active component colors for visual consistency
This comprehensive approach helps traders and investors:
→ Assess current momentum strength quantitatively
→ Identify momentum shifts through historical comparison
→ Make informed decisions based on momentum context
3. Reversal Signal Detection System
The indicator generates trading signals using advanced multi-factor validation:
Exhaustion signals are detected when components cross down after exceeding statistical boundaries, indicating potential momentum reversals.
Trend flip alerts are generated when component dominance changes (bull>bear or bear>bull), signaling directional shifts.
Boundary interaction monitoring tracks crossovers above/below impulse threshold for extreme momentum identification.
Visual markers ( X ) are positioned using mathematical placement algorithms for clear signal identification.
The indicator also features a comprehensive alert system with notifications for:
Bullish potential reversals
Bearish potential reversals
Trend flip signals
Momentum boundary crossings
*Alerts can be customized and delivered through TradingView's notification system, making it easy to stay informed of important momentum developments even when away from the charts.
4. Conditional Bar Coloring
The indicator provides optional price bar coloring based on momentum analysis:
Bars are colored based on dominant momentum component (bullish/bearish).
Reversal conditions are highlighted with specialized coloring (default orange).
Color transparency adjusts based on momentum strength for immediate visual feedback.
Bar coloring can be toggled on/off to suit different chart aesthetics and personal preferences.
🟢 Practical Usage Tips
→ Component Analysis and Interpretation: The indicator visualizes momentum direction and strength through separate components, allowing traders to immediately identify dominant market forces. This helps in assessing potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on component crossovers, boundary violations, and momentum exhaustion. Users can focus on reversal signals at statistical extremes or trend-following signals during component dominance.
→ Multi-Component Assessment: Through its bi-directional approach, the indicator enables users to understand competing forces within the same timeframe. This helps in identifying momentum equilibrium and potential turning points.
🟢 Pro Tips
Adjust RSI/CCI ratio based on market conditions:
→ High ratios (70-100) for mean-reverting markets and longer timeframes
→ Low ratios (0-30) for trending markets and shorter timeframes
→ Default 50/50 for balanced momentum assessment across market types
Fine-tune impulse boundary based on volatility:
→ Lower boundary lengths (20-30) for more frequent reversal signals
→ Higher lengths (40-60) for only major momentum extremes
→ Adjust standard deviation multiplier (2.0-4.0) based on market volatility
Look for confluence between components:
→ Component divergence as early reversal warning
→ Simultaneous extreme readings for high-probability setups
→ Component correlation with price for confirmation
Use for multiple trading approaches:
→ Reversal trading at component extremes near impulse boundary
→ Trend following when components show clear dominance
→ Early momentum shift detection with gradient fading patterns
→ Position sizing based on component strength percentage
Combine with:
→ Support/resistance analysis for strategic entry and exit points
→ Volume indicators for momentum validation
→ Multiple timeframe analysis for broader market context
→ Price action patterns for confirmation of reversal signals
MSTR mNAV IndicatorStrategy mNAV Indicator
Script contains hard-coded historic share counts and BTC holdings of Strategy Inc. ( NASDAQ:MSTR ). Using these, we derived the Bitcoin mNAV multiple for the company. The formula used in this script looks like the following:
mNAV = (Fully Diluted Shares Outstanding * NASDAQ:MSTR ) / (BTC holdings * BITSTAMP:BTCUSD )
This value appears in the Blue tag at the right hand side of the chart on the latest bar. In addition, the script displays mNAV layers below and above the normal ticker chart. These are computed by taking fixing a value for the mNAV (e.g. mNAV=3) and solving the equation above for the NASDAQ:MSTR price that would equate to having that mNAV.
The user is able to configure the number of said mNAV lines to draw but is limited from mNAV = 1 up to mNAV = 20.
Why is the script private?
This script includes data on the relative count of fully diluted shares for Strategy ( NASDAQ:MSTR ) that was manually determined by the author after going through countless hours of SEC disclosures. Since there is no publicly available repository for this information and the author would like to retain the right to make this available at a later date, the script is kept private.
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.