SAR/ATR Trend-Extension OscillatorSAR/ATR Trend-Extension Oscillator
WHAT THIS INDICATOR IS
The SAR/ATR Trend-Extension Oscillator measures, in a single line, how far price has stretched away from its Parabolic SAR trailing reference, and it expresses that distance in units of volatility rather than raw price. The output is a signed oscillator: it rises into positive (green) territory as an uptrend extends and falls into negative (red) territory as a downtrend extends. The further the value sits from the zero line, the more stretched the current move is relative to its own recent volatility.
It is built as ONE coherent reading. Parabolic SAR and Average True Range (ATR) are not plotted side by side; they are fused mathematically into the oscillator value. Three further elements - a rolling statistical standardization, an ADX regime filter and a higher-timeframe trend filter - qualify and contextualize that value rather than adding separate indicators to the pane.
WHY THESE COMPONENTS ARE COMBINED (and how they work together)
Each ingredient is included to solve a specific weakness of the one before it.
1) Parabolic SAR provides trend direction and a trailing stop level, but on its own it only tells you which side of the trend you are on. The raw gap between price and SAR is measured in price points, which cannot be compared between a low-priced stock and a high-valued index, or between a quiet and a volatile session. So SAR alone cannot answer "how stretched is this move."
2) ATR answers that. By dividing the SAR-to-price gap by ATR, the distance becomes volatility-relative: "price is X average true ranges beyond its SAR." This SAR-divided-by-ATR step is the core of the indicator and produces information that neither Parabolic SAR nor ATR shows alone - a bounded, cross-market measure of trend extension that reads consistently across symbols and timeframes.
3) Rolling standardization (Z-Score, or robust median/MAD) fixes a subtler problem: even an ATR-normalized value has a distribution that drifts over time, so one fixed threshold means different things in different conditions. Standardizing the value over a lookback window rescales it so the +/-2 and +/-3 reference levels keep a stable statistical meaning. A "Raw" mode (the plain volatility-normalized value, no rescaling) is also available.
4) ADX regime filter. Parabolic SAR is prone to repeated false flips in sideways markets. ADX measures trend strength, so the indicator suppresses buy/sell flags whenever ADX is below a user threshold (a ranging market) and shades the background to show it. ADX is never drawn on the oscillator; it only gates the signals.
5) Higher-timeframe filter. The same SAR direction is read from a higher, confirmed timeframe and used to filter out crossings that fight the dominant trend. It is the identical calculation applied to a larger context, not a different indicator.
6) Divergence. Because the oscillator is a measure of trend extension, a price high paired with a lower oscillator high (or a price low paired with a higher oscillator low) indicates the trend is extending less forcefully. Regular and hidden divergences are detected from confirmed pivots and drawn with connecting lines and labels.
Putting it together, the plotted value is one number: sign(SAR trend) x (SAR-to-price gap / ATR), optionally standardized and clamped to limit single-bar spikes.
A buy or sell flag is raised only when that oscillator crosses the Signal level AND the ADX regime AND the higher-timeframe direction agree. Everything feeds one question: is price extending, in a genuine trend, in line with the larger trend?
WHAT MAKES IT ORIGINAL
This is not Parabolic SAR with an ATR drawn next to it. It transforms the SAR trailing stop into a continuous, signed, volatility-normalized and statistically standardized extension oscillator, then wraps that single value in regime and higher-timeframe gating plus divergence logic. The resulting "how stretched is this trend, on a comparable scale" reading does not exist in either source indicator.
HOW TO USE IT
- Choose a normalization mode: Raw, Z-Score, or Robust (median/MAD, least sensitive to spikes).
- Read color and distance: green = uptrend extension, red = downtrend extension; the further from zero, the more extended. The Signal, Warning and Extreme levels mark progressively stretched zones.
- Treat the triangle markers (a Signal-level cross that agrees with the ADX regime and the higher-timeframe bias) as points to investigate, not as automatic entries.
- Use divergences as early warning that extension is fading, and the on-pane dashboard for trend, regime, higher-timeframe bias and ATR-based stop/target context. The stop and target figures are reference levels only.
- All parameters - SAR step and maximum, ATR period and smoothing type, the standardization window, every threshold, the ADX threshold and the higher timeframe - are adjustable.
REPAINTING
Signals confirm on bar close by default and do not repaint. The higher-timeframe filter reads the previous closed higher-timeframe bar, so it does not look ahead. Divergence labels appear a few bars after the pivot they confirm; that lag is inherent to honest pivot detection and is expected behavior.
ATTRIBUTION
This implementation builds on the original concept of combining Parabolic SAR with ATR. The volatility normalization, statistical standardization, regime and higher-timeframe filtering, divergence detection and alerting described above are part of this independent implementation.
DISCLAIMER
This script is provided for research and educational purposes only. It is not financial advice and makes no guarantee of profitability or accuracy. Indicators describe past and present price behavior; they do not predict future prices, and no indicator works in all conditions. Trading involves substantial risk of loss. Always test on historical and out-of-sample data and make your own independent decisions. The author accepts no liability for any use of this script.
Indicator

SuperTrend Exhaustion Clues [Gabremoku]SuperTrend Exhaustion Clues is a context-aware SuperTrend indicator that separates structural direction from signal timing. Instead of treating every flip as a trade trigger, it classifies market behavior into four states: Transition, Confirmed, Compressed Break, and Exhausted. The goal is to show when trend structure is still healthy, when it is compressing, and when it is weakening enough to start looking for directional clues.
The core logic combines four elements: SuperTrend for directional structure, ADX and DI for trend strength, VWAP and price location for acceptance, and compression detection for squeeze/release context. These components are not merged just for convenience; they work together to decide whether price is merely changing direction structurally or whether it is also showing enough internal confirmation to justify attention.
BUY and SELL signals are not printed on every flip. They are designed to appear only during Exhausted phases, and only when directional clues align with the next likely move. This makes the indicator more selective than a standard SuperTrend and better suited to reading late-stage trend fatigue and early follow-through behavior.
A built-in Signal Profile lets you choose between Responsive, Balanced, and Selective behavior. Responsive lowers the confirmation threshold and is better for faster charts, Balanced is the default middle ground, and Selective raises the bar for cleaner but rarer signals. For this reason, the script is especially useful on lower timeframes, where exhaustion tends to be easier to read and directional clues appear earlier.
For higher timeframes, the script can keep showing state, regime, and clue scores while disabling signals from 4H and above. This helps avoid forcing execution signals where the exhaustion logic is less expressive, while still letting you use the indicator for context and structure.
The visual design is intentionally restrained: bullish states are blue, bearish states are yellow, compression is purple, transition is gray, and exhaustion is red. The SuperTrend line, gradient fill, dashboard, and color legend are meant to make the state of the market easy to read at a glance without cluttering the chart.
How to use it: watch the current state first, then use Exhausted phases as the main area of interest. When the script shows Exhausted and the directional clue score aligns with the next move, that is the moment it is designed to highlight. On 4H and above, the script is better used as a structural context tool rather than a signal engine.
@Gabremoku
PulseWire Indicator

Explainable Quant Scorecard [TradeDots]Explainable Quant Scorecard
Summary
This indicator computes a composite 0 to 100 evidence score by combining seven independent normalized sub-scores: Trend, Momentum, Volatility Regime, Participation, Relative Strength, Exhaustion Risk, and Multi-Timeframe Alignment. The composite is regime-dependent: when ADX indicates a trending regime, the trend and momentum weights are boosted; when ADX indicates a range regime, the exhaustion-risk weight is boosted instead. All factor weights are exposed as inputs so the model is fully auditable and tunable. A flagship dashboard panel displays every sub-score, the composite, the active regime, and a one-line interpretation.
The intent is to give traders a transparent multi-factor reading on every bar rather than another single-indicator signal. The composite is an evidence score, not a probability or prediction.
What is original here
Composite indicators that mash several oscillators together exist in the public library. This script's contributions are:
Honest factor separation. Each sub-score measures a different dimension (trend, momentum, volatility, participation, relative strength, exhaustion, multi-timeframe). Many composites silently combine correlated readings (such as two momentum oscillators) and present the result as if it were multi-factor confirmation. This script's seven factors are deliberately chosen to be diverse.
Regime-dependent weighting. The composite is not a fixed weighted average. When the market is trending, trend and momentum factors carry more weight; when ranging, exhaustion-risk carries more. This addresses the well-known problem that trend-following inputs and mean-reversion inputs should not be weighted equally in all conditions.
Sub-score divergence detection. The script tracks the maximum deviation of any sub-score from the composite. A large deviation triggers a "sub-score divergence" alert, warning the trader that the factors disagree even when the composite looks clean.
Full transparency. All weights, all thresholds, and the regime trigger levels are user inputs. No black-box.
How it works
Each bar, seven sub-scores are computed.
1. Trend score. EMA slope over a configurable lookback, normalized to 0 to 100 via min-max over a percentile window.
2. Momentum score. Rate-of-change of close over a configurable length, min-max normalized.
3. Volatility regime score. Bollinger Bandwidth percentile mapped to a discrete numeric: compressed BBW (below the lower threshold) maps to 30, expanding BBW (above the upper threshold) maps to 70, normal BBW maps to 50. A label ("Compressed", "Normal", "Expanding") is generated alongside the numeric.
4. Participation score. Volume percentile multiplied by a close-location alignment factor. For a bullish-direction reading, a close near the bar's high earns full alignment; for a bearish-direction reading, a close near the bar's low. The result is a 0 to 100 score that rewards volume and direction-consistent closes.
5. Relative strength score. The asset's return over a configurable horizon, minus the benchmark's return over the same horizon, divided by the asset's own volatility. The result is percentile-ranked over a longer lookback (default 252 bars) to produce a 0 to 100 reading. The benchmark symbol is a user input.
6. Exhaustion risk score. Distance from the trend EMA in ATR units, mapped inversely to 0 to 100 (high exhaustion gives a low exhaustion-score, which is consistent with the convention that high scores are "good" for the composite). The dashboard inverts the label so users see "Exhaustion: High" rather than "Exhaustion: 20".
7. Multi-timeframe alignment score. The trend direction (EMA-fast vs EMA-slow) is fetched at three user-configurable higher timeframes. Each HTF's agreement with the chart-timeframe direction contributes 100, 50, or 0 to the alignment score. The final factor is the average across three timeframes.
The composite is the weighted average. When regime_weighting is enabled and ADX indicates a trending regime (above the user threshold), the trend and momentum weights are multiplied by 1.5 and the exhaustion-risk weight by 0.5. When ADX indicates a range regime (below the lower threshold), the trend and momentum weights are multiplied by 0.5 and the exhaustion-risk weight by 1.5. In a "Mixed" regime, weights are unchanged.
A four-line interpretation is assigned by composite range:
75 or higher : "Constructive, multi-factor agreement"
60 to 74 : "Mixed but constructive"
40 to 59 : "Mixed — wait for alignment"
below 40 : "Bearish or unclear"
Repainting and data integrity
All sub-scores are computed on confirmed bar values. Alerts are gated by barstate.isconfirmed. The benchmark and the three multi-timeframe trend references are fetched with request.security() using prior-bar sources together with barmerge.lookahead_on — the standard non-repainting idiom that returns the last confirmed value from the requested context. These calls do not access future data.
How to read the chart
The composite is plotted as a line in the indicator pane, color-shifted on a red-to-green gradient based on the score.
Horizontal reference lines at 25, 50, and 75 demarcate bearish, midpoint, and bullish zones.
Sub-score plots are available but off by default to keep the pane clean. They can be enabled via input toggle.
The dashboard panel shows the direction in the header, then a row for each of the seven sub-scores (numeric or labelled), then a divider, then the composite score, then the interpretation line and the active regime.
Inputs
Inputs are grouped into seven sections.
Core Settings : trend EMA lengths and norm lookback, momentum ROC length, generic norm lookback, BB length and multiplier, ATR length, ADX length.
Relative Strength : benchmark symbol, RS return horizon, RS volatility length, RS percentile lookback.
Multi-Timeframe : three HTF inputs (default 60-minute, 240-minute, daily).
Factor Weights : a 0 to N weight for each of the seven sub-scores.
Regime Modulation : regime-weighting enable toggle, trend ADX threshold, range ADX threshold.
Visual Settings : dashboard toggle, panel position, panel size, panel background color, composite-plot toggle, sub-score-plot toggle.
Any Alert() function call conditions : per-alert toggles.
Alerts
Four alert conditions are provided:
Score ≥ 75 Bullish (composite at or above 75 with trend direction up)
Score ≥ 75 Bearish (composite at or above 75 with trend direction down)
Score Regime Flipped (composite crossed the 50 midpoint in either direction)
Sub-Score Divergence (any sub-score moves more than 30 points from the composite — a warning that factors disagree)
Each is declared via alertcondition() and fired programmatically through alert() when the corresponding input toggle is enabled, with alert.freq_once_per_bar_close. Alert messages include {{ticker}}, {{interval}}, and {{close}} placeholders.
How to use this script
Read this indicator as your master "is the evidence stack constructive" check, not as an entry trigger.
A composite of 75 or higher with trend direction up is the suite's highest-conviction long setup; the inverse for shorts.
Read the regime cell. In a trending regime, weight your decision toward the trend and momentum sub-scores. In a range regime, weight toward exhaustion risk and relative strength.
If the dashboard shows a high composite but the "Sub-Score Divergence" alert is firing, the agreement is shallow — investigate which factor disagrees before sizing up.
Pair with a setup-specific indicator (sweep, breakout, zone) for entry timing. This script does not give entries.
Limitations and honest caveats
The composite is a weighted heuristic combination of normalized factors, not a calibrated probability. A composite of 80 does not imply an 80% probability of any outcome.
Regime detection uses ADX, which is lagging. The regime label will not reflect a fresh regime change on the first bar.
The Relative Strength benchmark is a single symbol chosen by the user. Choosing an inappropriate benchmark (for example, comparing a small-cap stock to a crypto-currency benchmark) will produce noisy RS readings.
The three MTF references add request.security() calls. On instruments without history at those timeframes, the MTF score may be incomplete on early bars.
Composite values pin to one tail when factor weights are mis-configured. The default weights are reasonable starting values; users are expected to tune for their instrument and timeframe.
The script makes no claim about which direction price will move; it scores the evidence stack currently visible.
Disclaimer
This script is published for informational and educational purposes. It is not investment advice and is not a recommendation to buy or sell any instrument. Composite evidence scores are descriptive, not predictive. Users are solely responsible for their own trading decisions and risk management.
Indicator

Adaptive Trend Ribbon [Alpha Extract]A sophisticated adaptive trend-following framework that combines volatility-responsive moving averages, ribbon stack analysis, ATR-based trend rails, ADX confirmation, pullback continuation signals, and a real-time confidence dashboard into one complete market regime tool. The indicator is designed to identify bullish and bearish trend environments, filter weak conditions, highlight confirmed trend flips, and provide structured stop guidance through an adaptive ATR rail. By adjusting ribbon sensitivity based on current volatility, the system aims to stay responsive during expansion phases while remaining smoother during quieter market conditions.
🔶 Adaptive Volatility-Based Ribbon Engine
Implements a multi-layer adaptive EMA ribbon that automatically modifies its effective moving-average lengths based on current volatility conditions. When volatility expands, the ribbon becomes more responsive by shortening its dynamic length. When volatility contracts, the ribbon lengthens to reduce noise and avoid unnecessary whipsaw.
volRatioRaw = atrAverage > 0 ? atr / atrAverage : 1.0
volRatio = clamp(volRatioRaw, 0.35, 2.75)
emaFast = adaptiveEma(src, baseFast, volRatio, adaptStrength)
This creates a trend ribbon that adapts to the market environment instead of relying on fixed moving-average behaviour across all conditions.
🔶 Six-Layer Trend Structure
Uses six adaptive moving averages ranging from fast to anchor length to define market structure across multiple trend speeds. The ribbon includes fast, mid, slow, and anchor components, allowing traders to see whether short-term momentum is aligned with broader trend direction.
A clean bullish trend forms when the ribbon is stacked from fastest above slowest, while a clean bearish trend forms when the ribbon is stacked from fastest below slowest. Mixed ribbon conditions indicate compression, transition, or weaker directional conviction.
🔶 Bullish & Bearish Stack Detection
Identifies strong directional alignment through full ribbon stack confirmation. Bullish stack conditions require every faster ribbon layer to sit above the slower layer beneath it, while bearish stack conditions require the opposite alignment.
This gives traders a simple way to distinguish clean trend environments from sideways or indecisive price action.
🔶 ATR Trend Rail System
Features a built-in ATR-based trend stop that acts as the main regime rail. The rail flips direction when price breaks through the active stop level, creating a clear bullish or bearish trend state.
longCandidateStop = railBasis - atr * atrMult
shortCandidateStop = railBasis + atr * atrMult
railDirection := close < trendStop ? -1 : 1
The stop can be based on the ribbon midline, close, or HL2, giving traders flexibility in how the trend rail is anchored.
🔶 Regime Flip Signal Logic
Generates long and short signals when the trend rail flips direction and the confirmation conditions are satisfied. A bullish signal occurs when the regime flips into bullish structure, while a bearish signal occurs when the regime flips into bearish structure.
Signals are filtered through ADX and directional movement confirmation when enabled, helping reduce low-quality flips during weak or choppy market conditions.
🔶 ADX & Directional Movement Confirmation
Integrates ADX confirmation to measure whether the market has enough directional strength to justify a trend signal. The system also checks directional movement by comparing +DI and -DI, allowing bullish regimes to favour positive directional pressure and bearish regimes to favour negative directional pressure.
This confirmation layer helps separate true trend expansion from random price movement.
🔶 Pullback Continuation Alerts
Includes optional pullback continuation logic designed to identify trend resumption after price interacts with the adaptive ribbon. When price pulls into the ribbon area and then closes back in the trend direction, the system can trigger continuation alerts.
This is useful for traders who prefer entering after a trend has already been established rather than only trading the initial regime flip.
🔶 Confidence Scoring Framework
Calculates a real-time trend confidence score by combining multiple components of trend quality, including ribbon stack alignment, price position relative to the ATR rail, ADX strength, directional movement, and spread between fast and anchor ribbon layers.
The score provides a quick snapshot of how strong and confirmed the current trend environment is.
🔶 Dynamic Trend Coloring System
Uses adaptive color logic to visually represent bullish, bearish, and neutral/mixed conditions. Candles, ribbon lines, fills, the ATR stop rail, and the status panel all update according to the current regime.
When ADX confirmation is enabled but the filter has not passed, the system fades the trend color to show that the regime exists but confirmation is weaker.
🔶 Real-Time Status Panel
Features a compact dashboard that displays the most important trend information directly on the chart. The panel includes:
• Current regime
• Confidence percentage
• Confirmation status
• ADX value
• Volatility ratio
• Ribbon stack condition
• Active stop level
This allows traders to quickly assess whether the market is bullish, bearish, filtered, mixed, or entering a stronger trend phase.
🔶 Flexible Risk Rail Basis
Allows the ATR stop rail to be calculated from different price references depending on the trader’s preferred style. Ribbon Mid creates a smoother institutional-style trend rail, Close makes the rail more reactive, and HL2 provides a balanced price reference.
This flexibility makes the indicator suitable for both faster trend-following styles and slower swing-trend systems.
🔶 Clean Overlay Visual Design
Displays the full adaptive ribbon directly on price with optional candle coloring, background regime shading, trend stop plotting, and signal markers. The ribbon uses layered transparency to maintain chart readability while still showing the strength and direction of the trend structure.
The result is a clean visual layout that can be used as a primary trend framework or as a confirmation layer alongside other systems.
🔶 Comprehensive Alert System
Includes alerts for the most important trend events:
• Adaptive Ribbon Long
• Adaptive Ribbon Short
• Bullish Pullback Continuation
• Bearish Pullback Continuation
• Long Trend Exit
• Short Trend Exit
These alerts allow traders to monitor trend flips, pullback continuations, and invalidation events without needing to constantly watch the chart.
🔶 Why Choose Adaptive Trend Ribbon ?
This indicator provides a complete adaptive trend-following environment by combining responsive moving-average structure, volatility-adjusted behaviour, ATR-based trend rails, ADX confirmation, continuation logic, and live confidence scoring. Instead of relying on a single moving average or fixed trend signal, it evaluates multiple layers of trend quality before confirming direction.
The adaptive ribbon helps traders understand whether the market is strongly aligned, weakening, transitioning, or mixed. The ATR rail provides a clear trend invalidation reference, while the confidence panel gives immediate context on whether the trend has enough structure and strength behind it. Perfect for trend-following traders, swing traders, momentum traders, and systematic traders who want a cleaner way to identify confirmed bullish and bearish regimes with built-in risk guidance. Indicator

Indicator

Elaris Fast Scalp ProElaris Fast Scalp Pro is a professional lower-timeframe scalping indicator designed for fast-moving markets such as crypto, forex, and indices. The indicator combines trend alignment, momentum confirmation, volatility filtering, VWAP positioning, volume strength, and higher-timeframe confirmation into a clean non-repainting scalping system.
Built specifically for aggressive intraday traders, the script focuses on identifying high-quality momentum continuation opportunities while filtering out weak or choppy conditions that commonly generate false signals on lower timeframes.
The signal engine uses:
Fast EMA reclaim logic
Trend structure filtering
RSI momentum confirmation
ADX trend-strength filtering
VWAP positioning
Volume expansion validation
ATR-based volatility quality checks
Optional higher-timeframe directional confirmation
Cooldown logic to reduce over-signaling
The indicator also includes:
Professional dashboard panel
Real-time market condition overview
Risk/reward visualization
Dynamic stop loss and take profit levels
Configurable session filtering
Long and short signal alerts
Dark and light mode compatibility
Elaris Fast Scalp Pro is optimized for:
1m / 3m / 5m / 15m charts
Crypto scalping
Fast intraday momentum trading
Session breakout continuation moves
Trend-following scalp setups
Unlike many repainting scalping systems, all signals are confirmed only after candle close, making the indicator suitable for live trading and alert automation.
Features
Non-repainting confirmed signals
Fast scalp continuation engine
Smart trend filtering
Built-in volatility protection
Volume confirmation system
Optional HTF bias filter
VWAP institutional bias filter
Risk/reward plotting
Signal quality scoring
Professional dashboard UI
Fully customizable inputs
Best Usage
The indicator performs best during active market sessions with strong momentum and healthy volatility conditions. Lower-timeframe traders may combine it with market structure, liquidity zones, or session trading concepts for additional confirmation. Indicator

Ichimoku Regime ClassifierIchimoku Regime Classifier is an open-source market regime filter that labels conditions as TREND UP, TREND DOWN, or VOLATILE.
This script is designed to solve a practical problem: many entries fail because traders apply the same setup in all environments.
Its purpose is to classify the current market context first, so strategy rules can be adapted to regime.
Methodology
The classifier uses Daily Ichimoku structure plus ADX trend-strength confirmation:
Bullish regime:
Price above the Kumo
ADX above threshold
Tenkan above Kijun
Chikou-style confirmation (current price vs past price)
Bearish regime:
Price below the Kumo
ADX above threshold
Tenkan below Kijun
Opposite Chikou-style confirmation
Volatile regime:
If neither bullish nor bearish set is fully confirmed
Why this combination
Ichimoku provides structural trend context, while ADX filters weak directional phases.
The combination aims to reduce false directional bias during choppy periods and keep regime logic explicit.
How to use
TREND UP: prioritize long-biased setups
TREND DOWN: prioritize short-biased setups
VOLATILE: reduce risk, be selective, or wait for structure
This indicator is intentionally minimal on-chart (single regime label) to keep output readable and unambiguous.
Limitations
Regime transitions can lag, especially after sharp reversals.
This tool is a context filter, not a standalone entry/exit system.
Open-source notice
Published as open source for transparency, review, and customization.
Educational content only. Not financial advice. Indicator

MTF Market State DashboardA multi-timeframe market context dashboard designed to classify market conditions using three independent analytical layers: Trend direction, Trend strength and Participation / Volume flow
Instead of relying on a single indicator or isolated signal, this script combines multiple forms of market information into a structured decision framework intended to help traders evaluate the quality and maturity of a market condition.
The goal of the dashboard is not to predict tops or bottoms, but to help identify:
• aligned market conditions
• conflicting conditions
• strengthening trends
• weakening trends
• and low-conviction environments
Core Idea Behind The Script
Many indicators work well in certain environments and poorly in others.
For example:
• Trend indicators may continue showing bullish conditions during weakening momentum.
• Momentum indicators may react aggressively inside consolidations.
• Volume indicators may show temporary spikes without broader trend confirmation.
This script was built to reduce that fragmentation by separating market behavior into three independent layers:
1. Direction
Defines where the market is currently biased.
2. Strength
Measures whether the move has enough momentum to sustain itself.
3. Participation
Evaluates whether price movement is supported by broader volume-flow behavior.
The dashboard then combines these layers into a unified market-state classification system.
What The Dashboard Tracks
1. Trend Structure Layer
The script evaluates directional bias using:
EMA 200
Used as the higher-level directional filter.
Typical interpretation:
• Price above EMA 200 → bullish macro bias
• Price below EMA 200 → bearish macro bias
EMA 50
Tracks intermediate trend behavior and shorter-term structural changes.
Supertrend
Used as a dynamic trend confirmation layer.
Unlike a static moving average, the Supertrend adapts to volatility and helps identify directional transitions more quickly.
Each trend component is displayed as:
• BULL
• BEAR
along with an “age” value showing how many bars have passed since the last state change.
This allows traders to distinguish between:
• fresh transitions
• mature trends
• and potentially exhausted conditions
2. Trend Strength Layer
ADX (via DMI)
ADX is used to measure trend strength, not trend direction.
Typical interpretation:
• Low ADX → weak or ranging environment
• Rising / high ADX → stronger directional environment
This distinction matters because bullish conditions inside weak trend environments often behave differently from bullish conditions inside expanding trends.
The script uses ADX as a confirmation filter inside the Market State logic.
3. Participation & Volume-Flow Layer
This layer attempts to measure whether directional movement is being supported by participation and flow behavior.
CMF (Chaikin Money Flow)
CMF estimates buying versus selling pressure by evaluating closing location relative to range and volume.
General interpretation:
• Positive CMF → accumulation pressure
• Negative CMF → distribution pressure
CDV (Cumulative Delta Volume Proxy)
Pine Script does not provide true bid/ask delta data.
This script therefore uses a candle-based directional volume proxy to estimate cumulative directional participation.
The CDV layer classifies conditions as:
• Rising
• Falling
• Neutral
Adaptive filtering is included to reduce minor fluctuations and noise.
OBV Breakout Detection
The script also evaluates whether On-Balance Volume is breaking above or below recent ranges.
This is used to identify:
• expanding participation
• weakening participation
• or neutral flow conditions
The OBV component is not intended as a standalone signal generator, but rather as an additional confirmation layer inside the broader market-state framework.
Market State Classification
One of the main purposes of the script is to convert multiple independent readings into a simplified market-state output.
The dashboard derives a “Market State” by combining:
• Trend direction
• Trend strength
• Participation / flow confirmation
Possible classifications include:
• Strong Bull Context
• Bull Context
• Mixed / Wait
• Bear Context
• Strong Bear Context
The classification is not predictive and should not be interpreted as financial advice.
Instead, it is intended to provide a structured summary of current market conditions.
How Market State Is Derived
The logic combines three internal scoring groups:
Trend Score
Built from:
• EMA 200 state
• EMA 50 state
• Supertrend state
Participation Score
Built from:
• CMF bias
• CDV direction
• OBV breakout state
Strength Filter
Built from:
• ADX threshold validation
Example:
• bullish trend structure
• bullish participation
• and strong ADX
→ may classify as “Strong Bull Context”
Whereas:
• bullish trend structure
• weak participation
• and weak ADX
→ may classify as “Mixed / Wait”
This allows the dashboard to identify agreement and disagreement between independent analytical layers.
Multi-Timeframe Logic
The script supports:
• single timeframe mode
• dual timeframe mode
Typical usage example:
• Lower timeframe → execution context
• Higher timeframe → broader directional context
This allows traders to compare:
• local conditions
• against higher timeframe structure
without switching charts repeatedly.
Age Tracking
Each directional state includes an “age” measurement representing the number of bars since the last directional transition.
This is included because newer transitions and older trends may behave differently.
Example:
• Low age → newer condition
• High age → more mature condition
The script does not assume older trends will reverse, but age can provide additional context about trend maturity.
Practical Interpretation
Example: Higher-Conviction Bullish Environment
Possible characteristics:
• EMA structure bullish
• Supertrend bullish
• ADX elevated
• CMF positive
• CDV rising
• OBV breakout bullish
This may indicate alignment between:
• trend
• momentum
• and participation
Example: Mixed Environment
Possible characteristics:
• bullish EMA structure
• falling CDV
• weak ADX
• neutral OBV behavior
This may indicate:
• weakening momentum
• transition behavior
• or lower-conviction conditions
Intended Usage
The script is designed as:
• a context tool
• a filtering framework
• and a market-state dashboard
It is not intended to replace:
• risk management
• execution models
• or broader trading plans
The dashboard is generally most useful when combined with:
• breakout systems
• pullback systems
• trend-following models
• or discretionary execution methods
Customization Options
The script includes:
• 1TF / 2TF modes
• configurable EMA lengths
• Supertrend settings
• ADX threshold controls
• CDV sensitivity adjustment
• OBV breakout lookback settings
• Table themes
• Text sizing
• Dashboard positioning
Notes
• CDV uses a candle-based proxy because true bid/ask delta data is unavailable in Pine Script.
• The dashboard focuses on contextual interpretation rather than direct entry signals.
• The Market State classification is derived from internal scoring logic and should be interpreted as a contextual summary, not a prediction engine.
Summary
This dashboard was designed to organize multiple forms of market information into a single structured framework.
Rather than treating trend, momentum, and participation separately, the script attempts to evaluate how they interact with each other across one or more timeframes.
The result is a compact market-context tool intended to help traders:
• identify alignment
• recognize conflict
• filter weaker conditions
• and evaluate overall market structure more efficiently.
Indicator

Neural Confluence Engine [Quantum Algo]Neural Confluence Engine
Neural Confluence Engine is a Pine Script v6 indicator that fuses eight independent technical factors — momentum, trend, VWAP position, RSI regime, MACD acceleration, ADX trend power, volume confirmation, and squeeze state — into a single weighted directional strength score on a 0–100 scale. Signals are gated by a user-configurable score threshold and an optional higher-timeframe trend filter before firing. The script is open-source. All signals are confirmed on bar close and do not repaint.
═══════════════════════════════════════════════════════════════════════
HOW IT WORKS
═══════════════════════════════════════════════════════════════════════
1. The eight factor model. Each bar, the engine evaluates eight independent factors and assigns each a normalized score between 0 and 1 based on its current state and intensity. Factors are scored separately for bullish and bearish directions.
2. WaveTrend Momentum (weight 1.5). Computes a custom oscillator from HLC3 smoothed by EMA of channel length (default 9) and signal length (default 12). Oversold reversals below -40 score 1.0; readings above zero score 0.8; positive crossovers below zero score 0.5.
3. EMA Alignment (weight 1.3). Triple EMA stack: fast (default 9) > slow (default 21) > baseline (default 50) scores 1.0 for full alignment. Fast > slow alone scores 0.6. Otherwise 0.
4. VWAP Position (weight 1.0). Price above VWAP by more than 1 ATR scores 1.0. Price above VWAP within 1 ATR scores 0.7. Below VWAP scores 0.
5. RSI Regime (weight 0.8). RSI above 60 scores 1.0. RSI between 50 and 60 scores 0.6. Below 50 scores 0.
6. MACD Histogram (weight 0.8). Rising histogram above zero scores 1.0. Positive but flat histogram scores 0.6. Negative histogram scores 0.
7. ADX Trend Power (weight 0.7). ADX above 40 scores 1.0. ADX between 25 and 40 scores 0.7. ADX below 25 scores 0.3 (penalty for chop, not zero).
8. Volume Confirmation (weight 1.0). Volume above 20-bar SMA combined with a directional candle close scores 1.0. Volume between 80% and 100% of average scores 0.4. Below scores 0.
9. Squeeze State (weight 1.2). Detects Bollinger Band compression inside Keltner Channels using length-20 standard deviation and ATR-10 envelopes. A "firing" bar (compression releases) with positive momentum scores 1.0. Compression without release scores 0.3.
10. Weighted aggregation and smoothing. Each directional factor is multiplied by its weight, summed, divided by total weight, and scaled to 0–100. The raw score is then smoothed with a 3-bar EMA to reduce single-bar noise. Bull score and Bear score are tracked separately. The net Neural Confluence Engine score is the difference between them.
═══════════════════════════════════════════════════════════════════════
SIGNAL TIERS
═══════════════════════════════════════════════════════════════════════
The script produces two signal tiers from the same scoring engine, allowing traders to choose between sensitivity and selectivity.
Standard signals (BUY / SELL). Fire on EMA ribbon color change — when the fast EMA crosses the slow EMA. These follow every directional shift regardless of score. Useful for systematic trend-following.
High-confluence signals (BUY+ / SELL+). Fire only when three conditions align simultaneously: an EMA cross occurs, the directional score exceeds the user-configurable threshold (default 60), and the higher-timeframe trend agrees with the signal direction. Used to filter for the most aligned setups.
Both signal tiers open trade management — entry, stop loss, three take-profit targets, and optional trailing stop after TP1.
═══════════════════════════════════════════════════════════════════════
TRADE MANAGEMENT
═══════════════════════════════════════════════════════════════════════
When a signal fires, the engine computes ATR-scaled risk levels relative to entry:
Stop loss: entry minus 1.5 × ATR (configurable multiplier 0.5–10).
TP1: 1R target (configurable risk-reward ratio).
TP2: 2R target.
TP3: 3R target.
When TP1 is reached, the stop converts to a trailing structure: SL moves to breakeven, then advances to TP1 level when TP2 is hit, then to TP2 level when TP3 is hit. The trailing stop also follows price at 0.5 × ATR distance after TP1. This can be disabled via the "Activate Trailing SL after TP1" toggle.
═══════════════════════════════════════════════════════════════════════
WHAT'S ACTUALLY DIFFERENT
═══════════════════════════════════════════════════════════════════════
◆ Eight-factor weighted composite, not a single trigger. Standard indicators fire on one condition — an EMA cross, an RSI level, a volume spike. The Neural Confluence Engine requires multiple independent factors to agree, weights them by historical reliability, and gates signals through a configurable score threshold. The trader can dial sensitivity from 20 (sensitive) to 95 (selective) without re-tuning eight separate sub-indicators.
◆ Two-tier signal architecture. Most indicators produce one stream of signals. This produces two from the same engine: standard ribbon flips for sensitive trend-following, and high-confluence variants gated by score + HTF agreement. Traders can use either tier independently or both in confluence.
◆ HTF agreement is built into the signal gate, not a separate filter. The higher-timeframe trend check is computed natively via request.security, auto-detected based on the chart timeframe (15m → 1H, 1H → 4H, 4H → D, D → W) or set manually. BUY+/SELL+ signals are blocked if HTF disagrees.
◆ Per-factor visibility in the dashboard. Each of the eight factors is individually viewable in real time — traders can see exactly which factors are contributing to the current score, rather than receiving a black-box signal. This is rare in confluence-style indicators which typically hide the sub-components.
◆ Trailing-stop ratcheting tied to TP hits. The trailing stop doesn't just follow ATR — it advances in tiers tied to take-profit milestones. After TP1, stop moves to breakeven. After TP2, to TP1. After TP3, to TP2. This protects profits at structurally meaningful levels rather than purely volatility-derived ones.
═══════════════════════════════════════════════════════════════════════
RECOMMENDED SETTINGS
═══════════════════════════════════════════════════════════════════════
Forex majors (EUR/USD, GBP/USD, USD/JPY) — 1H to 4H: Min Confluence Score 65, HTF Trend Filter on, SL Multiplier 1.5, TP R:R 1/2/3, HTF auto. Optimized for session-driven moves where structural levels respect institutional flow.
Crypto perpetuals (BTC, ETH, SOL) — 15M to 1H: Min Confluence Score 60, HTF Trend Filter on, SL Multiplier 2.0, TP R:R 1/2/3, HTF auto. Tuned for 24/7 markets with higher noise floors; the slightly wider stop accommodates increased wick volatility.
Gold (XAUUSD) — 1H to 4H: Min Confluence Score 70, HTF Trend Filter on, SL Multiplier 1.8, TP R:R 1/2/3.5, HTF set to Daily. Designed for the elevated wick activity around US session open and the tendency for sharp moves to develop after squeeze release.
Indices (SPX, NDX, DAX) — 5M to 1H: Min Confluence Score 55, HTF Trend Filter on, SL Multiplier 1.2, TP R:R 1/2/3, HTF auto. Tuned for cash-session structure and typical post-open momentum continuation.
Swing trading (any market) — 4H to Daily: Min Confluence Score 75, HTF Trend Filter on, SL Multiplier 2.5, TP R:R 1.5/3/5, HTF set to Weekly. Reduces noise to the highest-conviction setups only; wider targets to match the higher timeframe.
═══════════════════════════════════════════════════════════════════════
ALERTS & OUTPUTS
═══════════════════════════════════════════════════════════════════════
Alerts available:
BUY signal — ribbon flipped bullish (standard sensitivity)
SELL signal — ribbon flipped bearish (standard sensitivity)
BUY+ signal — high-confluence bullish setup
SELL+ signal — high-confluence bearish setup
Squeeze breakout — volatility compression released
TP1 reached — trailing stop activated
TP2 reached
TP3 reached
On-chart visuals:
EMA ribbon (5, 9, 13, 21, 34, 50) with fill bands colored by trend direction
VWAP plot with color reflecting price position
BUY / SELL / BUY+ / SELL+ signal labels at signal bars
Confluence score percentage label on BUY+ / SELL+ bars
Optional Entry / SL / TP1 / TP2 / TP3 horizontal lines for the most recent trade
TP-hit confirmation labels with checkmarks
Squeeze background highlight when compression is active
Diamond markers (⚡) on squeeze breakout bars
Optional momentum wave background colored by net score intensity
Optional candle coloring on signal bars
Multi-row dashboard with bull/bear scores, bias classification, HTF direction, factor states, trade status, and threshold setting
═══════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════
Pine Script version: v6.
Repainting: All signals (BUY, SELL, BUY+, SELL+, squeeze breakouts, TP/SL hits) are evaluated on confirmed bar close and do not repaint. Higher-timeframe values use lookahead=barmerge.lookahead_off so HTF readings reflect only confirmed information available at signal time.
Compatibility: Works on all symbols and timeframes available in PulseWire. Tested on forex majors, crypto perpetuals, gold, and major indices. Functions on stocks but the volume confirmation factor may require threshold adjustment for low-volume tickers. Functions on continuous contracts and CFDs.
Open-source: This script is open-source. Clone, study, and modify it freely under the terms of PulseWire's House Rules. Republishing the source under a different name is not permitted.
Credits: This indicator's logic is independently developed. The component oscillators (WaveTrend, RSI, MACD, ADX, Bollinger Bands, Keltner Channels, VWAP) are standard public-domain technical analysis tools. The weighted-score aggregation methodology, two-tier signal architecture, ATR-tiered trailing stop progression, and per-factor dashboard are original implementations.
Disclaimer: This indicator is provided for educational and analytical purposes. Trading involves substantial risk of loss. Past performance does not guarantee future results. Position sizing and risk management are the trader's sole responsibility. Nothing in this script or description constitutes financial advice. Indicator

Indicator

ADX Filtered Average True RangeOverview
This indicator combines ATR-based volatility measurement with ADX directional filtering to highlight only those moments when volatility expansion is aligned with confirmed trend momentum. Raw ATR measures how much price moves per bar, but a rising ATR alone says nothing about direction or conviction. By layering an ADX filter on top, the indicator separates meaningful expansion — where volatility is growing in the direction of a strengthening trend — from choppy noise where volatility rises without directional follow-through.
The result is a two-signal system displayed in a separate pane: a smoothed ATR line that changes colour only when the trend is directionally confirmed, and a background highlight that activates only when all three conditions align — expanding ATR, a rising directional ADX signal, and a bar that closes in the direction of the trend. This gives traders a compact, at-a-glance read on whether current volatility is actionable or should be ignored.
The indicator is designed for swing and intraday traders on instruments with clear trending behaviour, such as NSE:NIFTY , NSE:BANKNIFTY , MCX:CRUDEOIL1! , and major crypto pairs.
How It Works
ATR is calculated by applying the selected smoothing method to the true range series. A second SWMA pass (smoothed ATR, atrs ) acts as a baseline — when raw ATR rises above atrs and atrs itself is also rising, the indicator treats volatility as actively expanding:
atr = ma_function(ta.tr(true), atrlen)
atrs = ta.swma(atr)
ATRExpanding = (atrs > atrs and atr > atrs)
The ADX filter uses Pine's native ta.dmi() to compute DI+, DI−, and raw ADX. A SWMA of ADX ( sadx ) acts as the directional baseline. Bullish ADX is confirmed when sadx is rising, ADX is above sadx , DI+ shows momentum or dominance over DI−, and DI+ is above 15. Bearish ADX mirrors this using DI−:
sadx = ta.swma(adx)
ADXUp = sadx > sadx and adx > sadx and (diplus > diplus or diplus > diminus) and diplus > 15
ADXDn = sadx > sadx and adx > sadx and (diminus > diminus or diminus > diplus) and diminus > 15
Background highlighting only fires when all three conditions are simultaneously true — expanding volatility, directional ADX confirmation, and a bar closing in the expected direction.
Colour key:
Dark red line — raw ATR; always visible as the volatility baseline
Thick white line — smoothed ATR (SWMA of ATR); the trend-adjusted volatility baseline
Green background — ATR expanding + bullish ADX confirmed + bullish bar (close > open)
Red background — ATR expanding + bearish ADX confirmed + bearish bar (close < open)
No background — ATR contracting, or ADX directional filter not met, or bar indecisive
Inputs
ATR – Length — Number of bars used to smooth the true range for ATR calculation. Constrained to the Fibonacci sequence for harmonic alignment. Low (e.g. 5): fast, reactive ATR that tracks short-term volatility spikes. High (e.g. 55): slow, structural ATR that filters out minor fluctuations. Default: 13.
Smoothing — MA method applied to the true range when computing ATR. RMA (Wilder's moving average) is the industry standard and matches most platform ATR implementations. SWMA is the most responsive with zero lag; VWMA incorporates volume weight. Default: RMA.
ADX – Length — Lookback period for the DMI/ADX calculation via ta.dmi() . Low (e.g. 8): ADX responds faster, triggers more frequently but with more false positives. High (e.g. 55): ADX requires sustained directional pressure before confirming. Default: 34.
ADX – Smoothing — Smoothing period applied inside ta.dmi() to derive the signal line (lensig). Low (e.g. 1): raw, unsmoothed ADX. High (e.g. 13): heavily smoothed ADX that lags but reduces whipsaws. Default: 3.
Usage Notes
A green or red background is a confluence signal, not a standalone entry. Use it to confirm setups identified on your primary chart — price action, structure, or another trend tool.
When the background is absent despite a strong price move, treat this as a caution flag. Either ATR is contracting (move may be running out of energy) or ADX disagrees with direction (possible counter-trend move).
The DI threshold of 15 acts as a minimum directional noise filter. In low-volatility instruments or compressed consolidation phases, ADX rarely satisfies this condition — this is intentional behaviour, not a bug.
The Fibonacci-constrained length inputs encourage harmonic consistency across ATR and ADX settings. Consider pairing lengths that share a ratio — for example ATR 13 with ADX 34, or ATR 21 with ADX 55.
On shorter timeframes (1m–5m), set ATR Length to 5 or 8 and ADX Length to 13 or 21 for responsive signals. On daily or weekly charts, 34/89 or 55/144 combinations work well.
This indicator plots in a separate pane. Keep your price chart uncluttered — the background colour bleeds through to the main chart, providing context without requiring you to watch the pane constantly.
Recommended Pairings
This indicator pairs well with a trend-following overlay such as a Hull MA, VWAP, or a multi-timeframe EMA ribbon to confirm the broader bias before the background activates. Volume indicators — particularly Volume Delta or On-Balance Volume — add a useful layer of confirmation when the background fires, helping distinguish absorption-driven moves from thin-market noise. For Indian derivative traders, pairing with an open-interest change indicator on NSE:NIFTY or NSE:BANKNIFTY options can sharpen entry timing during background signals. Indicator

Conflux 4 | AnonycryptousConflux 4 | Anonycryptous
Description & user manual
Why this indicator is different
Most signal indicators fire on one condition. Price crosses a moving average. RSI hits a level. A candle closes above a line. One condition. One trigger. And because one condition alone is never enough, the signals come constantly — in trends, against trends, in chop, in news spikes — with no filter for whether the setup actually makes sense.
Conflux 4 works differently.
It does not fire on one condition. It requires four independent filters to agree at the same moment, in the same direction, before anything appears on the chart. Trend, momentum, volatility structure, and trend strength. All four. If one filter disagrees, nothing is drawn. Not a reduced signal. Nothing.
The result is an indicator that is quiet most of the time — and deliberate when it speaks.
When a signal does appear, Conflux 4 does not just mark a dot and leave you to figure out the rest. It draws a complete trade block automatically: entry, stop, and up to four take profit levels. The stop trails dynamically after the first target is reached, moving to breakeven and continuing from there. The trade is managed visually until it resolves.
The dashboard shows the live state of every filter at all times, so you always know why a signal appeared — or why it did not.
Important notice
Conflux 4 generates signals based on technical filter alignment.
These signals are not financial advice.
They do not predict the future.
They do not guarantee profitability.
All trading decisions are made entirely by the user.
Always manage your own risk. Always apply your own judgment.
1. Overview
Conflux 4 is a four-filter confluence signal indicator. A signal only fires when all four filters align simultaneously in the same direction. When that happens, a complete trade block is drawn including entry, stop, and take profit levels.
What it includes:
- Four-filter confluence engine: trend, momentum, volatility structure, and trend strength
- Four presets: scalp, daytrader, swing, and manual
- Three stop modes: Supertrend trailing, ATR cap, and fixed percentage
- Automatic trade block with up to four take profit levels
- Dynamic trailing stop that activates after TP1 and moves to breakeven
- Live dashboard showing the state of every filter in real time
- Configurable signal cooldown, bar coloring, and background shading
- Alerts for bullish and bearish signal events
2. The four filters
A signal is only valid when all four conditions align.
2.1 Trend filter — VWMA and EMA alignment
Price must be above the volume weighted moving average and the fast EMA must be above the slow EMA for a bullish signal. Reverse for bearish. This confirms alignment with the prevailing macro trend before anything else is evaluated.
2.2 Momentum filter — RSI threshold
RSI must be above the configured bullish threshold (default 55) for long signals, or below the bearish threshold (default 45) for short signals. This filters out setups forming in low-momentum environments where follow-through is less reliable.
2.3 Volatility filter — Supertrend
The Supertrend indicator must confirm the same direction as the trend filter. Because Supertrend adapts to volatility using ATR, it naturally avoids triggering during minor fluctuations and choppy price action.
2.4 Trend strength filter — ADX
ADX must be above the configured threshold (default 25) to confirm a directional environment. Below this level, price is typically ranging and confluence signals carry less weight. The ADX filter can be disabled if you prefer to evaluate trend strength manually.
If any single filter is not in agreement, no signal is generated.
3. Presets
Conflux 4 includes four preset configurations that adjust the stop mode and risk/reward levels to suit different trading styles.
-Scalp
Designed for short timeframes and futures scalping.
Stop mode: ATR cap.
Take profit levels: 0.5R / 1.0R / 1.5R / 2.0R.
-Daytrader
Designed for mid-timeframe trading on 15 minute to 1 hour charts.
Stop mode: Supertrend trailing.
Take profit levels: 0.5R / 1.0R / 2.0R / 3.0R.
-Swing
Designed for higher timeframe trading on 4 hour and daily charts.
Stop mode: Fixed percentage.
Take profit levels: 1.0R / 1.5R / 2.5R / 3.5R.
-Manual
Full control over all parameters. No preset overrides apply.
4. Stop modes
4.1 Supertrend
The stop follows the Supertrend line dynamically for the duration of the trade. This allows the stop to trail price as long as momentum holds.
4.2 ATR cap
The stop is based on the Supertrend level but capped at a maximum distance defined by an ATR multiplier. This prevents the stop from becoming too wide in volatile conditions.
4.3 Fixed percentage
The stop is placed at a fixed percentage below the entry for long trades and above the entry for short trades. The distance does not change after entry.
5. Trade block logic
When a signal fires, the trade block is drawn automatically:
- Entry line at the signal bar close
- Stop line at the calculated level based on the active stop mode
- Up to four take profit lines at configurable risk/reward ratios
- Visual zone shading between entry and stop, and between entry and each take profit
Trailing behavior:
Before TP1 is reached, the stop holds its initial position. After TP1 is reached, the stop moves to breakeven and begins trailing dynamically. The stop only moves in the direction of the trade — it never moves against it.
The trade block remains active until the stop is hit or the Supertrend flips direction. After resolution, the block is cleared and the indicator is ready for the next setup.
6. Dashboard
The dashboard displays the live state of every filter and the current trade situation. It updates on every bar close.
Rows displayed:
- Trend — overall direction from VWMA and EMA alignment
- VWMA — whether price is above or below the VWMA
- EMA — whether the fast EMA is above or below the slow EMA
- RSI — current RSI value and whether the momentum threshold is met
- Supertrend — current Supertrend direction
- ADX — current ADX value and whether the trend strength threshold is met
- Confluence — number of filters currently in agreement
- Stop mode — active stop mode in use
- Last signal — how many bars since the last signal fired
- Cooldown — whether the cooldown period is still active
- Trade — current trade state: none, long, or short
- TP progress — which take profit levels have been reached
The dashboard header color reflects the current trend direction.
7. Settings
Trend filters
- VWMA length: period of the volume weighted moving average used as the primary trend filter
- Fast EMA / Slow EMA: periods of the two exponential moving averages used for secondary trend confirmation
- Show EMA lines: toggle EMA visibility on the chart
- EMA colors and line width: visual styling options
Momentum
- RSI length: period for the RSI calculation
- Bullish threshold: RSI must be above this level for a long signal (default 55)
- Bearish threshold: RSI must be below this level for a short signal (default 45)
Volatility and Supertrend
- ATR length: period for the ATR calculation used by the Supertrend
- Supertrend multiplier: sensitivity of the Supertrend — higher values produce fewer flips
- Show Supertrend line, fill, and color options
ADX
- Enable ADX filter: toggle the trend strength requirement on or off
- ADX length: period for the ADX calculation
- ADX threshold: minimum ADX value required for a signal (default 25)
Signal settings
- Signal cooldown: minimum number of bars between two signals
- Show signals, signal text, background shading, and bar coloring
Trade block
- Show trade block: toggle the full trade block visualization
- Stop mode: Supertrend, ATR cap, or fixed percentage
- ATR cap multiplier and fixed percentage stop size
- Take profit levels: four configurable RR ratios
- Visual styling for stop, entry, and take profit lines
Dashboard
- Position: top left, top right, bottom left, or bottom right
- Size: tiny, small, or normal
- Visibility toggle
8. How to use
Select a preset or switch to manual and configure the filters to match your trading style and timeframe.
Choose a stop mode. Supertrend is best for trending markets where you want the stop to follow price. ATR cap limits the maximum stop size. Fixed percentage suits swing trades where a known maximum loss matters more than trailing.
Set your risk/reward take profit levels.
Monitor the dashboard. When all four filters align, the confluence count reaches four and a signal fires. The trade block is drawn automatically.
A green marker indicates a bullish signal. A red marker indicates a bearish signal.
The trade block shows the full setup from entry to each take profit level. Decision-making remains entirely with the user.
9. Notes
Low signal frequency is intentional. Four filters aligning simultaneously is a selective condition. Signals will not appear on every bar or even every session. That is by design.
Higher timeframes generally produce more stable signals. On lower timeframes the ADX threshold may need to be lowered or disabled to account for faster price structure.
Signals are more meaningful when they form at key structural levels such as support, resistance, or liquidity zones. Conflux 4 does not evaluate those levels — that context comes from the trader.
The ADX threshold can be adjusted for markets that tend to range. Lowering it increases signal frequency. Raising it makes the filter more selective.
10. Disclaimer
This indicator is provided for educational and informational purposes only.
All outputs are based on historical price action calculations and do not guarantee future results.
Trading financial instruments involves significant risk of loss.
Past performance does not indicate future results.
Use at your own discretion.
Indicator

Real Strength Scalper Overview
A momentum-continuation scalping strategy designed for the 5-minute timeframe. It uses a single custom oscillator — the Real Strength histogram — combined with a dual SMA trend filter to capture confirmed directional moves, while a static percentage stop loss and an adaptive, regime-dependent exit logic manage open trades.
Concept and Originality
Most momentum oscillators answer either *which direction* or *how strong*, rarely both in a way that requires real conviction. The Real Strength histogram fuses three independent components into one signed value:
- Price momentum** — Rate of Change of price over N bars (provides the sign)
- Volume confirmation** — current volume divided by its moving average (amplifier)
- Trend strength** — ADX scaled around a 20 reference (amplifier)
These three are multiplied together (with a small floor to prevent the amplifiers from zeroing out the result on quiet bars) and then smoothed with an EMA. The output is an oscillator where the sign tells direction and the magnitude reflects how much *real* force is behind the move. A high histogram reading requires all three components to align — price moving, volume present, ADX confirming.
This composite differs from a standalone ROC, MACD, or volume-weighted oscillator because none of those three on their own require simultaneous confirmation across price, participation, and trend strength.
Entry Logic
A long entry requires every condition below to be true on the same bar:
- Histogram above the positive threshold (default 1.0)
- Histogram rising vs. the previous bar (no entries on a fading peak)
- ADX above the minimum level (default 14)
- DI+ greater than DI− (directional confirmation)
- Volume ratio above minimum (default 1.2× average)
- *Optional:* Fast SMA above Slow SMA (default 30/60, toggleable)
Short entries mirror these conditions on the bearish side.
Exit Logic — Regime-Dependent
The exit behavior changes based on whether the SMA trend filter still confirms the position. This is the central design choice of the strategy:
While SMA still confirms the position:
The trade exits only when the histogram crosses through zero into the opposite zone past a defined flip threshold (default ±0.8). This allows winners to ride through pullbacks and consolidations as long as the larger structure (SMA cross) still favors the trade.
After SMA reverses against the position:
The trade exits on a classic peak-drop rule — if the histogram falls 25% or more from its peak value reached during the trade, the position is closed. This protects open profits when structure breaks down.
A hard static stop loss (default 1%) is always active and overrides both exit modes if reached first. A minimum hold of 3 bars prevents premature exits caused by noise immediately after entry.
Re-Entry Lock
After a stop loss is hit, the strategy refuses to re-enter in the same direction until the histogram returns to (or crosses) zero. This prevents immediately re-entering the same momentum that just stopped the previous trade out — a common cause of consecutive losses on choppy bars.
Settings Guide
- Strength threshold (1.0):** minimum histogram magnitude required for entry. Lower values produce more trades; higher values are more selective.
- Min ADX (14):** filters out low-trending environments.
- Volume Ratio (1.2):** requires above-average participation on the entry bar.
- SMA Fast / Slow (30 / 60):** trend regime filter; can be disabled to compare baseline performance.
- Stop Loss % (1.0):** static distance from entry. Adjust per instrument volatility.
- Peak drop % (25):** how much the histogram must fall from peak to trigger peak-exit.
- Flip exit threshold (0.8):** how far the histogram must travel into the opposite zone to trigger flip-exit.
- Min bars before peak/flip (3):** protects against same-bar noise exits.
Default Properties and Backtesting Realism
- Initial capital: 100,000
- Position size: 3% of equity per trade
- Commission: 0.04%
- Slippage: 3 ticks
- Process orders on close: true
- No pyramiding
These defaults reflect realistic crypto futures conditions. Users trading other instruments or venues should adjust commission and slippage to match their broker.
Intended Use
- Built and validated on the 5-minute timeframe
- Best suited for liquid markets with consistent volume profile
- One position at a time, both long and short
- Re-tune thresholds per instrument; defaults are starting points, not optimal values for every market
Notes
Past performance does not guarantee future results. Backtest outcomes depend strongly on the chosen instrument, time range, and parameter settings. This strategy is published as an educational tool to demonstrate a composite-momentum approach with regime-dependent exits — not as a turnkey trading system. Always test with your own data and risk parameters before any live use. Strategy

Indicator

Trend Entry Verifier [AITD]🎯 Trend Entry Verifier — Lock On Before You Pull The Trigger
Stop pulling the trigger when the target isn't locked.
Most traders fire on partial intel — a trendline here, an RSI hint there — and wonder why their stops keep getting hit. Trend Entry Verifier runs a 3-stage clearance check on every bar. No clearance, no shot. When all three lights turn green, you move with confidence.
🛡️ The 3-Stage Clearance Check:
Trend (HMA 13/34) — fast Hull moving averages confirm the field of engagement
Momentum (RSI) — pressure check; RSI above 50 = bulls advancing, below 50 = bears advancing
Strength (ADX + DMI) — power check; ADX above 22 means the move has real force, DI+/DI- confirms who's actually winning
✅ GO only fires when all three clear. Anything less = NO-GO. Stand down. The market has to prove itself before you risk capital.
💔 The Pain This Eliminates:
You know the feeling. You see a "clean" move, jump in, and the market immediately turns into a chop-fest that eats your stop. Or worse — the trend you trusted was actually weak, and you're holding a bag while everyone else exits.
Most losing trades aren't direction errors. They're timing errors — entering when the field hasn't been cleared. TEV refuses to let you fire on weak intel.
🎯 The Confidence This Builds:
When the ribbon flashes bright and the table says GO, you know three independent systems agreed. Not a guess. Not a gut feel. A verified clearance. You enter with conviction, hold with discipline, and exit when the system tells you the field has changed.
🪖 Mission Brief — How To Use It:
🟢 GO + BULLISH → field is clear; favor pullback entries or continuation breakouts
🔴 GO + BEARISH → field is clear; favor rejection entries or breakdown setups
⚫ NO-GO → conditions mixed, weak, or in transition; stand down or scale back
⚪ MIXED trend → trend and momentum disagree; do NOT engage, wait for alignment
🚨 The Visual Ribbon — Your Threat Indicator:
The ribbon at zero shows direction at a glance. When GO conditions clear, the ribbon brightens and thickens — your weapon is hot. When NO-GO, it dims back down. No squinting. No second-guessing. Bright = engage. Dim = stand down.
⚠️ Bonus Threat Markers:
🟧 Orange "R" triangles — RSI hit an extreme (above 70 or below 30); enemy is overextended, don't chase
🟧 Orange "B" triangles — price pierced a Bollinger Band; exhaustion zone, watch for reversal
These flag overextension so you don't engage a stretched target. Why This Hits Different:
🎯 No mystery readings — every state has a clear name and a clear job
🛡️ Conservative by design — NO-GO is the default; you earn the GO
🧹 Single-pane simplicity — one ribbon, one table, one decision per bar
📚 Educational by nature — the table teaches you what to look for, not just what to do
🚫 Built For Traders Who Are Tired Of:
Entering on "looks like a trend" only to get ambushed
Stacking 4 indicators to confirm what one should
Tools that fire during obvious chop
Indicators that look pretty but never tell you when to stay out
One ribbon. One table. One decision. Lock on or stand down.
Defaults: HMA 13/34, RSI 14, DMI 14/14, ADX minimum 22 — fully customizable.
Pairs well with VWRSI Crossovers & Extremes — TEV clears the field. VWRSI calls the shot. Use them together for a full recon → engage workflow.
🎯 Built by The AI Trading Desk. Indicator

Trend Strength Meter [AGPro Series]Trend Strength Meter
⚡ OVERVIEW
Trend Strength Meter is a multi-factor composite oscillator that quantifies how strong a directional trend actually is, on a single 0-to-100 score. It merges five independent trend dimensions (ADX, slope angle, momentum ROC, moving-average alignment, and pullback depth) into one weighted reading, then classifies the market into three clear states: Strong Trend (80+), Mild Trend (50-80), and Weak / Range (<50). The goal is to give a trader the answer to one of the most common daily questions in technical analysis: "Is the trend strong enough to act on right now, or is it fading?"
The indicator is built for discretionary and systematic traders who want a single, normalized number instead of reading half a dozen separate trend tools. It is scale-invariant (ATR-normalized) and works across timeframes and instruments.
🎯 UNIQUE EDGE
Trend-strength tools usually give a single-factor reading (for example, ADX alone) which can be misleading. ADX can be high during range contractions, slopes can spike during noise, MA stacks can be aligned while price sits deep in pullback. This indicator fuses all five dimensions so that no single factor can dominate the score without confirmation from the others.
Three design choices set it apart:
1. Weighted multi-factor composite. Every factor is independently normalized to 0-100, then combined with user-adjustable weights that auto-normalize. A Strong reading therefore requires broad agreement across independent trend dimensions, not just one signal firing.
2. Dominant Factor readout. The information panel shows which of the five factors is contributing most to the current score, so the trader understands why the score is where it is. A score of 84 driven by ADX and a score of 84 driven by Alignment are structurally different markets, and the readout makes that visible.
3. Historical context built in. The panel exposes Historical Max Score over a configurable lookback window, and Strong-Trend Duration (how many bars the score has held above the Strong threshold). Both of these help gauge trend maturity and exhaustion risk.
📊 METHODOLOGY
The composite score is built from five independently scored factors, each normalized to 0-100:
• Factor 1 — ADX. Directional movement strength from the standard DMI/ADX system, linearly mapped so that ADX = 60 maps to a score of 100.
• Factor 2 — Slope Angle. The slope of an EMA over its length window, normalized by ATR to be scale-invariant, then converted to a 0-100 score via an arctangent curve. High slope in either direction yields a high score.
• Factor 3 — Momentum ROC. Rate of Change normalized by ATR and converted to a bounded 0-100 value. Captures impulse magnitude independent of price scale.
• Factor 4 — MA Alignment. Stacked EMA alignment across Fast / Mid / Slow timeframes, plus price position relative to the fast MA. Full bullish or bearish stack yields 100; partial stacks are scored proportionally (70, 40, or 15).
• Factor 5 — Pullback Depth. Distance from the nearest recent extreme (highest high or lowest low over lookback) measured in ATR units. Shallow pullback = strong trend = high score.
Each factor is multiplied by its weight, summed, and divided by total weight to produce the final 0-100 score. All five weights are independently adjustable and auto-normalize, so changing one weight does not force manual rebalancing of the others.
Directional bias (Bull / Bear / Range) is determined by the combination of DMI crossover state and close-vs-mid-MA position. State color shifts between strong bull green, strong bear magenta, neutral yellow, and weak gray based on score plus direction.
🔥 VISUAL SYSTEM
Six coordinated visual elements deliver the information without clutter:
• Score histogram on the sub-panel, colored per bar by that bar's own score level (green for Strong, yellow for Mild, gray for Weak / Range). Each historical bar shows its true state at the time, not the current state.
• Horizontal reference lines at the Strong (green) and Mild (yellow) thresholds on the sub-panel.
• Historical Max step line in indigo accent, showing the highest score reached within the lookback window, so past trend peaks are immediately visible.
• Mini Gauge on the right edge of the sub-panel. A compact vertical meter split into two halves: left half shows the fixed 0-100 zone reference (Weak / Mild / Strong), right half fills up to the current score, with a bold needle line marking the exact level.
• Price badge floating above the last candle, showing "TSM " so the reading is visible without needing to look at the panel.
• Information panel on the price chart with seven rows: Score, State, Direction, Dominant Factor, Historical Max, and Strong Bars duration.
🧭 SIGNALS AND ALERTS
Three built-in alerts:
• Strong Bull Entry — Score crosses above the Strong threshold while directional bias is Bull.
• Strong Bear Entry — Score crosses above the Strong threshold while directional bias is Bear.
• Trend Fade — Score drops below the Mild threshold, indicating the trend is weakening.
All alerts fire once per bar close, so there is no intra-bar repainting.
🧮 KEY INPUTS
Core Settings
• ADX Length, Slope MA Length, Momentum ROC Length, MA Alignment Fast / Mid / Slow, Pullback ATR Length
• Score Smoothing (EMA applied to score for optional overlay line)
• Strong Threshold (default 80), Mild Threshold (default 50), Historical Lookback (default 100 bars)
Factor Weights (auto-normalized)
• ADX 30, Slope 20, Momentum 20, Alignment 20, Pullback 10
Visual
• Badge toggle, Background tint toggle, Reference lines toggle, Mini Gauge toggle, Historical Max line toggle, Smoothed Score line toggle, Label size, Badge ATR offset
Panel
• Show / hide, Position (6 anchors), Theme (Dark / Light), Font size
📈 HOW TO USE
1. Add the indicator to any chart and any timeframe. Defaults are calibrated for 4H / Daily; for lower timeframes consider reducing the ADX and ROC lengths.
2. Use the 0-100 score as a regime filter. Many trend-following setups perform better when the score is above 50, and breakout / continuation setups perform best when the score is crossing above 80 with a clear Bull or Bear direction.
3. Watch the Dominant Factor. A score of 85 driven primarily by Momentum may fade fast; the same score driven by Alignment tends to be more structural.
4. Use Historical Max and Strong Bars to gauge maturity. A Strong-Bars reading of 30+ on a daily chart often signals late-cycle conditions where continuation risk increases and fresh entries need tighter risk management.
5. Combine with structure tools (support / resistance, order blocks, market-structure tools) for entries. This indicator is designed to answer "how strong is the trend," not "where do I enter."
⚠️ LIMITATIONS AND TRANSPARENCY
• This is an indicator, not a trading strategy. It does not produce buy / sell recommendations and it does not backtest trade outcomes.
• The score is a lagging composite built from historical price data. It does not predict future price movement.
• During sharp regime transitions (news events, gap opens), the score can change rapidly from one bar to the next. This is by design, not a bug.
• Factor weights are user-adjustable. Defaults are a reasonable starting point but may need tuning per instrument / timeframe.
• The Pullback factor assumes trending behavior. In tight consolidations it can read misleadingly high, which is why the Dominant Factor readout exists as a cross-check.
• No-repaint: all calculations are based on confirmed (closed) bar data; alerts fire on bar close only.
📌 RISK DISCLOSURE
Trading carries substantial risk. This indicator is an analytical tool for research and study purposes and does not constitute financial advice, a trading signal, or a recommendation to buy or sell any instrument. Past behavior of any indicator is not indicative of future results. Users are solely responsible for their trading decisions and should conduct their own due diligence and risk management.
Indicator

Kinetic Hull Matrix [JOAT]Kinetic Hull Matrix
Overview
Kinetic Hull Matrix is an adaptive trend-following indicator centred on a Hull Moving Average cloud with ATR-proportional envelopes, a custom ADX engine, a 0–100 composite signal scoring system, and a multi-timeframe trend table — all rendered in a layered fill system that visually communicates trend strength and cloud penetration depth simultaneously. Retest signals fire when price touches the cloud boundary from within the trending direction, scored by four independent quality factors.
The Hull Moving Average — Why It Matters
The Hull Moving Average (HMA) was designed to reduce lag while maintaining smoothness. The calculation uses weighted moving averages at half-length and full-length, doubles the half-length result, subtracts the full-length result (creating a de-lagged series), then applies a final WMA at the square root of the length:
WMA(2 * WMA(src, n/2) - WMA(src, n), sqrt(n))
This produces a moving average that reacts significantly faster to price changes than a standard EMA or SMA of the same length, while filtering micro-noise through the final WMA pass. The result is a responsive midline that rarely produces whipsaws in trending markets.
ATR-Adaptive Cloud Architecture
The HMA midline is expanded into a four-layer cloud using the current ATR:
- Inner cloud (upper and lower bands): HullMid ± ATR × CloudMultiplier (default 1.0). This is the primary retest detection zone.
- Outer bands: HullMid ± ATR × CloudMultiplier × OuterMultiplier (default 1.618, the golden ratio). These define the statistical extreme of the cloud envelope.
The cloud dynamically widens during volatile markets and contracts during compression — naturally adapting to market conditions without manual parameter changes.
Four fill layers are rendered between the bands using trend-coloured gradients: bright teal in uptrends, muted red in downtrends, creating an intuitive visual heat map of trend energy.
Custom ADX Engine
Rather than relying on the built-in ta.dmi(), Kinetic Hull Matrix implements its own ADX from first principles:
1. Positive directional movement (plusDM) = max(high - high , 0) when high-to-high exceeds low-to-low
2. Negative directional movement (minusDM) = max(low - low, 0) when low-to-low exceeds high-to-high
3. Both are smoothed via ta.rma() over the ADX length, then divided by the RMA of true range to produce +DI and -DI
4. The directional index DX = abs(+DI - -DI) / (+DI + -DI) * 100, finally smoothed via ta.rma() to produce ADX
This gives a transparent, auditable ADX implementation. Values above 25 indicate a trending regime; below 25 indicates ranging conditions. The dashboard and scoring system both use this value.
Composite Signal Score (0–100)
A retest signal qualifies only when close price enters the inner cloud (touches upper cloud from above in a downtrend or lower cloud from below in an uptrend) while the candle closes back in the trend direction. The resulting signal is then scored:
- Proximity score (up to 50): How deeply price penetrated into the cloud. Deeper retests score higher.
- Volume score (up to 25): Current volume relative to its 20-bar SMA. Higher participation scores higher.
- RSI score (up to 15): RSI directional headroom — long signals score better when RSI has room below 55, short signals when RSI has room above 45.
- ADX score (up to 10): Raw ADX value × 0.4, capped at 10. Strong trends produce higher-quality retests.
Only signals meeting the configurable minimum score threshold (default 40) are displayed.
S/R Line Stamping
Each confirmed retest signal stamps a horizontal dotted line at the close price, extending 60 bars forward. These lines serve as dynamic support (for bull retests) and resistance (for bear retests). Lines are automatically invalidated and deleted if price closes through them by more than 0.5 ATR — the indicator only keeps lines that have not been structurally broken.
Multi-Timeframe Trend Table (Top Right)
Five user-configurable timeframes are assessed using the same dual-EMA logic (fast = HullLen/2, slow = HullLen). Each cell displays BULL or BEAR in the trend's colour. A "X/5 Bull" counter at the bottom summarises alignment. The table also shows current ADX value, RSI, and number of active S/R lines.
Inputs Reference
Hull Cloud
- Hull MA Length (21) — primary HMA period
- ATR Length (14) — period for ATR cloud width
- Cloud Width (1.0 ATR) — inner cloud half-width multiplier
- Outer Band Mult (1.618) — outer band golden-ratio expansion
- ADX Length (14) — custom ADX smoothing period
- Volume SMA Length (20) — reference for volume scoring
- RSI Length (14)
Retest Detection
- Min Signal Score (40) — minimum composite score to display signal
- Max S/R Lines (8) — maximum simultaneous S/R lines on chart
- S/R Break Buffer (0.5 ATR) — tolerance before a line is considered broken
- Show Score Label / Show S/R Lines
MTF Dashboard
- Show MTF Trend Table
- TF 1–5 — five independently configurable timeframes
Visual
- Theme: Dark, Light, Auto
How to Use
1. Apply to a liquid trending instrument. Allow warmup (roughly 3× Hull Length bars).
2. Identify the trend from cloud colour: teal fills = uptrend, red fills = downtrend.
3. Wait for price to dip into the inner cloud during an uptrend (or spike into it during a downtrend) and close back in the trend direction.
4. Check the score label — prefer grade 55+ (B or higher). Crosscheck with the MTF table: 4+ of 5 timeframes aligned significantly improves reliability.
5. The stamped S/R line from the retest level serves as a reference for re-entry if price pulls back again.
Non-Repainting Design
All retest signals are gated by barstate.isconfirmed. MTF data uses lookahead_off. S/R line management runs only on confirmed bars. No visual element shifts position after the bar closes.
Limitations
- In ranging, choppy markets, the cloud direction changes frequently and retest signals may have low predictive value. The ADX score component partially mitigates this, but consider increasing the minimum score threshold in low-trend environments.
- S/R lines accumulate during active trend periods. The max line count setting prevents chart clutter.
- MTF trend data requires request.security() calls per timeframe. On lower timeframes with very high bar counts, this may slightly affect indicator load time.
Disclaimer
This indicator is for educational and informational purposes only. No signal scoring system guarantees future performance. Always use proper risk management and conduct independent analysis before trading.
Made with passion by officialjackofalltrades
Indicator

Trend Quality [AGPro Series]Trend Quality
Trend Quality fuses three independent regime dimensions — ADX directional strength, Kaufman Efficiency Ratio, and ATR-normalized EMA slope — into a single 0–100 composite Trend Quality Score. A hysteresis + confirmation + cooldown gate turns that score into a stable TREND / CHOP regime, enhanced with HTF confirmation, lifecycle phases, score velocity, breakout grading, directional dominance, and a full adaptive on-chart quality window. The goal is simple: replace noisy "is this a trend?" guessing with a transparent, multi-dimensional, low-lag quality reading you can read in one glance.
🎯 OVERVIEW
Most trend filters fail at the same thing — they tell you a trend exists, but not whether that trend is clean, accelerating, fading, or already exhausted. Trend Quality answers the harder question. Every bar is scored on three independent dimensions that each measure a different physical property of price movement:
• ADX — directional strength (how strongly one side dominates)
• Kaufman Efficiency Ratio (ER) — path efficiency (how little wasted motion)
• ATR-normalized EMA slope — normalized trend velocity (how fast, relative to volatility)
These three signals are combined into one 0–100 Trend Quality Score. A hysteresis band + confirmation bars + cooldown filter convert that score into a stable TREND / CHOP regime — no single-bar flipping, no false recovery wicks. On top of the core regime, the indicator layers Score Velocity, Lifecycle phases (Emerging → Confirmed → Exhausting), Breakout Quality grading (A / B / C), directional dominance, and a visual Quality Window that tracks the active trend zone and projects it forward.
💎 UNIQUE EDGE
What separates Trend Quality from a standard ADX filter, an EMA slope indicator, or a generic regime meter:
• Tri-factor fusion (not a single metric) — ADX alone misses path quality; ER alone misses direction; slope alone misses choppy-but-strong moves. Weighted fusion (45% ADX, 35% ER, 20% Slope) neutralizes each component's blind spot.
• Stable regime, not a flickering line — the TREND / CHOP state passes through a 3-layer filter: hysteresis band around the threshold, N confirmation bars, and a cooldown window after every transition. The result is a regime reading that holds through pullbacks without flipping.
• Score Velocity Engine — a second-derivative layer that watches how fast the score itself is changing. Surges flag momentum ignition; collapses flag quality breakdown before price confirms it. A bearish divergence detector fires when price makes new highs while quality is fading.
• Lifecycle phases — inside every TREND regime, the script distinguishes Emerging (young, fresh, accelerating), Confirmed (mature, stable, above buffer), and Exhausting (score rolling over from a peak). This lets you see whether you are entering early, running mid-trend, or catching the end.
• Breakout Quality Badge (A / B / C) — every CHOP → TREND transition receives a graded badge based on composite score plus velocity bonus. Grade A breakouts are rare and have an optional dedicated alert.
• HTF confirmation with Auto-HTF mapping — the same engine runs on a higher timeframe. When LTF is trending but HTF is not, the regime is marked BLOCKED (not forced to CHOP) so you retain full transparency about why the regime is gated.
• Adaptive Quality Window — a live rectangular zone that tracks the full trend's high/low from its start bar, projects forward, shows ceiling/floor projection labels, and preserves historical windows with directional color coding (green for up-trends, pink for down-trends, amber for HTF-blocked trends).
🧪 METHODOLOGY
Core composite score (every bar, LTF):
Score = 100 × (0.45 × ADX_norm + 0.35 × ER_norm + 0.20 × Slope_norm)
• ADX_norm = min(ADX / 50, 1)
• ER_norm = |close − close | / (SMA(|Δclose|, N) × N)
• Slope_norm = min(|EMA − EMA | / ATR × 10, 1)
Regime gating:
• Hysteresis: +3 above threshold to enter TREND, −3 below to enter CHOP
• Confirmation: N consecutive bars above/below the hysteresis band
• Cooldown: N bars after every regime flip where no new flip is allowed
MTF confirmation (optional, default ON):
The same core function is called via request.security on the HTF (Auto: 30m→4H, 4H→Daily, Daily→Weekly, Weekly→Monthly in Strict mode). When LTF=TREND but HTF=CHOP, the regime is tagged BLOCKED — a transparent third state that is neither forced-CHOP nor accepted-TREND.
Lifecycle logic:
• Emerging: TREND is young (bars since start ≤ Emerging Bars) OR score slope ≥ 0 and score below buffer
• Confirmed: score ≥ threshold + Confirmed Buffer AND HTF passes (optional)
• Exhausting: score slope < 0 AND pullback from peak ≥ Exhaustion Pullback
Score velocity:
velocity = score − score (default 5-bar look-back)
Breakout quality grading:
bqScore = score + velocity_bonus (bonus: +15 if vel>15, +7 if vel>5, else 0)
A ≥ 82, B ≥ 67, C < 67
🔔 SIGNALS & ALERTS
The script exposes 12 alert conditions — all moderator-safe, educational, non-solicitating:
• CHOP → TREND / TREND → CHOP regime flips with LTF+HTF context
• Strong Trend composite conviction threshold
• HTF Blocked / HTF Unblocked third-state transparency events
• Emerging / Confirmed / Exhausting Trend lifecycle phase changes
• Velocity Surge / Velocity Collapse second-derivative extremes
• Grade-A Breakout rare high-conviction breakouts
• Bearish Divergence price up, quality down warning
On-chart visual events (also filterable via inputs):
• Breakout Quality badge (A / B / C) at every CHOP → TREND
• Bearish divergence ⚠ marker at trend peaks where quality fades
• State tag near backbone: EMERGING / CONFIRMED / EXHAUSTING / HTF BLOCKED
• Quality Window label: ACTIVE + phase
• Projection labels on the right edge: QUALITY CEILING / TREND FLOOR
All badge and warning labels are gated with an 8-bar cooldown so the chart stays clean even on repeated intra-swing triggers.
⚙️ KEY INPUTS
Core engine:
• ADX Length (14) — directional strength look-back
• Efficiency Length (20) — ER path-efficiency window
• Slope EMA Length (50) — trend backbone reference
• ATR Length (14) — volatility normalization
• TREND Threshold (55) — composite score level to enter TREND
• Confirmation Bars (1) — bars of persistence before flipping
• Strong Trend Offset (15) — extra score above threshold for STRONG tag
MTF:
• HTF Confirmation (ON) — enable/disable HTF gate
• Auto HTF (ON, Strict) — smart HTF mapping per chart TF
• Manual HTF (240) — override timeframe
Stability:
• Change Cooldown Bars (2) — lock-out window after any regime flip
Lifecycle:
• Emerging Phase Bars (4) — max trend age to stay Emerging
• Confirmed Buffer (8.0) — score must clear threshold+buffer
• Exhaustion Pullback (4.0) — peak-to-current drop to flag Exhausting
Visual Overlay:
• Backbone + Glow + Zone + State Candles + Quality Window + Historical Windows + Projection Box + Guides + Midline (all toggleable)
Panel, Theme, Layout, Help rows, Alerts, Score Velocity Engine, Breakout Quality Badge, Divergence Detector — every layer has its own input group and can be shown/hidden independently.
📘 HOW TO USE
Read-in-one-glance panel (standard AGPro format):
• Blue header row: script title
• Line 2: REGIME / LIFECYCLE · Score N/100 · Velocity state
• Line 3: LTF regime · Direction · Directional Dominance
• Line 4: HTF regime · MTF PASS/BLOCKED · Active Window state · Streak
Quick playbook:
1. CHOP on LTF → wait. No setup, no commitment.
2. CHOP → TREND transition with Grade A badge + HTF PASS → highest-conviction regime start.
3. CONFIRMED phase with DOM HIGH and rising score → the middle of the trend, usually the cleanest section.
4. Velocity COLLAPSE or EXHAUSTING phase with bearish divergence ⚠ → quality is deteriorating; reduce exposure or tighten stops.
5. HTF BLOCKED amber window → LTF trend exists but higher timeframe disagrees; treat as lower-conviction and be aware of mean-reversion risk.
The indicator does NOT issue buy/sell signals, does NOT define entry/exit prices, and is NOT a strategy. It is a regime-quality reading — a context layer you pair with your own trade management.
⚠️ LIMITATIONS & TRANSPARENCY
• Trend-quality indicators are inherently trend-following. In low-volatility ranges the score can stay above threshold on minor moves; in very fast markets the score can lag by 1–3 bars while the filters stabilize.
• HTF confirmation introduces a natural HTF delay. This is intentional (it removes noise) but means the HTF gate may lift several LTF bars after price has already moved.
• All composite signals rely on look-backs (ADX 14, ER 20, Slope EMA 50, ATR 14). On very short intraday timeframes with low bar counts these need calibration.
• Lifecycle phases are structural readings, not predictions. EXHAUSTING means the score is rolling over — not that price must reverse.
• Past performance of any visual regime does not imply future performance. Charts showing clean historical windows are illustrative of the indicator's logic, not trading results.
• No repainting on historical bars. The HTF call uses lookahead_off and barmerge.gaps_off. Score and regime values on closed bars are final.
🛡️ RISK DISCLOSURE
This script is published as an educational and analytical tool. It does not provide financial advice, does not generate trade signals of any kind, and must not be used as a standalone decision system. Markets involve substantial risk of loss. Past behavior of any market regime, indicator output, or historical visual window is no guarantee of future results. Always combine any indicator with independent risk management, position sizing, a tested plan, and — where appropriate — the guidance of a licensed professional. You are solely responsible for any trading decisions you make. Indicator

Kaufman Efficiency Ratio Gate [NovaLens]Kaufman Efficiency Ratio Gate is a regime classifier that separates trending markets from choppy ones. Instead of plotting a raw ratio and leaving you to interpret thresholds, it ranks the current Kaufman Efficiency Ratio within its own recent history and outputs a binary gate: trend-favorable or chop-dominant. Five timeframe-specific presets ship ready to use - pick the one matching your chart.
◉ HOW IT WORKS
The Efficiency Ratio measures how much of price's total movement was directional over N bars:
ER = |Close - Close(N)| / Σ|Close(i) - Close(i-1)|
A value near 1.0 means price moved in a straight line - maximum efficiency. A value near 0 means price covered distance but went nowhere net - noise. Perry Kaufman introduced this in "Trading Systems and Methods" (1995) as the foundation for his Adaptive Moving Average.
Raw ER values are hard to threshold because what counts as "efficient" varies by asset and timeframe. This gate solves that with a three-stage pipeline:
• Light EMA smoothing - removes single-bar noise from the raw ER without adding meaningful lag (Smoothing = 2 for most presets).
• Percentile rank - ranks the smoothed ER within its own rolling window. A reading at the 70th percentile means the current efficiency is higher than 70% of recent history. This is what makes the gate self-normalizing. A "trending" efficiency ratio for Gold might sit at 0.45, while for a volatile altcoin it might be 0.25 - the gate adjusts automatically to each asset's own baseline, so you never need to guess at fixed thresholds.
• Symmetric hysteresis - the gate opens when rank crosses above the median + Stability/2, and closes when rank drops below the median - Stability/2. This prevents flicker at the boundary. A small buffer (Stability = 2) is enough because KER is already a clean ratio.
Other regime tools approach this differently. ADX measures trend strength through smoothed directional movement - it tells you how strong a trend is, but its fixed scale means a reading of 25 carries different weight on different instruments. The Choppiness Index compresses ATR relative to the window's price range into a 0-100 scale - useful, but sensitive to window length and not inherently normalized. The Efficiency Ratio takes a more direct route: what fraction of total movement was net directional? And the percentile-rank layer on top makes that reading self-normalizing across any asset or timeframe - no manual threshold tuning required.
The result is a binary state: trend-favorable (gate open) or chop-dominant (gate closed).
◈ HOW TO READ IT
• Teal background / teal hero line - Gate open. The market's directional efficiency is above its recent median. Trend-following setups tend to perform better in this environment.
• Amber background / amber hero line - Gate closed. Efficiency is below the median - price is moving but not going anywhere. Trend-following setups historically tend to underperform in this environment.
• Bright teal (strong trend) - Smoothed KER is in the top 25% of its recent rank window. The trend is unusually clean - continuation setups tend to be cleaner in this state.
• Bright amber (strong chop) - Smoothed KER is in the bottom 25%. Noise is dominant - even range-bound strategies may find fewer clean entries. Generally a low-opportunity environment.
The info panel (top-right) shows the current gate state, smoothed KER value, percentile rank, and a momentum readout (strengthening / weakening / stable) based on how the rank has moved over the last few bars.
✦ HOW WE USE IT - REGIME FILTER
In systematic trading, the Efficiency Ratio often serves as one of the regime filters applied before a trend-following signal gets capital allocation. The idea is to confirm that the market is actually trending efficiently, not just moving.
When the gate is open (teal), directional efficiency is elevated. Pullback entries, breakout continuations, trend-following MA crosses - these setups tend to perform better because price is converting movement into net progress. When the gate closes (amber), the same setups historically tend to underperform. Price is volatile but going nowhere. In choppy regimes, trend-following systems generally struggle, and while mean reversion may be more favorable, it remains a harder environment to trade overall. Many systematic traders use this kind of regime awareness to reduce exposure or adjust position sizing rather than forcing directional bets.
The gate works well as a context overlay alongside other entry signals. It doesn't indicate which direction to trade, but it helps characterize whether the current environment is rewarding directional movement at all.
What the gate is NOT: a forward predictor. It classifies the recent past. A gate-open reading means efficiency has been high - it doesn't guarantee the next bar will trend. It's a filter, not a crystal ball.
◆ OTHER APPLICATIONS
• Entry filter - pair with any trend-following signal (MA cross, breakout, RSI) and add a gate-open condition. Filtering out chop regimes can help reduce whipsaw entries.
• Multi-timeframe confirmation - checking the gate on a higher timeframe before entering on a lower one can add confidence. For example, a Daily gate-open reading alongside a 4H trend entry.
• Regime-aware sizing - some traders scale position size with regime state, increasing exposure during gate-open periods and reducing it when the gate closes.
• Alert-driven workflow - set alerts on gate open/close transitions and check your trend setups only when the gate fires.
⚙ SETTINGS
Preset (default: Daily) - Timeframe-specific parameter bundles. Select the one matching your chart resolution:
• Weekly - KER 10, Smoothing 2, Rank Window 100, Stability 2. Long context window for position traders.
• Daily - KER 8, Smoothing 2, Rank Window 50, Stability 2. The default. Works well on most daily charts.
• 8H - KER 8, Smoothing 2, Rank Window 50, Stability 2. Starting point same as Daily - validate on your own 8H charts.
• 4H - KER 14, Smoothing 2, Rank Window 30, Stability 2. Wider KER period compensates for noisier intraday data.
• 30m - KER 5, Smoothing 5, Rank Window 30, Stability 2. Short KER period with heavier smoothing for fast charts.
• Custom - Drive the gate from the four inputs below.
KER Period - Lookback for the raw Efficiency Ratio. Shorter (5-8) reacts faster to regime changes. Longer (14-20) gives more stable readings but lags transitions.
Smoothing - EMA applied to the raw KER. Set to 1 for no smoothing. KER is self-normalizing by construction, so low values (1-5) are usually enough.
Rank Window - Rolling window for the percentile rank. Controls how much recent history defines "typical." Shorter windows adapt faster; longer windows give more stable context.
Stability - Hysteresis half-width around the 50th percentile. At 0, the gate flips the instant rank crosses the median. At higher values, the gate requires a stronger signal to switch state. Low values (2-5) work well since KER is already a clean signal.
Display toggles:
• Show Raw KER - thin white line showing the unsmoothed ratio
• Show Median - 50th-percentile reference line on the smoothed KER
• Show Background - teal/amber background wash (turn off if your workspace already signals the regime elsewhere)
• Show Info Panel - gate state, KER, rank, and momentum readout
• Light Theme - flips panel colours for light chart backgrounds
△ LIMITATIONS
• Backward-looking - the gate classifies recent efficiency, not future direction. Regimes can shift faster than the rank window catches, especially around news events.
• Directionless - both strong uptrends and strong downtrends produce gate-open readings. A separate directional indicator is needed to determine which side to trade.
• Noise on thin instruments - short KER periods on low-volume assets can produce noisy readings even with smoothing.
• History requirement - percentile rank needs sufficient data to be meaningful. The first ~50-100 bars on any chart (depending on preset) will have unstable rankings.
⌁ NOTES
• Based on Perry Kaufman's Efficiency Ratio from "Trading Systems and Methods" (1995)
• Cross-validated against our PyneCore Python reference implementation.
• Parameters were tuned on gold (XAUUSD) via the NovaLens research pipeline. The same presets generalize reasonably to other assets - though testing on your own instruments is always recommended.
• Regime palette: teal = trend-favorable, amber = chop-dominant. Not green/red - this is a state classifier, not a directional signal.
If you find a Custom parameter set that works well on a different instrument, the comments are a good place to share it. Indicator

ES Breakout Toolkit ADX Regime Filter Free=== PART OF THE ES BREAKOUT TOOLKIT ===
This is one of several free, standalone indicators that make up the ES Breakout Toolkit series. Each indicator isolates a single component used in the full ES London Breakout Pro strategy. They are designed to be useful on their own and educational for traders looking to filter trades by market regime using ADX.
=== WHAT THIS INDICATOR DOES ===
The ADX Regime Filter classifies the current market environment into three states: Flat/Choppy, Trending, and Overextended. It does this using the Average Directional Index (ADX) with configurable minimum and maximum thresholds that define a "sweet spot" where the market is trending enough to produce clean breakouts but not so extended that it is likely to reverse or stall.
The indicator plots ADX alongside DI+ and DI- lines, highlights the sweet spot zone between your min and max ADX values, and provides visual markers when ADX enters or exits each regime. DI crossovers are also marked to help identify directional shifts.
=== HOW TO USE IT ===
Apply this indicator to a separate pane below your chart. The shaded zone between the min and max ADX lines represents the regime where trend-following and breakout strategies tend to perform best. When ADX is below the minimum, the market is likely choppy and breakout signals are less reliable. When ADX is above the maximum, the trend may be overextended and new entries carry higher reversal risk.
The dashboard shows the current ADX value, regime classification, DI direction, DI spread, ADX slope, and an overall trade readiness assessment. The DI spread reading helps confirm whether the directional move has conviction — a narrow spread suggests indecision even if ADX is technically in range.
=== KEY FEATURES ===
- Three-state regime classification (Flat, Trending, Overextended)
- Configurable ADX sweet spot zone with visual fill
- DI+/DI- directional lines with crossover markers
- ADX slope tracking (rising vs falling momentum)
- Optional bar coloring by regime and direction
- Background shading by current state
- Dashboard with ADX, regime, direction, DI spread, slope, and trade readiness
- Alerts for regime transitions and DI crossovers
=== WHY ADX BOUNDARIES MATTER ===
Most traders using ADX only set a minimum threshold. However, extremely high ADX readings often indicate that a trend is mature and vulnerable to exhaustion. By defining both a floor and a ceiling, you can focus on the portion of the trend cycle where momentum is building rather than peaking. This indicator makes that concept visual and actionable.
=== ABOUT THE ES BREAKOUT TOOLKIT ===
This indicator is part of a free series that breaks down the building blocks of a London session ES futures breakout strategy. Other free indicators in the series cover session highlighting, consolidation range detection, breakout candle scanning, and momentum close analysis. Each is published separately on my profile.
The full ES London Breakout Pro indicator combines all of these components into a unified strategy with additional proprietary features including advanced risk management, trade qualification, and data tracking. It is available as an invite-only script on my profile. Use the access request instructions on that script's page if you are interested.
=== DISCLAIMER ===
This indicator is provided for educational and informational purposes only. It is NOT financial advice. It does not constitute a recommendation to buy, sell, or hold any financial instrument. Trading futures involves substantial risk of loss and is not suitable for all investors. Past performance of any indicator or strategy is not indicative of future results. Always conduct your own research and consult a qualified financial advisor before making any trading decisions. You are solely responsible for your own trading activity. Indicator

Indicator

MULTIVITAMIN1. What is MULTIVITAMIN?
MULTIVITAMIN is a custom-built, open-source algorithmic scalping indicator designed for PulseWire. Its primary goal is to capture high-probability momentum trades by combining pure Price Action (PA) mechanics with advanced trend and volatility filters, specifically engineered to avoid "chop" (ranging/flat markets) and deliver healthy, actionable signals.
2. What does it cover? (Core Modules)
Price Action Engine: The core of the system. It detects real-time structural market shifts by identifying Engulfing patterns, Order Blocks (OB) with volume confirmation, and Fair Value Gaps (FVG).
Trend & Momentum Filters: Utilizes a multi-timeframe Hull Moving Average (HMA) for signal smoothing, a 50-period EMA for macro trend direction, and an ADX filter to ensure the market has sufficient momentum before entering a trade.
Pro Walls (Anti-Chop System): Features advanced, optional defensive mechanisms: an ATR-based volatility filter (ensuring candle size is larger than average market noise) and an EMA slope filter (ensuring the trend line is actually pointing up or down, not moving sideways).
Volume Supported Breakout (BKR): An optional hybrid feature that looks for extreme volume spikes (compared to a 20-period SMA) combined with local high/low breakouts.
Lifecycle Management: A built-in state machine (Idle, Long, Short) that tracks the trade's status, preventing overlapping entries and managing exits based on user-defined criteria.
3. What is its operational logic?
Step 1: Scanning & Setup: The script continuously monitors price action for base entry conditions.
Step 2: The Gauntlet (Filtering): A setup must pass through all active user filters (EMA, ADX, Volatility, etc.) before being validated.
Step 3: State Execution: If all conditions align, the internal bot state shifts from 0 (Idle) to 1 or -1, plotting an ENTER shape on the chart and triggering an external webhook alert.
Step 4: The Exit: The bot remains in this state until a valid exit condition (like a reverse PA signal) is met.
4. ⚠️ CRITICAL: How to Set Up Alerts (The Anti-Repainting Rule) ⚠️
If you are using the "Exit on Reverse Signal" (Ters Sinyalde Çık) feature in the settings, you MUST configure all your PulseWire alerts (both ENTER and EXIT alerts) to trigger "Once Per Bar Close".
Why? If you set them to "Once Per Bar" (anlık tetikleme), intra-bar price fluctuations (wicks) will trigger premature exit/entry orders to your exchange before the candle officially closes, leading to repainting on the chart and ghost orders in your account. Always wait for the candle to close to confirm the structural shift! Indicator

EagleEye-DashboardIndicator Description & Disclaimer
This indicator has been developed independently for educational and personal learning purposes, based on hands-on trading experience and continuous research into multi-timeframe analysis.
What this indicator does:
This tool consolidates three of the most widely used technical indicators — MACD, RSI, and Stochastic Oscillator — into a single, clean dashboard view. Rather than switching between multiple charts and timeframes manually, traders can now see the status and alignment of all three indicators across multiple timeframes (MTF) at a single glance. This helps in quickly identifying trend confluence, momentum shifts, and potential entry/exit zones without cluttering your chart.
Key features:
Multi-Timeframe (MTF) dashboard view in one unified panel
Real-time status display for MACD, RSI, and Stochastic
Designed for clarity, speed, and ease of interpretation
Suitable for indices, equities, forex, and crypto markets
Disclaimer:
This indicator is strictly developed for learning and informational purposes only. It does not constitute financial advice, investment recommendation, or a solicitation to buy or sell any financial instrument. Past performance of any signal generated by this indicator does not guarantee future results. Trading in financial markets involves substantial risk, and you may lose more than your initial investment. Always conduct your own due diligence, apply proper risk management, and consult a certified financial advisor before making any trading decisions.
The author holds no responsibility for any trading losses incurred through the use of this indicator. Use at your own risk.
Future Roadmap:
This indicator is actively being refined. Upcoming versions will aim to improve signal accuracy, add additional confirmation layers, and expand timeframe flexibility based on user feedback and ongoing research.
Developed with passion for the trading community.
Regards,
Ramesh Vaishya
Independent Trader & Indicator Developer Indicator
