Indicator

Volumetric Trend Ribbon Pro [ChartPrime]🔶 OVERVIEW
Volumetric Trend Ribbon Pro is a professional-grade trend-following overlay that synchronizes price action with volume-weighted volatility. Unlike standard moving averages that only track price, this indicator uses a Volume-Weighted Standard Deviation (VWSD) engine to create a dynamic "ribbon" that expands during high-conviction moves and contracts during market indecision.
The tool is designed to provide a comprehensive workspace for trend traders, featuring automated breakout targets, institutional volume spike detection, and a real-time analytics dashboard.
• Volume-Weighted Moving Average (VWMA) Core
• NEW: Adaptive Transparency (Volume-to-Average Ratio)
• NEW: Dynamic Breakout Targets (Volatility-Adjusted)
• Institutional Volume Spike Highlighting (Orange Candles)
• Floating "Trend & Longevity" Labels
• Integrated Status Dashboard (Trend Age & Vol Intensity)
• Customizable Themed Candle Plotting
🔶 CORE CONCEPT — VOLUMETRIC ADAPTABILITY
Standard ribbons often suffer from "lag" or "noise" during low-volume consolidation. VTR Pro solves this by integrating volume into every calculation:
• VWSD Expansion: The ribbon’s width is determined by volume-weighted volatility. When "Smart Money" enters the market, the ribbon widens, providing a clear visual of trend strength.
• Adaptive Transparency: The indicator’s visibility reacts to current volume. High-volume moves appear bold and opaque, while low-volume "chop" fades into the background, signaling a lack of institutional interest.
• Volume Spikes: Regardless of the current trend, the script identifies abnormal volume surges (1.5x average) and highlights the candles in Orange , marking potential exhaustion or ignition points.
🔶 DYNAMIC BREAKOUT TARGETS
The indicator features an automated target projection system that appears when price breaks out of the ribbon with high momentum.
Volatility-Based: Targets are not fixed percentages; they are calculated based on the current width of the ribbon (the market's recent volatility).
Adjustable Multiplier: Traders can fine-tune the "Target Distance" input to match their specific strategy (Scalping vs. Swing Trading).
Auto-Hide Logic: Target lines automatically clear once the trend weakens or the level is mitigated, keeping the chart clean and focused.
🔶 TREND DASHBOARD & FLOATING LABELS
To provide institutional-level data at a glance, VTR Pro includes two intelligent UI elements:
Floating Trend Label: Plotted directly at the end of the middle trend line, this label tracks the current "Longevity" of the move (number of bars in trend), allowing you to identify over-extended trends.
Status Dashboard: A top-right table that monitors:
- Trend Status: (Bullish / Bearish / Neutral)
- Trend Age: The exact duration of the current cycle.
- Vol Intensity: A real-time multiplier showing how much volume is flowing relative to the 40-bar average.
🔶 HOW TO USE
Trend Confirmation: Enter long when the ribbon turns Green and price holds above the upper edge. Confirm with a "Strong" momentum signal.
Spotting Exhaustion: Watch the Trend Age on the dashboard. If a trend has lasted 50+ bars without a contraction, look for Orange Volume Spikes as potential signs of blow-off tops or bottoms.
Managing Targets: Use the projected Target Lines as logical take-profit levels or areas to move your stop-loss to break-even.
Avoiding Chop: When the ribbon turns Blue (Neutral) and the transparency fades, the market is in equilibrium. This is a "No-Trade Zone" for trend followers.
🔶 CONCLUSION
Volumetric Trend Ribbon Pro transforms the traditional ribbon into a data-rich environment. By prioritizing volume intensity and providing automated targets, it removes the guesswork from trend-following and helps traders stay on the right side of institutional flow.
Indicator

Uptrick: Adaptive Momentum BandsIntroduction
Adaptive Momentum Bands is an overlay indicator that combines an Adaptive Moving Average baseline with dynamically scaled ATR bands to define trend state, generate entry signals, and provide a real-time market context dashboard. Unlike static band systems that apply a fixed multiplier regardless of market conditions, this indicator continuously adjusts its band width and baseline responsiveness based on how directional price movement currently is. The result is a system that tightens during trending phases and loosens during choppy conditions automatically, without requiring manual parameter changes.
The core philosophy behind this tool is that a single fixed lookback or multiplier will inevitably either over-signal in noise or under-signal in trends. By anchoring both the baseline speed and the band expansion to a live Efficiency Ratio calculation, the indicator adapts its behavior to the market it is analyzing rather than forcing the market into a fixed model.
Originality
The baseline is not a standard EMA or KAMA. It is a multi-stage adaptive construction: an Adaptive Moving Average driven by a per-bar Efficiency Ratio smoothing coefficient is passed through two additional EMA layers to produce a stable, low-lag midline. This midline is then used as the reference point for asymmetric ATR bands that apply independent upper and lower multipliers, each of which is further scaled by a volatility ratio comparing short-term ATR to its longer-term normalized average. This means the bands breathe with volatility in real time. The trend state uses a latching mechanism: the indicator never enters a neutral zone. Once price closes above the upper band it locks to bullish, once it closes below the lower band it locks to bearish, and it holds that state until the opposite condition is met. This produces clean, decisive, non-flickering bias coloring across candles, bands, midline, and labels.
Features
Adaptive baseline engine using an Efficiency Ratio-driven smoothing coefficient that automatically speeds up during directional moves and slows down during chop
Multi-stage midline construction combining an AMA layer with two EMA passes for a smooth, responsive center reference
Asymmetric upper and lower band multipliers allowing independent control over how loose or tight each side of the channel is
Volatility ratio scaling that expands the bands during high-volatility regimes and contracts them during low-volatility periods, using a ratio of short-term ATR to its normalized average
Three display modes: Bands mode showing the full channel with gradient fill, Midline Only mode for a clean ribbon overlay, and Trail mode that switches the visible line to the active support or resistance side
Bands:
Trail:
Midline:
Latching trend state that is always bullish or bearish with no neutral zone, toggling only on confirmed band crossovers
Colored candles, wick coloring, and candle borders all driven by the live trend state
Signal labels on trend flips with configurable anchor point (High/Low, Midline, or Bands), ATR-based label offset control, and four label size options
Status dashboard table displaying: current trend bias, bars held in the current state, Efficiency Ratio percentage with color-coded thresholds, band width as a percentage of midline, price distance from midline as a percentage, smoothed ATR value, 1-bar ROC, 5-bar ROC, 20-bar ROC, and the active upper and lower multiplier values
Independent alert conditions for bullish and bearish transitions, triggering only on the first confirmed bar of a new state
Inputs
Base Length: Controls the period used in the internal EMA pass over the AMA layer. Shorter values produce a faster and more reactive midline.
ATR Length: Sets the lookback for the ATR calculation used in band construction. Shorter values make bands more responsive to recent volatility spikes.
Band Smoothing: Applies EMA smoothing to both the ATR value and the final band plots. Higher values produce smoother, less reactive bands.
Upper Band Multiplier: Determines how far the upper band sits above the midline as a multiple of the smoothed ATR. Higher values reduce the frequency of bullish signals.
Lower Band Multiplier: Determines how far the lower band sits below the midline as a multiple of the smoothed ATR. Higher values reduce the frequency of bearish signals.
Efficiency Period: The lookback used to calculate the Efficiency Ratio. This controls how quickly the adaptive baseline reacts to changes in trend quality.
Fast EMA and Slow EMA: Define the fast and slow smoothing constants used in the adaptive speed calculation. The indicator interpolates between these two speeds based on the current Efficiency Ratio.
Display Mode: Selects between Bands, Midline Only, and Trail rendering modes.
Fill Opacity: Controls the transparency of the band fill.
Bull and Bear Colour: Fully customizable primary colors used for all trend-state visuals.
Show Labels, Label Anchor, Offset Multiplier, Label Size: Controls for the flip signal labels.
Show Table, Position, Text Size: Controls for the status dashboard.
How to Use
Apply the indicator to any chart and timeframe. The colored candles will immediately show the current trend bias. When the system is in bullish state, the bands and midline render in the bullish color. When bearish, they switch to the bearish color. A 𝓛𝓸𝓷𝓰 label marks each new bullish flip and a 𝓢𝓱𝓸𝓻𝓽 label marks each new bearish flip.
Use the Efficiency Ratio row in the status table to gauge how much to trust the current signal. A reading above 60 indicates a strong trend where band-based signals are more reliable. Readings below 35 indicate a choppy environment where signals should be treated with more caution. The band width percentage and distance from midline rows help assess whether price is extended or near the center of the range. ROC rows provide quick momentum context across three timeframes.
For tighter and more frequent signals, reduce the band multipliers. For wider and less frequent signals, increase them. The asymmetric design means you can independently adjust sensitivity to bullish and bearish entries.
Conclusion
Adaptive Momentum Bands provides a self-calibrating trend framework that eliminates the need to manually switch parameters across assets or timeframes. The combination of adaptive baseline speed, volatility-scaled asymmetric bands, a latching trend state, and a live metrics table gives traders a complete picture of current market structure in a single overlay tool.
Disclaimer
This indicator is for informational and educational purposes only and does not constitute financial advice. Past performance of any signals produced by this tool does not guarantee future results. All trading involves risk. Use this tool as one input among many and always apply your own risk management. Indicator

Opening Range Failure Zones [AGPro Series]📌 Bollinger Walk Quality
Bollinger Walk Quality is built for one specific question: when price starts walking the outer Bollinger Band, is that walk strong enough to support continuation, or is the structure beginning to fail?
Many Bollinger Band tools focus on band touches, volatility contraction, width percentiles, or squeeze-style expansion setups. This script takes a different approach. It studies the behavior that comes after expansion: persistent upper-band or lower-band walking, directional pressure around the outer lane, pullback quality inside the band structure, and the point where the walk begins to lose control.
The goal is to make Bollinger Band continuation easier to read directly on the chart. Instead of treating every band touch as meaningful, the script scores whether price is staying in the correct outer lane, whether the Bollinger basis supports the active direction, whether pressure is persisting across multiple bars, and whether a pullback is holding in a healthy continuation pocket.
🧭 What The Script Measures
1. Walk Side
The panel identifies whether the active environment is an Upper Walk, Lower Walk, Cooling Walk, or Neutral state.
Upper Walk means price is persistently operating near the upper Bollinger lane while the basis supports upward continuation pressure.
Lower Walk means price is persistently operating near the lower Bollinger lane while the basis supports downward continuation pressure.
Cooling states appear when a recent walk is no longer fully active, but the script is still monitoring pullback quality and failure risk for a limited memory window.
2. Band Pressure
Band Pressure is a quality score for the active or developing walk. It combines outer-lane position, persistence, band contact behavior, basis slope support, and candle direction. A higher score means the walk has stronger structural pressure. A lower score means price is no longer showing durable outer-band control.
This keeps the script focused on continuation quality instead of simple band interaction. The chart can show a band touch, but the panel helps separate a weak touch from a real band-walk environment.
3. Pullback Quality
Healthy band walks often reset toward the middle of the Bollinger structure before continuing. Bollinger Walk Quality tracks that reset through a concept-native pullback pocket.
The pullback pocket is not a generic support or resistance rectangle. It is projected from the current Bollinger structure and represents the area where a band walk can cool off while still keeping its continuation profile intact.
The panel can show states such as Awaiting Pullback, Testing Pocket, Clean Hold, or Weak Reset. This helps distinguish a controlled continuation reset from a walk that is losing quality.
4. Failure Risk
Failure Risk is designed to catch the moment when an active or recently active band walk starts to break down. It rises when price loses the outer lane, pressure falls, the basis slope weakens, or price begins to threaten the Bollinger basis.
The failure label is intentionally restrained. It appears only on fresh failure events, so the chart remains clean and readable instead of filling with repeated warnings.
🎯 Core Features
- Outer-band walk detection for upper and lower Bollinger continuation phases
- Band pressure scoring based on lane position, persistence, slope support, and band contact behavior
- Pullback-to-band quality state for continuation resets
- Projected pullback pockets that show where a healthy walk can reset without losing structure
- Failure warning labels when the active walk loses pressure or threatens the basis
- Clean AG Pro panel with walk side, band pressure, pullback quality, and failure risk
- Adjustable panel location, theme, font sizes, label spacing, label clearance, zone projection, and visual density
📊 Visual Design
The default view is designed for a clean public PulseWire chart.
The script displays Bollinger Bands, highlights the active walk track, projects a limited number of pullback zones, and uses event labels with spacing controls. Labels are anchored outside the local candle envelope so they do not disappear inside candles or cover important price action.
The chart remains active enough to be visually informative, but the object count and label density are controlled by default. This keeps the indicator suitable for repeated use across different symbols and timeframes.
🧩 Panel
The AG Pro panel summarizes the current state in four compact rows:
- Walk Side
- Band Pressure
- Pullback Quality
- Failure Risk
Panel location, panel theme, panel font size, label font size, label spacing, label clearance, zone projection, zone opacity, and object limits are all adjustable from the settings menu.
🔎 How This Is Different
Bollinger Walk Quality is not a squeeze map and does not rely on compression logic. It does not use Keltner confirmation, volatility percentile ranking, or width contraction states.
Its lane is continuation after expansion:
- Is price walking the band?
- Which side controls the walk?
- Is the walk supported by pressure and basis slope?
- Is the pullback still healthy?
- Is the walk beginning to fail?
That makes it a separate Bollinger Band workflow from squeeze-focused tools. It is designed for traders who want to evaluate trend continuation rhythm, pullback behavior, and outer-band pressure in a more structured way.
✅ Best Use Cases
- Studying Bollinger Band walk continuation
- Reviewing trend pressure after expansion
- Identifying controlled pullbacks inside active band-walk environments
- Monitoring when a walk is cooling or losing quality
- Comparing upper-band and lower-band pressure across market phases
- Keeping Bollinger Band continuation analysis clean and visual
⚙️ Settings Overview
Engine settings control the Bollinger length, multiplier, source, basis slope lookback, and ATR normalization.
Band Walk Logic settings control the outer-lane depth, minimum walk persistence, minimum walk score, pullback memory, and failure warning threshold.
Visual settings control Bollinger Bands, walk highlight, pullback zones, event labels, label spacing, label count, label offset, label clearance, and label font size.
Pullback Zone settings control zone projection length, maximum visible zones, and opacity.
Panel settings control the information panel, location, theme, and font size.
🏁 Design Intent
Bollinger Walk Quality is designed to make Bollinger Band continuation more readable without turning the chart into a crowded signal dashboard.
The script focuses on structure, persistence, pullback quality, and failure behavior. It gives the chart a clear visual rhythm while keeping the panel concise and the labels controlled.
This makes the script useful as a premium public Bollinger continuation tool and keeps it clearly differentiated from Bollinger squeeze, compression, and volatility expansion maps. Indicator

Bollinger Walk Quality [AGPro Series]📌 Bollinger Walk Quality
Bollinger Walk Quality is built for one specific question: when price starts walking the outer Bollinger Band, is that walk strong enough to support continuation, or is the structure beginning to fail?
Many Bollinger Band tools focus on band touches, volatility contraction, width percentiles, or squeeze-style expansion setups. This script takes a different approach. It studies the behavior that comes after expansion: persistent upper-band or lower-band walking, directional pressure around the outer lane, pullback quality inside the band structure, and the point where the walk begins to lose control.
The goal is to make Bollinger Band continuation easier to read directly on the chart. Instead of treating every band touch as meaningful, the script scores whether price is staying in the correct outer lane, whether the Bollinger basis supports the active direction, whether pressure is persisting across multiple bars, and whether a pullback is holding in a healthy continuation pocket.
🧭 What The Script Measures
1. Walk Side
The panel identifies whether the active environment is an Upper Walk, Lower Walk, Cooling Walk, or Neutral state.
Upper Walk means price is persistently operating near the upper Bollinger lane while the basis supports upward continuation pressure.
Lower Walk means price is persistently operating near the lower Bollinger lane while the basis supports downward continuation pressure.
Cooling states appear when a recent walk is no longer fully active, but the script is still monitoring pullback quality and failure risk for a limited memory window.
2. Band Pressure
Band Pressure is a quality score for the active or developing walk. It combines outer-lane position, persistence, band contact behavior, basis slope support, and candle direction. A higher score means the walk has stronger structural pressure. A lower score means price is no longer showing durable outer-band control.
This keeps the script focused on continuation quality instead of simple band interaction. The chart can show a band touch, but the panel helps separate a weak touch from a real band-walk environment.
3. Pullback Quality
Healthy band walks often reset toward the middle of the Bollinger structure before continuing. Bollinger Walk Quality tracks that reset through a concept-native pullback pocket.
The pullback pocket is not a generic support or resistance rectangle. It is projected from the current Bollinger structure and represents the area where a band walk can cool off while still keeping its continuation profile intact.
The panel can show states such as Awaiting Pullback, Testing Pocket, Clean Hold, or Weak Reset. This helps distinguish a controlled continuation reset from a walk that is losing quality.
4. Failure Risk
Failure Risk is designed to catch the moment when an active or recently active band walk starts to break down. It rises when price loses the outer lane, pressure falls, the basis slope weakens, or price begins to threaten the Bollinger basis.
The failure label is intentionally restrained. It appears only on fresh failure events, so the chart remains clean and readable instead of filling with repeated warnings.
🎯 Core Features
- Outer-band walk detection for upper and lower Bollinger continuation phases
- Band pressure scoring based on lane position, persistence, slope support, and band contact behavior
- Pullback-to-band quality state for continuation resets
- Projected pullback pockets that show where a healthy walk can reset without losing structure
- Failure warning labels when the active walk loses pressure or threatens the basis
- Clean AG Pro panel with walk side, band pressure, pullback quality, and failure risk
- Adjustable panel location, theme, font sizes, label spacing, label clearance, zone projection, and visual density
📊 Visual Design
The default view is designed for a clean public PulseWire chart.
The script displays Bollinger Bands, highlights the active walk track, projects a limited number of pullback zones, and uses event labels with spacing controls. Labels are anchored outside the local candle envelope so they do not disappear inside candles or cover important price action.
The chart remains active enough to be visually informative, but the object count and label density are controlled by default. This keeps the indicator suitable for repeated use across different symbols and timeframes.
🧩 Panel
The AG Pro panel summarizes the current state in four compact rows:
- Walk Side
- Band Pressure
- Pullback Quality
- Failure Risk
Panel location, panel theme, panel font size, label font size, label spacing, label clearance, zone projection, zone opacity, and object limits are all adjustable from the settings menu.
🔎 How This Is Different
Bollinger Walk Quality is not a squeeze map and does not rely on compression logic. It does not use Keltner confirmation, volatility percentile ranking, or width contraction states.
Its lane is continuation after expansion:
- Is price walking the band?
- Which side controls the walk?
- Is the walk supported by pressure and basis slope?
- Is the pullback still healthy?
- Is the walk beginning to fail?
That makes it a separate Bollinger Band workflow from squeeze-focused tools. It is designed for traders who want to evaluate trend continuation rhythm, pullback behavior, and outer-band pressure in a more structured way.
✅ Best Use Cases
- Studying Bollinger Band walk continuation
- Reviewing trend pressure after expansion
- Identifying controlled pullbacks inside active band-walk environments
- Monitoring when a walk is cooling or losing quality
- Comparing upper-band and lower-band pressure across market phases
- Keeping Bollinger Band continuation analysis clean and visual
⚙️ Settings Overview
Engine settings control the Bollinger length, multiplier, source, basis slope lookback, and ATR normalization.
Band Walk Logic settings control the outer-lane depth, minimum walk persistence, minimum walk score, pullback memory, and failure warning threshold.
Visual settings control Bollinger Bands, walk highlight, pullback zones, event labels, label spacing, label count, label offset, label clearance, and label font size.
Pullback Zone settings control zone projection length, maximum visible zones, and opacity.
Panel settings control the information panel, location, theme, and font size.
🏁 Design Intent
Bollinger Walk Quality is designed to make Bollinger Band continuation more readable without turning the chart into a crowded signal dashboard.
The script focuses on structure, persistence, pullback quality, and failure behavior. It gives the chart a clear visual rhythm while keeping the panel concise and the labels controlled.
This makes the script useful as a premium public Bollinger continuation tool and keeps it clearly differentiated from Bollinger squeeze, compression, and volatility expansion maps.
Indicator

Session Reaction Map [AGPro Series]Session Reaction Map
🔷 OVERVIEW
Session Reaction Map is a premium intraday study that maps how price reacts to the most important daily and weekly reference levels right at the opens of the Asia, London and New York sessions. Each session open is evaluated inside a fixed measurement window, and the resulting reaction is broken down into four dimensions: dominant move, close follow-through, wick rejection and counter-move penalty. The output is a single 0-100 reaction score that is then translated into tier-coded labels, premium reaction zones, an active reference band and a compact status panel, so you can instantly read what happened at each session open without scrolling through candles.
The indicator is designed for discretionary traders, systematic traders, SMC and price action practitioners who want a clean, consistent and quantitative way to read session open behaviour around PDH, PDL, PDM, Daily Open and Weekly Open. Reactions are drawn as directional zones (bull zones above the reference and bear zones below), with up or down pointing labels centered on the reaction, so orientation is always unambiguous.
🧭 UNIQUE EDGE
Most session open tools only mark time windows or highlight levels. Session Reaction Map goes further and quantifies the quality of the reaction itself. Four independent dimensions are measured against a fixed ATR-normalized baseline, and the final score determines not only whether a label is shown but also how prominent it is. Elite scores (80+) get the strongest visuals; strong scores (70-79) get a slightly softer treatment; watch scores (55-69) are coded as caution; anything below 55 is filtered out by default.
This separation between detection (a session open near a reference) and evaluation (the reaction quality score) is the core edge. It lets you focus only on the best intraday reactions and discard noise automatically, while still being able to audit every component by adjusting the ATR length, touch tolerance, evaluation window and score thresholds.
⚙️ METHODOLOGY
Session detection uses the chosen timezone and three session windows (Asia, London, New York), each with its own editable open range. When a session open occurs, the script checks whether the open price is within an ATR based touch tolerance of any enabled reference level (Previous Day High, Previous Day Low, Previous Day Mid, Daily Open or Weekly Open). If so, a reaction window is engaged on that bar and tracked for a configurable number of bars.
During the reaction window, the live zone, reference band and dashed reference line are updated in real time. When the window completes, the final score is computed as:
• Dominant move score (up to 45 points) - scaled against 1.20 x ATR
• Close follow-through score (up to 30 points) - scaled against 0.90 x ATR
• Wick rejection score (up to 15 points) - scaled against 0.50 x ATR
• Counter-move penalty (up to -20 points) - scaled against 1.00 x ATR
The sum is clamped into the 0-100 range and mapped into four tiers: Elite, Strong, Watch and Weak. The dominant direction of the reaction (up or down) is determined by comparing the upside excursion from the reference to the downside excursion from the reference during the window.
🎯 SIGNALS AND VISUALS
• Reaction zones - rectangular areas connecting the reference level with the reaction extreme, tier-coded by score and bias
• Active reference band - a thin accent band around the current reference level during a live reaction window
• Dashed reference line - marks the exact reference price while the reaction is being measured
• Tier-coded labels - up-pointing labels below bullish reactions and down-pointing labels above bearish reactions, centered on the reaction window
• Session dots - small colored markers that optionally display only on valid events, keeping the chart clean
• Active measurement highlight - an ultra-soft background shade on bars inside a live reaction window
Labels use a ring buffer overlap check, so dense multi-session conditions do not pile labels on top of each other. When two labels would visually conflict, the higher-scored reaction wins.
🛠️ KEY INPUTS
Sessions - enable/disable and edit Asia, London and New York session windows, each with its own color and timezone.
Reference Levels - individually toggle PDH, PDL, PDM, Daily Open and Weekly Open.
Reaction Logic - ATR length, touch tolerance in ATR, evaluation bars, label score filter, minimum label score, overlap reduction (bars and vertical ATR gap).
Visuals - show/hide reference levels, session dots, dots only on valid events, reaction zones, minimum score for zones, zone transparency and extension, live reaction zone, active reference band with its ATR size and transparency, active measurement highlight, level width, label size, label offset in ATR and label background transparency.
Panel - show/hide, position (six anchor points), Dark or Light theme, font size, optional guide row.
All numerical inputs carry professional English tooltips explaining their role, so the script can be tuned for any symbol, timeframe and trading style.
📘 HOW TO USE
1. Apply the script on an intraday timeframe. It is designed for intraday use and will stay passive on daily/higher timeframes.
2. Recommended starting timeframe is 4H for swing intraday context, and 1H for tactical intraday work. Lower timeframes (15m, 30m) work too but may produce dense output.
3. Start with the default settings. Observe which sessions and which reference levels generate the most Elite and Strong reactions on your symbol.
4. Use the panel to monitor the current state: last session, last reference, bias, score, tier, label filter, zone filter and the active reaction status.
5. Treat Elite (80+) and Strong (70-79) reactions as the main signals. Watch tier is informative and Weak tier is generally discarded.
6. Align with your own confluence: higher timeframe bias, structure, orderflow, or whatever your primary framework is. The script does not issue buy or sell calls - it scores reactions, and you decide.
⚠️ LIMITATIONS AND TRANSPARENCY
• This is not a strategy and does not place orders. No backtest statistics are implied.
• Reaction scores are computed after the evaluation window completes, so they are not repainting but are confirmed with a lag equal to the evaluation window size.
• The live reaction zone updates during the window and is finalized when the window closes.
• Session behavior varies significantly by symbol (crypto vs FX vs equities) and by volatility regime. Inputs should be tuned per symbol.
• Daily and Weekly references use standard request.security with barmerge.lookahead_off to avoid look-ahead bias.
• The script is not a forecasting tool. It is a post-event quantification of how price has just reacted to a known reference level.
🛡️ RISK DISCLOSURE
Trading involves substantial risk. Past reactions, patterns, zones or scores do not guarantee future performance. This script is provided for educational and analytical purposes only and is not financial advice. Always combine any tool with your own research, a defined risk plan and proper position sizing. You are solely responsible for your trading decisions. Indicator

[ A L P H A X ] Impulse Bands - Adaptive Trend EngineAlphaX Impulse Bands — ATR-Normalized Adaptive Trend Engine, Impulse Freshness System, Multi-Confluence Confidence Scoring & Smart Retest Detection
AlphaX Impulse Bands is a professional-grade adaptive trend following system built on a proprietary ATR-normalized impulse detection engine that continuously measures the strength, direction, and freshness of every price move. It delivers dynamic bands that physically breathe with volatility — tightening during fresh, high-conviction impulses and expanding during stale, uncertain market conditions. Three visual layers — the Trend Cloud, entry labels, and precision retest lines — work together with a multi-factor confidence scoring system and a triple-timeframe Williams %R confirmation gate to produce only the highest-quality signals. Designed for active traders across crypto, forex, indices, and commodities on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Impulse Engine — How It Works
At the core of AlphaX Impulse Bands is the ATR-Normalized Impulse Engine — a proprietary system that measures momentum in a way that is consistent and comparable across all instruments and timeframes.
Most adaptive band systems measure impulse by dividing price movement against MAD (Mean Absolute Deviation), which produces readings that vary wildly between low-volatility forex and high-volatility crypto. AlphaX Impulse Bands solves this by normalizing against ATR (Average True Range) instead — the same unit every professional volatility model uses. The result is an impulse score that means the same thing whether you are trading XAUUSD on M1 or BTC on H4.
How the impulse is calculated:
Raw Impulse — measures how far price has moved over the Impulse Lookback period, divided by ATR. If this movement exceeds the threshold (1.0×ATR), a new impulse event is registered.
Impulse Direction — records whether the detected impulse is bullish or bearish, held in state until the next impulse event fires.
Impulse Decay — once registered, the impulse strength decays each bar at the configured Decay Rate. This creates a natural fade — recent moves carry full weight, older moves gradually lose influence.
Impulse Freshness — a normalized 0–100% score derived from current impulse strength. Fresh = high confidence. Stale = caution.
Impulse Momentum — the rate of change of freshness across the last 3 bars. Used by the confidence scoring system to distinguish an impulse that is building from one that has already peaked and is fading.
This multi-layer approach means the indicator is not just reacting to where price is — it is continuously answering the question: how energetic is the current move, and is that energy rising or falling?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 The Adaptive Bands — Breathing With Volatility
The bands are not fixed-width channels. They are living boundaries that respond to both market volatility and impulse freshness simultaneously.
Band structure:
Basis EMA — a trend-length EMA of close, forming the center reference line plotted as a subtle gray line
MAD (Mean Absolute Deviation) — the volatility engine. Unlike ATR, MAD measures the average deviation of closes from their recent mean — capturing the texture of price noise directly
Band Multiplier — dynamically calculated each bar as a blend between Band Min and Band Max, weighted by current Impulse Freshness
The key relationship:
When a fresh impulse fires → Freshness = high → Multiplier moves toward Band Min → Bands tighten — price is in a high-conviction directional move, the bands hug it closely
As the impulse decays → Freshness falls → Multiplier moves toward Band Max → Bands expand — uncertainty is rising, the bands widen to reflect the broader range of possible outcomes
A very stale market with no active impulse → Freshness near zero → Full Band Max width → Maximum caution zone
This means the bands are effectively a real-time confidence visualizer . A trader glancing at the chart immediately understands: tight bands = strong move in progress, wide bands = market searching for direction.
Band Squeeze Detection:
The dashboard continuously displays band width as a percentage of price. When this drops below 2%, the dashboard flags SQUEEZE — a powerful pre-breakout warning that a large directional move is loading. Wider than 7% is flagged as WIDE — indicating elevated uncertainty or a post-impulse cool-down.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☁ The Trend Cloud
The Trend Cloud is a gradient-filled area plotted around price that provides instant visual identification of trend direction and structural support/resistance.
How the cloud is constructed:
Cloud Outer — the outer boundary of the cloud, positioned at the lower band during a bull trend and the upper band during a bear trend
Cloud Inner — the inner boundary, sitting 45% of MAD inside the outer boundary — this inner line is the key level the Retest Engine watches
Cloud Fill — gradient-shaded between inner and outer: yellow-green for bullish trend, red for bearish trend, opacity-graded for visual depth
Reading the cloud:
Price riding above an expanding yellow-green cloud → strong bull trend, cloud is acting as dynamic support
Price riding below an expanding red cloud → strong bear trend, cloud is acting as dynamic resistance
Cloud thin or collapsed → no meaningful impulse active, potential consolidation or trend transition zone
Cloud color switching rapidly → choppy market, reduce position size or stand aside
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Signal System — Three Layers
AlphaX Impulse Bands produces three distinct signal types, each serving a specific role in the trade lifecycle:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1 ─ Entry Labels ( ▲ S/A/B % / ▼ S/A/B % )
Entry labels fire when the indicator detects a confirmed trend flip — price breaking through the outer band with sufficient impulse and WPR confirmation. Each label carries two pieces of information:
Tier — S, A, or B. Determined by the confidence score at signal time (S = 70%+, A = 55–69%, B = 25–54%)
Confidence % — the raw score from the confidence engine, printed directly on the label
Label colors reflect tier quality:
S-Tier — brightest yellow-green (bull) or bright red (bear) — highest conviction setup
A-Tier — primary yellow-green or primary red — strong setup
B-Tier — dimmer shades — valid but lower conviction, consider smaller size
A Signal Cooldown prevents multiple labels firing on the same trend flip during fast, multi-bar breakouts. Only signals that pass the minimum confidence threshold, the WPR confirmation gate, and the cooldown check are displayed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2 ─ Retest Lines ( ✦ )
After a trend flip is confirmed and the Signal Buffer period has passed, the Retest Engine activates. It watches for price to pull back into the Cloud Inner boundary — the institutional re-entry zone where trends historically find continuation.
When a valid retest is detected:
A ✦ diamond marker appears at the retest bar — yellow-green for bull retests, red for bear retests
A horizontal retest line is drawn from the retest bar extending forward by the configured number of bars — giving you a clear price level to watch for re-entry or stop placement
A Retest Cooldown prevents line spam — minimum 55 bars between consecutive retest lines by default
Retest signals represent the continuation trade opportunity — where traders who missed the initial flip can enter at a structurally superior price, with the cloud now acting as confirmed support or resistance behind them.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3 ─ Exit Markers ( ✕ )
Exit markers appear when one of two conditions is met:
Trend Flip Exit — the opposite trend signal fires, indicating the trend has definitively reversed
WPR Exhaustion Exit — the Fast WPR crosses through the configured exit level (default: above -15 for longs, below -85 for shorts), indicating momentum exhaustion in the direction of the trade. A minimum bars-in-trade requirement prevents premature WPR exits on the opening bars of a position.
Exit markers are not necessarily a signal that the trend is over. They indicate that the current momentum leg is likely complete . Use them to:
Take partial or full profit at the exhaustion point
Tighten stop loss to protect gains
Wait for the next ✦ retest signal before re-entering if the trend remains intact
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Multi-Confluence Confidence Scoring
Every entry signal is evaluated in real time by the AlphaX Confidence Engine — a multi-factor scoring system that produces a score from 0 to 100 and assigns it a tier. Only signals meeting your configured minimum threshold are displayed.
Bull Confidence Factors:
Trend Flip Freshness (up to 25 points)
Maximum score awarded only when the signal fires on the exact bar of the trend flip — confirming you are at the very beginning of the move, not chasing it
Impulse Freshness (up to 20 points)
The higher the current freshness reading, the more points awarded. A fully fresh impulse (80%+) scores 20 points; a stale impulse (below 20%) scores zero
Impulse Direction Alignment (up to 10 points)
Full points when the internal impulse direction agrees with the signal direction. Zero when it conflicts — a powerful cross-check that catches whipsaw moves where price crossed the band but momentum is still against you
WPR Oversold Depth (up to 15 points)
How deeply the Fast WPR penetrated oversold territory. Deeper = higher spring-loaded reversal potential = more points. WPR below -95 scores the maximum; WPR above -80 scores zero
WPR Cross Timing (up to 10 points)
A confirmed WPR cross back above the oversold level scores 10 points. Fast upward velocity scores 7. General bullish recovery scores 4
WPR Multi-Timeframe (up to 8 points)
Triple WPR convergence (all three timeframes in oversold) scores 8 points. Medium WPR alone in oversold scores 5
WPR Slow Alignment (up to 5 points)
When the Slow WPR confirms the macro trend direction, additional points are awarded
Candle Quality (up to 5 points)
A bullish close with body ratio above 50% scores 5 points. Any bullish close scores 2. Bearish closes score zero
Volume Surge (up to 5 points)
Volume 1.5× or more above the 20-bar SMA scores 5 points. Volume above the SMA scores 2
Impulse Momentum (up to 5 points)
When impulse strength is actively building (positive momentum) additional points are awarded — distinguishing a move that is accelerating from one that is about to stall
Penalty Deductions:
Slow WPR in extreme overbought territory → -8 points (macro trend fighting the signal)
Fast WPR still in overbought zone → -5 points
Impulse nearly completely stale (freshness below 10%) → -10 points
Extreme WPR velocity (likely spike or wick move) → -5 points
The bear confidence scoring system mirrors this structure in reverse, with all conditions flipped for short setups.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 Triple WPR Confirmation Gate
All signals pass through the WPR Confirmation Gate before being displayed. This is a separate binary filter — independent of the confidence score — that blocks signals when the oscillator context fundamentally disagrees with the signal direction.
The gate requires at least one of the following to be true before a bull signal can fire:
Fast WPR is in oversold territory
Fast WPR has just crossed back above the oversold level
Fast WPR is in a bullish recovery pattern (rising for 2+ bars)
WPR Slow and Medium are both in the bullish alignment zone
The same logic applies in reverse for bear signals. This gate can be toggled off in settings for traders who want band crossings alone to trigger signals, but it is on by default — and is one of the primary reasons AlphaX Impulse Bands produces significantly fewer false signals than typical adaptive band systems.
Three WPR timeframes run simultaneously and feed both the gate and the confidence scoring:
WPR Fast (8) — the primary signal oscillator, reacts immediately to price action
WPR Medium (21) — the intermediate trend filter, confirms the broader momentum context
WPR Slow (55) — the macro trend anchor, determines whether the overall market structure supports the signal
Triple WPR Convergence — when all three timeframes simultaneously reach extreme levels — is flagged on the dashboard as ALL OVERSOLD or ALL OVERBOUGHT and awarded maximum bonus points in the confidence engine. This is the highest-quality WPR condition the system can detect.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state of the indicator across five sections, updated on every bar close.
IMPULSE ENGINE
Impulse Strength — qualitative label (EXTREME / STRONG / MODERATE / WEAK / FADING) based on the raw impulse value
Freshness — current freshness percentage with qualitative state (FRESH / ACTIVE / FADING / STALE). Highlighted in yellow-green when above 70% — the highest-confidence zone
Impulse Direction — the direction of the most recent registered impulse (BULLISH / BEARISH)
Band Width — current band width as a percentage of price, with SQUEEZE or WIDE flags when applicable
OSCILLATORS
WPR Fast / Med / Slow — current values with zone labels (OB / OS / MID for fast and medium, BULL / BEAR / NEUT for slow)
WPR Velocity — the rate of change of Fast WPR (FAST UP / RISING / FLAT / FALLING / FAST DOWN) — critical for timing entries within a move
WPR Alignment — whether Slow and Medium WPR are in the bull zone, bear zone, or neutral
Triple WPR — flags ALL OVERSOLD or ALL OVERBOUGHT when all three timeframes converge, with background color highlight
TREND STATE
Trend — current trend direction (BULLISH / BEARISH / UNDEFINED) with background color highlight
Trend Bars — the number of consecutive bars the current trend direction has been active
Price vs EMA — how far the current close is from the Basis EMA as a percentage, with directional color coding
CONFIDENCE
Bull Conf / Bear Conf — current confidence scores with tier labels (S-TIER / A-TIER / B-TIER / BELOW MIN)
Volume — current volume state (SPIKE / HIGH / NORMAL / DRY) with the volume ratio multiplier
TRADE STATUS
Position — current tracked position (LONG / SHORT / FLAT) with background highlight
Entry Price — the close price at which the active signal fired
Open P&L — live unrealized profit and loss in both price and percentage terms, color-coded green/red
WPR Exit Watch — warns ⚠ NEAR BULL EXIT or ⚠ NEAR BEAR EXIT when the Fast WPR is approaching the configured exhaustion level — giving you advance notice before the exit trigger fires
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Choppy / Low-Quality Market Conditions
Knowing when not to trade is just as valuable as knowing when to enter. AlphaX Impulse Bands gives you multiple clear visual and dashboard cues that the market is in a low-quality state:
Visual cues to stand aside:
Bands are very wide and expanding — the dashboard Band Width reading is high and climbing. No active impulse is driving direction — the market is searching, not trending
Trend Cloud is thin or collapsing — when the cloud inner and outer converge, there is no structural trend backing any move. Wait for the cloud to separate and take on clear color
Freshness dashboard shows STALE — the last impulse has fully decayed and no new one has fired. Any price movement is low-energy and likely to reverse or stall
WPR Alignment shows NEUTRAL — neither the slow nor medium WPR are confirming a directional bias. Signals firing in this environment carry the lowest reliability
Rapid trend color switching — if candles are alternating rapidly between yellow-green and red, the system is detecting micro-trend flips. The cooldown will block most signals, but the underlying message is clear: this is a range, not a trend
No entry labels appearing despite trend flips — when the bands are crossing but no labels appear, the confidence engine and WPR gate are filtering them out. This is the system explicitly telling you: these setups do not meet the quality threshold
What to do:
Do not force entries — wait for a fresh impulse to register (Freshness dashboard turns FRESH with yellow-green highlight)
Wait for Band Width to compress into SQUEEZE territory — this signals energy is coiling for a directional move
Look for Triple WPR convergence on the dashboard — ALL OVERSOLD or ALL OVERBOUGHT are the highest-conviction pre-signal states
After a trend flip label, wait for the first ✦ retest signal before committing capital — the retest confirms the trend has real momentum behind it and is not a false start
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Impulse Bands — Step by Step
Step 1 — Read the Dashboard
Check Freshness: is the market FRESH or STALE?
Check Band Width: is it squeezing or expanding?
Check WPR Alignment: do the oscillators agree on direction?
If all three are neutral or negative → do not trade. Wait for setup conditions to develop.
Step 2 — Wait for a Trend Flip Label
A ▲ label below the bar (bull) or ▼ label above the bar (bear) sets your directional bias
Read the tier and confidence printed on the label. S-Tier is the strongest; B-Tier warrants smaller size
Do not enter directly on the label — the optimal entry comes next
Step 3 — Enter on Retest ( ✦ )
After the Signal Buffer period passes, watch for price to pull back into the Cloud Inner zone
When a ✦ diamond appears, this is the structured re-entry — a continuation setup at a technically superior price with the cloud now acting as confirmed dynamic support or resistance behind you
Place your stop loss beyond the retest level or just outside the opposite cloud boundary
Step 4 — Monitor with the Dashboard
Watch the WPR Exit Watch row — when it flashes ⚠ NEAR EXIT, begin preparing your exit
Watch Freshness — if it drops to FADING or STALE during your trade, the momentum behind the move is diminishing
Additional ✦ retest signals during the same trend are opportunities to add to your position or re-enter after a partial take-profit
Step 5 — Exit on ✕ Mark
A gray ✕ marker indicates either a confirmed trend flip or WPR exhaustion
Take partial or full profit
If no opposing trend label has appeared, wait for the next ✦ retest to confirm the trend is continuing before re-entering
Step 6 — Trend Ends
An opposing trend label (e.g., a ▼ label after you were long) confirms the trend has reversed
Close any remaining position from the prior trend
The new label resets the cycle — the dashboard Trade Status updates to the new position, and the Retest Engine resets its buffer for the new direction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 ATR-normalized impulse engine — consistent behavior across all instruments and timeframes, no manual recalibration needed
📈 Dual-layer volatility model — MAD for band texture, ATR for impulse normalization, combined into a single adaptive system
🌊 Freshness decay system — impulse strength and confidence degrade naturally over time, preventing stale signals from carrying full weight
☁ Adaptive Trend Cloud — breathes with volatility, tightens during fresh impulses, expands during uncertainty
📡 Triple WPR confirmation gate — Fast (8), Medium (21), and Slow (55) Williams %R must agree before signals fire
🏷 Tiered entry labels (S / A / B) with live confidence % — know the quality of every signal at a glance
✦ Intelligent retest engine — configurable buffer, cooldown, line extension, and width. Draws only meaningful retest levels, never spams
🧠 10-factor confidence scoring engine — freshness, impulse direction, WPR depth, timing, multi-timeframe, candle quality, volume, momentum, and penalty deductions
📊 26-row live dashboard — Impulse Engine, Oscillators, Trend State, Confidence, and Trade Status sections updated in real time
💹 Live Open P&L tracking — entry price and unrealized P&L displayed directly on the dashboard in price and percentage
⚠ WPR Exit Watch — advance warning before exhaustion exits fire, so you are never caught off guard
🎨 Cohesive dual-tone color theme — yellow-green for all bullish elements, red for all bearish elements, gray for neutral and exits
🔔 15 alert conditions — tiered entries, combined entries, exits, retests, Triple WPR states, freshness fade, and trend flips
⚙ Fully configurable — all periods, thresholds, multipliers, display toggles, colors, and filter modes are adjustable from the settings panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Core Engine
Trend Length — EMA period for the basis line and cloud anchor (default: 19)
Impulse Lookback — bars over which the raw impulse move is measured (default: 5). Lower = more reactive
Impulse Decay — per-bar decay multiplier for impulse freshness (default: 0.97). Higher = impulses stay fresh longer
MAD Length — lookback for Mean Absolute Deviation calculation, controls band volatility sensitivity (default: 20)
Adaptive Bands
Band Min (Fresh Impulse) — tightest band multiplier applied during a fully fresh impulse (default: 1.5)
Band Max (Stale Impulse) — widest band multiplier applied when impulse has fully decayed (default: 2.2)
ATR Period — lookback for ATR-based impulse normalization (default: 14)
WPR Context
WPR Fast / Medium / Slow — three independent Williams %R periods (defaults: 8 / 21 / 55)
WPR Oversold / Overbought — extreme zone thresholds used by the gate and confidence engine (defaults: -82 / -18)
Signal Filters
Min Confidence % — minimum score required for a signal to be displayed (default: 25%)
Signal Cooldown — minimum bars between consecutive entry labels (default: 3)
Require Volume Confirm — when enabled, signals are blocked if current volume is below the Min Volume Ratio threshold
Min Volume Ratio — minimum volume relative to 20-bar average required when volume filter is active (default: 0.7×)
Require WPR Confirmation — when enabled, signals only fire when WPR agrees with the trend direction. On by default — this is the primary noise gate
Retest Engine
Show Retest Levels — toggle retest lines and ✦ markers on or off
Signal Buffer — bars to wait after a trend flip before the retest engine activates (default: 10)
Retest Cooldown — minimum bars between consecutive retest line draws (default: 55)
Retest Line Width — thickness of the horizontal retest lines (default: 2)
Retest Line Extend — how many bars forward the retest line projects (default: 60)
Exits
Exit on Trend Flip — when enabled, an opposing signal triggers an immediate exit marker
Exit on WPR Exhaustion — when enabled, WPR crossing the exit level triggers an exit marker
WPR Exit Bull (above) — Fast WPR level above which a long exit fires (default: -15)
WPR Exit Bear (below) — Fast WPR level below which a short exit fires (default: -85)
Min Bars Before Exit — minimum bars in trade before a WPR exhaustion exit can trigger (default: 3)
Display
Show Trend Cloud / Show Outer Bands / Color Bars / Show Entry Labels / Show Freshness Indicator — individually toggle each visual layer
Label Size — Tiny / Small / Normal
Dashboard
Show Dashboard — toggle the entire dashboard panel
Position — Top Left / Top Right / Bottom Left / Bottom Right
Dashboard Text — Tiny / Small / Normal
Colors
Bull Primary / Bright / Dim — the yellow-green family for all bullish elements
Bear Primary / Bright / Dim — the red family for all bearish elements
Neutral / Neutral Light — gray shades for exits, inactive states, and neutral conditions
Text Light / Dashboard BG — dashboard typography and background colors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (15 total)
Tiered Entry Alerts
S-Tier Bull Impulse — bull signal with confidence 70%+
A-Tier Bull Impulse — bull signal with confidence 55–69%
B-Tier Bull Impulse — bull signal with confidence 35–54%
S-Tier Bear Impulse — bear signal with confidence 70%+
A-Tier Bear Impulse — bear signal with confidence 55–69%
B-Tier Bear Impulse — bear signal with confidence 35–54%
Combined Entry Alerts
Any Bull Impulse — any bull signal regardless of tier
Any Bear Impulse — any bear signal regardless of tier
Any Impulse Signal — any signal in either direction
Exit Alerts
Bull Exit — long position exit triggered
Bear Exit — short position exit triggered
Any Exit — exit in either direction
Retest Alerts
Bull Retest Level — a bullish retest level has been drawn
Bear Retest Level — a bearish retest level has been drawn
Any Retest — retest in either direction
Special State Alerts
Triple WPR Oversold — all three WPR timeframes simultaneously in oversold territory
Triple WPR Overbought — all three WPR timeframes simultaneously in overbought territory
Impulse Freshness Fading — freshness drops below 50%, signaling momentum decay
Trend Flip — a trend direction change has been detected
All alert messages include {{ticker}} and {{interval}} placeholders and are formatted for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD and major forex pairs on M1–M15 :
Confidence threshold at 25% captures valid setups while filtering genuine noise at fast timeframes
WPR Confirmation Gate on by default — the primary protection against choppy market signals
Decay Rate at 0.97 — impulses fade over approximately 30 bars, suitable for intraday momentum moves
Band Min/Max at 1.5/2.2 — calibrated for gold and forex intraday volatility profiles
For other instruments or timeframes, adjust:
Higher timeframes (H1, H4, Daily) — increase Trend Length to 25–35, increase Confidence to 35–50%, increase Retest Cooldown to 100–150
Crypto (BTC, ETH) — increase Band Max to 2.8–3.5 to accommodate wider swings, increase ATR Period to 20
Indices (NAS100, US30, SPX500) — use defaults or slightly increase Impulse Lookback to 7–8 for smoother detection
More signals — reduce Min Confidence %, disable Require WPR Confirmation, reduce Cooldown
Fewer, cleaner signals — increase Min Confidence % to 40–55%, increase Signal Cooldown to 5–10, reduce Band Min to tighten the entry zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
📉 Trend traders and momentum followers — the adaptive band and freshness system is built specifically for riding directional moves with precision
🥇 Gold (XAUUSD) and forex scalpers — default settings tuned for intraday volatility on fast-moving instruments
📊 Index and crypto traders — the ATR normalization ensures the system adapts without manual recalibration across instruments
🧠 Systematic traders — the confidence scoring system provides a quantitative signal quality metric, not just visual arrows
📈 Traders who value clean charts — no indicator soup, no overlapping clutter. Every visual element serves a specific purpose
⚠ Traders who struggle with overtrading — the confidence filters, WPR gate, cooldown system, and freshness tracking physically prevent low-quality setups from appearing on the chart
🔄 Pullback traders — the retest engine was specifically designed to surface structured continuation entries within confirmed trends, not just initial breakout signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design
The ATR normalization means the impulse threshold (1.0×ATR) is instrument-agnostic — no adjustment needed when switching between gold, forex, crypto, or indices
Maximum 500 labels and 500 lines are used — on very low timeframes with extended chart history, the oldest labels and retest lines may be automatically removed by PulseWire's rendering limits
The Band Width squeeze detection in the dashboard is a leading indicator of volatility expansion — SQUEEZE conditions frequently precede the strongest impulse moves
WPR Velocity displayed in the dashboard is particularly useful for timing exits within a move — FAST UP or FAST DOWN readings often precede exhaustion reversals
The Trade Status section tracks position direction from signal to exit within a single chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who need to know not just where the market is going — but how much energy is behind the move. Indicator

Exponential Nadaraya Watson kernel regression [Jamallo](2025)
Intro
Nadaraya-Watson (N-W) kernel regression is a non-parametric smoothing technique that estimates the underlying trend of a price series without assuming any fixed model shape (like a straight line or curve). Unlike a simple moving average which weights bars equally, or an EMA which applies a fixed exponential decay, N-W regression derives its curve by computing a weighted average of all prices within a lookback window — where the weights are determined by a kernel function.
The most common kernel used is the Gaussian kernel, which assigns weights in a bell-curve shape — prices closer to the center of the window receive higher weight, prices at the edges receive lower weight. Most N-W implementations use a pure symmetric Gaussian kernel, meaning every bar within the lookback window is weighted purely by its distance from the center, with no preference for recency.
This indicator uses a hybrid Exponential Nadaraya-Watson (ENW) kernel that combines two weighting forces simultaneously:
Gaussian spatial weight — bell-curve weighting centered on the window, same as standard N-W
Exponential time-decay weight — progressively heavier weighting on recent bars, similar to how an EMA behaves
Both weights are multiplied together for each bar, meaning a price bar must be both spatially central and recent to receive maximum influence. In practice this shifts the effective weight peak toward the recent end of the window, making the K Line more responsive to current price action than standard N-W.
Breakdown
K Line — ENW Kernel Regression
The central baseline of the indicator. A smooth adaptive curve derived from the hybrid ENW kernel applied to closing prices. Bandwidth is controlled via the Kernel Length and Alpha inputs — higher alpha increases the recency bias, lower alpha brings behavior closer to standard N-W.
Volatility Bands (Inner & Outer)
Rather than using ATR or standard deviation for band width, this indicator measures the absolute deviation of price from the K Line and smooths that deviation through the same ENW kernel. This means bands are fully adaptive — they expand and contract organically based on how far price has been straying from the regression curve, not a fixed statistical formula. Inner and outer bands are independently scaled via deviation multipliers.
A Line — Vervoort ATR Stop
A trailing stop built on the HLC4 price source with an ATR-based loss distance. Flips direction on a close beyond the stop level. Serves as the primary trend bias line — when above the K Line the fill turns bullish, when below it turns bearish. Cross signals (triangles) are plotted whenever the A Line crosses the K Line, marking potential trend shifts.
Signal Line — Vervoort ATR Stop (Secondary)
A second independent Vervoort trailing stop running on its own ATR period and multiplier settings. Typically configured looser than the A Line — wider multiplier, longer or equal period — so it acts as a slower confirmation layer. Useful for filtering noise on the A Line crosses: an A Line cross that also aligns with the Signal Line's bias carries more weight than one that doesn't.
-------
Nadaraya-Watson kernel regression concept — E. Nadaraya (1964), G.S. Watson (1964)
Vervoort ATR Stop — Sylvain Vervoort
Indicator

Lumina Trend Channels [Pineify]Lumina Trend Channels
The Lumina Trend Channels is a dynamic, volatility-adaptive channel system that combines an Exponential Moving Average (EMA) baseline with Average True Range (ATR) band projections and slope-based trend detection to create a visually intuitive, all-in-one trend-following overlay. Unlike static channel indicators that use fixed-width bands, Lumina Trend Channels automatically expands and contracts its four-band envelope in real time as market volatility changes, keeping the channel structure relevant across all market conditions. The channel color shifts between bullish and bearish states based on the direction of the baseline slope, and buy/sell signals are generated only when price crosses the baseline in alignment with the confirmed trend — filtering out counter-trend noise and providing cleaner entry timing for trend traders.
Key Features
EMA baseline with ATR-scaled bands — a responsive center line surrounded by four symmetrical bands whose width adapts dynamically to current volatility via ATR measurement.
Slope-based trend detection — trend direction is determined by whether the EMA baseline has risen or fallen for two consecutive bars, providing a simple yet effective trend filter.
Trend-aligned buy/sell signals — BUY signals trigger only when price crosses above the baseline during a confirmed uptrend; SELL signals trigger only during a confirmed downtrend, eliminating counter-trend false entries.
Gradient-style visual channel — layered fills with progressive transparency create a glowing channel effect that fades outward from the baseline, making trend direction and volatility state immediately visible.
Trend change markers — circle markers appear on the baseline at the exact bar where the trend flips, providing clear visual anchors for regime changes.
Built-in alert conditions — configurable alerts for buy signals, sell signals, and trend changes for hands-free monitoring.
How It Works
The indicator follows a three-stage calculation process to construct the channel and generate signals:
Baseline calculation via EMA: The closing price is smoothed using an Exponential Moving Average with a configurable period (default: 21). The EMA was chosen over SMA because it assigns greater weight to recent prices, producing a center line that reacts faster to price changes while maintaining smoothness. This baseline serves as both the channel center and the reference line for signal generation.
Volatility measurement via ATR: The Average True Range is calculated over the same lookback period as the EMA. ATR measures the average bar range (accounting for gaps), providing a robust volatility metric. Four bands are then projected symmetrically around the baseline: inner bands at basis ± ATR × inner multiplier (default: 1.0) and outer bands at basis ± ATR × outer multiplier (default: 2.0). As volatility expands, the bands widen; as it contracts, they narrow — keeping the channel proportional to actual market conditions.
Trend detection via baseline slope: The trend state is determined by checking whether the EMA baseline has been rising (increasing for 2 consecutive bars) or falling (decreasing for 2 consecutive bars). If rising, the trend is set to bullish; if falling, bearish. If neither condition is met, the previous trend state is maintained. This persistence mechanism prevents rapid trend flipping during sideways consolidation.
Trading Ideas and Insights
The Lumina Trend Channels is designed to serve multiple trading approaches across different timeframes and markets:
Trend-following entries: The primary use case — when a BUY triangle appears below a bar, it means price has crossed above the EMA baseline while the channel is green (bullish). This confirms that the immediate price action and the broader trend are aligned. Enter long and consider the upper inner or outer band as a potential profit target. The SELL triangle is the mirror setup for short entries during bearish channels.
Volatility-based position sizing: The ATR-driven band width provides a built-in volatility gauge. When the channel is wide, the market is volatile — consider smaller position sizes or wider stops. When the channel is narrow, volatility is compressed — tighter stops may be appropriate, and a breakout from the narrow channel often precedes a strong directional move.
Dynamic support and resistance: The inner and outer bands act as dynamic support/resistance levels. In an uptrend, pullbacks to the lower inner band often find support; in a downtrend, rallies to the upper inner band often meet resistance. The outer bands represent extreme volatility extensions where price is statistically stretched.
Trend change detection: The circle markers on the baseline highlight the exact moment the trend flips. These are valuable for swing traders who want to exit positions when the trend turns against them, or for traders looking to enter early in a new trend direction.
How Multiple Indicators Work Together
The Lumina Trend Channels integrates three technical components into a unified system, each serving a distinct analytical role:
Exponential Moving Average (trend center): The EMA provides the structural backbone of the channel. It defines the center line around which all bands are constructed and serves as the crossover reference for signal generation. Its low-lag property ensures the channel tracks price closely, keeping the entire system responsive to current market conditions.
Average True Range (volatility scaling): ATR transforms the channel from a fixed-width envelope into a volatility-adaptive one. By scaling band distances with ATR, the channel automatically adjusts to the market's current behavior — wide during volatile periods, narrow during quiet ones. This means the bands always represent statistically meaningful distance from the baseline, regardless of the instrument or timeframe.
Slope-based trend filter (directional bias): The trend detection layer adds a directional gate to the entire system. Without it, every EMA crossover would generate a signal — including counter-trend ones during choppy markets. By requiring the baseline to be actively rising (for buys) or falling (for sells), the trend filter ensures signals only fire when the broader directional context supports the trade.
The synergy is layered: EMA establishes the trend center → ATR scales the channel to current volatility → slope detection determines the trend state → signals fire only when price action and trend direction agree. This multi-layer filtering produces a system where each component reinforces the others, resulting in higher-conviction signals than any single component could provide alone.
Unique Aspects
Volatility-adaptive channel with trend coloring: While many channel indicators use either fixed bands (like Bollinger Bands with standard deviation) or trend coloring separately, Lumina Trend Channels combines ATR-driven dynamic width with slope-based trend coloring in a single overlay. The result is a channel that communicates both volatility state and trend direction simultaneously through its shape and color.
Gradient transparency design: The four-layer fill system uses progressive transparency — inner zones are more opaque, outer zones more transparent — creating a natural visual gradient that draws the eye toward the baseline. This design choice makes it immediately obvious where the channel center is and how far price has extended from it.
Trend-gated signals: Rather than generating signals on every baseline crossover, the indicator requires trend confirmation before triggering entries. This simple but effective filter dramatically reduces false signals during sideways or transitional market phases, where most crossover-based systems struggle.
Minimal parameter design: With only three calculation inputs (length, outer multiplier, inner multiplier), the indicator avoids over-parameterization. The single length parameter controls both the EMA and ATR simultaneously, ensuring the baseline and volatility measure are always in sync.
How to Use
Add the indicator to your chart. It overlays directly on the price chart, displaying a four-band channel with a central baseline, all colored according to the current trend direction.
Observe the channel color: green indicates a bullish trend (baseline is rising), red indicates a bearish trend (baseline is falling). Trade in the direction of the channel color for higher-probability setups.
Watch for BUY triangles (green, below bars) — these appear when price crosses above the baseline during a confirmed uptrend. Consider entering long with a stop below the lower inner or outer band.
Watch for SELL triangles (red, above bars) — these appear when price crosses below the baseline during a confirmed downtrend. Consider entering short with a stop above the upper inner or outer band.
Use the circle markers on the baseline to identify trend changes. These mark the exact bar where the channel flipped color, useful for timing exits or preparing for new trend entries.
Monitor the channel width as a volatility gauge — wide channels mean high volatility, narrow channels mean low volatility and potential breakout setups.
Set up alerts using the built-in alert conditions for buy signals, sell signals, and trend changes to automate your monitoring.
Customization
Channel Length (default: 21): Controls both the EMA baseline period and the ATR lookback. Lower values (e.g., 10–14) make the channel more responsive and generate more signals, suitable for shorter timeframes or scalping. Higher values (e.g., 34–55) produce a smoother, more stable channel for swing trading or higher timeframes.
Outer Band Multiplier (default: 2.0): Scales the distance of the outer bands from the baseline. Increase for wider outer bands that capture more extreme price extensions; decrease for tighter outer bands that stay closer to price action.
Inner Band Multiplier (default: 1.0): Scales the distance of the inner bands from the baseline. Adjust to control the width of the inner channel zone. A value of 0.5 creates a narrow inner zone; a value of 1.5 widens it.
Bullish Color (default: green): The color applied to all channel elements during uptrends. Customize to match your chart theme.
Bearish Color (default: red): The color applied to all channel elements during downtrends. Customize to match your chart theme.
Conclusion
The Lumina Trend Channels delivers a clean, volatility-adaptive channel overlay that combines EMA-based trend tracking, ATR-driven dynamic band scaling, and slope-based trend detection into a single, cohesive indicator. Its gradient-style visual design provides immediate, at-a-glance understanding of trend direction, volatility state, and price position within the channel. By gating buy and sell signals with trend confirmation, the indicator filters out counter-trend noise and delivers higher-conviction entries aligned with the prevailing market direction. Whether you trade stocks, forex, crypto, or futures, the Lumina Trend Channels adapts to your instrument and timeframe, offering a refined approach to trend-following and volatility-aware trading decisions.
Indicator

Indicator

LOWESS Reversal & Continuation [UAlgo]LOWESS Reversal & Continuation is a trend sensitive signal indicator built around a local LOWESS style smoothing engine that adapts to both price structure and volatility. Its core objective is to separate meaningful directional shifts from routine market noise by combining smoothed trend estimation, ATR normalized slope analysis, acceleration filtering, and disciplined signal gating.
Instead of relying on a conventional moving average crossover model, the script fits a locally weighted regression over a rolling window of recent bars. This produces a smoother and more context aware estimate of price direction, while still reacting fast enough to identify emerging reversals and pullback continuation opportunities. Because the estimate is local and weighted, recent bars have greater influence than distant bars, which helps the line remain relevant to current market conditions.
The indicator classifies signals into two practical categories. Reversal signals aim to identify transitions where directional pressure flips from negative to positive, or from positive to negative. Continuation signals aim to identify pullback resumption behavior inside an already established directional regime. This makes the script suitable for traders who want a single tool that can highlight both early trend change candidates and trend following re entry points.
To improve robustness, the script also supports optional robust weighting passes. These passes reduce the influence of outlier bars on the LOWESS fit, which is especially useful during abnormal spikes, illiquid conditions, or isolated volatility shocks. In addition, all slope readings are normalized by ATR, allowing the trend filter to scale more consistently across instruments, timeframes, and volatility regimes.
From a workflow perspective, the script is designed for clean chart usage. It colors the LOWESS line according to directional bias, draws an adaptive ATR based band around the curve, supports optional signal labels, limits on chart label clutter through an internal object manager, and provides alert conditions for all signal classes. The result is a visually compact but analytically rich framework for tracking trend reversals and continuation setups in real time.
🔹 Features
🔸 LOWESS Style Local Trend Estimation
The heart of the script is a locally weighted linear regression model applied over a rolling lookback window. Each bar inside the window receives a distance based weight, meaning bars closer to the current bar have a larger impact on the estimate. This produces a smooth trend line that is more adaptive than many standard moving average techniques and better suited for identifying subtle turning points.
🔸 Optional Robust Regression Passes
The indicator can apply additional robust weighting iterations after the initial fit. Residuals are measured relative to the first regression pass, and bars with unusually large residuals receive progressively lower influence in later passes. This reduces distortion from extreme candles and helps the LOWESS curve remain stable during irregular price events.
🔸 ATR Normalized Slope Filter
The script does not use raw slope in isolation. Instead, the LOWESS slope is divided by ATR, creating a volatility adjusted slope metric. This makes the directional threshold more portable across markets and timeframes. A slope that may be meaningful on a slow instrument can be very different on a high volatility asset, so ATR normalization creates a more balanced regime filter.
🔸 Reversal Signal Detection
Bullish and bearish reversal signals are triggered when the ATR normalized slope crosses the zero line and is confirmed by directional acceleration and price location relative to the LOWESS line. In other words, the script looks for a meaningful change in smoothed directional pressure, not simply a visual bend in the curve. This makes reversal signals more selective and better aligned with structural momentum shifts.
🔸 Continuation Signal Detection
Continuation logic is designed to capture trend resumption after a pullback. The script first requires an established directional regime, then checks whether price recently interacted with the LOWESS line, and finally waits for price to reclaim the trend direction with positive confirming acceleration. This helps distinguish genuine continuation behavior from random sideways oscillation around the curve.
🔸 Pullback Validation Window
A dedicated pullback lookback parameter ensures that continuation signals only occur when price has interacted with the LOWESS line within a recent number of bars. This prevents stale continuation triggers and keeps the setup focused on recent retracement behavior rather than distant historical interactions.
🔸 Close Confirmation Option
Signals can be gated so they only become valid after bar close. This is useful for traders who want to avoid intrabar flicker and premature triggers on live candles. When disabled, the script can respond more aggressively in real time, which may suit faster execution styles.
🔸 Signal Cooldown Logic
To reduce repetitive clustering, the indicator tracks the last occurrence of each signal type and imposes a cooldown period before another signal of the same class can be printed. Separate cooldown tracking is maintained for bullish reversals, bearish reversals, bullish continuations, and bearish continuations.
🔸 Adaptive ATR Band
An optional ATR based band can be plotted around the LOWESS line. This band provides a visual sense of dynamic range around the smoothed path and can help contextualize whether price is moving in a relatively stretched or balanced position around the trend estimate.
🔸 Directional Visual Coloring
The LOWESS curve changes color according to directional bias derived from the ATR normalized slope. This gives the user an immediate visual read on whether the smoothed trend pressure is currently positive, negative, or unavailable due to insufficient historical data.
🔸 Lightweight Label Management
When signal labels are enabled, the script uses an internal label book to store and manage plotted objects. Older labels are automatically deleted once the configured maximum is exceeded, helping keep the chart readable and preventing uncontrolled label buildup.
🔸 Full Alert Support
Alert conditions are included for all four event classes:
Bullish LOWESS Reversal
Bearish LOWESS Reversal
Bullish LOWESS Continuation
Bearish LOWESS Continuation
This allows the script to be used not only as a visual analysis tool, but also as an event driven signal framework for scanning and real time notification workflows.
🔹 Calculations
1) Rolling LOWESS Window Construction
For every bar, the script loads the most recent length values of the selected source into an internal rolling window. This window becomes the data sample used for the local regression fit.
method loadWindow(LowessEngine this, float seriesValue) =>
for i = 0 to this.length - 1
array.set(this.y, i, seriesValue )
Interpretation:
The regression is always fit on the latest rolling block of data.
The rightmost point in the window corresponds to the current estimation point.
This makes the smoothing local rather than global.
2) Distance Based LOWESS Weights
The script uses a tricube kernel to assign weights based on each point’s distance from the current bar inside the regression window. Bars nearer to the most recent observation receive a larger weight, while distant bars contribute less.
method buildDistanceWeights(LowessEngine this, int spanBars) =>
int x0 = this.length - 1
float bandwidth = math.max(spanBars, 1)
for i = 0 to this.length - 1
float u = math.abs(i - x0) / bandwidth
float w = u < 1 ? math.pow(1 - math.pow(u, 3), 3) : 0.0
array.set(this.baseW, i, w)
Interpretation of the conditions:
x0 is the current evaluation point inside the rolling window.
u is normalized distance from each historical point to the current point.
The tricube weight decays smoothly as distance increases.
Bars outside the effective span receive zero weight.
This is what gives the LOWESS fit its local character and helps it stay focused on recent structure.
3) Weighted Local Linear Regression
After weights are built, the script solves a weighted linear regression over the local window. The output is a local intercept and local slope. The final LOWESS estimate is the fitted value at the most recent point in the sample.
method solveWeightedLinear(LowessEngine this, array weights) =>
float s0 = 0.0
float s1 = 0.0
float s2 = 0.0
float t0 = 0.0
float t1 = 0.0
for i = 0 to this.length - 1
float w = array.get(weights, i)
float x = array.get(this.x, i)
float y = array.get(this.y, i)
s0 += w
s1 += w * x
s2 += w * x * x
t0 += w * y
t1 += w * x * y
float den = s0 * s2 - s1 * s1
if s0 <= 1e-10 or math.abs(den) <= 1e-10
this.slope := 0.0
this.intercept := array.get(this.y, this.length - 1)
else
this.slope := (s0 * t1 - s1 * t0) / den
this.intercept := (t0 - this.slope * s1) / s0
float x0 = this.length - 1
this.yhat := this.intercept + this.slope * x0
Interpretation:
this.slope measures the local directional gradient of the LOWESS fit.
this.yhat is the current LOWESS value plotted on the chart.
If the weighted regression becomes numerically unstable, the script falls back to a flat slope and uses the latest source value as intercept.
4) Robust Reweighting Passes
To reduce the impact of outliers, the script can run additional robust passes after the initial fit. It first calculates the absolute residual of each point relative to the fitted line, then computes a median based scale estimate, and finally applies a bisquare style robust weighting function.
method updateRobustWeights(LowessEngine this) =>
for i = 0 to this.length - 1
float xi = array.get(this.x, i)
float yi = array.get(this.y, i)
float fit = this.intercept + this.slope * xi
array.set(this.residualAbs, i, math.abs(yi - fit))
float med = this.residualAbs.median()
float scale = med * 6.0
if na(scale) or scale <= 1e-10
for i = 0 to this.length - 1
array.set(this.robustW, i, 1.0)
else
for i = 0 to this.length - 1
float u = array.get(this.residualAbs, i) / scale
float rw = u < 1 ? math.pow(1 - math.pow(u, 2), 2) : 0.0
array.set(this.robustW, i, rw)
Interpretation:
Large residual bars are treated as less trustworthy observations.
The median residual acts as a robust scale anchor.
Higher residuals receive smaller robust weights in subsequent fits.
This improves stability during abnormal spikes and irregular candles.
5) ATR Normalized Slope and Acceleration
Once the LOWESS fit is complete, the script converts raw slope into a volatility aware slope by dividing it by ATR. It also computes a first-difference style acceleration term to measure whether directional pressure is strengthening or weakening.
float slopeAtr = not na(slope) and atr > 0 ? slope / atr : na
float accelAtr = slopeAtr - nz(slopeAtr )
Interpretation:
slopeAtr expresses trend slope in ATR units.
accelAtr measures change in normalized slope from one bar to the next.
Positive acceleration supports bullish developments.
Negative acceleration supports bearish developments.
This combination helps the script distinguish a genuine regime shift from a weak or decaying slope condition.
6) Directional Regime Classification
The script uses a user defined ATR normalized threshold to determine whether the current smoothed state qualifies as a bullish or bearish directional regime.
bool upRegime = not na(slopeAtr) and slopeAtr > slopeThreshold
bool downRegime = not na(slopeAtr) and slopeAtr < -slopeThreshold
Interpretation:
A positive but very small slope is not automatically treated as a valid uptrend.
A negative but very small slope is not automatically treated as a valid downtrend.
The threshold acts as a noise filter that requires the trend estimate to have enough magnitude before continuation logic becomes eligible.
7) Pullback Detection Relative to LOWESS
Continuation signals depend on recent interaction with the LOWESS line. The script checks how many bars have passed since price moved through the LOWESS curve in the opposite direction of the active regime.
int bullPbBars = int(nz(ta.barssince(low < lowess), 100000))
int bearPbBars = int(nz(ta.barssince(high > lowess), 100000))
bool bullPullbackRecent = bullPbBars <= pullbackLookback
bool bearPullbackRecent = bearPbBars <= pullbackLookback
Interpretation:
In a bullish regime, price must have recently dipped below the LOWESS line to qualify as a pullback.
In a bearish regime, price must have recently pushed above the LOWESS line to qualify as a pullback.
The pullbackLookback parameter controls how recent that interaction must be.
8) Reversal Signal Logic
Bullish and bearish reversal signals are built from zero line slope crossings, directional acceleration, and price confirmation relative to the LOWESS curve.
bool slopeCrossUp = ta.crossover(slopeAtr, 0)
bool slopeCrossDown = ta.crossunder(slopeAtr, 0)
bool bullRevRaw = enoughBars and slopeCrossUp and accelAtr > 0 and close > lowess
bool bearRevRaw = enoughBars and slopeCrossDown and accelAtr < 0 and close < lowess
Interpretation of the bullish reversal conditions:
slopeCrossUp means the normalized LOWESS slope has crossed from negative to positive.
accelAtr > 0 means the slope is improving, not merely touching zero.
close > lowess confirms that price is positioned above the smoothed trend estimate.
Interpretation of the bearish reversal conditions:
slopeCrossDown means the normalized LOWESS slope has crossed from positive to negative.
accelAtr < 0 confirms weakening trend pressure.
close < lowess confirms price is positioned below the LOWESS line.
This makes reversal signals more selective than a simple moving average crossover style event.
9) Continuation Signal Logic
Continuation signals are only allowed when a directional regime already exists, a recent pullback has occurred, price crosses back through the LOWESS line in trend direction, and acceleration confirms that the move is regaining strength.
bool priceCrossUp = ta.crossover(close, lowess)
bool priceCrossDown = ta.crossunder(close, lowess)
bool bullContRaw = enoughBars and upRegime and bullPullbackRecent and priceCrossUp and accelAtr > 0 and not bullRevRaw
bool bearContRaw = enoughBars and downRegime and bearPullbackRecent and priceCrossDown and accelAtr < 0 and not bearRevRaw
Interpretation of the bullish continuation conditions:
The LOWESS slope must already define an uptrend regime.
Price must have recently pulled back below the LOWESS line.
Price must cross back above the LOWESS line.
Acceleration must be positive.
A reversal signal takes priority, so continuation does not print if the same bar qualifies as a bullish reversal.
Interpretation of the bearish continuation conditions is the exact inverse.
10) Close Confirmation and Cooldown Control
The final signal is gated by an optional bar close confirmation and a per-signal cooldown filter.
bool gate = confirmClose ? barstate.isconfirmed : true
bool bullRev = gate and bullRevRaw and canBullRev(signalState, cooldownBars)
bool bearRev = gate and bearRevRaw and canBearRev(signalState, cooldownBars)
bool bullCont = gate and bullContRaw and canBullCont(signalState, cooldownBars)
bool bearCont = gate and bearContRaw and canBearCont(signalState, cooldownBars)
Interpretation:
When close confirmation is enabled, signals only become valid after the candle is closed.
Cooldown logic prevents repeated printing of the same signal class within a short number of bars.
This reduces visual clutter and avoids excessive re-triggering during choppy conditions.
11) Adaptive Band Construction
The script can draw an ATR-based envelope around the LOWESS line to provide volatility context.
float upperBand = showBand and not na(lowess) ? lowess + atr * bandAtrMult : na
float lowerBand = showBand and not na(lowess) ? lowess - atr * bandAtrMult : na
Interpretation:
The band expands and contracts with ATR.
This creates a dynamic visual frame around the LOWESS estimate.
It is not a signal by itself, but it helps contextualize the distance between current price and the smoothed trend path.
12) Visual Output and Alerts
The LOWESS line changes color according to slope direction, optional labels mark reversal and continuation events, and alert conditions are available for all four signal types.
alertcondition(bullRev, "Bullish LOWESS Reversal", "Bullish LOWESS reversal on {{ticker}}")
alertcondition(bearRev, "Bearish LOWESS Reversal", "Bearish LOWESS reversal on {{ticker}}")
alertcondition(bullCont, "Bullish LOWESS Continuation", "Bullish LOWESS continuation on {{ticker}}")
alertcondition(bearCont, "Bearish LOWESS Continuation", "Bearish LOWESS continuation on {{ticker}}")
In practical terms, this means the indicator can serve both as a visual discretionary analysis tool and as an alert driven framework for identifying smoothed trend reversals and pullback continuation opportunities with a volatility aware filter structure. Indicator

Nova Statistical Filtering Oscillator [Pineify]Nova Statistical Filtering Oscillator - Advanced Mean Reversion Trading Tool
A sophisticated statistical oscillator that identifies overbought and oversold market conditions using Z-Score normalization and dynamic volatility bands
The Nova Statistical Filtering Oscillator (NSFO) is an advanced technical analysis tool designed to help traders identify potential mean reversion opportunities in financial markets. By combining statistical price normalization with adaptive smoothing techniques, this indicator provides a unique approach to detecting extreme price conditions and anticipating momentum reversals.
Z-Score based statistical analysis
Triple Exponential Moving Average (TEMA) smoothing
Dynamic volatility bands
Automatic mean reversion signal generation
Gradient color visualization
Customizable parameters
Statistical overbought/oversold detection
Noise reduction through TEMA smoothing
Adaptive bands that adjust to market volatility
Clear buy and sell signal indicators
Visual gradient coloring for quick analysis
Configurable alert conditions
The NSFO operates through a sophisticated three-step statistical process that transforms raw price data into actionable trading signals.
Step 1: Z-Score Calculation
The indicator first calculates the Z-Score, which measures how many standard deviations the current price is from its historical mean. This statistical normalization allows traders to objectively identify when price has moved to statistically extreme levels. The formula uses a configurable lookback period (default 20 bars) to compute both the simple moving average (mean) and standard deviation. A Z-Score greater than +2 or less than -2 indicates statistically rare extreme conditions, occurring approximately only 5% of the time.
Step 2: TEMA Smoothing
Raw Z-Score values can be volatile and produce choppy signals. The NSFO applies Triple Exponential Moving Average (TEMA) smoothing to reduce market noise while maintaining responsiveness. TEMA combines three successive EMAs using the formula: 3×EMA1 - 3×EMA2 + EMA3, achieving smoother results with less lag compared to traditional moving averages.
Step 3: Dynamic Volatility Bands
Unlike static overbought/oversold levels, the NSFO creates adaptive bands based on the volatility of the smoothed oscillator itself. This self-referential approach automatically adjusts to changing market conditions - becoming wider during volatile markets and narrower during calm periods. The bands are calculated using the standard deviation of the smoothed oscillator multiplied by a configurable factor (default 2.0).
The NSFO is built on the fundamental principle of mean reversion - the statistical observation that prices tend to return to their average over time. This concept has been validated through decades of market research and forms the basis of many successful trading strategies.
Statistical Extremes as Trade Setups : When the oscillator reaches the upper or lower bands, it indicates the price has moved to a statistically extreme level. These conditions often precede reversals as the market corrects itself back toward the mean.
Momentum Confirmation : The gradient coloring system provides instant visual feedback on current momentum. When the oscillator transitions from extreme levels toward the center, it confirms that momentum is shifting and the reversal may be gaining strength.
Time Frame Flexibility : The NSFO performs well across various time frames, from intraday charts to weekly frames. Shorter time frames generate more signals but require tighter risk management, while longer time frames produce fewer but potentially more reliable signals.
The NSFO uniquely combines three distinct technical concepts into a cohesive system:
Statistical Analysis (Z-Score) : Provides the mathematical foundation for identifying extreme price conditions using probability theory. This transforms subjective "overbought" or "oversold" labels into quantifiable statistical measurements.
Moving Average Smoothing (TEMA) : Reduces the inherent noise in raw statistical values while maintaining sensitivity to genuine price movements. The triple-layer EMA approach minimizes lag that typically affects simple moving averages.
Volatility-Based Bands : Creates adaptive thresholds that automatically adjust to current market conditions. This dynamic approach outperforms fixed-level indicators by accounting for the reality that market volatility changes over time.
The synergy between these three components creates a robust system where each element addresses a weakness in the others. The Z-Score provides statistical rigor, TEMA adds smoothness for actionable signals, and dynamic bands ensure the indicator remains effective across varying market conditions.
The Nova Statistical Filtering Oscillator offers several distinctive features that set it apart from traditional technical indicators:
Self-Referential Adaptation : The volatility bands are calculated from the oscillator's own standard deviation, creating a truly adaptive system that automatically adjusts to current market conditions without manual parameter changes.
Gradient Visualization : The color gradient provides at-a-glance understanding of current market position relative to statistical extremes, making it easy to identify both extreme conditions and transitions.
Zero Baseline Clarity : The central baseline at zero represents the statistical mean, providing an immediate visual reference point for understanding whether price is above or below its historical average.
Clean Signal Generation : Buy and sell signals are generated only when the oscillator crosses back from extreme levels, filtering out premature entries and focusing on confirmed reversals.
Using the NSFO effectively requires understanding both its signals and its limitations. Here's how to integrate it into your trading strategy:
Identifying Overbought Conditions : When the oscillator crosses below the upper band (red line), it indicates the price has extended statistically above its average. This suggests a potential selling opportunity as the market may revert toward the mean.
Identifying Oversold Conditions : When the oscillator crosses above the lower band (green line), it indicates the price has dropped statistically below its average. This suggests a potential buying opportunity as the price may bounce back toward the mean.
Signal Confirmation : Wait for the oscillator to cross back toward the center (zero line) before entering a trade. This confirms the reversal is underway rather than just touching the extreme level.
Trend Context : Always consider the broader trend direction. In strong trending markets, the oscillator may remain at extreme levels for extended periods. Use additional trend indicators for confirmation.
Important Note: No indicator guarantees profitable trades. Always use proper risk management and consider combining NSFO with other technical or fundamental analysis tools for better decision-making.
The NSFO provides several customizable parameters to suit different trading styles and market conditions:
Statistical Window (default: 20) : Controls the lookback period for calculating mean and standard deviation. Higher values produce more stable readings but respond slower to price changes. Lower values are more responsive but may generate more false signals.
Smoothing Length (default: 10) : TEMA period for reducing noise in the Z-Score. Higher values create smoother lines with more lag, while lower values are more responsive but potentially noisier.
Bands Multiplier (default: 2.0) : Controls the width of dynamic bands in standard deviations. Higher values create wider bands, reducing false signals but potentially missing some opportunities. Lower values generate more signals but with increased noise.
Color Customization : Traders can customize bullish (green) and bearish (red) colors to match their visual preferences or other indicators in their chart setup.
The Nova Statistical Filtering Oscillator represents a sophisticated approach to identifying statistical extremes in financial markets. By combining Z-Score normalization with TEMA smoothing and dynamic volatility bands, it provides traders with a powerful tool for detecting potential mean reversion opportunities.
Its adaptive nature ensures effectiveness across various market conditions, while the clear visual signals make it accessible to traders of all experience levels. Whether used as a primary trading system or as a confirmation tool alongside other indicators, the NSFO offers a unique perspective on market dynamics that can enhance your trading decisions.
Remember to always test any new indicator thoroughly on historical data before using it with real capital, and maintain disciplined risk management practices regardless of the signals generated.
This indicator is provided for educational and informational purposes only. Past performance does not guarantee future results. Trading financial markets involves substantial risk, and you should only trade with capital you can afford to lose. Always conduct your own research and consider your financial situation before making any trading decisions.
Indicator

Indicator

Recursive Least Squares Forecast [LuxAlgo]The Recursive Least Squares Forecast indicator uses an adaptive linear regression algorithm to estimate price trends in real-time, projecting future movements via a "Ghost Line" and providing dynamic bands and mean reversion signals for identifying market extremes.
By continuously updating its internal model with every new bar, the script provides a highly responsive framework for both trend forecasting and volatility-adjusted trading.
🔶 USAGE
The indicator aims to identify trend direction and potential exhaustion points. The central RLS mean line represents the current equilibrium price based on the adaptive model, while the bands represent volatility-adjusted extremes.
Users can utilize the tool for both trend following and mean reversion strategies:
Trend Following: Observe the slope and direction of the RLS Mean and the "Ghost Line" projection to determine the prevailing market bias.
Mean Reversion: Use the dynamic bands to identify when price has deviated significantly from its adaptive equilibrium.
Responsiveness: Adjust the Forgetting Factor (λ) to control the model's memory. A lower value (e.g., 0.95) makes the model react quickly to new price pivots, while a higher value (e.g., 0.99) provides a smoother, more stable trend line.
🔹 Mean Reversion Signals
The indicator identifies mean reversion opportunities using a two-step process:
Overextension: A setup begins when the price crosses outside the Upper or Lower Band, indicating an overbought or oversold state.
Entry Signal: A "BUY" or "SELL" signal is triggered when the price crosses back inside the band, suggesting a return to the RLS mean.
Targets: The RLS mean line serves as the primary take-profit target for these mean reversion setups.
🔶 DETAILS
The model assumes a linear relationship where the intercept and slope are updated recursively. The RLS algorithm is an adaptive filter that effectively "learns" the trend at every bar. It uses a state-space approach where the transition matrix is updated using a gain vector, ensuring the most efficient estimate of the current trend trajectory.
Unlike standard Moving Averages, the Recursive Least Squares (RLS) algorithm minimizes the sum of squared prediction errors by giving more weight to recent data. This allows the mean line to pivot quickly when market conditions change without the lag associated with traditional smoothing techniques.
The "Ghost Line" extends from the last bar into the future, providing a linear projection of where the current trend is headed. Surrounding this projection are "Standard Deviation Forecast Bands," which indicate the expected range of price movement based on the current model state.
🔶 SETTINGS
Forgetting Factor (λ): Controls how quickly the model forgets old data. Values closer to 1.0 make the model stable, while lower values make it more adaptive to recent price changes.
Band Multiplier: Standard deviation multiplier for the forecast bands, controlling the width of the mean reversion zones.
Forecast Horizon: Number of bars to project the "Ghost Line" and uncertainty bands into the future.
Show Ghost Line & Bands: Toggles the visibility of the future projection polylines.
Show Mean Reversion Signals: Toggles the visibility of the BUY/SELL labels on the chart.
Indicator

Daily maximum price range for Credit SpreadsVolatility & Momentum for Credit Spreads
It is a specialized mean-reversion tool designed primarily for options traders focusing on Credit Spreads (specifically 0DTE on SPX) and intraday reversals. By combining Volume Weighted Average Price (VWAP) with VIX-adjusted volatility bands, this indicator identifies statistical extremes where price is likely to revert.
Unlike standard Bollinger Bands or Keltner Channels, TITAN adapts its width based on real-time implied volatility (VIX), ensuring that your "overextended" zones are accurate whether the market is calm or chaotic.
🎯 Core Concept
The indicator relies on the principle that price moves within a definable "Daily Range" relative to the VWAP. When price pushes to the outer limits of this range while simultaneously hitting RSI extremes; it signals a high-probability reversal setup ideal for selling premium.
🛠 How It Works
The engine is built on three pillars:
Volatility-Adaptive Bands: The bands are calculated using a 14-day Average Daily Range (ADR), which is then dynamically scaled by the current VIX relative to a baseline. If VIX spikes, the bands widen instantly to keep you safe from premature entries.
Momentum Triggers: Signals are generated only when the RSI (14) hits extreme Overbought (>70) or Oversold (<30) levels.
"Golden Hour" Filtering: To avoid market open noise or late-day chop, the indicator includes a customizable time filter (Default: 10:15 – 11:30 AM EST). Signals outside this window are suppressed to enforce trading discipline.
🚀 Key Features
Visual Strategy Simulation: The indicator now includes a built-in "Strike Simulator." Upon the first valid signal of the session, it automatically plots a horizontal "Strike Line" at the Outer Band ± a user-defined buffer (e.g., 10 points). This helps you visualize your theoretical strike price for the rest of the day.
Bull & Bear Zones: Color-coded fills (Green for Bullish Buy Zones, Red for Bearish Sell Zones) make it easy to see market context at a glance.
Live Dashboard: A Heads-Up Display (HUD) in the bottom right shows real-time RSI values, Golden Hour status, and current signal state.
Unified Alert System: A single master alert condition triggers if price hits an RSI extreme OR touches a volatility band during your active trading window.
📉 How to Trade It (Example Strategy)
Wait for the Window: Ensure the "Golden Hour" on the dashboard reads ACTIVE (Default 10:15 AM EST).
Identify the Zone: Short Setup (Call Credit Spread): Price pushes into the Red Zone (Outer High). Long Setup (Put Credit Spread): Price pushes into the Green Zone (Outer Low).
Confirm the Signal: Look for the Diamond Icon. This confirms RSI has hit the extreme threshold.
Check the "Strike Line": Use the simulated horizontal line to identify where your short strike would be (Outer Band + Buffer) to verify it is at a safe distance from current price.
⚙️ Settings
ADR Length: Lookback period for daily range calculation (Default: 10).
Baseline VIX:* The standard VIX level used for normalization (Default: 15.0).
Inner/Outer Multipliers: Controls the width of the bands.
Golden Hour: The specific time window for valid signals.
Strike Buffer: Points added to the outer band to simulate your option strike price.
⚠️ Disclaimer
This tool is for informational purposes only. Trading options, especially 0DTE credit spreads, involves significant risk. Always backtest strategies and manage risk accordingly. Indicator

Session Anchored OIWAP [Arjo]The Session Anchored OIWAP (Open Interest Weighted Average Price) indicator shows you a weighted average price that uses Open Interest (OI) changes during different trading sessions . It divides the day into four clear sessions: Opening Hour , Morning Session , Mid-Day Session , and Closing Session .
For each session , it calculates a weighted average price using both market price and open interest data from futures . This line updates as the session progresses and resets when a new session starts .
You can also see optional deviation bands that you visually compare to how far the market price is moving away from the session’s weighted average. This indicator also helps you watch how Open Interest changes connect with price movements during specific market hours.
Concepts
This tool works on a few simple ideas:
Session anchoring
Each session starts fresh. The indicator resets and begins a new calculation when a new time block begins. This allows users to visually study each session independently.
Open-interest weighting
Instead of treating all price moves equally, price changes linked to higher open-interest activity have more influence on the OIWAP. This gives a weighted reflection of where the market has been trading during the session.
Averaging and smoothing
The OIWAP line blends many price data points into one smooth curve, making it easier to follow than raw price movement.
Volatility display with bands
The upper and lower bands are placed at ±0.5 standard deviation from the OIWAP line. These bands simply help you see when price stretches further away than usual from the session average.
Features
Four Independent Session Calculations: Shows separate OIWAP lines for Opening Hour (default: 09:15-10:15), Morning (10:15-11:30), Mid-Day (11:30-14:00), and Closing (14:00-15:30) sessions
Open Interest Weighting: Uses absolute OI change as the weight instead of traditional volume
Customizable Session Times: You can change the time ranges for each session to match your market or what you need
Optional Deviation Bands: You can turn ±0.5 standard deviation bands on or off around each OIWAP line
Color-Coded Sessions: Each session has its own color so you can tell them apart easily
Selective Display: You can turn individual sessions and bands on or off
Data Availability Check: Shows you a notification when Open Interest data isn't available for your symbol
Adjustable Position Timeframe: You can calculate OI changes on different timeframes (Chart, Daily, 15min, 30min, 60min, 120min)
How to use
Add this indicator to a chart of any symbol that has Open Interest data ( from futures or derivatives contracts). Once you add it, you'll see colored lines showing the OIWAP for each session you enable, along with optional deviation bands.
Adjusting Settings:
Turn individual sessions on or off using the checkboxes in the " Sessions " section
Change session colors to match your chart or what looks good to you
Turn deviation bands on or off using the " Show Bands " option in the Display settings
Change session time ranges in the " Session Times " section to match your market hours or what you want to analyze
Change the Position Timeframe if you want to see OI changes calculated on a different time period
Visual Interpretation:
Each OIWAP line shows you the OI-weighted average price for that session
The deviation bands show you how much prices spread out, weighted by OI changes
You can watch how price interacts with these levels to see where significant OI activity happened
Different sessions may show different OIWAP levels, showing you how the OI-price relationship changes throughout the trading day
Note:
This indicator needs Open Interest data to work. If OI data isn't available for your symbol, you'll see a message in the center of your chart. This indicator works only with derivatives markets like futures and options in the Indian Market where OI data is publicly available.
Conclusion
The Session Anchored OIWAP indicator is designed to support structured market observation by combining price, open interest, and session anchoring into a clear visual format. It helps users study market behavior during different parts of the day without generating trading instructions or outcomes.
Disclaimer
This indicator is for educational and visual-analysis purposes only. It does not provide trading signals , financial advice, or guaranteed outcomes . You should perform your own research and consult a licensed financial professional when needed. All trading decisions are solely the responsibility of the user.
Happy Trading
Indicator

Open Interest Weighted Average Price [Arjo]Open Interest Weighted Average Price , or OIWAP , is a simple visual indicator that shows the average price of an asset based on changes in open interest .
Instead of using trading volume like VWAP, this indicator gives more weight to prices where new futures contracts are being added or removed . This helps highlight the price levels where traders are actively building or closing positions.
The indicator shows:
A main line that represents the average price weighted by open interest changes.
Upper and lower bands (standard deviation bands) that show how far the price moves away from this average.
OIWAP is mainly useful for NSE futures markets , where open interest data is available. It helps traders visually understand where most market participation and positioning are taking place relative to price .
Concepts:
Applies statistical concepts, including weighted averaging and standard deviation, to open interest data
Uses the absolute change in open interest as a weighting factor for each price point
Creates a dynamic average that reflects where significant open interest activity has occurred during a given period
Standard deviation bands are computed from this weighted average to show the statistical spread of prices around the OIWAP line
Resets calculations based on user-selected time periods (daily, weekly, monthly, or session-based)
Allows for fresh analysis at regular intervals
Similar concept to volume-weighted average price (VWAP) indicators, but uses open interest changes as the weighting component
Features:
Weighted Average: Calculates a central line based on contract activity.
Flexible Anchors: Allows users to choose the reset period for the calculation.
Volatility Bands: Displays outer and mid-bands to visualize price stretches.
Data Check: Built-in alerts notify you if Open Interest data is missing for a symbol.
Visual Zones: Color-coded areas help identify price location at a glance.
How To Use
When you add the indicator to your chart, you will see:
A main OIWAP line — the open-interest-weighted price level
Mid-bands around the line (±0.5 standard deviations)
Outer bands farther away (±2.0 standard deviations)
Shaded background zones between these lines
You can:
Change the reset period to see how the average behaves over different time ranges
Adjust the timeframe for open-interest data
Turn mid-bands on or off
Adjust colors and styles to improve readability
Conclusion
The OIWAP indicator serves as an educational tool for visualizing the relationship between price movements and open interest activity in futures markets
Presents a weighted average price line along with statistical deviation bands
Offers a structured framework for chart analysis
Customizable settings allow users to adapt the display to their analytical preferences
Maintains focus on visual interpretation rather than directional predictions
Functions as a supplementary charting overlay that may complement other forms of technical and fundamental analysis
Disclaimer
This indicator is for educational and visual-analysis purposes only. It does not provide trading signals, financial advice, or guaranteed outcomes . You should perform your own research and consult a licensed financial professional when needed. All trading decisions are solely the responsibility of the user. Indicator

SuperBandsI've been seeing a lot of volatility band indicators pop up recently, and after watching this trend for a while, I figured it was time to throw my two chips in. The original spark for this idea came years ago from RicardoSantos's Vector Flow Channel script, which used decay channels with timed events in an interesting way. That concept stuck with me, and I kept thinking about how to build something that captured the same kind of dynamic envelope behavior but with a different mathematical foundation. What I ended up with is a hybrid that takes the core logic of supertrend trailing stops, smooths them heavily with exponential moving averages, and wraps them in Donchian-style filled bands with momentum-based color gradients.
The basic mechanism here is pretty straightforward. Standard supertrend calculates a trailing stop based on ATR offset from price, then flips direction when price crosses the trail. This implementation does the same thing but adds EMA smoothing to the trail calculation itself, which removes a lot of the choppiness you get from raw supertrend during sideways periods. The smoothing period is adjustable, so you can tune how reactive versus stable you want the bands to be. Lower smoothing values make the bands track price more aggressively, higher values create wider, slower-moving envelopes that only respond to sustained directional moves.
Where this diverges from typical supertrend implementations is in the visual presentation and the separate treatment of bullish and bearish conditions. Instead of a single flipping line, you get persistent upper and lower bands that each track their own trailing stops independently. The bullish band trails below price and stays active as long as price doesn't break below it. The bearish band trails above price and remains active until price breaks above. Both bands can be visible simultaneously, which gives you a dynamic channel that adapts to volatility on both sides of price action. When price is trending strongly, one band will dominate and the other will disappear. During consolidation, both bands tend to compress toward price.
The color gradients are calculated by measuring the rate of change in each band's position and converting that delta into an angle using arctangent scaling. Steeper angles, which correspond to the band moving quickly to catch up with accelerating price, get brighter colors. Flatter angles, where the band is moving slowly or staying relatively stable, fade toward more muted tones. This gives you a visual sense of momentum within the bands themselves, not just from price movement. A rapidly brightening band often precedes expansion or breakout conditions, while fading colors suggest the trend is losing steam or entering consolidation.
The filled regions between price and each band serve a similar function to Donchian channels or Keltner bands, creating clearly defined zones that represent normal price behavior relative to recent volatility. When price hugs one band and the fill area compresses, you're in a strong directional regime. When price bounces between both bands and the fills expand, you're in a ranging environment. The transparency gradients in the fills make it easier to see when price is near the edge of the envelope versus safely inside it.
Configuration is split between bullish and bearish settings, which lets you asymmetrically tune the indicator if you find that your market or timeframe has different characteristics in uptrends versus downtrends. You can adjust ATR period, ATR multiplier, and smoothing independently for each direction. This flexibility is useful for instruments that exhibit different volatility profiles during bull and bear phases, or for strategies that want tighter trailing on longs than shorts, or vice versa.
The ATR period controls the lookback window for volatility measurement. Shorter periods make the bands react quickly to recent volatility spikes, which can be beneficial in fast-moving markets but also leads to more frequent whipsaws. Longer periods smooth out volatility estimates and create more stable bands at the cost of slower adaptation. The multiplier scales the ATR offset, directly controlling how far the bands sit from price. Smaller multipliers keep the bands tight, triggering more frequent direction changes. Larger multipliers create wider envelopes that give price more room to move without breaking the trail.
One thing to note is that this indicator doesn't generate explicit buy or sell signals in the traditional sense. It's a regime filter and envelope tool. You can use band breaks as directional cues if you want, but the primary value comes from understanding the current volatility environment and whether price is respecting or violating its recent behavioral boundaries. Pairing this with momentum oscillators or volume analysis tends to work better than treating band breaks as standalone entries.
From an implementation perspective, the supertrend state machine tracks whether each direction's trail is active, handles resets when price breaks through, and manages the EMA smoothing on the trail points themselves rather than just post-processing the supertrend output. This means the smoothing is baked into the trailing logic, which creates a different response curve than if you just applied an EMA to a standard supertrend line. The angle calculations use RMS estimation for the delta normalization range, which adapts to changing volatility and keeps the color gradients responsive across different market conditions.
What this really demonstrates is that there are endless ways to combine basic technical concepts into something that feels fresh without reinventing mathematics. ATR offsets, trailing stops, EMA smoothing, and Donchian fills are all standard building blocks, but arranging them in a particular way produces behavior that's distinct from each component alone. Whether this particular arrangement works better than other volatility band systems depends entirely on your market, timeframe, and what you're trying to accomplish. For me, it scratched the itch I had from seeing Vector Flow years ago and wanting to build something in that same conceptual space using tools I'm more comfortable with. Indicator

Uptrick: Volatility Adjusted TrailIntroduction
The "Uptrick: Volatility Adjusted Trail" is a dynamic trailing band indicator. It adapts in real time to changing market conditions by adjusting both to volatility and trend consistency. Inspired by Supertrend-style logic, it enhances traditional approaches by introducing adaptive mechanisms for more context-sensitive behavior in both trending and consolidating environments.
Overview
This indicator combines an exponential moving average (EMA) as its basis with an Average True Range (ATR)-derived multiplier that adjusts dynamically. Unlike fixed-multiplier tools, this indicator modifies its band distances in real time according to volatility expansion and trend persistence. The result is a trailing system that adapts to the prevailing market regime, providing traders with clearer signals for trend bias, stop placement, and potential momentum shifts.
Originality
The script’s originality lies in its multi-layered approach to trail calculation. It introduces a real-time ATR multiplier adjustment driven by two factors: a volatility expansion ratio and a trend persistence model. The expansion ratio compares the current ATR to its moving average, making the indicator more sensitive during volatile conditions and less sensitive during quieter periods. The trend persistence model assesses directional consistency to widen the bands during sustained trends. This dual adjustment method creates a system that evolves with market behavior, making it more responsive and adaptive than static-band or fixed-multiplier alternatives.
Components & Inspiration
This indicator was designed with specific components that work together:
Exponential Moving Average (EMA): Chosen as the central baseline because it responds faster to recent price changes than a simple moving average, providing a more current reference for trailing bands.
Average True Range (ATR): Used as the volatility measure because it accounts for both intraday and gap movement, making it a robust and widely accepted standard for market volatility.
Dynamic Multiplier: The multiplier is adjusted by both volatility expansion and trend persistence to produce bands that tighten during low volatility and widen during consistent trends. This combination was chosen to give the indicator the ability to self-regulate across different market regimes.
Trend Persistence Model: Integrated to assess directional consistency, ensuring the bands expand during strong trends, which can prevent premature stop-outs.
Flip Confirmation Logic: Added to filter out noise by requiring multiple bar closes beyond a band before confirming a state change, reducing false reversals.
For inspiration, the indicator draws on the core idea behind Supertrend—using a baseline and volatility-derived bands to define trailing stop levels. However, while Supertrend uses a fixed ATR multiplier, this indicator introduces a dynamic multiplier system and persistence weighting, making it more adaptive and suited for varying conditions.
Inputs and Parameters
Basis EMA Length
Defines the period for the EMA that serves as the core price reference.
ATR Length
Sets the lookback period for the Average True Range calculation used in band spacing.
Base ATR Mult
The base multiplier applied to ATR before adjustments. Forms the starting scale of the band offset.
Volatility Expansion Sensitivity
Controls how strongly the band spacing reacts to short-term volatility bursts. Higher values create more pronounced band expansions or contractions.
Trend Persistence Window
Determines how many bars are used to calculate directional trend consistency using a smoothed step function.
Persistence Impact
Scales how much influence the trend persistence has on band widening. Values range from 0 (no effect) to 1 (maximum effect).
Min Effective Mult
Sets the minimum value that the adjusted multiplier can reach. Prevents the bands from becoming too narrow.
Max Effective Mult
Sets the maximum value the adjusted multiplier can reach. Prevents the bands from over-expanding during high volatility.
Bars Above/Below to Confirm Flip
Number of consecutive bars required to close above or below the opposing trail before confirming a bullish or bearish flip. Helps reduce noise and false signals.
Show Flip Labels
Enables or disables the display of flip markers on the chart.
Label Size
Allows users to adjust the size of flip labels from Tiny to Huge.
Label ATR Offset
Adjusts the vertical placement of flip labels in relation to the trail using an ATR-based offset.
Features and Logic
EMA Basis: All calculations stem from an EMA that tracks the centerline of price action.
Dynamic ATR Multiplier: The ATR multiplier adjusts in real time based on volatility expansion and trend persistence.
Clamped Multiplier: The adjusted multiplier is limited between user-defined minimum and maximum values to keep the band scale practical.
Upper and Lower Bands: Bands are plotted above and below the EMA using the dynamic multiplier and ATR values.
Trailing Logic: The script uses Supertrend-style trailing logic, updating the active band in the current trend direction and resetting the opposite band.
Trend State Detection: A state variable tracks the current market regime (bullish, bearish, or neutral). Transitions are confirmed only after a user-specified number of bars close beyond the respective bands.
Visual Elements: Trail lines and fill zones are color-coded (bullish cyan, bearish magenta). Candlestick and bar colors match the trend state. Optional flip labels mark confirmed transitions.
Alerts: Built-in alert conditions allow users to receive real-time notifications for bullish or bearish flips.
Usage Guidelines
This indicator can be used for:
Defining context-aware dynamic stop levels that adjust with market behavior.
Identifying trend direction and reversal points based on adaptive logic.
Filtering entry or exit signals during trending vs. consolidating conditions.
Supplementing trade management strategies with responsive visual markers.
Entering long or short positions based on the appearance of flip labels and managing stop losses by following the adaptive trail.
Traders may tune the parameters to suit different trading styles or timeframes. For example, lower ATR and EMA values may suit intraday setups, while longer settings may benefit swing or positional trading.
Summary
The "Uptrick: Volatility Adjusted Trail" provides a flexible, adaptive trailing band system that accounts for both volatility and directional consistency. By combining an EMA baseline with a dynamic ATR multiplier influenced by volatility expansion and trend persistence, it creates a context-sensitive trailing system that aligns with changing market conditions. Customizable confirmation, flip labels, alerts, and dynamic visual cues make it a versatile tool for trend-following, breakout filtering, and trailing stop logic.
Disclaimer
This indicator is provided for educational and research purposes only. It does not constitute financial advice. Trading involves risk, and past performance does not guarantee future results. Always conduct your own analysis and risk management before making trading decisions.
Indicator

Uptrick: Volatility Weighted CloudIntroduction
The Volatility Weighted Cloud (VWC) is a trend-tracking overlay that combines adaptive volatility-based bands with a multi-source smoothed price cloud to visualize market bias. It provides users with a dynamic structure that adapts to volatility conditions while maintaining a persistent visual record of trend direction. By incorporating configurable smoothing techniques, percentile-ranked volatility, and multi-line cloud construction, the indicator allows traders to interpret price context more effectively without relying on raw price movement alone.
Overview
The script builds a smoothed price basis using the open, and close prices independently, and uses these to construct a layered visual cloud. This cloud serves both as a reference for price structure and a potential area of dynamic support and resistance. Alongside this cloud, adaptive upper and lower bands are plotted using volatility that scales with percentile rank. When price closes above or below these bands, the script interprets that as a breakout and updates the trend bias accordingly.
Candle coloring is persistent and reflects the most recent confirmed signal. Labels can optionally be placed on the chart when the trend bias flips, giving traders additional visual reference points. The indicator is designed to be both flexible and visually compact, supporting different strategies and timeframes through its detailed configuration options.
Originality
This script introduces originality through its combined use of percentile-ranked volatility, adaptive envelope sizing, and multi-source cloud construction. Unlike static-band indicators, the Volatility Weighted Cloud adjusts its band width based on where current volatility ranks within a defined lookback range. This dynamic scaling allows for smoother signal behavior during low-volatility environments and more responsive behavior during high-volatility phases.
Additionally, instead of using a single basis line, the indicator computes two separate smoothed lines for open and close. These are rendered into a shaded visual cloud that reflects price structure more completely than traditional moving average overlays. The use of ALMA and MAD, both less commonly applied in volatility-band overlays, adds further control over smoothing behavior and volatility measurement, enhancing its adaptability across different market types.
Inputs
Group: Core
Basis Length (short-term): The number of bars used for calculating the primary basis line. Affects how quickly the basis responds to price changes.
Basis Type: Option to choose between EMA and ALMA. EMA provides a standard exponential average; ALMA offers a centered, Gaussian-weighted average with reduced lag.
ALMA Offset: Determines the balance point of the ALMA window. Only applies when ALMA is selected.
Sigma: Sets the width of the ALMA smoothing window, influencing how much smoothing is applied.
Basis Smoothing EMA: Adds additional EMA-based smoothing to the computed basis line for noise reduction.
Group: Volatility & Bands
Volatility: Choose between StDev (standard deviation) and MAD (median absolute deviation) for measuring price volatility.
Vol Length (short-term): Length of the window used for calculating volatility.
Vol Smoothing EMA: Smooths the raw volatility value to stabilize band behavior.
Min Multiplier: Minimum multiplier applied to volatility when forming the adaptive bands.
Max Multiplier: Maximum multiplier applied at high volatility percentile.
Volatility Rank Lookback: Number of bars used to calculate the percentile rank of current volatility.
Show Adaptive Bands: Enables or disables the display of upper and lower volatility bands on the chart.
Group: Trend Switch Labels
Show Trend Switch Labels: Toggles the appearance of labels when the trend direction changes.
Label Anchor: Defines whether the labels are anchored to recent highs/lows or to the main basis line.
ATR Length (offset): Length used for calculating ATR, which determines label offset distance.
ATR Offset (multiplier): Multiplies the ATR value to place labels away from price bars for better visibility.
Label Size: Allows selection of label size (tiny to huge) to suit different chart setups.
Features
Adaptive Volatility Bands: The indicator calculates volatility using either standard deviation or MAD. It then applies an EMA smoothing layer and scales the band width dynamically based on the percentile rank of volatility over a user-defined lookback window. This avoids fixed-width bands and allows the indicator to adapt to changing volatility regimes in real time.
Volatility Method Options: Users can switch between two volatility measurement methods:
➤ Standard Deviation (StDev): Captures overall price dispersion, but may be sensitive to spikes.
➤ Median Absolute Deviation (MAD): A more robust measure that reduces the effect of outliers, making the bands less jumpy during erratic price behavior.
Basis Type Options: The core price basis used for cloud and bands can be built from:
➤ Exponential Moving Average (EMA): Fast-reacting and widely used in trend systems.
➤ Arnaud Legoux Moving Average (ALMA): A smoother, more centered alternative that offers greater control through offset and sigma parameters.
Multi-Line Basis Cloud: The cloud is formed by plotting two individually smoothed basis lines from open and close prices. A filled area is created between the open and close basis lines. This cloud serves as a dynamic support or resistance zone, allowing users to identify possible reversal areas. Price moving through or rejecting from the cloud can be interpreted contextually, especially when combined with band-based signals.
Persistent Trend Bias Coloring: The indicator uses the last confirmed breakout (above upper band or below lower band) to determine bias. This bias is reflected in the color of every subsequent candle, offering a persistent visual cue until a new signal is triggered. It helps simplify trend recognition, especially in choppy or sideways markets.
Trend Switch Labels: When enabled, the script places labeled markers at the exact bar where the bias direction switches. Labels are anchored either to recent highs/lows or to the main basis line, and spaced vertically using an ATR-based offset. This allows the trader to quickly locate historical trend transitions.
Alert Conditions: Two built-in alert conditions are available:
➤ Long Signal: Triggered when the close crosses above the upper adaptive band.
➤ Short Signal: Triggered when the close crosses below the lower adaptive band.
These conditions can be used for custom alerts, automation, or external signaling tools.
Display Control and Flexibility: Users can disable the adaptive bands for a cleaner layout while keeping the basis cloud and candle coloring active. The indicator can be tuned for fast or slow response depending on the strategy in use, and is suitable for intraday, swing, or position trading.
Summary
The Volatility Weighted Cloud is a configurable trend-following overlay that uses adaptive volatility bands and a structured cloud system to help visualize market bias. By combining EMA or ALMA smoothing with percentile-ranked volatility and a four-line price structure, it provides a flexible and informative charting layer. Its key strengths lie in the use of dynamic envelopes, visually persistent trend indication, and clearly defined breakout zones that adapt to current volatility conditions.
Disclaimer
This indicator is for informational and educational purposes only. Trading involves risk and may not be suitable for all investors. Past performance does not guarantee future results.
Indicator

Indicator

Adaptive Trend FinderAdaptive Trend Finder - The Ultimate Trend Detection Tool
Introducing Adaptive Trend Finder, the next evolution of trend analysis on PulseWire. This powerful indicator is an enhanced and refined version of Adaptive Trend Finder (Log), designed to offer even greater flexibility, accuracy, and ease of use.
What’s New?
Unlike the previous version, Adaptive Trend Finder allows users to fully configure and adjust settings directly within the indicator menu, eliminating the need to modify chart settings manually. A major improvement is that users no longer need to adjust the chart's logarithmic scale manually in the chart settings; this can now be done directly within the indicator options, ensuring a smoother and more efficient experience. This makes it easier to switch between linear and logarithmic scaling without disrupting the analysis. This provides a seamless user experience where traders can instantly adapt the indicator to their needs without extra steps.
One of the most significant improvements is the complete code overhaul, which now enables simultaneous visualization of both long-term and short-term trend channels without needing to add the indicator twice. This not only improves workflow efficiency but also enhances chart readability by allowing traders to monitor multiple trend perspectives at once.
The interface has been entirely redesigned for a more intuitive user experience. Menus are now clearer, better structured, and offer more customization options, making it easier than ever to fine-tune the indicator to fit any trading strategy.
Key Features & Benefits
Automatic Trend Period Selection: The indicator dynamically identifies and applies the strongest trend period, ensuring optimal trend detection with no manual adjustments required. By analyzing historical price correlations, it selects the most statistically relevant trend duration automatically.
Dual Channel Display: Traders can view both long-term and short-term trend channels simultaneously, offering a broader perspective of market movements. This feature eliminates the need to apply the indicator twice, reducing screen clutter and improving efficiency.
Fully Adjustable Settings: Users can customize trend detection parameters directly within the indicator settings. No more switching chart settings – everything is accessible in one place.
Trend Strength & Confidence Metrics: The indicator calculates and displays a confidence score for each detected trend using Pearson correlation values. This helps traders gauge the reliability of a given trend before making decisions.
Midline & Channel Transparency Options: Users can fine-tune the visibility of trend channels, adjusting transparency levels to fit their personal charting style without overwhelming the price chart.
Annualized Return Calculation: For daily and weekly timeframes, the indicator provides an estimate of the trend’s performance over a year, helping traders evaluate potential long-term profitability.
Logarithmic Adjustment Support: Adaptive Trend Finder is compatible with both logarithmic and linear charts. Traders who analyze assets like cryptocurrencies, where log scaling is common, can enable this feature to refine trend calculations.
Intuitive & User-Friendly Interface: The updated menu structure is designed for ease of use, allowing quick and efficient modifications to settings, reducing the learning curve for new users.
Why is this the Best Trend Indicator?
Adaptive Trend Finder stands out as one of the most advanced trend analysis tools available on PulseWire. Unlike conventional trend indicators, which rely on fixed parameters or lagging signals, Adaptive Trend Finder dynamically adjusts its settings based on real-time market conditions. By combining automatic trend detection, dual-channel visualization, real-time performance metrics, and an intuitive user interface, this indicator offers an unparalleled edge in trend identification and trading decision-making.
Traders no longer have to rely on guesswork or manually tweak settings to identify trends. Adaptive Trend Finder does the heavy lifting, ensuring that users are always working with the strongest and most reliable trends. The ability to simultaneously display both short-term and long-term trends allows for a more comprehensive market overview, making it ideal for scalpers, swing traders, and long-term investors alike.
With its state-of-the-art algorithms, fully customizable interface, and professional-grade accuracy, Adaptive Trend Finder is undoubtedly one of the most powerful trend indicators available.
Try it today and experience the future of trend analysis.
This indicator is a technical analysis tool designed to assist traders in identifying trends. It does not guarantee future performance or profitability. Users should conduct their own research and apply proper risk management before making trading decisions.
// Created by Julien Eche - @Julien_Eche Indicator

Volatility Price FlowCapitalize on market volatility with our new volatility price flow indicator. We have designed this indicator to process historical price movements and indicate when price may have reached exhaustion in the context of current volatility.
This is achieved by taking the price deviation from a user defined moving average, and applying a weighting to the deviations from the candle body and candle wick on both buy side and sell side, over a user defined period. The period of the base moving average, type of moving average and the period of the historical price deviations can all be modified. This creates a typical 'band' style indicator, though with a unique characteristic that the buy and sell side vary independently as well as the band expansion being based on weighted variables tied to the actual price changes, rather than just a standard deviation the moves uniformly.
Additionally, these bands can be merged with an anchored vwap - we do this so that the deviations of price from the moving average can include a more volume based approach to identifying potential pivots.
The end result is an indicator that reflects the current market price movements, identifies and capitalizes on impulsive or beginning moves to indicate potential tops / bottoms / reversals.
The signals are simple - anytime price closes within a band, having been outside the band, a signal is displayed. As a basic guide to setting the indicator up for the first time, we suggest reducing all of the multipliers to a value less than 1. Then gradually increase each one, until the signals reduce in quantity and improve in quality, starting with the price deviation multiplier, then the volatility multiplier and finally the expansion multiplier.
Last of all, alerts can be created based on the current chart timeframe and indicator settings, simply by adding an alert that uses the built in buy or sell signal.
Note: We cannot guarantee the accuracy of the signals provided, since the user creates the signals by modifying the settings, and as such we can take no responsibility for any trading losses incurred using the indicator and highly encourage all users to manage their risk and only risk what you can afford to lose. Indicator
