EVA Ai+ Auto Chart Patterns - Price Action & Trading Signals EN 🧬 EVA AI Chart Pattern Scanner is an advanced price action and technical analysis indicator designed to automatically detect high-value chart patterns directly on the PulseWire chart.
Instead of manually searching through hundreds of candles, the indicator continuously analyzes market structure, confirmed pivot points, volatility, pattern geometry, volume behavior and breakout conditions.
The result is a clean visual map of developing and confirmed trading setups.
🔍 PATTERNS DETECTED
The indicator automatically identifies:
• Bull Flags and Bear Flags
• Bullish and Bearish Pennants
• Symmetrical Triangles
• Ascending Triangles
• Descending Triangles
• Rising Wedges
• Falling Wedges
• Double Bottom patterns
• Double Top patterns
• Head and Shoulders
• Inverse Head and Shoulders
Both local MICRO patterns and larger MACRO market structures can be detected.
⚡ INTELLIGENT PATTERN SCANNING
EVA AI does not rely on one fixed pattern length.
The scanner evaluates multiple market windows and compares available structures by geometry, compression, trend context, pole strength, volatility and overall pattern quality.
This adaptive approach allows the indicator to detect compact intraday formations as well as larger swing trading patterns.
When two independent structures exist at the same time, the indicator can display both instead of hiding one valid setup behind another.
📐 PREMIUM CHART VISUALIZATION
Developing patterns are displayed directly on the chart with projected boundaries and optional transparent pattern zones.
Confirmed patterns become brighter after a valid closed-candle breakout.
Depending on the detected structure, the chart may display:
• Pattern boundaries
• Pivot point labels
• Neckline levels
• Calculated apex projections
• LONG or SHORT breakout labels
• Pattern quality score
• MICRO or MACRO classification
• Measured price targets
• Target guide lines
Every pattern family has its own visual style and color, making complex market structure easier to read.
🎯 CLOSED-CANDLE BREAKOUT CONFIRMATION
LONG and SHORT signals are generated only after the required breakout has been confirmed on a closed candle.
The script does not use lookahead, future market data or historical signal backfilling.
This means a confirmed signal is fixed on the candle where the breakout condition is actually validated rather than being drawn retrospectively on an earlier candle.
📊 PATTERN QUALITY FILTER
Every detected structure receives an internal quality score from 0 to 100.
The score evaluates factors such as:
• Pattern geometry
• Price compression
• Strength of the preceding movement
• Pattern proportions
• Pivot symmetry
• Breakout candle strength
• Volume behavior
• MICRO or MACRO structure priority
Separate quality thresholds are available for developing patterns and confirmed trading signals.
Raise the threshold to receive fewer but more selective setups. Lower it to increase pattern coverage.
📈 VOLUME AND BREAKOUT FILTERS
Optional volume filters can be used to evaluate consolidation volume and breakout activity.
Traders can choose whether volume should contribute to the quality score or become a strict confirmation requirement.
This makes the indicator adaptable to stocks, cryptocurrency, forex, futures, indices and other liquid markets.
🧠 REVERSAL PATTERN ENGINE
Double Top, Double Bottom, Head and Shoulders and Inverse Head and Shoulders patterns are analyzed through confirmed pivot sequences.
The engine evaluates:
• Distance between pattern points
• Relative height and depth
• Time symmetry
• Shoulder proportions
• Head dominance
• Neckline slope
• Prior directional price movement
• Breakout candle body
• Pattern lifetime
A separate MACRO pivot stream helps detect large reversal structures that may otherwise be hidden by smaller market noise.
🔺 TRIANGLE AND WEDGE DETECTOR
Triangles and wedges are selected from multiple pivot combinations rather than only the most recent four turning points.
The scanner compares slope direction, boundary convergence, initial pattern height, final compression and projected apex distance.
This improves the detection of larger chart formations while filtering weak or geometrically invalid structures.
🛠 FLEXIBLE SETTINGS
The indicator includes detailed controls for:
• Minimum and maximum pattern length
• Pivot sensitivity
• MICRO and MACRO pattern detection
• Pattern quality thresholds
• Breakout confirmation buffer
• Breakout candle strength
• Volume confirmation
• Pattern projection length
• Target calculation
• Pattern colors and transparency
• Maximum number of displayed structures
• Signal cooldown
• Developing pattern visibility
Default settings are balanced for general chart analysis, while experienced traders can create stricter profiles for scalping, day trading or swing trading.
💡 HOW TO USE
1. Add the indicator to a standard candlestick chart.
2. Watch the developing structure and its projected boundaries.
3. Check the pattern type, direction and quality score.
4. Wait for a confirmed closed-candle breakout.
5. Use the calculated target as a technical reference.
6. Confirm the setup with trend direction, liquidity, support and resistance, volume and personal risk management.
The indicator can be used as a chart pattern scanner, breakout indicator, price action tool, market structure detector and technical analysis assistant.
It is suitable for traders working with crypto, forex, stocks, futures and indices across intraday and higher timeframes.
⚠️ IMPORTANT
This indicator is an analytical tool. It does not guarantee profitable trades and should not be treated as financial advice.
Always evaluate market conditions, liquidity, volatility and risk before entering a position.
🚀 NEED A COMPLETE TRADING INDICATOR?
EVA AI+ combines market structure, liquidity zones, trend analysis, momentum confirmation and high-quality LONG/SHORT signals in one advanced trading system.
The indicator helps traders read market direction, locate liquidity, identify potential entries and manage trades with clearly structured Take Profit, Stop Loss and trailing logic.
✅ Stocks, Crypto, Forex and Futures
✅ Intraday and Swing Trading
✅ Market Structure and Liquidity Analysis
✅ LONG and SHORT Trading Signals
✅ Free Test Drive Available
🔥 Get EVA AI+ and request your FREE TEST DRIVE:
Indicator

Sloping Channels and Grid Drag/DropSloping Channels and Grid Drag/Drop
This indicator plots a set of parallel, sloped projection lines anchored to a single point in time that you choose. Instead of the usual flat horizontal channel, the lines slope forward at a rate you define — either as a fixed percentage per day or a custom slope — so the channel tracks a directional bias rather than a static range.
How it works
Pick an anchor point with the time input. The script locks onto the price at that bar and builds everything from there.
Choose a slope (0–1, with a flip-to-negative option) to set the angle of the projection.
Set a band type — Percent, ATR, or Fixed value — to control the spacing between the base line and the outer bands. Five bands are plotted on each side.
Optionally enable Grid mode to overlay a second, mirrored set of lines (opposite slope) shifted by a multiple of the band width. This is particularly useful for visualizing symmetry between uptrend and downtrend structure around the same anchor.
A vertical marker line highlights your anchor point, and a small info table in the corner shows current band width and active slope.
Why sloped lines instead of flat channels
Flat horizontal channels don't account for underlying drift. Forex pairs in particular tend to respond well to predetermined, consistent slope angles rather than freshly-fitted trendlines — a fixed daily-rate slope often tracks price behavior more reliably than manually redrawing a channel each session. By anchoring a slope to a chosen reference point, this tool lets you project that directional expectation forward and see, in real time, how price behaves relative to it.
Suggested slope settings
For forex, slope values around 0.15, 0.5, and 1 (% per day) tend to work well as starting points. Stocks typically require different values given their different volatility and drift characteristics — treat the presets as a forex-tuned starting point, not a universal default.
Easier than a standard channel
Most channel tools require you to set three points (two to define the trendline, one for the offset) and manually redraw as price evolves. This indicator only needs one anchor point — the slope, spacing, and projection are handled automatically from there.
Notes
Lines are drawn using line.new() with extend.both, so once anchored, they persist and project infinitely in both directions — no repainting from redraws each bar.
Designed for intraday use but the timeframe multiplier scales the slope correctly across timeframes.
Grid shift factor lets you offset the secondary set by up to 2x the band width, without needing a second anchor. Indicator

Aurora Trend Channels [Pineify]Aurora Trend Channels
A volatility-adjusted trend channel built around a Volume-Weighted Moving Average (VWMA) center and Average True Range (ATR) outer bands. Unlike standard Bollinger Bands — which expand with statistical price deviation — the outer bands here track true-range volatility, including gap moves, and the center responds to volume weight rather than giving every candle equal influence. The channel shifts color with trend direction, and breakout signals fire only when price exits the outer ATR envelope, filtering out the weak cross-center noise that produces most false signals in simpler systems.
Key Features
VWMA center line: high-volume candles steer the trend reference more than low-volume ones, aligning the basis with where real trading activity occurred
ATR-scaled bands: channel width expands during volatile sessions and contracts during quiet ones — the envelope automatically adapts to current market conditions
EMA post-smoothing: a second smoothing pass over the raw VWMA and ATR values removes single-bar spikes without adding significant lag, producing cleaner channel edges
Dynamic color coding: the entire channel flips between bullish green and bearish red in real time, giving an instant visual read on the current trend state
Split-zone fills: the upper half of the channel is shaded bullish, the lower half bearish, so you can immediately see where price sits within the structure
Outer-band breakout signals: BUY and SELL labels appear only when price crosses outside the ATR bands — a higher bar than a simple basis crossover
Alert conditions for both breakout directions, compatible with PulseWire's built-in alert system
How It Works
The calculation runs in two stages: building the channel, then smoothing it.
VWMA basis: Each bar's close is weighted by its volume over the Channel Length lookback. High-volume candles pull the moving average toward the prices at which the most trading happened — a demand-weighted trend reference rather than a simple time average.
ATR envelope: The Average True Range over the same lookback is multiplied by the Band Multiplier and added/subtracted from the VWMA. ATR accounts for gap moves that high-low range ignores, so the bands genuinely reflect the full volatility environment.
EMA smoothing: Both the raw VWMA and the raw band values are passed through an EMA of length Smoothing Factor . This second pass removes the jagged edges that appear when a single high-volatility bar distorts the ATR calculation, without requiring a longer primary lookback.
Trend coloring: A simple price-versus-basis comparison determines channel color on each bar. The VWMA already embeds volume context, so a bare close comparison is sufficient — no additional filter is needed.
Signal conditions: Buy signals trigger on crossover (close crosses above the upper band), sell signals on crossunder (close crosses below the lower band). Crossing the outer ATR band means price moved beyond the typical volatility range, not merely through the center — it takes more momentum to get there.
How the Components Work Together
The core design choice here is pairing a volume-sensitive center with a volatility-sensitive envelope. Either alone has a weakness: a VWMA reacts to where volume traded but does not adapt its width to current market conditions; ATR bands sized around a simple SMA treat every candle's price equally regardless of liquidity. Combining them gives a channel that is anchored to real trading activity on the vertical axis and calibrated to actual volatility on the horizontal axis.
The EMA smoothing layer serves a specific function that would be lost with a single longer lookback. A longer primary window reduces noise but also makes the channel slower to respond to trend changes. Post-smoothing via a short EMA removes the erratic single-bar edges while keeping the primary length aggressive enough to track trends in real time. The result is a channel that reacts quickly but does not telegraph every spike.
Because signals require a full close outside the outer band rather than a touch or intrabar breach, they are naturally scarce. On a daily chart using default settings, expect a few signals per month rather than a few per week — which means each one carries more weight but also that the indicator is not designed for high-frequency entries.
Trading Ideas and Insights
Use the buy signal as an initial breakout entry trigger, then use retests of the upper band as add-on levels on the assumption the band becomes dynamic support after a breakout. A failure to hold the band after retest may indicate the move is exhausting.
The channel fill colors work well as a trend filter for a separate entry system. If the channel is red, consider suppressing buy signals from another indicator until the channel flips green — a simple but effective regime filter.
On higher timeframes (daily, weekly), the VWMA center often acts as a mean-reversion target after extended moves. Price that runs far from the basis and then loses momentum may retrace toward it; this is not directly signaled, but visually obvious on the chart.
In ranging markets, price will oscillate between the bands without triggering outer-band breakouts. This is by design — the indicator is quiet in ranges and active in trending environments. If you see frequent small candles touching but not closing outside the bands, that is the market telling you conditions are not favorable for breakout trades.
Past patterns do not guarantee future results. All signals should be evaluated within the context of the broader market structure and combined with appropriate risk management.
Unique Aspects
VWMA as the trend center, not SMA or EMA — the volume weighting means the channel is anchored where liquidity was concentrated, not just where time passed
ATR bands instead of standard-deviation bands: the outer envelope reflects the full range including gaps, making it more robust on instruments with frequent overnight moves or news-driven spikes
Two-stage smoothing design: the primary length drives responsiveness, the post-smooth EMA removes erratic band edges — decoupling these two concerns rather than collapsing them into a single longer period
Breakout signals on outer band crosses only — no signals on basis crossovers, which substantially reduces noise on trending instruments
Split fill that shades upper and lower zones in separate colors, giving an intuitive sense of channel structure without relying solely on the band lines
How to Use
Add the indicator to any chart. It works on all timeframes and instruments, though it was designed primarily for trending markets on the daily and 4-hour charts.
Observe the channel color. Green indicates price is above the VWMA (bullish); red indicates below (bearish). Use this as a broad market context filter.
Watch for BUY labels (triangle below bar) when price closes above the upper band, and SELL labels (triangle above bar) when price closes below the lower band. These indicate breakouts beyond the typical ATR volatility range.
After a breakout signal, watch whether price holds the outer band on any pullback. A clean retest and bounce can serve as a secondary entry point.
To set alerts: right-click the indicator → Add Alert → select "Aurora Buy Alert" or "Aurora Sell Alert".
Customization
Channel Length (default: 20) — Controls both the VWMA lookback and the ATR period. Lower values (10–14) produce a fast, reactive channel suitable for intraday charts. Higher values (30–50) create a more stable channel that filters out shorter swing noise, better suited to daily or weekly context.
Band Multiplier (default: 2.0) — Scales the ATR to set band width. At 2.0 on most instruments, outer band crosses are relatively uncommon — perhaps a few per month on a daily chart. Reducing to 1.5 produces more frequent signals; increasing to 2.5 or 3.0 reserves signals for only the most decisive momentum moves.
Smoothing Factor (default: 4) — The EMA period applied after the primary calculation. Values of 1–3 produce crisper but more jagged band edges; values of 5–8 create visually cleaner bands with slightly more lag at band turns. Most users will not need to change this.
Bullish/Bearish/Basis colors — Adjust to match your chart theme or personal preference without affecting calculation.
Conclusion
Aurora Trend Channels targets the specific problem of defining when a price move is large enough to matter — not just trending, but trending beyond the normal noise range. The VWMA-plus-ATR construction ties the channel to both volume activity and realized volatility, giving it more market context than either component alone. It works best as part of a broader system: the channel for trend direction and breakout signals, combined with a secondary tool for entry timing and position sizing within the trend.
Indicator

Celestial Mean Reversion Envelopes [Pineify]Celestial Mean Reversion Envelopes
This indicator identifies mean reversion opportunities by wrapping an adaptive moving average in standard deviation envelopes and signaling when price snaps back inside after piercing a band. Rather than using a fixed-period moving average as the baseline, the central line adapts its speed based on how frequently price is setting new highest highs or lowest lows — it tracks price quickly in trending conditions and almost freezes in ranges, so the bands shift organically with market character.
Key Features
Adaptive mean that responds to trend intensity rather than time alone — sluggish during consolidation, responsive during strong moves
Standard deviation envelopes calibrated to actual recent volatility, not fixed ATR multiples
Buy and sell signals generated on band crossunders/crossovers, confirming the reversal rather than anticipating it
Translucent overbought/oversold shading between the mean and each band for quick visual context
Built-in alerts for both reversion directions
How It Works
The calculation runs in two stages: first building the adaptive mean, then constructing the envelopes around it.
Extreme tracking — On each bar, the indicator checks whether a new highest high or lowest low has formed over the lookback window. Bars where a fresh extreme appears are marked with a value of 1; all other bars get 0. The SMA of these binary values over the same window gives the fraction of recent bars that produced a new extreme.
Squaring the fraction — Raising that fraction to the power of 2 produces a nonlinear smoothing coefficient. When trends are strong and new extremes appear on most bars, the coefficient approaches 1 and the adaptive mean tracks price closely. In a choppy range where few new extremes form, the coefficient collapses near zero and the mean barely moves. This technique is inspired by TRAMA (Trend Regularity Adaptive Moving Average) by e2e4mfck.
Adaptive mean update — Each bar the mean nudges toward the source price by the amount determined by the coefficient. The result is an average that effectively switches between "responsive" and "parked" behavior depending on what the market is doing.
Standard deviation envelopes — The upper and lower bands are placed at ±(StdDev × multiplier) from the adaptive mean, where StdDev is computed over the same lookback period. This makes the band width proportional to recent volatility: wider when price has been swinging, tighter during quiet periods.
Signal generation — A buy signal fires when source crossesunder the lower band (price dipped below, then closed back above it). A sell signal fires on a crossover of the upper band. The crossunder/crossover logic requires price to actually breach and then retrace — a bar that merely touches the band without closing through it does not trigger.
How the Components Work Together
The adaptive mean solves a problem that conventional envelope indicators ignore: when a market trends hard, a static EMA or SMA falls behind, making the upper band a poor reference for "too far, too fast." Because the adaptive mean accelerates during trends, the envelopes stay anchored to current price levels rather than lagging. This means the bands are more likely to represent genuine statistical extremes rather than just momentum riding.
The standard deviation layer adds a second dimension. Instead of a fixed pip or percentage offset, the band width expands when the market is volatile and contracts when it is calm — naturally suppressing signals during low-volatility compression and allowing wider moves during active sessions before flagging exhaustion.
Together these two layers create a filter that roughly says: "price reached a statistically unusual distance from where the trend currently sits, then pulled back." That combination reduces fakeout signals compared to using static bands on a lagging baseline.
Trading Ideas and Insights
On higher timeframes (daily, 4H), buy signals at the lower band that coincide with a key support level or volume spike may offer higher-confidence entries. Look for the adaptive mean to be flattening — it suggests the trend is pausing rather than reversing.
In intraday trading, signals that appear after a sharp impulsive leg tend to perform better than signals generated inside a choppy range. The adaptive mean will often be steeply sloped after an impulse, indicating the signal is against the micro-trend — exercise more caution and use tighter risk.
When price oscillates between the bands repeatedly without triggering signals, the market is likely in a low-volatility squeeze. A breakout attempt that immediately pulls back (triggering a sell or buy signal) at the edge of that range can mark the failed breakout early.
The gradient fill zones serve as a running reference for where price stands relative to the mean. Price persistently in the upper (red) fill with a rising adaptive mean suggests a strong trend; consider fading only when price crosses back into the neutral zone.
Past performance of any signal pattern does not guarantee future results. Always combine signals with broader context — structure, volume, and higher-timeframe bias. These signals indicate potential exhaustion; they do not predict reversal magnitude.
Unique Aspects
The squaring of the trend-regularity fraction is the core differentiator. Most adaptive averages use linear coefficients; squaring creates a much sharper distinction between trending and ranging states, so the mean spends more time "frozen" during ranges and snaps to price quickly when momentum genuinely kicks in.
Signals require price to close back inside the band, not just touch it — this one-bar confirmation step reduces noise from wicks that briefly pierce a band and immediately reverse without a real close-to-close move.
Band width is purely standard-deviation based rather than ATR-derived, which means the scaling responds to the actual statistical dispersion of the source series rather than the high-low range. On instruments with many gaps this can produce meaningfully different widths than ATR bands.
How to Use
Add the indicator to any chart. It overlays directly on the price pane.
The blue line is the adaptive mean. When it is rising steeply the market is in an upward trending mode; when flat or slightly sloped, it is ranging.
The red-shaded zone above the mean is the overbought area; the green-shaded zone below is the oversold area. Price spending extended time in one zone suggests momentum, not necessarily exhaustion.
A green BUY label below a bar means price closed back above the lower band after briefly breaking it — potential reversion entry. A red SELL label above a bar means the opposite.
To set alerts, use the "Buy Alert" or "Sell Alert" conditions from the indicator's alert panel (Once Per Bar Close recommended to avoid premature triggers on intrabar wicks).
Customization
Adaptive Mean Length (default: 99) — Controls both the highest/lowest lookback and the SMA averaging window for the smoothing coefficient. Higher values slow the mean considerably and widen bands; lower values increase reactivity but also produce more frequent and less reliable signals.
Envelope Multiplier (default: 2.5) — Scales the standard deviation distance. 2.0 suits instruments with tighter typical ranges; raise to 3.0+ on highly volatile assets to avoid constant band touches that don't represent genuine extremes.
Source (default: close) — Change to hl2 or hlc3 to incorporate high and low into the baseline; close is typically sufficient for most reversion setups.
Color inputs — Adjust bullish/bearish/mean colors and toggle the gradient fill on or off depending on visual preference.
Conclusion
Celestial Mean Reversion Envelopes pairs an adaptive mean that adjusts its responsiveness to trend regularity with volatility-scaled deviation bands, targeting the specific moment when a stretched move closes back inside its statistical boundary. The approach is best suited to traders who wait for confirmation — the crossunder/crossover trigger ensures you're acting on a completed reversal bar, not an open wick. As with any mean-reversion tool, it works best when context confirms the extension is exhaustion rather than breakout continuation.
Indicator

Indicator

Helios Volatility Atlas [JOAT]Helios Volatility Atlas
Introduction
Helios Volatility Atlas is an open-source regime and volatility mapping indicator. It combines an adaptive baseline, DMI/ADX trend strength, volatility scoring, VWAP sigma bands, premium/discount structure, squeeze detection, retest zones, right-side level rails, and a top-right dashboard.
The problem Helios addresses is market context. A trend signal means something different in compression than it does during expansion. A retest means something different near discount than it does at an outer volatility channel. Helios brings those layers into one chart so users can interpret price action with regime, volatility, and location in view.
Core Concepts
1. Adaptive Baseline
The baseline blends an EMA-style trend component with an efficiency-ratio adaptive component. When price moves efficiently, the adaptive side reacts more. During choppy movement, the baseline becomes slower and more stable.
2. Volatility Score
ATR is compared against its own moving average and standard deviation. The result is normalized into a 0-100 volatility score so the dashboard can distinguish low, moderate, and high volatility states.
3. Institutional Channels
Helios draws a channel around a mean using ATR-based distances. Inner channels describe normal volatility, while outer pockets mark more extended price areas where reversion or continuation context may matter.
4. Squeeze and Expansion State
The squeeze model compares a Bollinger-style width against a Keltner-style width. When compression releases, the chart highlights a transition from low-energy conditions into expansion.
5. Retest Zones and Rails
Confirmed retests can create projected zones. Right-side rails label important live references such as baseline, VWAP, channels, premium/discount levels, and previous day levels.
Features
Adaptive baseline: Blends trend-following and efficiency-aware smoothing
Volatility score: Converts ATR expansion/compression into a dashboard value
Trend cloud: Fills the space between baseline and VWAP
VWAP sigma bands: Shows price stretch around VWAP
Premium/discount map: Uses a rolling anchor range with equilibrium, discount, and premium levels
Squeeze detection: Highlights compression and release states
Retest zones: Projects confirmed bullish and bearish retest areas
Right-side rails: Labels baseline, VWAP, channels, premium/discount, and day levels
Theme presets: Includes Helios, Consensus Aqua, Sentinel Neon, and Cobalt Risk color families
Top-right dashboard: Shows regime, bias, volatility, squeeze, channel, VWAP sigma, price state, and key levels
Input Parameters
Core Engine:
Adaptive Baseline Length
Efficiency Lookback
ATR Length
ADX / DMI Length
Volatility Window
Volatility System:
Channel Memory
Base Channel ATR Multiple
Outer Channel ATR Multiple
Squeeze Length
Squeeze BB and KC multipliers
Display:
Show Trend Cloud
Show VWAP Sigma Bands
Show Retest Zones
Show Right-Side Level Rails
Theme Preset
Dashboard Text Size
How to Use This Indicator
Step 1: Read the regime
The dashboard classifies the current state as bullish, bearish, expansion, or range.
Step 2: Check volatility
Use the volatility score and squeeze row to decide whether the market is compressed or expanding.
Step 3: Compare price to VWAP and channels
VWAP sigma and ATR channels show whether price is near value, stretched, or reverting from an outer area.
Step 4: Use retest zones as context
Retest zones mark recent confirmed reactions. They are contextual levels, not automatic entries.
Indicator Limitations
Adaptive baselines can lag during sudden reversals
Squeeze release does not define direction by itself
Retest zones can fail in strong momentum conditions
Higher volatility symbols may require adjusted ATR/channel settings
Originality Statement
Helios Volatility Atlas combines adaptive trend state, DMI/ADX confirmation, ATR volatility scoring, VWAP sigma distance, squeeze detection, premium/discount location, projected retest zones, and right-edge rails into a single open-source Pine v6 regime atlas. The components are designed to work as one context engine, not as a loose mashup.
Disclaimer
This script is for educational and informational use only. It is not financial advice and does not predict future price direction. Use independent analysis and risk management.
-Made with passion by jackofalltrades
Indicator

Noctis Parallel Geometry [JOAT]Noctis Parallel Geometry
Introduction
Noctis Parallel Geometry is an open-source channel-construction and ratio-lattice overlay designed to organize price into ascending or descending parallel structures built from confirmed pivots. It maps primary boundaries, internal levels, stretch lines, and dynamic tracking projections so the user can see where price is moving inside a broader geometric framework.
The problem this script solves is inconsistent channel drawing. Manually drawn channels vary from user to user, and many automatic channel tools do not show how the geometry was constructed or how price is behaving inside it after the channel is established. Noctis Parallel Geometry turns confirmed pivot relationships into a persistent structure with historical roll-forward behavior.
Core Concepts
1. Pivot-Driven Channel Construction
Ascending geometry is built from two confirmed pivot lows plus the opposing pivot high that defines channel height. Descending geometry is built from two confirmed pivot highs plus the opposing pivot low. This creates a parallel structure rather than a freehand trendline.
2. Ratio Lattice
Once the main channel is built, the script can add internal reference levels and stretch levels. These help the user see whether price is rotating around the midline, respecting inner rails, or pushing into extended geometry.
3. Historical Channel Preservation
When a new active geometry forms, the previous one can be rolled into history instead of being deleted. Historical channels are shifted and preserved so the user can study how prior geometry resolved.
4. Dynamic Projection Tracking
The script can project a live tracking geometry from the most recent active pivot anchor and evolving extreme. This provides a developing path while the full next confirmed channel is still incomplete.
Features
Ascending and descending channel construction: Built from confirmed pivot relationships
Primary channel rails: Base and top boundaries
Inner ratio levels: Optional internal guidance lines
Stretch levels: Optional extension rails beyond the main channel
Historical geometry retention: Previous channels can remain on-chart
Dynamic tracking projection: Live provisional geometry based on current extremes
Pivot tags: Optional pivot markers for transparency
Dashboard: Displays active geometry mode and structural information
Input Parameters
Channel Engine:
Pivot Length
Extend Active Geometry
Show Historical Geometry
Historical Channel Count
Show Dynamic Projection
Ratio Lattice And Display:
Inner-level toggle
Stretch-level toggle
Historical projection offset
Pivot-tag and dashboard toggles
How to Use This Indicator
Step 1: Identify whether the active geometry is ascending or descending.
Step 2: Use the midline and inner rails to gauge whether price is rotating cleanly or losing internal balance.
Step 3: Use stretch levels as warning areas where price is pushing beyond normal channel behavior.
Step 4: Compare active geometry with preserved historical geometry to see whether the market is reusing or abandoning prior pathing.
Step 5: Treat dynamic tracking as provisional context until a fully confirmed new channel is formed.
Indicator Limitations
Channels only update after pivot confirmation, so geometry changes are intentionally delayed to avoid repainting
Fast regime changes can invalidate a channel before price spends much time respecting it
Dynamic tracking lines are exploratory guidance, not confirmed structure
This indicator describes geometry; it does not by itself determine direction or trade quality
Originality Statement
Noctis Parallel Geometry is original in how it turns confirmed pivot relationships into a parallel-channel engine with internal lattice levels, stretch rails, historical roll-forward geometry, and live tracking projection. These parts work together to create a coherent geometric framework rather than a simple trendline overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Channel geometry can fail abruptly in volatile or event-driven conditions, so all analysis should be paired with appropriate risk controls.
-Made with passion by jackofalltrades
Indicator

eXeTRADE Main Dual Score Signal Indicator# eXeTRADE-Main — Dual-Score Signal Indicator
**Trend • Support/Resistance • Higher-Timeframe • Backtest — all in one score**
---
## What it does
eXeTRADE-Main is a multi-factor signal indicator built for medium-to-experienced traders on **1H, 4H, and Daily** timeframes. It calculates **Long and Short scores independently** from five weighted layers — Trend, Support/Resistance, Momentum, Higher Timeframe, and Risk/Reward — and produces three signal grades:
- **Strong Buy / Sell** — score ≥ 90
- **Normal Buy / Sell** — score ≥ 75
- **Range Buy / Sell** — when R:R ≥ 3.0
The indicator is designed for **plan-driven, low-risk trading**. It auto-detects trend lines and parallel channels, ranks the top three S/R levels by strength, runs a weekly Best-MA backtest, and applies a **Proximity Gate** that penalises signals fired too close to a strong opposing level — the most common cause of immediate reversals.
## Key features
- Dual scoring — Long and Short calculated independently (0–100 scale)
- 14-MA + Best-MA weekly backtest (Trade / Long / Short / S/R averages auto-tuned)
- 3-layer trend line + parallel channel auto-detection with break tracking
- Pivot-based S/R with touch counting and violation tracking; top 3 selected by strength
- HTF context — EMA50/200, RSI, pivot, Ichimoku cloud, and volume folded into the score
- **Proximity Gate** — soft-block or hard-block when entry sits within 0.5×ATR of opposing S/R
- Built-in backtest engine with S/R trailing stop
- Position-management panel for manual entry / TP / SL tracking
- Single consolidated master alert (one alert covers every signal and trail event)
## How to read the chart
Numbered markers on the cover image:
1. **Score Panel** — current Long/Short scores with delta arrows, ATR, and trail status
2. **Top S/R Levels** — three strongest levels, ranked by point score
3. **Backtest Results** — trade count, win/loss, win rate, total P/L, max drawdown
4. **Buy Signal** — green triangle marks Strong / Normal / Range Buy entries
5. **Trail Exit** — yellow × marks where the trailing stop was hit
6. **Auto Trend Lines** — multi-layer trend with parallel channels
## Important settings
- **Backtest Period** — 1 Mo / 3 Mo / 6 Mo / 1 Yr / All
- **Entry Mode** — Single (one position) or Multi (pyramiding)
- **Signal Levels** — Strong (default 90) and Buy/Sell (default 75) thresholds
- **Proximity Gate Mode** — Off / Warning / Soft Block / Hard Block
- **HTF Auto-Bump** — automatically lifts the HTF reference one level if the chart TF matches HTF
## Alerts
A single **master alert** is recommended — it fires for every signal and trail event in one channel. Individual alerts (Strong Buy, Strong Sell, Trail Hit, Channel Break, etc.) are also available if granular control is preferred.
## Best on
4H and Daily timeframes for **Forex pairs, XAUUSD, XAGUSD, and major equities**. Not recommended below 1H — short-timeframe noise reduces score reliability.
## Disclaimer
This indicator is a decision-support tool, not financial advice. **Always define stop-loss and exit plan before entry.** Past performance does not guarantee future results. Trade at your own risk.
---
*Comments and feedback are welcome.*
Indicator

Indicator

Possible Reversal Zone DetectorThis indicator is a comprehensive tool designed to identify potential market reversal zones and mean-reversion opportunities. It utilizes a dynamic volatility channel to detect when the price becomes overextended and is likely to reverse its short-term direction.
To eliminate false signals during strong trends, it comes packed with multiple highly customizable technical filters, including RSI, Volume Spikes, and Price Action patterns. Furthermore, it visually assists traders by drawing automated Risk/Reward boxes directly on the chart upon signal generation.
Key Features & Mechanics:
Dynamic Volatility Channel: The core of the indicator relies on an EMA baseline and a Standard Deviation multiplier. It creates an envelope around the price action. Signals are generated when the price pierces these outer boundaries and shows rejection.
Volume Spike Filter (Default: ON): A reversal is much stronger when backed by heavy volume. This filter ensures that a signal is only valid if the current volume exceeds the moving average of the volume by a specified multiplier.
Automated Risk/Reward Boxes (Default: ON): Once a valid reversal signal is confirmed, the indicator instantly plots a customizable Risk/Reward box (Default 1:2 RR, 1% Stop Loss) on your chart. This allows you to visually plan your trade, target, and invalidation level effortlessly.
RSI Filter (Default: OFF): When enabled, it checks if the asset is mathematically overbought or oversold before confirming a reversal from the channel boundaries.
Price Action Filters (Default: OFF): For the ultimate "sniper" entry, you can require the indicator to look for specific candlestick patterns—such as a Pinbar (Wick Rejection) or an Engulfing pattern—at the exact moment the price tests the channel boundary.
How to Use:
Wait for the visual arrows (Yellow for Bullish, Red for Bearish) to appear. These indicate that the price has breached the volatility band and satisfied your selected filters (like volume spikes). Evaluate the automatically drawn Risk/Reward box to see if the setup matches your risk management strategy.
Customization:
Every aspect of this indicator is adjustable. You can tweak the channel sensitivity, volume requirements, RSI levels, and the exact dimensions of the Risk/Reward boxes to fit any timeframe or asset class.
Disclaimer: This script is for educational purposes only and does not constitute financial advice. Always use proper risk management. Indicator

Auto Parallel Channel - Trend & Reversal TrackerThis indicator automates a highly specific and effective manual charting technique for tracking trends and identifying potential reversal zones. It is designed to help traders visualize dynamic parallel channels without the hassle of constantly redrawing lines, making it especially useful for timing short entries or spotting bottom reversals in volatile markets like crypto and forex.
How It Works:
Unlike standard channel indicators that simply connect the highest highs and lowest lows, this script uses a refined pivot-based logic. During a downtrend, it identifies the last three Pivot Lows (PL) and the last Pivot High (PH). It constructs the foundational trendline by connecting the intermediate lows and projects a perfectly parallel upper boundary starting from the last confirmed PH.
Key Features:
Custom Key Levels: Includes specific internal and external parallel levels (-0.12, 0, 0.12, 0.5, 0.88, 1.0, 1.12) to identify precise support, resistance, and breakout zones.
Dynamic Peak Tracking (Prediction Line): Features a unique "memory" line. Before a new pivot is fully confirmed, a dashed tracking line anchors to the absolute highest price seen since the last Pivot High. This acts as an early-warning prediction channel that adjusts dynamically as price pushes higher, but stays firmly anchored if price drops.
Clean Chart Management: Prevents chart clutter by automatically limiting the number of historical channels shown at once (customizable).
Smart History Extension: Old channels don't just disappear or stretch to infinity. They are systematically frozen and extended backward/forward by a user-defined number of bars, allowing you to backtest how price reacted to past channel structures.
Customizable Settings:
Pivot Length: Adjust the sensitivity of pivot detection (Default: 25).
History Extension Bars: Control how far historical channel lines project into the past/future (Default: -65).
Max Historical Channels: Keep your chart clean by limiting visible past channels (Default: 3).
Toggles: Easily turn dynamic tracking, historical lines, and pivot labels on or off.
Whether you are riding a trend or looking for the exact moment a downtrend loses momentum, this automated channel system keeps your charts clean, precise, and highly actionable. 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

Trendline Breakout with Volume Confirmation [Dots3Red]Financial markets generally move in trends or sideways ranges.
The core idea of this indicator is to detect bearish trendline channels and highlight potential breakout events.
How it Works
This indicator automatically detects descending trendline channels by dynamically analyzing pivot highs. Consecutive descending pivots are used to form bearish trendlines, which are then extended forward as the market evolves.
Once a valid trendline or channel is detected, the script continuously monitors its status. When price breaks above the upper boundary of the descending trendline/channel, the breakout is detected and the completed structure is drawn on the chart together with a visual breakout label.
A breakout is considered valid when the closing price exceeds the upper boundary of the trendline by a configurable percentage ( Breakout %) .
When a valid trendline is detected on real-time bars but has not yet been broken, the indicator will project the channel forward into the future to help visualize potential breakout zones.
Visual Styles
The indicator provides two visualization modes:
Channel (default) – Displays the full channel area between the trendline and its lower boundary.
Polygon – Displays the detected structure as a polygon, which can make overlapping structures easier to distinguish.
Volume Confirmation
The indicator can optionally display volume confirmation during breakout events.
When enabled, a normalized volume bar is drawn near the breakout location to indicate the relative strength of the breakout based on volume activity.
Settings
Boolean Options
Channel / Polygon Display – Choose how the detected structure is visualized.
Show Volume Breakout Bar – Enables or disables volume confirmation visualization.
Numerical Parameters
Breakout % – Minimum percentage the closing price must exceed the trendline to confirm a breakout.
Slope Factor – Controls how steep the detected trendline must be.
Pivot Length – Number of bars to the left and right used to determine pivot points.
Volume % Breakout – Minimum relative volume required to display a breakout volume bar.
Why Use Polygon Mode?
When multiple channels appear close to each other, the chart may become visually crowded. In such situations, the polygon mode can provide a clearer representation of overlapping structures.
For example, in the chart above for Palantir Technologies during the summer of 2023, two separate trendlines were detected in June and August. Their baselines were very similar, which resulted in channels having almost identical lows. Switching to polygon mode makes the structure easier to interpret.
Example:
Indicator

Auto S/R Channels [WillyAlgoTrader]Auto Support & Resistance Channels is an overlay indicator that algorithmically discovers the highest-quality ascending and descending price channels by evaluating pivot-point combinations, scoring each candidate by how well price is contained within it, and monitoring the active channels for breakouts and boundary reactions in real time.
Channel drawing is one of the most subjective tasks in technical analysis — two traders rarely agree on where the lines should go. This indicator removes that ambiguity: it systematically tests dozens of pivot-pair combinations, builds a trendline + parallel for each, computes a containment ratio (what percentage of bars fit inside), and displays only the best-fitting result. The channel then becomes a live framework — the script detects breakouts when price closes through a boundary, identifies wick-based reactions (bounces) at support and resistance, fires categorized alerts, and automatically replaces stale channels when new pivots produce a superior fit.
🔍 WHAT MAKES IT ORIGINAL
1. Containment-ratio scoring across 40+ candidates. For each direction (ascending and descending), the algorithm evaluates up to 40 pivot-pair combinations (8 most recent pivots × 5 preceding pivots). For each pair it constructs the full channel — base trendline through the two anchors, parallel through the most extreme opposing pivot — then scans up to 300 bars, counting how many bars have their entire range (low to high) inside the channel with a tolerance of 5% ATR. The ratio of contained bars to total bars is the quality score. Only the candidate that scores highest above the minimum threshold (default 55%) is drawn. A new channel replaces the current one only when it scores at least 70% of the existing score AND its base pivots are actually different — preventing cosmetic redraws when the same pivots simply refine their quality metric.
2. Dual-direction parallel search. Both ascending and descending channel searches run on every new pivot (whether it's a high or a low). This ensures neither direction goes stale — a bug common in channel tools that only re-evaluate one direction per pivot type. Both channels can coexist on the chart, naturally capturing wedges, converging structures, and transitional markets.
3. Three-event signal classification.
— Breakout : close beyond the boundary with crossover verification (previous bar was inside or within 1.5× ATR)
— React : wick touches a boundary (within 12% ATR) but close + open remain inside — a bounce/rejection
— Aggregate : events from both channels combine into Buy / Sell / Wait (e.g., react at ascending support = Buy; breakout below descending support = Sell)
Each event type has its own alert toggle, so you can subscribe only to the signals you care about.
4. Five anti-phantom-signal guards.
— Max extrapolation : no detection beyond maxChannelBars past the second base pivot
— Crossover check : previous close must have been within 1.5× ATR of the boundary — no phantom signals when a new channel is drawn behind price that already moved away
— Smart flag reset : on channel rebuild, breakout flags reset only if price is currently inside the new channel (direction-agnostic boundary test)
— Change-gate : labels and flags are only cleared when the channel's base pivots actually change — if the same two pivots refine their quality score, existing signals are preserved
— Full label cleanup : when a channel does change, all labels from the previous version are deleted — no stale artifacts
5. Per-component line styling. Base line, parallel line, and midline each have independent width and style (solid / dashed / dotted). Combined with configurable fill transparency, extension mode (none / right / both), and separate bull/bear colors, the visual output adapts to any chart style.
⚙️ HOW IT WORKS
Pivot detection:
Swing points are identified with ta.pivothigh() and ta.pivotlow() using the configured lookback length. Up to 40 recent pivots of each type are stored. Pivots lag by N bars — standard for all pivot-based tools.
Ascending channel construction:
Pairs of pivot lows where the second is higher than the first (rising slope) and separated by Min–Max Channel Bars define candidate base trendlines. For each pair, the script scans all stored pivot highs within the channel's time span and selects the one with the greatest positive offset from the base — this becomes the parallel (resistance boundary). The channel width equals the maximum perpendicular distance from base to the highest opposing pivot.
Descending channel construction:
Mirror logic: pairs of pivot highs with falling slope define the base. The lowest opposing pivot low sets the parallel (support boundary).
Quality scoring:
Each candidate is scored by iterating up to 300 bars: a bar is "contained" if low ≥ lower boundary − 5% ATR AND high ≤ upper boundary + 5% ATR. The containment ratio (contained / total) is the quality score. The best candidate above the threshold wins. A replacement requires ≥70% of the current score AND different base pivot bars — this balance allows channels to evolve with the market while preventing noise-driven flickering.
Breakout detection:
On every confirmed bar (barstate.isconfirmed), both channel boundaries are interpolated at the current bar index. For an ascending channel: bullish breakout fires when close > parallel AND close ≤ parallel + 1.5× ATR; bearish breakout when close < base AND close ≥ base − 1.5× ATR. Descending channels use mirrored logic with direction-agnostic boundary identification. Breakout flags prevent duplicate signals until price re-enters the channel.
React detection:
A support reaction triggers when the bar's low penetrates the support boundary within 12% ATR tolerance, but the close and open remain above it — a classic wick rejection. Resistance reaction uses the same logic at the upper boundary.
📖 HOW TO USE
Reading the chart:
— Green channel = ascending (bullish bias) — base from pivot lows, parallel through the highest high
— Red channel = descending (bearish bias) — base from pivot highs, parallel through the lowest low
— Midline = channel equilibrium (50%) — frequently acts as intra-channel support/resistance
— "Breakout ▲" / "Breakout ▼" = confirmed close beyond a channel boundary
— Dashboard shows: Trend / Signal (Buy/Sell/Wait) / Strength / Quality % / Active Channels
Trading approach:
— In an ascending channel: look for long entries at base reactions (support bounces), take profit or watch for rejection at the parallel (resistance). A bullish breakout above the parallel may indicate trend acceleration.
— In a descending channel: look for short entries at base reactions (resistance rejections), cover at the parallel (support). A bullish breakout above the base signals a potential trend reversal.
— The midline often acts as an intermediate decision level — watch for stalls and direction changes there.
— Higher Quality % = more bars historically contained = stronger structural validity.
— When both channels are active simultaneously, the market is likely forming a wedge or converging structure — the directional breakout from whichever channel breaks first typically signals the next move.
Timeframe guidance:
— Scalping (1–15min): Pivot Length 3–7, Min Channel Bars 10–20, Quality 0.45–0.55
— Intraday (1H–4H): Pivot Length 8–15, Min Channel Bars 20–50, Quality 0.55–0.65
— Swing (Daily+): Pivot Length 15–30, Min Channel Bars 30–100, Quality 0.6–0.8
⚙️ KEY SETTINGS REFERENCE
— Pivot Length (default 21): bars left/right for swing detection — higher = fewer, stronger pivots
— ATR Length (default 14): tolerance, crossover guard, and quality calculations
— Min Channel Bars (default 10): minimum distance between the two base pivots
— Max Channel Bars (default 400): maximum lookback for pivot pairs and extrapolation limit for signal detection
— Min Channel Quality (default 0.55): minimum containment ratio — higher = stricter, fewer channels
— Extend Channels (default Right): project lines beyond anchor pivots (Right / Both / None)
— Delete Previous (default On): clean up old drawings and labels when a new channel forms
— Show Breakout Label (default On): display Breakout ▲/▼ labels on the chart
— Show Midlines (default On): 50% equilibrium line inside each channel
— Show Channel Fill (default On): subtle fill between boundaries
— Fill Transparency (default 95): 80–99 — higher = more transparent
🔔 Alerts
Three independent, toggleable alert types:
— Breakout : price closes outside a channel boundary (all five guards active)
— Signal : aggregated Buy/Sell from combined channel events
— React : wick rejection at a channel boundary
All alerts support standard PulseWire text and optional JSON webhook format for 3Commas, Alertatron, or custom bot integrations.
⚠️ IMPORTANT NOTES
— Breakout and react signals require bar-close confirmation — they do not repaint after the bar closes.
— Channels will update when new pivots produce a higher-quality fit with different base points. This is by design — the indicator always shows the best available channel. All previous drawings and labels are cleaned up automatically on change.
— This is a structural analysis and event-detection tool . It maps the dominant price channel and monitors boundary interactions — it does not predict whether breakouts will follow through or reactions will hold.
— Past channel containment does not guarantee future price behavior within the same structure.
— Works across all asset classes and timeframes. No volume data required. Indicator

Automatic Trendline [Metrify]Metrify Automatic Trendlines is an auto-drawing support/resistance channel built around pivot clustering + scoring, not “connect two perfect points”. The script continuously collects swing pivots (high/low) over a configurable lookback window, then searches for the best single support line and the best single resistance line that behave like a human-drawn trendline: multiple interactions, controlled slope, limited break-throughs, and (most importantly) still relevant to the current price. (configurable in "Max Relevance Distance" input)
The fundamental problem with algorithmic trendlines is subjectivity. To solve this mathematically, we treat trendlines as a statistical regression problem with specific constraints. We do not use linear regression on all candles, instead, we use a brute-force iterative approach on specific "Pivot Points."
The logic operates on a simple premise: Generate every possible line between past swing points, validate them against price history, score them based on fit, and render only the winner.
The Calculation Engine (f_find_best_line)
This function contains the primary computational load. It performs a nested loop operation:
Outer Loop (newer): Iterates through recent pivots.
Inner Loop (older): Iterates through older pivots to form a candidate line segment.
For every pair of pivots (P1,P2), we calculate the slope (m) and the y-intercept concept. This gives us a tentative trendline equation:
y=mx+c
The Scoring Matrix
We assign a score to each candidate line based on weighted heuristics:
Touch Count (touches * 2.8): The primary driver. More touches = higher statistical significance.
Recency (recency * 1.2): Lines originating closer to the current price action are weighted higher.
Tightness (avgErr): We calculate the average distance of all touches from the line. A "tighter" fit (lower error) increases the score.
Penalties:
violations * 2.2: False breaks heavily penalize the score.
barBreakRatio * 2.0: If the line cuts through candle bodies (even if pivots are fine).
The line with the highest localBest score is returned as the dominant trendline.
What you can use it for?
This is a structure visualizer that tries to keep a clean, current S/R channel on screen with volatility-aware rules. It’s not a signal generator, it doesn’t predict breakouts, and it won’t always draw something, if the market is messy and no line survives the filters, it will show none instead of hallucinating geometry. If you need more lines (multiple concurrent channels), that’s a different design tradeoff (and usually becomes clutter + false confidence fast). Indicator

Radiant Mean Reversion Channels [Pineify]Radiant Mean Reversion Channels - HMA & ATR Normalized Oscillator with Dynamic Gradient Signals
The Radiant Mean Reversion Channels indicator is a volatility-normalized oscillator designed to detect high-probability mean reversion setups across any market and timeframe. It transforms a Hull Moving Average (HMA) based channel into a bounded 0–100 oscillator, making it easy to spot when price has stretched to statistical extremes and is likely to revert toward equilibrium. By combining the low-lag properties of HMA with the adaptive volatility measurement of ATR, this indicator provides fast, accurate overbought and oversold readings without the noise common in traditional oscillators.
Key Features
HMA-based dynamic mean for ultra-low-lag price tracking
ATR-driven volatility bands that automatically adapt to market conditions
Normalized 0–100 oscillator scale for consistent interpretation across all instruments
WMA smoothing to reduce whipsaws while preserving signal responsiveness
Dynamic gradient coloring that shifts from bearish to bullish based on oscillator value
Clearly defined overbought (80/90) and oversold (10/20) zones with visual fills
Automatic buy and sell signal generation on mean reversion crossovers
Built-in alert conditions for seamless trading automation
How It Works
The indicator follows a five-step calculation pipeline that converts raw price action into a clean, actionable oscillator:
Dynamic Mean via HMA: The center of the channel is calculated using a Hull Moving Average of the selected source over the specified channel length. HMA was chosen specifically because it dramatically reduces lag compared to SMA or EMA while maintaining a smooth curve, giving traders a more accurate real-time estimate of the current mean price.
Volatility Measurement via ATR: The Average True Range over the same lookback period measures current market volatility. This value is scaled by a user-defined Band Multiplier to create the channel width. ATR naturally adapts—widening during volatile conditions and tightening during consolidation—ensuring the channel remains contextually appropriate.
Channel Construction: The upper and lower bands are formed by adding and subtracting the scaled ATR from the HMA mean. This creates a dynamic envelope that contains most price action under normal conditions.
Normalization to Oscillator: The price position within the channel is normalized using the formula: (Price - Lower Band) / (Upper Band - Lower Band) × 100. This maps the channel into a 0–100 scale where 0 represents the lower band, 100 represents the upper band, and 50 represents the mean. Values above 100 or below 0 indicate price has exceeded the channel boundaries.
WMA Smoothing: The raw oscillator is smoothed using a Weighted Moving Average, which gives more weight to recent readings. This reduces noise and false signals while keeping the oscillator responsive to genuine shifts in momentum.
Trading Ideas and Insights
Mean reversion is a core principle in quantitative trading—prices tend to oscillate around a fair value and snap back after stretching too far. The Radiant Mean Reversion Channels quantifies this behavior by measuring exactly where price sits within its volatility envelope:
When the oscillator rises above 80, price is near the upper channel band—a statistically overbought condition where selling pressure often emerges
When the oscillator falls below 20, price is near the lower channel band—an oversold zone where buyers tend to step in
The extreme levels at 90 and 10 represent deeper extensions where reversion probability increases significantly
Signal generation occurs when the oscillator crosses back inside these zones, timing the actual beginning of the reversion move rather than trying to catch the exact top or bottom
This method excels in range-bound and mean-reverting markets. In trending markets, the signals can be used to identify pullback entry opportunities in the direction of the prevailing trend.
How Multiple Indicators Work Together
The Radiant Mean Reversion Channels integrates three distinct technical concepts into a cohesive analytical framework:
Hull Moving Average (Mean): HMA serves as the dynamic center of the channel. Its unique double-smoothed, lag-compensated formula (using nested WMAs with square root period adjustment) provides a mean line that reacts to trend changes significantly faster than traditional averages. This ensures the "fair value" baseline stays current with evolving market conditions.
Average True Range (Volatility): ATR measures real market volatility by accounting for gaps and true trading ranges—not just close-to-close changes. As the volatility component, ATR automatically adjusts the channel width. During high-volatility periods, the channel expands so that only truly extreme moves trigger signals. During low-volatility periods, it contracts to remain sensitive, preventing missed opportunities.
Weighted Moving Average (Smoothing): The WMA applied to the normalized oscillator gives heavier weight to the most recent data points. This produces a smoother output than SMA while introducing less lag than EMA for short smoothing periods, striking an optimal balance between signal clarity and timeliness.
These three components work together synergistically: HMA tracks where price should be, ATR defines how far is too far, and WMA ensures the final oscillator reading is clean and reliable.
Unique Aspects
HMA-ATR Combination: Most channel-based oscillators use Bollinger Bands (SMA + Standard Deviation). By pairing HMA with ATR, this indicator benefits from lower lag on the mean and a volatility measure that accounts for gaps and true range—producing faster and more robust channel boundaries
Dynamic Gradient Visualization: The oscillator line smoothly transitions color from bearish to bullish across the 0–100 range using a continuous gradient. This provides immediate visual feedback on market conditions without requiring traders to reference fixed levels
Dual-Zone Architecture: The indicator features both standard zones (20/80) and extreme zones (10/90) with distinct visual fills, helping traders differentiate between moderate and extreme conditions at a glance
Normalization Advantage: By converting the channel into a normalized oscillator, traders can compare readings across different assets and timeframes on a consistent scale, making it versatile for multi-market analysis
How to Use
Add the indicator to your chart—it displays as a sub-chart oscillator below the main price chart
Monitor the oscillator's position: readings above 80 indicate overbought conditions, below 20 indicate oversold conditions
Watch for buy signals (circles at the bottom) when the oscillator crosses back above 20 from oversold territory, indicating a bullish mean reversion is underway
Watch for sell signals (circles at the top) when the oscillator crosses back below 80 from overbought territory, signaling a bearish mean reversion
Use the gradient color intensity to quickly assess momentum—greener tones indicate bullish positioning while redder tones indicate bearish positioning
Combine with trend analysis: in uptrends, prioritize buy signals near the 20 level; in downtrends, prioritize sell signals near the 80 level
Enable alerts using the built-in alert conditions to receive notifications when reversion signals trigger
Customization
Channel Length (default: 21): Controls the lookback period for both the HMA mean and ATR volatility calculation. Shorter values increase sensitivity for scalping; longer values provide smoother readings for swing trading
Band Multiplier (default: 2.0): Adjusts the channel width by scaling the ATR value. Higher values create wider channels, producing fewer but higher-confidence signals. Lower values narrow the channel for more frequent signals
Oscillator Smoothing (default: 3): Controls the WMA smoothing period applied to the raw oscillator. Increase this value in choppy markets to filter out noise; decrease it in clean-trending markets for faster signals
Source (default: Close): Select the price source for all calculations. Alternatives like HL2 or HLC3 can provide smoother inputs
Bullish/Bearish/Neutral Colors: Fully customizable color scheme for the gradient, zones, and signal markers to match your preferred chart theme
Conclusion
The Radiant Mean Reversion Channels indicator offers traders a refined approach to mean reversion analysis by combining the speed of Hull Moving Average, the adaptive volatility measurement of ATR, and intelligent WMA smoothing into a single normalized oscillator. Its gradient visualization, clearly defined reversion zones, and automated signal generation make it a practical and visually intuitive tool for identifying high-probability reversal points. Whether used for timing entries in range-bound markets or catching pullbacks in trending conditions, this indicator brings clarity and precision to mean reversion trading strategies.
Indicator

Adaptive Nadaraya-Watson (Non Repainting) [Metrify]To understand this implementation of the Nadaraya-Watson estimator, we have to look at the core equation governing non-parametric regression. This script aren't trying to average prices; we are trying to find the probability density of where price should be relative to its recent history.
1. The Kernel Physics (Bandwidth Modulation)
In standard kernel regression, you have a bandwidth parameter (h). This controls the "smoothness" of the curve. If h is too low, the curve jitters with every tick of noise. If h is too high, it acts like a sluggish SMA.
A static h fails because market volatility is dynamic. When the market explodes (high volatility), a tight bandwidth generates false signals. When the market sleeps, a wide bandwidth misses the micro-trends.
It try solving this by making h a function of the Asset's volatility ratio:
heff=h×max(0.5,min(SMA(ATR20,100)ATR20,2.0))
If the current ATR(20) is double the long-term average (100), the bandwidth doubles. This forces the estimator to "zoom out" during chaos, effectively ignoring noise that would otherwise look like a reversal.
vol_ratio = use_vol ? vol_raw / (vol_base == 0 ? 1 : vol_base) : 1.0
vol_mod = math.max(0.5, math.min(vol_ratio, 2.0))
h_eff = h_val * vol_mod
2. The Gaussian Loop (Endpoint Estimation)
Standard Nadaraya-Watson scripts repaint because they calculate the regression over a full window centered on the bar. To make this usable for live trading, we must calculate the Endpoint Estimate.
We iterate backward from the current bar (i=0) to the lookback limit. For every historical price Xi, we calculate a weight wi based on how far away it is in time (distance).
The weight is derived from the Gaussian Kernel function:
wi=exp(−2heff2i2)
Price data closer to the current bar (i=0) gets a weight near 1.0. Data further away (i=50) decays exponentially toward 0.
for i = 0 to lookback by 1
float dist = float(i)
float w = math.exp(-math.pow(dist, 2) / (2 * math.pow(h_eff, 2)))
num := num + w * src
den := den + w
3. Statistical Deviation (MAE vs. StDev)
Most Bollinger Band-style indicators use Standard Deviation (Root Mean Square). The problem with StDev is that it squares the errors, which heavily penalizes large outliers. In crypto or volatile forex pairs, one wick can blow out the bands for 20 bars.
This one use Mean Absolute Error (MAE) instead.
MAE=N1∑∣Price−y^∣
MAE is linear. It measures the average distance price strays from the kernel estimate without squaring the penalty. This creates "tighter" bands that adhere closer to price action during normal trend behavior but don't expand ridiculously during a flash crash.
Pine Script
float error = math.abs(src - y_hat)
float mae = ta.sma(error, lookback)
We project two sets of bands:
Inner Band (Balanced): The "Noise Zone". Price inside here is considered random walk.
Outer Band (Precision): The "Exhaustion Zone". Price reaching here is statistically unlikely (2.8x MAE).
Input & Visual Summary
Kernel Physics:
h_val: The base smoothness. Lower (e.g., 6) = faster, noisier. Higher (e.g., 10) = slower, smoother.
use_vol: Keep this TRUE. It prevents the bands from being too tight during news events.
Envelope Statistics:
mult_in / mult_out: These are your risk settings. 1.5/2.8 is a standard deviation-like setting suited for MAE.
Indicator

TrendlinesTrendline S&R
This indicator is an automated technical analysis tool designed to identify the most relevant Support and Resistance (S&R) zones based on market pivots. Unlike standard pivot indicators that clutter the chart with historic lines, this script uses a "Closest-to-Price" algorithm to display only the single most relevant Support (Green) and Resistance (Red) zone currently interacting with price action.
It solves common frustrations with automated trendlines—specifically the issue of lines disappearing immediately upon a breakout—by introducing a Stability Buffer.
Key Features & Importance
The script scans hundreds of potential trendlines but only draws the one geographically closest to the current price.
Importance: This ensures you are looking at the zone that matters right now. It filters out distant or irrelevant historic lines, keeping your chart clean and focused on immediate price action.
🛡️ 5-Bar Stability Buffer (Anti-Flicker)
Feature: A hardcoded 5-bar "memory" prevents the zone from disappearing the moment price touches or breaks it.
Importance: This is critical for trading breakouts. It allows you to see the zone persist while price breaches it, helping you distinguish between a true breakout, a fakeout, or a retest, without the reference level vanishing from your screen.
🔍 Dynamic Pivot Filtering
Feature: Uses a restricted Pivot Strength (5-15) and Minimum Confirmation (2-8 touches).
Importance: By enforcing these limits, the indicator ignores insignificant market noise and micro-swings, ensuring that drawn zones represent structural market levels with genuine liquidity.
🔔 Integrated Alert System
Feature: Built-in alerts for "Zone Breakout" (candle close crossing the zone) and "Zone Touch" (wick entering the zone).
Importance: Allows you to set the indicator and walk away. You will be notified instantly when price interacts with these key levels, removing the need to stare at the chart.
📉 Adaptive Tolerance (Fixed ATR)
Feature: Uses a fixed ATR multiplier internally to determine the width of the zone.
Importance: This automatically adjusts the thickness of the support/resistance zone based on the asset's volatility.
Settings Guide
Bars to Apply: How far back in history the script looks for pivots (Default: 300).
Pivot Source: Choose between calculating from "High/Low" (wicks) or "Close" (bodies).
Pivot Strength: The number of bars required on each side to define a swing point (Range: 5–15).
Min Pivot Confirmation: The minimum number of touches required to validate a trendline (Range: 2–8).
How to Use
Add the indicator to your chart.
Adjust Pivot Strength if you want to catch smaller swings (lower number) or major structures (higher number).
Set an alert in PulseWire by clicking the "Clock" icon, selecting this indicator, and choosing "Zone Breakout" or "Zone Touch". Indicator

VDUB Bands - MTF WMA+ATR Volatility Lanes (6 Alerts)VDUB Bands draws volatility-scaled “trend lanes” around a Weighted Moving Average (WMA) using ATR (or a WMA of True Range). It can display up to four tiers (L1–L4), with higher tiers sourced from higher timeframes to show local structure → higher-timeframe structure on a single chart.
────────────────────────────────────────
1. What it does (plain English)
────────────────────────────────────────
Think of each tier as a lane system around the trend:
• Inner rails = “normal volatility lane” around the WMA
• Outer rails = “extension / extreme zone” for that tier
• Higher tiers (L3/L4) show bigger structure
• Lower tiers (L1/L2) show active lane behavior
Typical interpretation:
• Price inside inner rails → normal variance around the trend lane
• Between inner and outer → stretched, but not extreme
• Outside outer rails → extended vs that tier’s volatility band
────────────────────────────────────────
2) Why it’s useful (and why it’s not a mashup)
────────────────────────────────────────
This is not a bundle of unrelated indicators. Everything serves one cohesive purpose:
• Visualize trend + volatility lanes across multiple time horizons
• Keep rails consistent and readable (levels, fills, outlines)
• Optional multi-timeframe aggregation for structure context
• A compact 6-alert set to catch key transitions without alert spam
────────────────────────────────────────
3) What you see on the chart
────────────────────────────────────────
For each level (L1–L4), you can show:
• Upper/Lower Inner rails
• Upper/Lower Outer rails
• Optional center fill (between outer rails) = operating range
• Optional MA line per tier (off by default to reduce clutter)
• Base WMA line (L1 MA) if enabled
Suggested workflow:
• Start with L1 + L2 only
• Add L3/L4 once you like the structure view
• Use Dynamic Opacity if the chart feels crowded
────────────────────────────────────────
4) How it works (transparent formula)
────────────────────────────────────────
For each tier:
• MA = WMA(source, baseLen × levelMultiplier)
• ATR_like = Wilder ATR (default)
OR WMA(TrueRange, atrLen × levelMultiplier)
Inner rails:
• upperInner = MA + ATR_like × innerMult
• lowerInner = MA - ATR_like × innerMult
Outer rails:
• upperOuter = MA + ATR_like × outerMult
• lowerOuter = MA - ATR_like × outerMult
Tier behavior:
• L1 uses the chart timeframe
• L2–L4 can use user-selected HTFs (defaults: 4H / D / W)
or optional auto-selection
────────────────────────────────────────
5) Multi-timeframe behavior + interpolation
────────────────────────────────────────
• L2–L4 use request.security() with lookahead OFF (no future data).
• HTF bands naturally “step” when the HTF candle confirms.
• Interpolate HTF Bands (optional): visually blends from the prior confirmed HTF value to the current confirmed HTF value to reduce stepping. This is display smoothing, not prediction.
Repaint note:
• If Live Interp (Repaints) is enabled, the HTF lines can update intrabar and may repaint. Keep it OFF for strict non-repainting behavior.
────────────────────────────────────────
6) Auto-select L2/L3/L4 (optional)
────────────────────────────────────────
Two modes:
A) Ladder (deterministic)
• Picks “bigger” timeframes relative to the chart (simple and fast).
B) Score (data-driven)
• Tests candidate timeframes and scores them using:
• Coverage: % of closes inside the OUTER band over Score Lookback
• Width: average outer-band width as a fraction of MA
• Targets: Target Coverage + Target Width
• Weights: Coverage Weight + Width Weight
Performance notes:
• Score mode is heavier (many candidates).
• “Lock auto-select after first pick” is recommended to reduce load and avoid platform limits.
────────────────────────────────────────
7) Alerts (6 total, aggregated across L1–L4)
────────────────────────────────────────
Alerts trigger if ANY tier meets the condition:
• Cross ABOVE an OUTER band
• Cross BELOW an OUTER band
• Cross ABOVE an INNER band
• Cross BELOW an INNER band
• Price is OUTSIDE ABOVE an OUTER band
• Price is OUTSIDE BELOW an OUTER band
These are intentionally aggregated to keep the alert count small while catching meaningful transitions.
────────────────────────────────────────
8) Limitations & transparency
────────────────────────────────────────
• Indicator only (not a strategy). No performance claims.
• MTF values update when the higher timeframe candle confirms.
• Interpolation is visual smoothing; it does not forecast.
• Non-standard chart types (Heikin Ashi/Renko/etc) may behave differently from standard candles.
• If you enable repainting options, signals/levels may change intrabar.
────────────────────────────────────────
9) Credits/reuse disclosure
────────────────────────────────────────
• Conceptual inspiration: VDUB and the community “VDUB_BINARY_PRO_3_V2” idea of WMA ± TR/ATR × multipliers.
• This version is a reimplementation + extension, adding:
o Multi-tier architecture (L1–L4)
o Higher-timeframe sourcing + optional interpolation
o Optional scoring-based timeframe selection
o Dynamic opacity + streamlined plotting
o Aggregated 6-alert set
No code was copied directly from the older script; this is a rewritten implementation with additional features and different structure.
www.pulsewire.com
Indicator

Trend Step Channel [BigBeluga]🔵 OVERVIEW
Trend Step Channel identifies directional bias by forming a dynamic volatility-based step channel. It detects trend shifts when candle lows close above the upper band (bullish) or when candle highs drop below the lower band (bearish). A step-style midline tracks the trend evolution, while an integrated dashboard shows price positioning percentages across multiple timeframes.
🔵 CONCEPTS
ATR-Based Channel — The indicator constructs upper and lower channel boundaries using ATR distance around a single adaptive trend line, providing automatic scaling with volatility.
Trend Direction Logic —
• Low above upper band → uptrend confirmation.
• High below lower band → downtrend confirmation.
Step Trend Line — A reactive midline that locks onto price swings, stepping upward or downward as new trend confirmations occur.
Channel Width — Defines the total volatility range around the midline; a wider channel smooths market noise, while a narrower one reacts faster.
Price Position Ratio — Calculates the relative position of the close within the channel, from 0% (bottom) to 100% (top).
🔵 FEATURES
Volatility-Adaptive Channel — Expands and contracts dynamically to match market volatility, maintaining consistent distance scaling.
Configurable MA Source — Choose from SMA, EMA, SMMA, WMA, or VWMA as the base smoothing method.
Color-Coded Step Line —
• Green indicates an uptrend.
• Orange indicates a downtrend.
Channel Fill Visualization — Semi-transparent fills highlight active volatility zones for clear trend identification.
Price Position Label — Displays a “<” marker and percentage at the channel edge showing how far the current close is from the lower or upper band.
Multi-Timeframe Dashboard —
• Displays alignment across 1H–5H charts.
• Each cell shows an arrow (↑ / ↓) with price % positioning.
• Cell background color reflects bullish or bearish bias.
Real-Time Updating — The channel, midline, and dashboard refresh dynamically every bar for continuous feedback.
🔵 HOW TO USE
Trend Confirmation —
• Bullish trend forms when candle low closes above the upper band.
• Bearish trend forms when candle high closes below the lower band.
Trend Continuation — Maintain bias while the step line color remains consistent.
Volatility Breakouts — Sudden candle breaks outside the band suggest new directional strength.
Dashboard Alignment — Confirm trend consistency across multiple timeframes before entering trades.
Entry Planning — In uptrends, consider entries near the lower band; in downtrends, focus on upper-band rejections.
Price Position Insight — Use the % label to judge whether price is extended (near 100%) or compressed (near 0%) within the channel.
🔵 CONCLUSION
Trend Step Channel delivers a precise, volatility-driven view of trend structure using ATR-based boundaries and a step-line framework. The integrated dashboard, color-coded channel, and live positioning metrics give traders a complete picture of market direction, trend strength, and price location within evolving conditions.
Indicator

Indicator

TMA Dual BandsTMA Dual Bands - Adaptive Channel Indicator with Crossover Signals
TMA Dual Bands represents my interpretation of the classic Triangular Moving Average methodology, specifically designed to identify high-probability trading setups through the interaction of two adaptive channel systems. Unlike traditional channel indicators that rely on static calculations, this tool dynamically adjusts to market volatility while maintaining the smooth, reliable characteristics that make TMA-based systems so effective.
The indicator combines a MAIN channel (slow-moving, representing the broader trend) with a FAST channel (responsive, capturing momentum shifts). When these two systems interact in specific ways, they generate clear trading signals that can be used across multiple timeframes and market conditions.
The Mathematics Behind the Indicator
At its core, this indicator uses a sophisticated approach to calculating Triangular Moving Averages. Rather than using the traditional double Simple Moving Average method, I've implemented a double Weighted Moving Average calculation. This means the TMA is computed by taking a WMA of another WMA, which provides better responsiveness to recent price action while maintaining the smooth, triangular weighting distribution that gives this indicator its name.
The weighted approach significantly reduces lag compared to double-smoothed simple moving averages, allowing the indicator to catch trend changes earlier without sacrificing reliability. This is particularly important for the FAST channel, where responsiveness is crucial for signal generation.
Adaptive Volatility Bands
What makes this indicator truly unique is its adaptive band calculation system. Instead of using a single standard deviation like traditional Bollinger Bands, the indicator maintains separate variance calculations for upward and downward price movements. When price rises above the TMA centerline, the upper band variance increases while the lower band variance decreases proportionally. The opposite occurs when price falls below the centerline.
This asymmetric approach allows the bands to better reflect actual market conditions. During uptrends, the upper band expands to accommodate bullish volatility while the lower band contracts, creating a channel that naturally "leans" in the direction of the trend. The same principle applies in reverse during downtrends.
The full calculation uses a smoothed variance over approximately four times the base period, ensuring that band adjustments are gradual rather than erratic. The multiplier parameter allows you to adjust the sensitivity of the bands to volatility, with higher values creating wider channels that generate fewer but higher-quality signals.
Understanding the Signals
The signal generation mechanism is elegantly simple yet remarkably effective. A bullish signal occurs when the lower FAST band crosses above the lower MAIN band. This crossover indicates that short-term momentum has shifted decisively upward, strong enough to break through the slower-moving baseline channel. These signals typically appear after consolidation periods or healthy pullbacks in uptrends, making them excellent continuation entry points.
Conversely, bearish signals trigger when the upper FAST band crosses below the upper MAIN band. This pattern suggests that upward momentum has exhausted itself and that sellers are beginning to dominate. These signals often appear near resistance levels or at the culmination of extended rallies, providing excellent risk-reward opportunities for counter-trend or trend-reversal trades.
The visual representation enhances signal clarity. The MAIN TMA centerline changes color dynamically based on its slope, displaying green during upward movement and red during downward movement. This gives you instant visual confirmation of the prevailing trend direction. The signal markers themselves appear as diamond shapes positioned just outside the MAIN channel bands, with cyan diamonds indicating buy opportunities below the lower band and blue diamonds marking sell opportunities above the upper band. You could consider taking bull signals only on long trend, and vice versa for the sell signals.
Practical Application
The indicator works across multiple trading approaches and timeframes. For trend-following strategies, the most reliable signals occur when they align with the MAIN TMA color. Taking only green-colored uptrend signals and red-colored downtrend signals significantly improves win rates by ensuring you're always trading with the dominant momentum.
For breakout traders, the most powerful setups occur after periods of compression when the FAST bands squeeze inside the MAIN bands. This compression indicates low volatility and tight consolidation. When a signal finally triggers after such compression, it often leads to explosive moves as the market breaks out of its range.
Mean reversion traders can also benefit from this indicator by taking counter-trend signals when price reaches extreme band levels. However, this approach requires careful risk management and works best in clearly ranging market conditions.
Configuration and Customization
The default parameters have been carefully selected through extensive testing, with the MAIN period set to 133 bars and the FAST period at 19 bars. These values create an effective balance between trend identification and momentum responsiveness. However, the indicator is fully customizable to suit different trading styles and market conditions.
Traders focusing on longer-term positions might increase both periods proportionally, while scalpers and day traders might reduce them. The price type parameter allows you to choose how price is calculated for the TMA, with the weighted option providing the most responsive results. The band multiplier controls how wide the channels expand, with values between 2.5 and 4.0 being most common depending on your preferred signal frequency.
Technical Integrity
A critical feature of this indicator is its complete absence of repainting. All signals are generated and confirmed on closed bars, meaning that once a signal appears in historical data, it will remain exactly where it appeared regardless of subsequent price action. This makes the indicator equally reliable for backtesting historical data and trading live markets, a characteristic that many "magic indicator" systems cannot claim.
The calculation methodology ensures that what you see on your chart is exactly what you would have seen in real-time when that bar closed. There are no retrospective adjustments, no future-peeking calculations, and no algorithmic tricks that make historical performance look better than actual trading results would have been.
Conclusion
TMA Dual Bands offers a sophisticated yet user-friendly approach to technical analysis, combining time-tested TMA methodology with modern adaptive volatility concepts. The dual-channel system provides clear visual representation of market structure while the crossover signals offer objective entry points that remove much of the guesswork from trading decisions.
Whether you're a discretionary trader looking for high-probability setups or a systematic trader seeking reliable signals for automated strategies, this indicator provides the clarity and consistency needed for confident decision-making in dynamic market conditions.
---
**Developed by AlgoAlex81**
*Disclaimer: This indicator is provided for educational and informational purposes only. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.* Indicator
