Regime Quadrant Map [XWiseTrade]Most "regime" indicators sort the market into two boxes: trending or ranging. But that single axis hides the variable that actually decides whether a trend is tradeable - volatility. A market drifting up in dead-calm conditions and a market ripping up in violent conditions are both "trending," yet they demand opposite tactics. Collapsing them into one label is why so many trend filters fail exactly when you lean on them. This indicator separates the two questions that a one-dimensional filter fuses together, and maps the result onto four regimes instead of two.
WHY VOLATILITY IS MEASURED AS AN ATR Z-SCORE, NOT RAW ATR
Raw ATR tells you nothing on its own - an ATR of 15 is enormous on one instrument and trivial on another, and huge in one era and small in the next. What matters is whether volatility is unusually high or low relative to this market's own recent behaviour. So ATR here is ranked against its own distribution over a lookback window and expressed as a Z-score: how many standard deviations above or below its own norm current volatility sits. That makes the reading self-referential and comparable across any symbol or timeframe, instead of an absolute number you'd have to re-learn for every chart.
WHY TREND IS MEASURED WITH EFFICIENCY RATIO, NOT A MOVING-AVERAGE SLOPE
A rising moving average tells you price is higher than it was - it does not tell you how price got there. Efficiency Ratio does: it divides the net directional move by the total distance price actually travelled to make it. A value near 1 means a clean, purposeful move; near 0 means price thrashed back and forth to end up in nearly the same place. Two charts with an identical slope can have completely different efficiency, and that difference - not the slope - is what separates a trend you can ride from a trap. Slope measures result; Efficiency Ratio measures quality.
THE FOUR QUADRANTS
Crossing the two axes gives four regimes, each with a distinct character:
- GRIND (trending + low volatility) - a steady, efficient directional move; the kind you can lean into.
- EXPANSION (trending + high volatility) - a violent directional move; momentum conditions, wider risk.
- COIL (ranging + low volatility) - compression; energy building, often ahead of a breakout.
- CHOP (ranging + high volatility) - whipsaw with no follow-through; the regime most accounts quietly bleed in.
HOW TO USE IT
Watch the regime label and background tint for the current quadrant, or read the two plotted lines directly against their dashed thresholds - the ATR Z-score line for the volatility axis, the Efficiency Ratio line for the trend axis. Both thresholds and both lookbacks are adjustable, so you can set what counts as "high volatility" or "trending" for your own instrument and timeframe. An alert fires whenever the market crosses into a new quadrant, so you don't have to watch it to know the regime shifted.
WHAT MAKES IT DIFFERENT
Standard regime tools reduce the market to a single trend-versus-range line and treat volatility as an afterthought. This one builds regime from two independent axes, measures volatility as a self-referential Z-score rather than an absolute number, measures trend by path efficiency rather than slope, and resolves the market into four actionable states instead of two - because "trending" alone was never enough to decide how to trade it.
These are descriptive regime classifications for discretionary use, not buy/sell signals. Indicator

OBV Signal Confluence [MarkitTick]💡 This advanced technical utility provides a comprehensive evaluation of market momentum by synthesizing cumulative volume flow with structural trend dynamics and dynamic support levels. Designed for rigorous market analysis, it evaluates directional shifts by demanding strict confluence across multiple dimensions, including momentum divergence, historical trend validation, and volatility expansion. Rather than relying on isolated price action, this tool builds a holistic profile of market participation, delivering a complete framework for structured trade management and robust signal verification.
● ✨ Originality and Utility
Most traditional momentum oscillators evaluate price velocity in a vacuum, completely ignoring the underlying participation required to sustain a trend. This utility stands apart by merging volume-weighted momentum with strict filtering mechanisms to evaluate the true strength of a market move. By integrating a multi-tiered filtration system, it effectively isolates high-probability directional shifts while filtering out low-participation market noise.
The utility is entirely self-contained, projecting dynamic trade management levels directly onto the chart when momentum alignment is confirmed. It seamlessly bridges the gap between raw data analysis and actionable trade management. By establishing precise entry, invalidation, and multiple target zones based on current market volatility, it transforms raw volume data into a structured operational blueprint.
Furthermore, the inclusion of a comprehensive heads-up display ensures that all underlying metrics—from momentum strength to historical trend states—are continuously aggregated and visually accessible, allowing for rapid contextual assessment without cluttering the primary analytical workspace.
● 🔬 Methodology and Concepts
This tool operates on a sophisticated, multi-layered evaluative engine. To protect the integrity of the underlying architecture, the methodology is described conceptually:
Cumulative Volume Flow: The primary engine evaluates the continuous flow of market volume, categorizing buying and selling pressure based on specific price action thresholds. This cumulative data is then smoothed against a dynamic, user-selectable baseline to establish the core momentum trajectory.
Higher Timeframe Confluence: To prevent acting on insignificant intraday fluctuations, the engine references the structural momentum of a higher timeframe. Signals are strictly gated unless the localized momentum aligns with this broader, macro-level directional bias.
Momentum Divergence Detection: The utility continuously scans for structural discrepancies between price pivot extremes and the corresponding extremes in the volume flow. When price establishes new structural boundaries without validating volume participation, the system flags these areas as potential exhaustion or reversal zones.
Volatility and Participation Filters: Trend strength and volume ratios are continuously measured against established historical averages. The engine requires both a minimum threshold of directional strength and a surge in relative volume participation to validate any momentum shift, ensuring that structural breaks are supported by actual market activity.
Dynamic Risk Profiling: Upon signal confirmation, the tool automatically calculates an invalidation level utilizing a multiplier of the underlying asset's average true volatility. Profit targets are then extrapolated from this established risk parameter, ensuring that every projected setup adheres to strict, predefined risk-to-reward ratios.
● 🎨 Visual Guide
The visual interface is designed to provide immediate contextual awareness while maintaining a clean charting environment:
Momentum Histogram: Plotted as columns, this visualizes the delta between the cumulative volume flow and its dynamic baseline. Color intensity shifts dynamically to reflect both the direction and the immediate acceleration or deceleration of the momentum.
Heat Candles: When enabled, this feature overrides the native chart candles, painting the price action to match the underlying volume momentum state, allowing for rapid visual confirmation of the current trend environment.
Divergence Markers: Distinct upward and downward triangular shapes are plotted directly on the chart to indicate areas where structural price action has diverged from the supporting volume flow.
Trade Management Levels: Upon a confirmed momentum shift, dashed horizontal lines appear to project the Entry, Stop Loss (SL), and three tiered Take Profit (TP) zones.
Risk/Reward Shading: Shaded background zones visually map the risk parameters, contrasting the invalidation zone against the projected reward territory to provide an immediate assessment of the trade's structural viability.
Heads-Up Dashboard: A customizable table anchored to the chart corner. It provides a real-time aggregate readout of all critical internal metrics, including current trend state, raw momentum values, divergence status, participation ratios, and active trade progression percentages.
● 📖 How to Use
Establish Context: Monitor the Heads-Up Dashboard to evaluate the current macro trend state and participation ratios. Wait for the dashboard to indicate alignment between directional momentum, volume participation, and trend strength.
Identify Confluence: Look for structural momentum shifts indicated by the histogram crossing its zero-line, strictly validated by the alignment of the Heat Candles. Divergence markers appearing prior to these shifts serve as early warning signs of an impending structural rotation.
Signal Confirmation: Wait for the current bar to close. The utility is engineered to execute calculations on confirmed data to ensure structural stability. A confirmed signal will instantly plot the dynamic trade management levels.
Execute and Manage: Utilize the projected Entry, Stop Loss, and Take Profit levels to structure your position. The Risk/Reward shading and the progress tracker on the dashboard will provide continuous feedback as the price action develops toward the established targets.
Alert Integration: For automated tracking, configure the built-in alert conditions which generate structured data payloads for long entries, short entries, position closures, and individual target strikes.
● ⚙️ Inputs and Settings
Core: Define the source data for momentum calculations and select the preferred baseline calculation method and lookback length. This also includes the pivot length for divergence detection.
Filters: Activate and calibrate the higher timeframe alignment constraints. Set the specific lengths and minimum thresholds for directional strength and volume participation multipliers to strictly define what constitutes a valid breakout.
Trade: Toggle the visibility of the dynamic management levels. Adjust the volatility lookback, the invalidation multiplier, and customize the exact risk-to-reward ratios for all three projected profit targets.
Vis: Control the visual clutter by toggling the histogram, zero line, divergence signals, and heat candles on or off according to personal preference.
Dash: Enable or disable the Heads-Up Dashboard and anchor it to any of the four chart corners for optimal workspace organization.
Alerts: Define custom action strings and dynamic payload identifiers to integrate seamlessly with external execution engines or tracking software.
Colors: Fully customize the aesthetic profile of the indicator. Modify the specific hex values and opacities for the histogram states, trade levels, risk shading, divergence markers, and the internal dashboard elements to match your charting theme.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The foundation of this utility is deeply rooted in the principles of Auction Market Theory and the Law of Effort versus Result. In any financial market, price discovery is driven by the continuous auction process between buyers and sellers. However, price alone is a one-dimensional metric. Volume represents the actual energy or "effort" expended to move that price. By systematically analyzing the relationship between price displacement and volume flow, this tool effectively maps the true liquidity absorption within the market.
When a market establishes a new structural price extreme, fundamental market mechanics dictate that this move must be supported by an equivalent expansion in volume participation. If the aggregate volume flow begins to decelerate while price continues to advance, a structural divergence is formed. This indicates a severe lack of liquidity supporting the current auction, highlighting an area where the prevailing trend is highly vulnerable to mean reversion or a complete structural failure.
Furthermore, the integration of volatility-based risk profiling adheres to established quantitative risk management principles. Market volatility is not static; it constantly expands and contracts in cyclical phases. By anchoring invalidation levels to a dynamic multiplier of average true volatility, the utility ensures that risk parameters adapt to the current market environment. This prevents premature invalidation during periods of high liquidity expansion while maintaining tight structural constraints during periods of market consolidation.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Ribbon Concordance [RC Tools]RC Tools — Ribbon Concordance
─────────────────────────────────────────────────────────────
█ OVERVIEW
Most ribbon-of-moving-averages tools either average the ribbon or rely on simple crossovers. This one asks a different question: is the ribbon consistently ORDERED? A cleanly stacked ribbon signals real trend conviction; a tangled, crossing one signals chop — often before any single moving average has crossed another.
█ WHAT IT DOES
Plots a live moving-average ribbon directly on the price chart (choice of 7 MA types, up to 10 MAs), plus a rank-concordance score (-100 to +100) in its own pane. Classifies the ribbon into four bands — Strong Bullish, Weak Bullish, Weak Bearish, Strong Bearish — colours the chart background accordingly, and shows a table with the current band, how long price has been in it, and historical base rates (average forward return and win rate) for each band.
█ THE THEORY BEHIND IT
Ribbon tools usually throw away information about HOW consistently the ribbon is stacked, collapsing it to an average or a single crossover event. This tool instead measures rank concordance — a public, long-established statistical concept (related to Kendall's tau) that quantifies how well two orderings agree with each other. Applied to a moving-average ribbon: compare every pair of MAs, shorter-period against longer-period, and score whether their relative ordering is consistent with a clean trend. A ribbon where every shorter MA sits above every longer one (or below, for a downtrend) scores near the extreme; a tangled, crossing ribbon averages out near zero. This is a different statistical question than "is price above its moving average" or "how efficient was the recent price path" (see the Regime Classifier for that approach) — it is specifically about internal agreement across the whole ribbon at once.
█ HOW IT IS CALCULATED
1. Build a ribbon of N moving averages (configurable type and count), with periods increasing linearly from a base period by a fixed spacing.
2. For every pair of MAs (i, j) where i has a shorter period than j: score +1 if MA > MA (bullish-consistent ordering), -1 if reversed, 0 if tied.
3. Sum all pair scores and normalise by the number of pairs compared, scaled to -100..+100.
4. Optionally EMA-smooth the raw score, which is otherwise a somewhat steppy pairwise count, for a cleaner read.
Classification occurs ONLY on confirmed bar close — the band never flips mid-bar and reverses. The MA ribbon itself plots live, exactly like any moving average on any chart; that is normal behaviour, not repainting. Only the concordance score and its band classification are held to confirmed bars.
█ SETTINGS & CONFIGURATION
• Source, MA Type (SMA / EMA / WMA / RMA / HMA / DEMA / TEMA)
• Base Period and Period Spacing — set the shortest MA and the gap between each successive one
• Ribbon Size (3-10 MAs) — more MAs smooth the read but add lag from the longest one; fewer react faster but are noisier
• Score Smoothing Length — EMA smoothing on the raw concordance score (set to 1 for none)
• Strong Threshold — the score above which (or below its negative) a band counts as "Strong" rather than "Weak"
• Forward Return Window — the horizon used for the base-rate table
• Show MA Ribbon on Chart — toggle the ribbon overlay off if you only want the concordance pane
• Ribbon gradient colours (short end / long end) and band colours are fully configurable
█ HOW TO USE IT
Use it as a trend-conviction filter alongside your existing process. Strong Bullish/Bearish bands indicate a cleanly stacked ribbon — a higher-conviction environment for trend-following approaches. Weak bands, or frequent flips between Weak Bullish and Weak Bearish, indicate the ribbon is loosely ordered — more caution warranted for trend-following, and potentially a more favourable environment for mean-reversion approaches instead. Check the base-rate table's sample count before assuming any one band is systematically favourable.
Works on any asset and timeframe; ribbon size and spacing should be tuned to the timeframe you trade (a wide, long-spaced ribbon on a low timeframe will lag heavily).
█ LIMITATIONS
• This is a ribbon of moving averages — inherently lagging by construction. It confirms alignment after price has already moved, and this cannot be removed without curve-fitting.
• Near-zero or Weak readings are common in choppy, range-bound conditions and do NOT predict a breakout direction — they only describe the ribbon's current state of (dis)agreement.
• Ribbon size is a real trade-off: more MAs smooth the read but add lag from the longest included MA; fewer MAs react faster but are noisier.
• The concordance score and band update on confirmed bar close only. The ribbon MA lines themselves plot live, like any moving average — that is normal behaviour, not repainting.
• Historical base-rate stats need a meaningful sample count (check N) before being trusted, especially for less common bands.
• Four bands are a deliberate simplification of a continuous reality. Markets do not actually occupy discrete states.
█ DISCLAIMER
For educational and informational purposes only. Nothing here is financial advice. Past behaviour of any band does not indicate future results. Trade at your own risk.
Indicator

Elaris Market Energy [Professional]Elaris Market Energy
Overview
Elaris Market Energy is a multi-factor oscillator designed to evaluate the strength, direction, participation, and sustainability of market movement.
Rather than relying on a single momentum calculation, the indicator combines several independent market characteristics into one normalized energy score. The goal is to help traders distinguish between weak price movement, developing participation, strong directional expansion, compression, and potential exhaustion.
The Market Energy score is displayed in a separate oscillator panel and generally ranges from -100 to +100.
* Positive values represent bullish market energy.
* Negative values represent bearish market energy.
* Values near zero represent neutral conditions, weak participation, or market compression.
This indicator is intended to support market analysis and confirmation. It is not presented as a complete trading system and does not guarantee future price movement.
---
Core Market Energy Model
The final Market Energy score is calculated from six configurable components.
Price Impulse
Measures directional price displacement relative to current market volatility.
This helps distinguish meaningful movement from ordinary price fluctuations.
Candle Conviction
Evaluates the structure of the current candle using:
* Candle body size
* Closing position inside the candle range
* Upper and lower wick balance
* Bullish or bearish candle direction
A strong directional candle generally contributes more energy than an indecisive candle.
Volume Participation
Compares current volume with its recent average and evaluates whether market participation supports the current directional move.
On symbols where volume data is unavailable or limited, the volume component may provide less information.
Range Expansion
Measures whether the current true range is expanding relative to recent market activity.
Range expansion can help identify periods where volatility and directional participation are increasing together.
Trend Alignment
Evaluates:
* Price position relative to an internal trend average
* Direction and slope of the trend average
* Alignment between current movement and broader market direction
This component helps reduce the influence of momentum that is moving against the prevailing trend structure.
Momentum Efficiency
Combines directional momentum with movement efficiency.
Movement efficiency compares the net price displacement with the total distance traveled. Cleaner directional movement generally produces a stronger reading than unstable or highly overlapping price action.
---
Directional Movement Confirmation
The indicator also uses Directional Movement Index information.
The relationship between positive and negative directional movement helps confirm whether bullish or bearish pressure is dominant.
ADX is used as a supporting measurement of trend strength. It does not independently determine the Market Energy score and is applied as a controlled confirmation component.
---
Market Regimes
The indicator classifies market conditions into several practical regimes.
Compression
Market Energy remains close to zero, suggesting limited directional participation or reduced momentum.
Compression can occur during consolidation, low volatility, or periods of market indecision.
Bullish or Bearish Energy
Directional participation is developing, but the movement has not yet reached the strong-energy threshold.
Strong Bullish or Bearish Energy
Multiple components are aligned and directional participation has increased.
These conditions may support continuation analysis when confirmed by price structure.
Extreme Energy
The oscillator has reached an unusually strong directional reading.
Extreme energy can represent:
* Strong continuation
* Rapid volatility expansion
* Late-stage momentum
* A condition that may eventually transition into exhaustion
An extreme reading should not automatically be interpreted as a reversal signal.
Fading Energy
Directional energy remains elevated but is beginning to weaken.
Fading energy may indicate reduced participation, consolidation, or potential exhaustion. Price confirmation remains important.
---
Signal Types
Bullish Energy Entry
A bullish signal may appear when:
* Market Energy crosses above the selected entry threshold
* Energy is above its signal line
* Energy acceleration is positive
* Enabled trend and directional filters are satisfied
* Optional volume and candle-quality filters are satisfied
Bearish Energy Entry
A bearish signal uses the opposite conditions:
* Market Energy crosses below the negative entry threshold
* Energy is below its signal line
* Energy acceleration is negative
* Enabled bearish filters are satisfied
Compression Release
Compression-release markers identify a transition from low-energy conditions into directional expansion.
These signals are intended to highlight developing volatility and participation after a compressed market phase.
Energy Exhaustion
Exhaustion markers identify situations where:
* Energy recently reached an extreme level
* The energy score begins to decline
* Energy acceleration turns against the previous direction
* Price begins showing an opposing reaction
Exhaustion markers are warnings of weakening momentum. They do not confirm a complete trend reversal on their own.
---
Visual Elements
Energy Histogram
The histogram displays both direction and intensity.
* Bullish columns represent positive energy.
* Bearish columns represent negative energy.
* Stronger opacity represents increasing directional intensity.
* Faded columns indicate weakening energy.
Energy Line
The main line shows the smoothed composite Market Energy score.
Signal Line
The signal line provides a slower reference for identifying changes in short-term energy direction.
Energy Cloud
The cloud between the Energy line and Signal line provides a quick visual representation of bullish or bearish energy alignment.
Regime Background
Optional background shading highlights:
* Strong bullish conditions
* Strong bearish conditions
* Market compression
Dashboard
The optional dashboard summarizes:
* Current Market Energy score
* Current market regime
* Energy acceleration
* Relative volume
* ADX
* Price impulse
* Candle conviction
* Volume pressure
* Range expansion
* Trend alignment
* Momentum efficiency
* Signal confirmation mode
The dashboard is intended to provide a quick overview without requiring the trader to interpret each internal calculation separately.
---
Calculation Profiles
Fast
Uses shorter internal calculation lengths.
This profile reacts more quickly but may also produce more frequent changes and additional noise.
It may be suitable for lower-timeframe analysis when combined with strict filters.
Balanced
Provides a middle ground between responsiveness and stability.
This is the default profile and is suitable as a general starting point.
Conservative
Uses longer calculation lengths.
This profile produces slower and generally more stable readings, which may be useful on higher timeframes or when fewer signals are preferred.
---
Suggested Usage
The indicator can be used for several types of market analysis.
Trend Confirmation
Bullish price structure combined with positive and increasing Market Energy may support bullish continuation analysis.
Bearish price structure combined with negative and decreasing Market Energy may support bearish continuation analysis.
Breakout Confirmation
A breakout accompanied by:
* Range expansion
* Increased relative volume
* Strong impulse
* Rising Market Energy
may have greater participation than a breakout occurring during weak or compressed energy.
Pullback Analysis
During a broader trend, temporary energy weakness followed by renewed directional acceleration may help identify continuation conditions.
Compression Monitoring
Low absolute Market Energy can help identify markets that are consolidating or losing directional participation.
A later compression release may highlight the start of renewed expansion.
Exhaustion Monitoring
Extreme energy followed by weakening acceleration may help traders identify when a mature move is losing participation.
This should be combined with price structure, support and resistance, liquidity levels, or other confirmation methods.
---
Recommended Starting Settings
For lower timeframes, traders may consider:
* Fast or Balanced profile
* Higher entry threshold
* Volume filter enabled
* Candle-quality filter enabled
* Candle-close confirmation enabled
For medium timeframes, the Balanced profile and default settings provide a practical starting point.
For higher timeframes, the Conservative profile may provide smoother regime identification and fewer short-term fluctuations.
Settings should be adjusted based on the symbol, timeframe, liquidity, and trading approach.
---
Alerts
The script includes alert conditions for:
* Bullish Energy Entry
* Bearish Energy Entry
* Bullish Compression Release
* Bearish Compression Release
* Bullish Energy Exhaustion
* Bearish Energy Exhaustion
* Strong Bullish Regime
* Strong Bearish Regime
* Energy Compression
For stable alerts, enabling candle-close confirmation and selecting “Once Per Bar Close” when creating the PulseWire alert is recommended.
---
Repainting Information
Elaris Market Energy does not use future data, lookahead logic, or future-confirmed pivot calculations.
The indicator does not repaint historical closed-bar signals when candle-close confirmation is enabled.
The live Market Energy value may change while the current candle is still forming because price, volume, candle range, and volatility are still changing.
When “Confirm Signals On Candle Close” is enabled, signals are only confirmed after the candle closes.
When this setting is disabled, signals may appear during an open candle and may disappear before that candle closes.
---
Important Notes
This indicator is a technical analysis tool and should not be interpreted as financial advice.
Market Energy measures current and historical market conditions. It does not predict future results with certainty.
Signal performance can vary significantly across:
* Symbols
* Asset classes
* Timeframes
* Volatility conditions
* Liquidity environments
* Trending and ranging markets
Traders should use appropriate risk management and independently evaluate all trading decisions.
Indicator

Boshmann's Market Direction HistBoshmann's Market Direction Hist
The theory behind a directional histogram is to visually quantify not just the direction of a trend, but its underlying momentum and the distance between moving averages. While identifying a trend regime categorizes the market into a fixed state (bull, bear, or sideways), measuring the spread between a fast and slow moving average reveals whether that trend is accelerating, decelerating, or reaching exhaustion. By projecting this spread as an oscillator around a zero line, traders can easily spot momentum divergences and gauge the true strength of a directional move.
How the Script Works: The script calculates the raw distance between a short-term moving average (20-period SMA) and a long-term moving average (100-period SMA). To ensure the indicator works seamlessly across any asset class or timeframe—whether a stock is trading at $5 or $50,000—it normalizes this distance as a percentage of the current price. It then plots this normalized momentum as a histogram. Finally, the histogram bars are painted using the exact same logic as the Regime Counters script: Green for Strong Bull, Red for Strong Bear, and Yellow for Sideways.
Why You Should Use It: This script is explicitly designed to be used in combination with the Regime Counters and Volatility Histogram scripts to form a complete, three-dimensional view of the market.
A user should use this histogram because while the Regime Counter tells you what state the market is in, the Direction Histogram tells you how strong that state is. For example, if the Regime Counter classifies the market as "Bullish" but you see the green bars on this histogram steadily shrinking toward the zero line, it is a leading indicator that upward momentum is dying long before the official regime flips. Together, the three scripts allow you to trade systematically: the Regime Counter dictates your directional bias, the Volatility script warns you of price expansion, and the Direction Histogram measures the real-time conviction pushing the trend. Indicator

Trend Persistence OscillatorTrend Persistence Oscillator
OVERVIEW
Most oscillators answer "is price stretched?" This one answers the prior question almost everyone skips: "is the market even in a state where a stretch should snap back?" It plots a rolling persistence exponent of price around the 0.5 line. ~0.5 is a random walk; above 0.5 the series is persistent (moves tend to continue → trending); below 0.5 it is anti-persistent (moves tend to reverse → mean-reverting). It is an analytical study of market state — not a directional signal and not a strategy.
WHY THESE COMPONENTS BELONG IN ONE SCRIPT (mashup rationale)
Three parts that chain into one testable idea — is a reversion likely here, and has that held before?
The persistence exponent classifies the regime (trending / random / reverting). Research finds price reverts to its mean significantly faster when the local exponent is anti-persistent, so a low reading is a green light for fades and a high reading is a warning that a reversion will likely fail.
A stretch z-score measures how far price sits from its rolling mean — the "is it extended?" half a regime read alone can't supply.
A fade flag arms only when both agree (anti-persistent regime and stretched), turning the research claim into a concrete, located event.
The calibration harness proves or disproves the claim on your instrument: it logs each fade and checks, a fixed horizon later, whether price actually reverted — reporting Edge versus the unconditional base rate.
A regime read without a stretch is just a state label; a stretch without the regime is a naive fade; either without calibration is an untested assertion. Chained, they answer one question end to end. Remove a part and the chain breaks.
HOW IT WORKS
The exponent is estimated by the structure-function (generalized-Hurst) method: for several lags, the windowed mean of |log-price(t) − log-price(t−lag)| scales like lag^H, so the exponent is the slope of log(mean|Δ|) against log(lag). The first-moment (absolute) form is used deliberately because it is the variant most robust to the heavy tails of financial returns — Monte-Carlo studies find the generalized-Hurst approach gives the lowest bias and variance of the common estimators on heavy-tailed data.
A short optional smoothing tames the noise inherent to short-window local estimates (very short windows are known to produce volatile readings and false alarms).
A stretch z-score and the regime thresholds combine into the fade flag.
The harness logs each fade and, a fixed horizon later, checks a ≥ k × ATR reversion.
HOW TO USE
Read the line for regime: in the green (reverting) zone, mean-reversion / fade setups have the wind behind them; in the gold (trending) zone, expect continuation and treat reversion setups with suspicion; near 0.5 the tape is effectively random. The fade dots mark reverting-and-stretched moments. Then read the Edge row — a regime filter only earns its keep if fades taken inside it beat the unconditional base rate. Context, never a standalone trigger.
Three visual styles are provided (Gradient area + glow / Histogram / Line).
UNIVERSAL ACROSS MARKETS
The price source is an input, so the engine runs on any instrument and timeframe. Defaults target intraday index futures (e.g. NSE NIFTY); change the source for any other market. The reading is self-normalising around 0.5, so the same regime bands work everywhere.
ORIGINALITY
The exponent itself is a standard public statistic, credited below. The original work is the assembly: a structure-function persistence estimator chosen for heavy-tail robustness and smoothed against short-window noise, gated against a stretch z-score into a located fade event, and tied to a forward base-rate calibration so the regime claim is tested on each instrument rather than asserted. It is a regime and validation tool, not a plain exponent plot. No third-party Pine code is reused.
CONCEPT CREDIT
The scaling exponent and rescaled-range analysis — Harold E. Hurst (1951). Fractional / self-similar processes and the generalized exponent — Benoit Mandelbrot. The structure-function (generalized-Hurst) estimator is the variant most robust to heavy-tailed financial data. The anti-persistence-anticipates-reversion application follows recent local-exponent mean-reversion research (2024). Not affiliated with, nor endorsed by, any third party.
HONESTY / LIMITATIONS
The exponent is an estimate from a finite window — it is noisy and lags, and short windows can raise false alarms (which is why a smoothing control is provided, on by default). A low reading is context, not a trigger. The Edge figures are in-sample, close-to-close, with overlapping forward windows and no costs — descriptive context, not a verified backtest. An Edge near zero or negative is the harness honestly reporting that the regime read isn't helping here; do not tune until it turns green — that is curve-fitting. Nothing here predicts direction.
DISCLAIMER
Research and educational tool only. NOT financial advice and NO guarantee of profitability or accuracy. Indicators describe past behaviour; they do not predict the future. Trading carries risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability for any use of this script. Indicator

Candle EfficiencyCandle Efficiency
Candle Efficiency reveals the true strength behind each candle by looking inside it. Two candles can have the exact same size and color yet tell completely different stories: one may have moved in a clean, decisive push, while the other crawled there through constant back-and-forth. The standard chart hides this, because a candle is only a summary of what happened inside it. This indicator breaks each candle down into its lower-timeframe components and measures how efficient the move really was, then highlights only the candles that moved with genuine conviction.
HOW IT WORKS
For every candle on your chart, the indicator pulls all the candles from a lower timeframe that make up that candle (it "dissects" the candle). It then compares two things:
- Net movement: the absolute distance from open to close of the candle (how far price actually advanced, in clean terms).
- Total internal movement: the sum of the open-to-close moves of every lower-timeframe candle inside it (how much price moved in total, including all the back-and-forth).
Efficiency = Net movement / Total internal movement
A value close to 1 means the move was direct and strong: price went almost in a straight line, with little wasted motion. A value close to 0 means the move was choppy and weak: lots of internal movement that cancelled itself out and barely advanced. A large green candle built from one clean push is efficient; a same-sized green candle built from hesitation, pauses and reversals is inefficient, even though both look identical on the chart.
AUTO-CALIBRATION
Two things adjust automatically so the indicator works on any market and any timeframe without manual tuning:
- Inner timeframe: chosen automatically to keep a constant ratio (around 16 lower-timeframe candles inside each chart candle). On a 4h chart it uses 15m, on 1h it uses 5m, on 15m it uses 1m, and so on. You can change the target ratio or set the inner timeframe manually if you prefer.
- Strength threshold: the indicator measures the recent average efficiency of the current asset and only highlights candles whose efficiency clearly exceeds that average (by default, 1.3 times the average). This means "strong" always adapts to what is normal for that specific asset and timeframe, instead of relying on a fixed value that would only fit one market.
WHAT YOU SEE
Only strong candles are colored: bright green for strong bullish candles, bright red for strong bearish ones. Every other candle (weak or average) stays neutral gray. At a glance you only see where there was real conviction behind the move, with no noise from the ordinary candles.
HOW TO USE IT
Basic reading: the bright candles mark moves made with genuine strength. A breakout, a trend leg or an impulse confirmed by a bright candle carries real conviction behind it; the same move shown as a gray candle is weak and far more suspect. It helps separate moves that have fuel from moves that are just drifting.
Reading the shift of control (advanced): because the indicator shows which side is moving with strength, it makes changes of control visible before price fully confirms them. Watch for this sequence at the end of a trend:
- In a downtrend: while sellers are in control, the strong candles are red. When the decline starts turning gray (red candles stop being strong), the trend is losing conviction even though price is still falling. If strong green candles then begin to appear on the bounces, control is shifting to buyers, and a reversal to the upside becomes likely.
- In an uptrend: the mirror image. Strong green candles dominate the rise, then the top turns gray (green candles lose their strength), and the appearance of strong red candles signals control passing to sellers and a likely reversal down.
The gray phase is the key early warning: it shows the trend running out of strength before the actual turn, which is information you cannot get from price alone. The arrival of a strong candle of the opposite color then confirms the change of control.
NOTES
The indicator relies on lower-timeframe data, so it needs the inner timeframe to be smaller than the chart timeframe. On assets without volume data it still works, since the efficiency calculation is based on price movement, not volume. Like any tool, it describes what has already happened (it is reactive, not predictive) and works best as a reading aid alongside your own structure and levels, not as a standalone signal. Indicator

Normalized Candles RSI [Jamallo]🔹 Intro
The Normalized Candles RSI is a quantitative momentum and volatility indicator designed to transform raw, trending price action into a stationary 0-100 oscillator. By passing price data through a Fractional Differencing engine and a dynamic Z-Score normalization layer, it strips away market drift and presents pure, bounded candlestick momentum. This stationary price structure is then directly overlaid with a traditional RSI and Divergence engine for highly confluent signals.
🔹 Break down
Fractional Differencing (FFD): Transforms non-stationary price data into a stationary series while retaining deep historical memory (controlled by the "d" parameter). This prevents the data loss associated with standard period-to-period differencing.
Normalization Engine: Applies a rolling Z-Score to the differenced data, which is then passed through a Sigmoid compression function. This mathematically forces the resulting candlesticks into a strict 0-100 range without repainting.
RSI & Divergence Engine: Overlays a classic RSI with optional smoothing moving averages and Bollinger Bands. Built-in regular bullish and bearish divergence detection algorithms automatically scan for momentum exhaustion relative to the price.
🔹 Visual Guide: Indicator Anatomy
The true power of this indicator lies in its visual mapping. As shown in the snapshot, the indicator pane perfectly merges the structure of raw price action directly with a classic RSI oscillator.
1:1 Structural Mapping: Notice how the normalized candles in the middle pane mirror the raw price action in the main chart exactly (highlighted by the "1:1 with overlay candle sticks" annotation). You get the exact same highs, lows, and structural candlestick patterns, but stripped of drift and mathematically squashed into a stationary box.
Normalized Candles + Standard RSI: If you look at a standard RSI (bottom pane), you only see a floating line. By overlaying the normalized candles (middle pane), you can see exactly how the physical candlestick bodies and wicks behave relative to the RSI's 0-100 bounds and its smoothing moving average (the yellow line).
Actionable Context: When a localized top or bottom forms, you aren't just guessing based on a purple line peaking. You can see the actual candlestick structure exhausting itself, forming wicks and reversal patterns right against the upper (70+) or lower (30-) overextended boundaries.
🔹 Settings Parameters
- Diff Order (d) (0.01 - 0.99): The fractional differencing order. Higher values make the series more stationary but remove more historical memory.
- Z-Score Lookback: The rolling window used to calculate the mean and standard deviation for the 0-100 normalization engine.
- Sigmoid Compression Scale: Controls the elasticity of the 0-100 bounds. A higher value results in softer compression at the extremes, while a lower value makes it compress faster.
- RSI Settings & Smoothing: Standard parameters for the RSI length, smoothing moving averages (SMA, EMA, VWMA, etc.), Bollinger Bands, and the divergence lookback constraints.
🔹 Credits & Acknowledgements
The core RSI and Divergence engine utilized in this script is adapted from PulseWire's built-in Relative Strength Index indicator code. Indicator

Delta Barometer [JOAT]Delta Barometer
Introduction
Delta Barometer is an open-source dual-engine institutional pressure indicator that generates directional signals from two independent momentum measurement systems — an ATR trailing stop with Trend Strength Score, and a cumulative delta volume crossover with Pressure Score — and allows the user to configure how the two engines interact via four hybrid modes.
The core insight is that trend-following signals and momentum signals often disagree during transition periods and agree during high-probability setups. By building both engines independently, assigning each a score that reflects the quality of its reading, and providing modes that require either one engine, either engine, or both engines simultaneously, the indicator lets traders choose the selectivity level appropriate to their strategy. Requiring confluence produces fewer but higher-quality signals; allowing either engine to fire produces more signals with less selectivity.
Core Concepts
1. Engine A: ATR Trailing Stop with Trend Strength Score
A regime-adaptive ATR trailing stop is computed with different multipliers for low, medium, and high volatility environments. The ATR ratio determines the regime. The trail ratchets in one direction only and produces a signal on flip.
A Trend Strength Score (TSS) between 0 and 100 qualifies each trail flip: RSI slope magnitude contributes 40%, volume rate relative to its average contributes 35%, and ATR expansion relative to a shorter ATR period contributes 25%.
float tssScore = (rsiSlopeComp * 0.40 + volRatioComp * 0.35 + atrExpandComp * 0.25) * 100
2. Engine B: Cumulative Delta Volume with Pressure Score
Signed volume (positive when close is above open, negative otherwise) is accumulated into a running cumulative delta. A moving average of the cumulative delta is computed. A crossover of delta above its moving average is a potential bullish signal; a crossunder is bearish.
A Pressure Score between 0 and 100 qualifies each delta crossover: the magnitude of the delta ratio contributes 40%, volume rate relative to average contributes 35%, and candle body size relative to candle range contributes 25%.
3. Four Hybrid Modes
Both Engines: A signal requires both Engine A and Engine B to produce a raw signal simultaneously. Highest selectivity.
Priority A: Engine A signals take precedence; Engine B fills gaps where A is not firing.
Priority B: Engine B signals take precedence; Engine A fills gaps where B is not firing.
Either Engine: A signal fires when either engine produces a raw signal. Highest frequency.
4. Regime Arming
Each engine can be restricted to fire only in compatible volatility regimes — preventing the trailing engine from generating whipsaw signals during volatility compression.
5. Five-State Pressure Candle Coloring
Bar colors reflect the combined pressure state across both engines on a five-level scale: strong bull, moderate bull, neutral, moderate bear, strong bear.
Features
Engine A — ATR trail with TSS: Regime-adaptive trailing stop with Trend Strength Score qualifying each flip signal
Engine B — Delta volume with Pressure Score: Cumulative signed volume crossover with composite Pressure Score qualification
Four hybrid modes: Both Engines, Priority A, Priority B, Either Engine — configurable selectivity
Regime arming: Each engine independently armed for specific volatility regimes
Five-state pressure candle coloring: Strong bull / moderate bull / neutral / moderate bear / strong bear reflected in bar colors
Gradient trail fill: Gradient between trailing stop and close; color inverts with trail direction
Trade block on signal: Entry, stop (correctly positioned above entry for shorts, below for longs), and TP level rendered as colored boxes on confirmed signals. Stop line is bold dashed red with high-contrast label background. Entry always sits visually between the stop and take-profit zones
9-column horizontal dashboard: Mode, regime, TSS, pressure score, trail direction, delta, engine ID, signal state, status — shown in a horizontal table layout at chart bottom
Non-repainting: All signals confirmed on barstate.isconfirmed
Four color themes: Phantom, Neon, Classic, Solar
Backtest tracker: Win rate and expected value tracked per engine type
Input Parameters
Engine A — ATR Trail:
ATR Length, Low/Med/High Regime Multipliers
Regime ATR Lookback, Low/High Vol Thresholds
TSS Lookback and Min TSS Score to fire
Engine B — Delta Volume:
Delta MA Length, Min Pressure Score
RSI Overbought/Oversold gates
Hybrid Mode:
Hybrid Mode: Both Engines / Priority A / Priority B / Either Engine
Engine A and B arming: All / Low Only / Med + High / High Only
Signal:
Cooldown Bars, TP ATR Multiple, SL % from Entry
How to Use This Indicator
Step 1: Select the Hybrid Mode
Start with Either Engine for maximum signal frequency. Switch to Both Engines when you want only the highest-conviction setups. Priority modes are useful when you trust one engine more than the other for a particular asset.
Step 2: Read the 9-Column Dashboard
The horizontal dashboard shows the current state of both engines simultaneously. The ENGINE column shows which engine fired (A, B, or A+B for confluence). The TSS and PRESSURE columns show the raw quality scores of each engine.
Step 3: Verify Trade Block Direction
For LONG signals: the red risk box appears below entry (stop is below) and the green reward box appears above entry (TP is above). For SHORT signals: the red risk box appears above entry (stop is above) and the green reward box appears below entry (TP is below). Entry is always the dividing line between the two zones.
Step 4: Use Regime Arming for Market Fit
If the asset tends to trend strongly, arm Engine A for all regimes. If it is more volatile-momentum driven, arm Engine B for all regimes. Use Med + High arming for Engine A to avoid choppy low-volatility whipsaws.
Indicator Limitations
The TSS score components all lag price by varying amounts. Signals in fast-moving markets may arrive after the optimal entry point
Cumulative delta volume as used here is a proxy. It approximates institutional bias without access to true bid-ask tick data
Both Engines mode will produce very few signals on most assets. Adjust to Priority or Either modes if signal frequency is too low
Regime classification uses ATR ratio, which is a lagging measure. A volatility spike that changes the regime will affect engine arming only after ATR responds
Originality Statement
The dual-engine architecture with four configurable interaction modes — each engine carrying its own qualification score — and per-engine regime arming is an original design not replicated in existing open-source Pine Script v6 publications
The Trend Strength Score weighting RSI slope, volume rate, and ATR expansion as qualification for ATR trail flip signals, combined with a separate Pressure Score for delta crossovers, provides independent signal quality assessment that single-engine indicators do not offer
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past signal statistics do not predict future performance. The author accepts no responsibility for trading losses resulting from use of this indicator.
Made with passion by jackofalltrades
Indicator

True Trend Oscillator + Price EnvelopeTrue Trend Oscillator + Price Envelope is a Pine v6 rebuild and expanded interpretation of the original True Trend Oscillator concept by wbburgin.
The original idea is simple but powerful:
• Convert ATR into a stochastic volatility / trend-energy reading
• Smooth that Stoch ATR reading with a Rational Quadratic Kernel
• Use RSI as the directional pressure input
• Build separate Bull Trend and Bear Trend lines from that shared volatility engine
In this rebuild, I kept the original spirit of the oscillator but expanded it into a fuller trend-energy framework with automatic timeframe-aware settings, cleaner visual controls, price-pane candles, and a chart-side ATR envelope.
────────────────────────────
Core Idea
────────────────────────────
The oscillator is built from two main pieces:
1. Volatility / trend energy
ATR is normalized through a stochastic calculation, then smoothed with a Rational Quadratic Kernel. This creates the “energy” side of the oscillator.
2. Directional pressure
RSI supplies the directional side of the model.
The two final oscillator lines are:
Bull Trend = sqrt(RSI × Smoothed Stoch ATR)
Bear Trend = sqrt((100 - RSI) × Smoothed Stoch ATR)
That means the Bull and Bear lines are both connected to the same volatility / trend-energy source, but RSI determines which side has more directional pressure.
────────────────────────────
How to Read the Oscillator
────────────────────────────
The oscillator has two main lines:
• Bull Trend line
• Bear Trend line
The leading line shows which side currently has control.
A few practical reads:
• Bull above Bear
Bull pressure is leading.
• Bear above Bull
Bear pressure is leading.
• Both lines rising together
Trend energy is expanding.
• Both lines falling together
Trend energy is cooling, compressing, or losing force.
• Both lines collapsing near zero
The market is moving into a low-energy / compression state.
This is one of the more important parts of the script. The oscillator is not only asking which side is leading but whether the move has enough volatility energy behind it to matter.
────────────────────────────
Active Trend Threshold
────────────────────────────
The active threshold is used to separate trend conditions from low-energy / range conditions.
A trend is only treated as active when the weaker side of the oscillator is above the active threshold.
In plain terms:
• Bull can be above Bear, but if both lines are too weak, the script treats the market as range / low energy.
• Bear can be above Bull, but if volatility energy is collapsing, the script does not force a strong trend read.
• When both sides clear the threshold, the leading side becomes more meaningful.
This helps reduce the “every crossover is a signal” problem that many simple oscillators can have.
────────────────────────────
Extreme Readings
────────────────────────────
The script includes an upper guide at 80. When the Bull Trend line pushes above 80, the script can highlight that as an extreme bull-energy condition. When the Bear Trend line pushes above 80, the script can highlight that as an extreme bear-energy condition.
By default:
• Bull extreme = orange
• Bear extreme = purple
These colors can also carry into the price candles and envelope visuals, making strong directional energy easier to spot without needing to stare only at the oscillator pane.
────────────────────────────
Auto / Manual Engine
────────────────────────────
The script includes an Auto / Manual engine profile.
Auto mode adjusts the main calculation settings based on the chart timeframe, including:
• ATR length
• Stochastic length
• RSI length
• Stoch smoothing
• Kernel lookback
• Kernel weighting
• Active range threshold
Manual mode unlocks the user-defined settings. When Auto mode is active, the manual inputs are grayed out so the settings panel stays easier to understand.
────────────────────────────
Price Candle Overlay
────────────────────────────
This rebuild includes a price-pane candle overlay using plotcandle() and force_overlay.
The candle overlay keeps the real OHLC candle shape intact, but recolors the body, wick, and border based on the active True Trend state.
The candle colors can represent:
• Bull trend
• Bear trend
• Range / low-energy
• Bull extreme
• Bear extreme
Body, wick, and border transparency are controlled separately, so the candle overlay can be made bold or subtle depending on the chart style.
────────────────────────────
True Trend Price Envelope
────────────────────────────
The script also includes a True Trend Price Envelope projected onto the main chart.
The envelope is built from:
• EMA(HLC3) basis
• ATR-based width
• True Trend strength expansion
As oscillator strength increases, the envelope can widen. This creates a chart-side visual map of how the oscillator’s trend-energy state is interacting with price.
The envelope behavior is designed around support / resistance style context:
• Bull-side pressure fills the upper half of the envelope
• Bear-side pressure fills the lower half of the envelope
• Bull pressure can plot the lower band as a support-style trail
• Bear pressure can plot the upper band as a resistance-style trail
• Neutral conditions can optionally show a soft neutral envelope or basis trail
This helps connect the oscillator pane back to price instead of leaving the oscillator isolated below the chart.
────────────────────────────
How I Use It
────────────────────────────
I use this script as a trend-energy and compression map.
A few practical ways to read it:
• When Bull is above Bear and both lines are rising, bull pressure is expanding with energy.
• When Bear is above Bull and both lines are rising, bear pressure is expanding with energy.
• When the leading side is still on top but both lines are falling, the move may be cooling or losing force.
• When both lines collapse toward zero, the market may be compressing or moving through a lower-energy phase.
• When price is holding the envelope trail in the same direction as the oscillator state, the price chart is confirming the oscillator pressure more cleanly.
• When oscillator pressure and price-envelope behavior disagree, that disagreement can be useful information by itself because it may point to chop, transition, or fading momentum.
• Extreme colors can help identify when directional energy is stretched rather than simply trending.
This is not meant to be a standalone buy/sell signal machine. It is a visual context tool designed to help organize trend direction, volatility energy, compression, and price confirmation.
────────────────────────────
Attribution
────────────────────────────
This script is a Pine v6 rebuild and expanded interpretation of the original True Trend Oscillator concept by wbburgin.
Original author / concept:
• © wbburgin
• Original PulseWire script:
This version adds my own Pine v6 structure, Auto / Manual timeframe behavior, expanded visuals, price-pane plotcandles, extreme-state coloring, and the True Trend Price Envelope.
Special thanks to jdehorty for the KernelFunctions library used for the Rational Quadratic Kernel smoothing.
As always, this script is a visual context tool. It is not financial advice and is not meant to replace risk management, market structure, support/resistance, volume analysis, or a complete trading plan.
────────────────────────────
Chart Examples
────────────────────────────
Indicator

Indicator

20 / 200 SMA Strategy - This Pine Script strategy is a 20 SMA / 200 SMA trend-following strategy designed for back testing and potential bot automation.
The main idea is to identify market direction using the relationship between the 20 simple moving average and the 200 simple moving average. When the 20 SMA is above the 200 SMA, the strategy looks for buy opportunities. When the 20 SMA is below the 200 SMA, it looks for sell opportunities.
The script includes three entry modes:
Original Cross Entry waits for the 20 SMA to cross the 200 SMA, then looks for price to close on the correct side of the 20 SMA.
Trend Pullback Entry allows entries after the market is already trending. For buys, the 20 SMA must be above the 200 SMA and price must cross back above the 20 SMA. For sells, the 20 SMA must be below the 200 SMA and price must cross back below the 20 SMA.
Relaxed Testing Entry is a more flexible testing mode that enters when price is on the correct side of the 20 SMA while the 20 SMA is on the correct side of the 200 SMA. This mode is useful for confirming that the strategy is working and producing trades.
The default risk management uses a 100-point take profit. The default stop loss is placed behind the last opposing candle beyond the 200 SMA. For a buy setup, the stop is placed below the last bearish candle below the 200 SMA. For a sell setup, the stop is placed above the last bullish candle above the 200 SMA. The user can also choose a fixed-point stop loss or recent swing stop.
The strategy includes optional filters such as a 200 SMA slope filter, candle-color confirmation, and a distance filter to avoid entries that are too far from the 20 SMA. It also plots the 20 SMA, 200 SMA, buy/sell labels, debug markers, and stop-loss/take-profit lines on the chart.
Overall, this script is built to help traders test a simple moving-average trend strategy while giving them flexibility to adjust entries, stops, profit targets, and filters based on the market or timeframe they are trading. Strategy

Momentum Pulse | AnonycryptousMomentum Pulse | Anonycryptous
Description & user manual
Why this indicator is different
Standard momentum indicators give you one line. RSI tells you whether the market is overbought or oversold at one specific lookback period. MACD tells you whether one moving average is pulling away from another. One perspective. One answer.
The problem is that momentum does not exist at one lookback period. A 14-period RSI can be flat while a 7-period RSI is already reversing. A 21-period RSI can still be bullish while the fast momentum has already rolled over. By looking at one line you are always missing what is happening at adjacent timescales — and those are precisely where the early signals live.
Momentum Pulse works differently.
Instead of one RSI it runs twenty simultaneously, each at a different lookback period. The shortest strand captures the fastest momentum shifts. The longest strand reflects the slower, sustained trend. Together they form a ribbon — a fluid, living visualization of where momentum is coming from, where it is heading, and how much agreement exists across timescales.
The ribbon does not just show direction. It shows compression and expansion. When the strands fan out, momentum is building with conviction. When they compress, the market is coiling — and that compression often precedes the next directional move. When the fast strands lead the slow strands, the trend has energy behind it. When they cross or collapse toward each other, momentum is fading before it is visible in price.
This is momentum before the move.
Important notice
Momentum Pulse is provided for analytical and educational purposes only.
It does not generate trading signals.
It does not predict market direction.
It does not guarantee any outcome.
All trading decisions remain entirely with the user.
Always apply your own judgment and manage your own risk.
1. Overview
Momentum Pulse is a twenty-strand RSI ribbon oscillator built on RSI processed through zero lag EMA smoothing. It maps momentum across twenty simultaneous lookback periods and visualizes the full structure of momentum strength, direction, compression, and divergence in a single pane.
What it includes:
- Twenty RSI strands normalized to a −50 to +50 scale around a zero midline
- Zero lag EMA smoothing applied per strand to reduce response lag
- Fast and slow group averaging with spread-based trend detection
- Twist/Squeeze detection when fast and slow groups compress below the threshold
- Momentum histogram showing the distance between fast and slow group averages
- Ribbon slope line showing the rate of change of the fast group average
- Divergence detection comparing price pivots with fast group momentum pivots
- Three presets: default for swing, fast for scalping, smooth for position trading
- Live dashboard showing momentum state, averages, spread, twist, zone, slope, and divergence
- Six alert conditions covering state changes, compression, and divergence events
2. Core components
2.1 RSI strands
Twenty RSI calculations run simultaneously, each at a different lookback period. The first strand uses the base length. Each subsequent strand adds the length step, spreading the ribbon from fast to slow momentum perspectives. All values are normalized to a −50 to +50 scale around a zero midline, making every strand directly comparable regardless of its period.
2.2 Zero lag EMA smoothing
Each RSI strand is smoothed using a zero lag EMA. Standard EMA smoothing introduces lag because it weights recent bars less than current price. ZLEMA compensates by incorporating the momentum of recent change before applying the average — the ribbon reacts to momentum shifts on the current bar, before the move has confirmed on price.
2.3 Fast and slow group trend detection
The ribbon is divided into two groups. The fast group uses strands one through five — the shortest lookback periods. The slow group uses strands sixteen through twenty — the longest. When the fast group average is above the slow group average, momentum is bullish. When it is below, momentum is bearish. When the spread between the two groups falls below the twist threshold, the oscillator enters a Twist/Squeeze state.
This logic is independent of overbought and oversold levels and works reliably in all market conditions.
2.4 Momentum histogram
The histogram plots the distance between the fast and slow group averages near the zero midline. Wide bars indicate strong momentum separation — the trend has conviction. Narrow bars indicate the ribbon is compressing — momentum is fading or transitioning.
2.5 Ribbon slope
The slope line measures the rate of change of the fast group average over a configurable number of bars. A rising slope indicates momentum is accelerating into the trend. A falling slope indicates momentum is decelerating, a possible sign of exhaustion. A flat slope indicates consolidation or a transition that has not committed to a direction.
2.6 Divergence detection
The indicator compares recent price pivots against fast group average pivots over a configurable lookback window. A bullish divergence fires when price makes a lower low but the fast group average holds higher — hidden strength beneath the surface. A bearish divergence fires when price makes a higher high but the fast group average rolls over — hidden weakness. Both conditions trigger a background flash on the pane.
3. Presets
Three preset configurations are available. Selecting a preset overrides the core calculation parameters.
-Default — swing trading on 4H and daily charts
RSI base 10 | ZLEMA 5 | step 2 | twist threshold 1.5
Balanced ribbon for trend following and swing setups across most market conditions.
-Fast — scalping on 1 minute to 15 minute charts
RSI base 7 | ZLEMA 3 | step 2 | twist threshold 1.0
Shorter periods and a tighter twist threshold for early detection of momentum shifts and reversals before they appear in price.
-Smooth — position trading on daily and weekly charts
RSI base 14 | ZLEMA 8 | step 3 | twist threshold 2.5
Wider spread and longer periods. Only high-conviction momentum moves register. Filters out intraday noise.
4. Visual guide
Ribbon fanning upward — bullish momentum expanding across multiple timescales.
Ribbon fanning downward — bearish momentum expanding.
Ribbon compressing toward center — Twist/Squeeze state, potential breakout building.
Grey background shading — active Twist/Squeeze state.
Green background flash — bullish breakout bar, ribbon exiting compression.
Red background flash — bearish breakout bar.
Warm/orange flash — bullish divergence detected.
Red dim flash — bearish divergence detected.
Green circle at oversold — bullish signal condition.
Red circle at overbought — bearish signal condition.
Histogram bars — momentum strength between fast and slow groups. Wide = strong trend. Narrow = compression.
Slope line — acceleration or deceleration of fast group momentum.
5. Dashboard reference
The dashboard provides live readings across all components.
Momentum — current ribbon state: bullish, bearish, or twist.
Fast avg — average of the five fastest strands.
Slow avg — average of the five slowest strands.
Spread — distance between fast and slow group averages.
Twist — whether the ribbon is compressed below the twist threshold.
Zone — whether the ribbon is extended, compressed, or neutral relative to overbought/oversold levels.
Slope — momentum acceleration state: accel, decel, or flat.
Divergence — active bullish divergence, bearish divergence, or none.
Signal — last signal fired.
6. Alerts
Six alert conditions are available:
- Bullish: ribbon flips to bullish state.
- Bearish: ribbon flips to bearish state.
- Twist: ribbon enters Twist/Squeeze compression.
- Bullish divergence: price makes a lower low while momentum holds higher.
- Bearish divergence: price makes a higher high while momentum weakens.
- Any change: fires on any of the above transitions.
All alerts include exchange, ticker, and interval in the message.
7. Settings reference
Calculation parameters
- Source: price input for RSI calculations
- Base length: lookback period for the fastest ribbon strand
- Length step: increment between each subsequent strand
- RSI length: base RSI period for all strand calculations
- ZLEMA length: zero lag EMA smoothing period per strand
- Twist threshold: minimum spread required to declare a trend; below this = Twist/Squeeze
- Divergence lookback: window for comparing price and momentum pivots
- Slope length: bars used to calculate ribbon acceleration
- Preset: default, fast, or smooth
Visualization settings
- Color preset: classic (green/red) or custom
- Bullish, bearish, and twist/squeeze colors
- Min transparency: opacity of the fastest (leading) strand
- Max transparency: opacity of the slowest (lagging) strand
Level settings
- Overbought level: reference line (does not affect trend logic)
- Oversold level: reference line (does not affect trend logic)
Dashboard settings
- Show dashboard
- Dashboard size: tiny, small, or normal
8. How to use
8.1 Lower timeframes (1 minute to 15 minutes)
Use the fast preset. Monitor the ribbon for compression before expansion — Twist/Squeeze states often precede directional moves. A rising slope combined with bullish ribbon expansion confirms momentum is accelerating. A divergence forming while the ribbon is still in compression indicates a directional move is building before it appears in price.
Only take bullish setups when the ribbon is bullish or just exiting a Twist state with a rising slope and no active bearish divergence. Only take bearish setups with the reverse conditions.
8.2 Higher timeframes (1H, 4H, daily)
Use the default preset on 1H and 4H. Use the smooth preset on daily and weekly charts.
A wide, sustained ribbon fan on higher timeframes confirms momentum has conviction. Ribbon compression while price action narrows indicates trend exhaustion — consider reducing exposure and waiting for re-expansion. Divergence on daily charts carries significant weight and should be treated as a major reversal warning.
8.3 Dashboard reading guide
Slope accel + momentum bullish — trend strengthening, momentum building.
Slope decel + momentum bullish — trend weakening, watch for reversal.
Divergence bear + trend bullish — exit warning, confluence fading.
Twist yes + spread narrowing — breakout setup forming, wait for direction.
8.4 Standalone use
Momentum Pulse works as a standalone oscillator for any strategy or existing indicator setup. The ribbon provides directional momentum bias. The divergence detector flags hidden reversals before they appear in price. The slope line shows whether momentum is building or fading. The histogram confirms trend strength between fast and slow groups. No other indicator is required.
9. 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

Velorum Deviation Corridor [JOAT]Velorum Deviation Corridor
Introduction
Velorum Deviation Corridor is an open-source adaptive price envelope designed to measure directional bias, stretch, and compression around a dynamic baseline. The script does not treat all volatility the same. It allows different baseline engines and different width engines, then converts that information into an overlay corridor that can show trend continuation, overextension, and volatility contraction in one place.
The problem this script solves is that static envelopes often fail when market speed changes. A fixed moving average with a fixed-width band may lag badly during acceleration and overreact during compression. Velorum addresses that by pairing adaptive baseline logic with multiple volatility models, then confirming state shifts only after bars close. The result is a directional overlay that can function as a trend frame, pullback map, and stretch monitor.
Core Concepts
1. Adaptive Baseline Selection
The script allows the user to choose among several baseline models: EMA, Hull, Adaptive KAMA, VIDYA, FRAMA, and Gaussian smoothing. This makes the corridor usable across different styles. Faster baselines react more quickly to rotation. More adaptive baselines try to react quickly in clean trends and slow down in noisy environments.
2. Multi-Model Width Estimation
The width engine can use ATR, standard deviation, Parkinson volatility, efficiency range, or a hybrid model. This matters because volatility can be defined in different ways. ATR captures absolute travel, standard deviation captures dispersion, Parkinson emphasizes high-low structure, and the hybrid approach blends multiple aspects into one corridor width.
widthModel = input.string("Hybrid Volatility", "Width Model",
options = )
3. Compression and Expansion Detection
The script tracks corridor width over a rolling lookback and compares it against a compression percentile. When width contracts into the lower part of its recent range, the script identifies a compression state. When width expands with directional slope and position agreement, the script identifies expansion. This helps distinguish quiet consolidation from meaningful travel.
4. Trend State and Stretch Logic
Trend state is determined by baseline slope, price position relative to the corridor, and confirmation bars. The script also measures stretch so users can see whether price is trading inside the value area of the corridor, near the edge, or outside it. That makes it useful for both continuation logic and reversion-aware caution.
5. Transition Ribbon, Reaction Shelves, and Drift Lanes
The overlay uses outer bands, inner bands, corridor fills, glow layers, and a narrow transition ribbon around the baseline. It also projects on-chart structure when important corridor events occur. Confirmed constructive and defensive shifts can create forward shelf boxes. Confirmed excursions outside the corridor can create upper and lower drift lanes. Compression and expansion transitions can also stamp temporary forward boxes directly on the chart, turning the corridor into a working structure map instead of only a band set.
Features
Six baseline models: EMA, Hull, Adaptive KAMA, VIDYA, FRAMA, and Gaussian
Five width engines: ATR, standard deviation, Parkinson, efficiency range, and hybrid volatility
Compression detection: Width percentile model highlights contraction phases
Trend confirmation bars: Direction changes require confirmation before they are treated as valid
Stretch context: Shows whether price is centered, extended, or outside the corridor
Layered overlay: Baseline, glow, inner bands, outer bands, fills, and transition ribbon
Reaction shelves: Confirmed constructive and defensive shifts can project forward box zones on the chart
Drift lanes: Confirmed closes outside the corridor can stamp directional lane boxes
Compression shelf and expansion release: Corridor state transitions can create temporary forward structure boxes
On-chart labels: Shelf, lane, and release labels appear directly on the price chart
Compact dashboard summary: Trend state, regime, stretch, strength, and confirmed shift in a smaller top-right panel
Confirmed-bar alerts: Lift, fade, compression, and expansion events
Input Parameters
Core Engine:
Source
Baseline Model
Baseline Length
Fast and Slow Components for adaptive models
Trend State:
Trend Confirmation Bars
Slope Lookback
Trend Strength Length
Compression Lookback
Compression Percentile
Width Model:
Width Model
Width Length
Width Multiplier
Elasticity Factor
How to Use This Indicator
Step 1: Identify the Baseline Bias
Start with price relative to the baseline and the dashboard's Trend State row. If price is holding above a rising baseline, the corridor is acting as bullish structure. If price is holding below a falling baseline, the corridor is acting as bearish structure.
Step 2: Check Compression Before Breakouts
Compression phases are useful because directional expansions often begin after width contracts. If the chart is tinted for compression and width percentile is low, watch for a confirmed shift rather than treating every small move as a new trend.
Step 3: Use Inner vs Outer Bands Differently
The inner bands are the working area for pullbacks and value. The outer bands represent more extended travel. When price repeatedly walks an outer band, that is continuation behavior. When price snaps outside and immediately loses follow-through, that is often stretch rather than sustainable expansion.
Step 4: Use Reaction Shelves and Drift Lanes as Forward Reference
When a confirmed constructive or defensive shift occurs, Velorum can project a forward shelf box. When price closes beyond the outer corridor, it can print a drift lane. These structures are intended to mark the part of the chart where continuation behavior should stay organized. If price immediately loses those zones, the move is weakening.
Step 5: Treat Confirmed Shift as the State Change
The confirmed shift output is still the important regime event. Intrabar movement can test both sides of the corridor, but the script only promotes a new state after bar confirmation and only stamps new corridor structures after confirmation.
Indicator Limitations
No single baseline model is best for every market; users may need to select a model appropriate for their instrument and timeframe
Compression does not guarantee breakout direction, only reduced width
A fast corridor can overreact in noisy markets while a slow corridor can lag during sharp reversals
Stretch beyond the outer band can persist longer than expected in strong trends
Reaction shelves and drift lanes are contextual structure tools, not guaranteed support or resistance
Originality Statement
Velorum Deviation Corridor is original in the way it separates the baseline problem from the width problem and lets those two adaptive layers interact in one confirmed-state overlay. The script is not simply a renamed moving average envelope. It combines multiple smoothing families, multiple volatility families, width percentile compression logic, stretch-state interpretation, transition-ribbon state framing, and event-driven forward shelf and lane boxes into one cohesive corridor framework.
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice. Corridor behavior is based on historical price action and can lag, compress, or expand unpredictably during unusual market conditions. Always evaluate signals in context and use appropriate risk controls.
Indicator

Auric Regime Classifier [JOAT]Auric Regime Classifier
Introduction
Auric Regime Classifier (ARC) is an open-source, multi-factor market regime detection engine that classifies every confirmed bar into one of five distinct market states: Strong Bull, Weak Bull, Ranging, Weak Bear, or Strong Bear — with a special Compression override that fires when volatility is contracting. The engine uses five independent data sources — adaptive ATR volatility ratio, Bollinger Band squeeze detection, SMEMA trend slope, ADX directional index, and RSI momentum bias — fused through a weighted scoring system into a single net score that drives the regime classification.
The problem ARC solves is that most traders apply a fixed strategy regardless of whether the market is trending strongly, drifting weakly, compressing before a breakout, or chopping without direction. Each of those conditions demands a completely different approach. Applying a trend-following system in a ranging market produces losses. Trading with tight stops in a compression phase produces whipsaws. ARC gives you a clear, real-time label for the current market phase so you can match your approach to the conditions rather than fighting them.
Core Concepts
1. SMEMA Adaptive Baseline
The indicator uses SMEMA (Simple Moving Average of Exponential Moving Average) as its core trend baseline — a proprietary double-smoothing construct used throughout the JackOfAllTrades indicator suite. SMEMA applies a standard EMA first to capture responsiveness, then a SMA over the same period to suppress noise. The result is a baseline that reacts faster than a raw SMA but is smoother than a raw EMA:
smema(float src, int len) =>
ta.sma(ta.ema(src, len), len)
Two SMEMA lines run in parallel: a slow line over the full period (default 20) and a fast line at half the period. Their slope comparison over three bars determines the trend direction score. When the slow SMEMA slopes upward for three consecutive bars, two bull points are awarded. When it slopes downward, two bear points are awarded.
2. Adaptive ATR Volatility Ratio
ATR over the input period (default 14) is compared against a long-run SMA of ATR (default 50 bars) to produce a volatility expansion/contraction ratio:
float volRatio = safeDiv(atrRaw, atrBase, 1.0)
A ratio above 1.1 in the direction of the existing trend awards a bonus point — recognizing that trend moves are more reliable when accompanied by above-average volatility. This prevents the engine from scoring weak, low-volume drifts as strongly as genuine impulsive moves.
3. Bollinger Band Squeeze Detection
The indicator measures Bollinger Band bandwidth (upper minus lower) and compares it against its own 100-bar SMA. When bandwidth falls below the configurable threshold fraction (default 0.75) of its smoothed average, the market is classified as Compressing. Compression overrides all other regime classifications — a compressing market has no valid directional edge regardless of what the other signals say:
bool isSqz = bbBW < bbBWAvg * sqzPct
A Squeeze Release signal fires when compression ends (isSqz transitions from true to false), marking the potential start of an expansion move.
4. ADX Directional Index
ADX (Average Directional Index) and the +DI/-DI directional lines are calculated using Pine Script v6's built-in ta.dmi() function. ADX above the threshold (default 25) confirms that the market is in a genuine trending regime rather than a sideways range. The directional bias of +DI vs -DI adds two bull or bear points to the regime score:
= ta.dmi(adxLen, adxLen)
bool isBullDir = diPlus > diMinus
bool isBearDir = diMinus > diPlus
5. Regime Scoring Engine
All five components feed a dual-sided scoring system. Bull and bear points are accumulated independently, and the net score (bull minus bear, range -6 to +6) determines the regime code:
int bullPts = (trendUp ? 2 : 0) + (isBullDir ? 2 : 0) +
(rsiBull ? 1 : 0) + ((volRatio > 1.1 and trendUp) ? 1 : 0)
int netScore = bullPts - bearPts
int regCode = isSqz ? 0 : netScore >= 4 ? 2 : netScore >= 1 ? 1 :
netScore <= -4 ? -2 : netScore <= -1 ? -1 : 0
Strong Bull requires a net score of +4 or higher (all four components aligned). Weak Bull requires +1 to +3. Ranging sits at 0. The mirror applies for bearish regimes.
6. Trend Strength Score (0-100)
Beyond the categorical regime label, ARC produces a continuous trend strength score that measures conviction within the current regime. It combines a distance score (how far price is from the SMEMA baseline in ATR units, capped at 50 points) with a momentum score (RSI deviation from 50 in the trend direction, capped at 50 points). A score of 70+ indicates a strong, high-conviction regime. Below 40 indicates a weak or transitional state.
Features
Five-State Regime Classification: Every bar labeled Strong Bull, Weak Bull, Ranging, Weak Bear, or Strong Bear with a Compression override — no ambiguity
SMEMA Ribbon: Fast and slow SMEMA lines with a gradient fill between them, colored by the current regime state for instant visual context
Regime Background Tint: Subtle, semi-transparent background coloring that shifts with the regime — green family for bull states, red family for bear, yellow for compression
Candle Coloring: Bar colors inherit the regime color at reduced opacity, giving every candle immediate regime context without obscuring price action
Squeeze Markers: Circle markers on the SMEMA baseline during compression, with a diamond signal at the moment of squeeze release
Trend Strength Score: A 0-100 numeric score with a Strong/Moderate/Weak label updated each bar, shown in the dashboard
Regime Change Alerts: Alert fires on every confirmed regime state transition with either plain text or structured JSON for webhook delivery
12-Row Dashboard (Top Right): Displays current regime, trend strength score, ADX value and trending/ranging status, +DI/-DI directional reading, volatility ratio, Bollinger Band state, RSI, timeframe, and version
Watermark: JackOfAllTrades signature rendered at chart center-bottom
Input Parameters
Core Engine:
ATR Length: Period for raw ATR calculation (default: 14)
ATR Smoothing Period: Baseline ATR lookback for volatility ratio (default: 50)
Directional Index:
ADX / DI Length: Period for +DI, -DI, and ADX (default: 14)
Trend Threshold: ADX level above which the market is considered trending (default: 25)
Volatility Band:
BB Length: Bollinger Band period (default: 20)
BB Multiplier: Standard deviation multiplier (default: 2.0)
Squeeze Threshold: Bandwidth fraction of its 100-bar SMA below which compression is declared (default: 0.75)
Trend Engine:
SMEMA Length: Period for the double-smoothed baseline (default: 20)
RSI Length: Momentum confirmation period (default: 14)
Visuals / Dashboard / Alerts:
Theme: Auto, Dark, or Light — auto-detects chart background
Regime Background Tint: Toggle the subtle background color
Show SMEMA Baseline: Toggle the ribbon plots
Show Squeeze Markers: Toggle the circle and diamond markers
Show Dashboard: Toggle the 12-row information panel
Show Watermark: Toggle the JackOfAllTrades signature
Webhook JSON Format: Switch alert messages between plain text and JSON
Color Palette: All six regime colors are individually customizable
How to Use This Indicator
Step 1: Read the Regime
The dashboard regime field and the background tint tell you exactly where the market stands. This single label is the most actionable piece of information — it drives which strategy is appropriate.
Step 2: Match Your Approach to the Regime
Strong Bull / Strong Bear: All four scoring components are aligned. High-conviction directional trades, trend-following entries on pullbacks to the SMEMA ribbon
Weak Bull / Weak Bear: Only one or two components agree. Lighter position sizing, wider stops, prepare for a possible regime shift
Ranging: Net score near zero — avoid directional trades, consider mean-reversion or wait for breakout
Compression: All directional analysis is suspended. Reduce exposure, prepare for a breakout in either direction, and watch the squeeze release signal for timing
Step 3: Use Trend Strength for Conviction
Within any directional regime, the strength score tells you how far into that regime the market has moved. A Strong Bull reading with a strength score of 85 is a very different trade environment from one with a strength score of 42. Use the score to scale position size or filter lower-conviction entries.
Step 4: Set Alerts on Regime Transitions
The regime-change alert fires the moment a new regime is confirmed on bar close. Enable the Strong Bull and Strong Bear alertconditions specifically to catch the high-conviction regime entrances.
Indicator Limitations
All five components are backward-looking. The regime label describes what has happened over the lookback windows — not what will happen. A Strong Bull classification can reverse on the very next bar
The warmup period (equal to the longest lookback, at least 50 bars) means the indicator produces no signals on the first several bars of any chart, including after switching timeframes
Compression detection uses a 100-bar SMA of bandwidth, which is a long-run reference. On very short or illiquid charts with few bars, the bandwidth average may not be reliable
The five-state classification uses fixed score thresholds (+4 for Strong, +1 for Weak). These thresholds are not auto-calibrated to the instrument. In range-bound markets where ADX rarely exceeds 20, the Strong Bull/Bear states may rarely appear
RSI and ADX both work with default periods. No single set of periods is optimal across all assets and timeframes. Users may need to adjust periods when applying to highly volatile assets or longer timeframes
Originality Statement
ARC is original in its synthesis approach and the use of SMEMA as the core trend baseline. This indicator is published because:
The SMEMA construct (SMA of EMA) is a proprietary double-smoothing formula used consistently across the JackOfAllTrades suite — it provides a smoother baseline than raw EMA while retaining more responsiveness than raw SMA, and it is not a standard available in typical indicator libraries
The dual-sided bull/bear point system scores each directional component independently before computing a net score. This is distinct from composite oscillators that blend components into a single signed value — the dual-side approach preserves information about how many bear components are active even when the net score is positive
The Compression override takes precedence over all directional scores, explicitly suspending regime analysis during volatility contractions. Most regime indicators simply produce lower directional readings in compression without explicitly declaring the compression state
The trend strength score combines an ATR-normalized price distance with an RSI momentum deviation to produce a conviction metric that is distinct from the categorical regime label
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Market regime classifications are based entirely on historical data and past behavior. A market classified as Strong Bull can and will reverse at any time. The Compression state does not guarantee a subsequent breakout, and the direction of any eventual breakout cannot be predicted from compression alone. Always apply proper risk management. The author is not responsible for any trading losses resulting from the use of this indicator.
-Made with passion by jackofalltrades
Indicator

Indicator

Prismatic Trend Matrix [JOAT]Prismatic Trend Matrix
Introduction
The Prismatic Trend Matrix is an advanced open-source multi-dimensional trend analysis system that combines Hull Moving Average, SuperTrend, ADX strength filtering, and moving average confluence into a unified trend detection engine. This indicator analyzes trend across multiple dimensions simultaneously, creating a prismatic view of market direction with gradient visualization that reveals trend strength and conviction.
Unlike single-indicator trend systems, the Prismatic Trend Matrix provides multi-layered trend intelligence through Hull MA smoothing, SuperTrend band analysis, ADX strength measurement, and EMA/SMA alignment detection. The indicator is designed for traders who understand that strong trends require confirmation across multiple analytical dimensions.
Why This Indicator Exists
This indicator addresses the need for comprehensive trend analysis that goes beyond simple moving averages. By combining four distinct trend methodologies with gradient visualization, it reveals:
Hull Moving Average: Weighted moving average with reduced lag for responsive trend detection
SuperTrend Component: ATR-based bands that identify trend direction and support/resistance
ADX Strength Filter: Measures trend strength to separate strong trends from weak/choppy conditions
Moving Average Matrix: Three EMAs and two SMAs create alignment-based trend confirmation
Trend Classification: Five-state system (Strong Bull, Weak Bull, Sideways, Weak Bear, Strong Bear)
Counter-Trend Detection: Identifies potential reversals when price moves against established trend
Prismatic Gradient: Visual fill between Hull MA and SuperTrend shows trend intensity
Core Components Explained
1. Hull Moving Average (HMA)
The Hull MA uses weighted moving averages to create a smooth trend line with minimal lag:
The calculation involves three steps:
Step 1: Calculate WMA of half-length period
Step 2: Calculate WMA of full-length period
Step 3: Calculate WMA of the difference using square root of length
The result is a moving average that responds quickly to price changes while maintaining smoothness. The indicator applies additional EMA smoothing (default 3 periods) to reduce noise.
2. SuperTrend Calculation
SuperTrend uses ATR-based bands to identify trend direction:
Source: Average of high and low (HL2)
Upper Band: Source + (ATR × Factor)
Lower Band: Source - (ATR × Factor)
Direction: Bullish when close > upper band, bearish when close < lower band
Three modes control band adjustment:
Strict Mode: Bands adjust only when price crosses or previous band is breached
Quick Mode: Bands adjust when price crosses previous band
Quicker Mode: Bands adjust immediately with price
SuperTrend provides dynamic support/resistance levels that adapt to volatility.
3. ADX Strength Measurement
The Average Directional Index measures trend strength:
DI+ (Directional Indicator Plus): Measures upward directional movement
DI- (Directional Indicator Minus): Measures downward directional movement
ADX: Smoothed average of the difference between DI+ and DI-, normalized
Threshold: ADX above threshold (default 25) indicates strong trend
Rising ADX: Indicates strengthening trend momentum
ADX filters out weak trends and choppy conditions, ensuring signals occur only during strong directional movement.
4. Moving Average Matrix
Five moving averages create a trend alignment system:
Fast EMA (9): Short-term trend direction
Medium EMA (21): Intermediate trend direction
Slow EMA (50): Primary trend direction
Fast SMA (50): Smoothed primary trend
Slow SMA (200): Long-term institutional trend
Alignment is measured by comparing the order of these averages:
Bullish Alignment: EMA9 > EMA21 > EMA50 > SMA50 (all in ascending order)
Bearish Alignment: EMA9 < EMA21 < EMA50 < SMA50 (all in descending order)
Mixed Alignment: Averages not in order (choppy or transitional conditions)
Perfect alignment indicates strong institutional conviction in the trend direction.
5. Composite Trend Classification [/b>
The indicator combines all components into a five-state trend classification:
Strong Bull (State 2): Hull rising + SuperTrend bullish + MA alignment bullish + ADX strong
Weak Bull (State 1): Hull rising + (SuperTrend bullish OR MA alignment bullish)
Sideways (State 0): Mixed signals or weak trend conditions
Weak Bear (State -1): Hull falling + (SuperTrend bearish OR MA alignment bearish)
Strong Bear (State -2): Hull falling + SuperTrend bearish + MA alignment bearish + ADX strong
This classification provides clear trend assessment at a glance.
6. Counter-Trend Detection [/b>
The indicator identifies potential reversals when price moves against established trend:
Counter-Trend Bull: Trend state neutral/bearish + close > open + price rising + DI+ > DI- + close > Hull + ADX > 20
Counter-Trend Bear: Trend state neutral/bullish + close < open + price falling + DI- > DI+ + close < Hull + ADX > 20
Counter-trend signals include anti-overlap logic to prevent signal clustering and ensure clean placement.
7. Prismatic Gradient Visualization
The indicator creates a gradient fill between Hull MA and SuperTrend:
Gradient Layers: Multiple intermediate values calculated between Hull and SuperTrend (default 15 layers)
Color Intensity: Transparency increases from Hull (solid) to SuperTrend (transparent)
Dynamic Coloring: Gradient color matches trend state (green = bullish, red = bearish, cyan = sideways)
Visual Effect: Creates a glowing prismatic effect that emphasizes trend strength
The gradient provides intuitive visual feedback on trend intensity and direction.
8. Platform Levels
Platform levels are horizontal lines at the current Hull MA value:
Extension: Lines extend forward and backward from current bar (default 7 bars each direction)
Color Coding: Platform color matches current trend state
Purpose: Provides visual reference for potential support/resistance at Hull MA level
Platforms help identify key levels where price may find support or resistance.
Visual Elements
Hull Trend Line: Thick line (3px) with regime-based coloring showing primary trend
SuperTrend Line: Medium line (2px) with step-line style showing dynamic support/resistance
EMA Matrix: Three thin lines showing fast, medium, and slow EMAs with transparency
Prismatic Gradient: Multi-layer fill between Hull and SuperTrend creating glow effect
Platform Levels: Horizontal lines at Hull MA value extending forward/backward
Counter-Trend Signals: Triangles marking potential reversal points
Background Coloring: Subtle background tint for strong bull/bear states
Information Dashboard: Displays trend state, Hull direction, ADX strength, momentum, alignment, SuperTrend, DI balance, price vs Hull, gradient zone, counter-trend status, and signal
How to Use This Indicator
Step 1: Check Trend State
Monitor the dashboard for current trend state (Strong Bull, Weak Bull, Sideways, Weak Bear, Strong Bear). Trade in the direction of strong states.
Step 2: Verify ADX Strength
Ensure ADX is above threshold (default 25) for strong trends. Low ADX indicates choppy conditions - avoid trend-following strategies.
Step 3: Confirm MA Alignment
Check if moving averages are aligned (Bullish/Bearish/Mixed). Perfect alignment confirms institutional conviction.
Step 4: Monitor Hull Direction
Hull rising = bullish bias, Hull falling = bearish bias. Hull provides the primary trend direction signal.
Step 5: Use SuperTrend for Support/Resistance
SuperTrend line acts as dynamic support in uptrends and resistance in downtrends. Breaks of SuperTrend warn of trend changes.
Step 6: Watch for Counter-Trend Signals
Counter-trend signals at extreme levels may indicate reversals. Use these cautiously and confirm with other factors.
Step 7: Assess Gradient Zone
Price in upper gradient zone (near Hull) = strong trend, price in lower zone (near SuperTrend) = weak trend or potential reversal.
Best Practices
Trade only in Strong Bull or Strong Bear states for highest probability
Avoid trading in Sideways state - wait for clear trend establishment
Use ADX as a filter - only trade when ADX > 25 for strong trends
Confirm trend with MA alignment before entering positions
Use SuperTrend as trailing stop level in trending markets
Counter-trend signals work best at extreme levels with divergence
Monitor gradient zone - price near SuperTrend may indicate trend exhaustion
Combine with higher timeframe trend for additional confirmation
Input Parameters
Hull Trend Engine:
Hull Length: Period for Hull MA calculation (default: 20)
Hull Smoothing: Additional EMA smoothing (default: 3)
SuperTrend Layer:
ATR Period: Period for ATR calculation (default: 10)
ATR Factor: Multiplier for band width (default: 3.0)
Mode: Strict, Quick, or Quicker (default: Quick)
Trend Strength:
ADX Length: Period for ADX calculation (default: 14)
ADX Smoothing: Smoothing period for ADX (default: 14)
Strength Threshold: Minimum ADX for strong trend (default: 25)
MA Matrix:
Fast EMA: Short-term EMA (default: 9)
Medium EMA: Intermediate EMA (default: 21)
Slow EMA: Primary EMA (default: 50)
Fast SMA: Smoothed primary (default: 50)
Slow SMA: Long-term institutional (default: 200)
Visual Configuration:
Bullish/Bearish Trend Colors: Customizable colors for trend states
Sideways/Weak Trend Colors: Colors for neutral and weak states
Gradient Layers: Number of gradient fills (default: 15)
Show Platforms: Toggle platform level display (default: enabled)
Platform Extension: Bars to extend platforms (default: 7)
Originality Statement
This indicator is original in its multi-dimensional trend approach. While individual components (Hull MA, SuperTrend, ADX, EMAs) are established concepts, this indicator is justified because:
It combines four distinct trend methodologies into a unified classification system
The five-state trend classification provides clear trend assessment
Prismatic gradient visualization creates intuitive trend intensity display
Counter-trend detection with anti-overlap logic identifies potential reversals
MA alignment analysis measures institutional conviction
Integration of Hull MA smoothness with SuperTrend adaptability creates balanced trend detection
The comprehensive dashboard presents all trend dimensions simultaneously
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Trend analysis does not guarantee profitable trades. Past trends do not guarantee future trends. Always use proper risk management and never risk more than you can afford to lose.
-Made with passion by officialjackofalltrades Indicator

Support Band of TrendSupport Band of Trend
by MasterTony
**Support Band with Dynamic Ichimoku Boundaries**
This indicator combines three layered tools into a single clean overlay: a trend-adaptive support/resistance band using golden moving averages, dynamic Ichimoku Tenkan/Kijun boundaries, and price pivot S/R levels. Together they define a structured zone where price is expected to find support in bull trends and resistance in bear trends.
---
**How It's Calculated**
**Trend Direction (ADX + 200 SMA)**
The indicator continuously reads market direction using two inputs. The DMI system compares DI+ against DI− to determine which side has directional dominance. The 200-period SMA acts as a tiebreaker when DI+ and DI− are equal. There is no neutral state — the indicator always commits to bull or bear based on whichever side is dominant at that moment.
**Inner Support Band (SMA 20 / EMA 21)**
The core of the indicator is a filled zone between the 20-period Simple Moving Average and the 21-period Exponential Moving Average. Because the SMA and EMA are nearly identical in length but calculated differently, the fill between them defines a tight dynamic zone that price frequently interacts with. In a bull trend the band is green, acting as a floor. In a bear trend it turns red, acting as a ceiling.
**Outer Boundary (Tenkan-Sen / Kijun-Sen Band)**
Wrapping the inner band is a filled zone between the Tenkan-Sen and Kijun-Sen, ported from a full adaptive Ichimoku engine. Both lines use dynamic lengths driven by a volume oscillator (OBV), ATR volatility, and a Chikou trend filter. When conditions are bullish the lengths compress toward their minimums (9 and 20), making the lines react faster. When conditions are bearish the lengths expand toward their maximums (30 and 60), making them slower and more resistant. The Tenkan and Kijun lines themselves are colored teal when Tenkan is above Kijun and purple when below. The filled zone between them matches the overall bull/bear color of the indicator.
**Price Pivot S/R Lines**
The indicator identifies the last three swing highs and swing lows using a 5-bar left/5-bar right pivot calculation. Each level is drawn as a horizontal dashed line extended to the right — red for resistance, green for support. These are static reference points showing where price has previously reversed.
**200 SMA**
Plotted as a light blue reference line. Used internally for trend bias and visually as the macro trend anchor.
---
**How to Read It**
The indicator is designed to be read as a layered zone, not a single line.
When the bands are **green**, the entire filled area from the outer TK boundary down to the inner SMA/EMA band is a **support zone**. Price pulling back into this zone during an uptrend is expected behavior. The tighter the band compression, the stronger the trend.
When the bands are **red**, the same zone becomes **resistance**. Price rallying back up into it during a downtrend is a selling opportunity. A failure to break above the zone confirms bearish continuation.
The **Tenkan/Kijun color** gives you a secondary read. Teal means the fast line is above the slow line — momentum is bullish within the Ichimoku framework. Purple means the fast line has crossed below — momentum has shifted bearish. When the band color and the TK color agree, the signal is stronger.
The **pivot S/R lines** give you price memory. A green pivot level sitting just below the band in a bull trend creates a confluence support cluster. A red pivot level just above the band in a bear trend creates a confluence resistance cluster.
---
**How to Trade With It**
**Bull Trend Pullback Entry**
Wait for the band to be green. Let price pull back into the inner SMA/EMA band or the wider TK zone. Look for a candle reversal or momentum shift back upward while inside the zone. Enter long with a stop below the outer TK boundary. The nearest green pivot S/R line below acts as your invalidation level.
**Bear Trend Rally Entry**
Wait for the band to be red. Let price rally back up into the inner band or TK zone. Look for rejection or a momentum shift downward while inside the zone. Enter short with a stop above the outer TK boundary. The nearest red pivot S/R line above acts as your invalidation level.
**Trend Change Warning**
When the band flips from green to red or red to green, it signals a shift in directional dominance. This is not an immediate entry signal — it is a warning to stop trading in the previous direction and wait for the new color to confirm with a pullback setup.
**Confluence Filter**
The highest probability setups occur when all three layers agree: the band color matches the trade direction, the Tenkan is above Kijun (for longs) or below (for shorts), and a pivot S/R level is nearby providing additional structure.
---
Indicator

Momentum Decay Field [BullByte]Momentum Decay Field : Physics-Based Momentum Energy Visualization
WHAT IS THE MOMENTUM DECAY FIELD?
The Momentum Decay Field (MDF) models price momentum as a decaying physical energy field using an exponential half-life model. MDF visualizes impulse energy on the price chart, detects exhaustion and energy divergence, and stores past exhaustion zones as reference levels. This is an informational visualization tool - not a buy/sell signal generator.
In nuclear science, every radioactive element emits energy that decays exponentially over time following a precise mathematical law. MDF applies this exact principle to price momentum.
Every strong price impulse carries kinetic energy. That energy does not last forever. It fades, weakens, and eventually depletes - just like a radioactive isotope losing its charge. MDF measures this process in real time and wraps price in a living energy field that expands, contracts, changes color, and ultimately signals exhaustion when the energy runs out.
This is not a moving average. Not an oscillator. Not a mashup of existing tools . It is a standalone physics engine that models momentum as a decaying energy system directly on the price chart.
THE CORE PHYSICS
The engine is built on the exponential decay formula from nuclear physics:
E(t) = E0 x exp(-lambda x t)
Where:
E(t) is the remaining energy at time t (measured in bars after the impulse)
E0 is the initial energy assigned to the impulse at the moment it occurs
lambda is the decay constant, derived from the half-life: lambda = ln(2) / Half-Life
t is the number of bars elapsed since the impulse
The half-life is the number of bars it takes for energy to decay to exactly 50% of its initial value. After two half-lives, 25% remains. After three, 12.5%. This creates the smooth, predictable decay curve visible in the dashboard sparkline.
When the adaptive half-life option is enabled, stronger impulses automatically receive a longer half-life. This means powerful moves with high volume and velocity sustain their energy field longer before exhausting, while weak impulses fade quickly. This mirrors real market behavior where institutional-grade moves carry momentum further than retail noise.
HOW IMPULSES ARE DETECTED
Not every candle qualifies as an impulse. The detection engine requires three conditions to be met simultaneously:
First , the candle body size (distance between open and close) must exceed a user-defined multiple of the Average True Range. This ensures only candles with genuine directional magnitude qualify.
Second , the total candle range (high to low) must also exceed an ATR-based threshold. This confirms the move had real price displacement, not just a wide body on a small-range bar.
Third , the body-to-range ratio must exceed 0.45. This filters out doji candles, pin bars, and high-wick candles that suggest indecision rather than conviction. Only candles where the body represents a significant portion of the total range pass through.
When an impulse qualifies, its initial energy (E0) is calculated by combining three factors: the normalized body magnitude (body size divided by ATR), a velocity boost (how fast price moved over the velocity window compared to average), and an optional volume boost (current bar volume relative to the rolling volume average). The result is capped at 5.0 to prevent extreme outliers from dominating the field.
THE ENERGY FIELD : WHAT YOU SEE ON THE CHART
The energy field is the colored aura that appears around price. It communicates the current momentum state through three visual properties:
Width: The field expands when energy is high and contracts as energy decays. At full energy, the field reaches its maximum width (controlled by the Max Field Width setting). As energy approaches zero, the field collapses to nothing. The width is always proportional to ATR so it adapts automatically to any instrument and timeframe.
Color: The field color morphs through three stages as energy decays. At high energy levels (above 55%), the field displays the bright directional color - the bullish theme color for upward impulses, the bearish theme color for downward impulses. As energy drops into the mid range (20-55%), the color transitions through warm amber, a universal warning tone indicating momentum is fading. Below 20%, the field shifts to cool gray, signaling that momentum is nearly spent. This color morphing happens smoothly and continuously on every bar.
Layering: The field is rendered in up to three concentric tiers - inner, mid, and outer - each progressively more transparent. The inner layer sits closest to price and is most opaque. The mid layer extends further with reduced opacity. The outer layer provides the widest aura at the lowest visibility. This creates a natural gradient that makes the field feel organic rather than blocky.
THREE VISUAL MODES
Clean mode renders no energy field at all. Only the signal markers (diamond, EXH, WEAK) and the dashboard appear on the chart. This mode is designed for traders who want a completely uncluttered chart and only care about the event markers and data panel. The momentum engine still runs in the background, powering the dashboard metrics and signals.
Standard mode activates the inner and mid field layers along with the energy spine - a central reference line running through the price that pulses with momentum. This is the default mode and provides a balanced view of the energy state without overwhelming the chart.
Full mode enables all three field tiers and adds candle tinting, where the candle bodies themselves are colored according to the current energy state and direction. High-energy bars glow with the directional color while depleted bars take on neutral tones. This mode provides maximum visual information for traders who want to see the full energy picture at a glance.
SIGNAL MARKERS : WHAT EACH ONE MEANS
Diamond (below bar for bullish, above bar for bearish): This marks the bar where a qualified impulse was detected and energy was injected into the system. It tells you that the decay physics engine has been activated or refreshed with new energy. Not every strong candle produces a diamond - the cooldown system prevents clustering by enforcing a minimum number of bars between consecutive impulse markers.
EXH (cross shape, amber color): This marks the bar where the energy ratio dropped below the exhaustion threshold. It means the momentum that was driving price has fully depleted according to the decay model. These exhaustion points often coincide with areas where price pauses, reverses, or enters consolidation. The anti-repeat filter ensures that the same directional exhaustion does not fire consecutively without a change in context - either a new direction must establish or sufficient time must pass.
WEAK (triangle shape, orange color): This marks an energy divergence. It appears when price makes a new high (for bullish) or new low (for bearish) but the impulse energy behind that move is at least 25% weaker than the previous impulse in the same direction. The price is extending but the fuel behind it is diminishing. This is a momentum divergence detected purely through the energy physics model, not through any traditional oscillator comparison. When WEAK fires on the same bar as an impulse, the diamond marker is automatically suppressed because the WEAK label already communicates that an impulse occurred - it simply carried less energy than its predecessor.
EXHAUSTION MEMORY ZONES
When an exhaustion event occurs, the indicator stores the price range of that bar as a memory zone. These zones are rendered as semi-transparent colored rectangles that extend from the exhaustion bar to the right edge of the chart. Bullish exhaustion zones use the bullish theme color and bearish exhaustion zones use the bearish theme color.
These zones represent price levels where momentum previously failed to sustain. They often act as areas of interest for future price action because they mark locations where aggressive directional energy was fully consumed. Fresh zones appear more opaque and gradually fade as they age, eventually becoming fully transparent after the user-configured fade period.
The Max Zones Displayed setting controls how many zones appear simultaneously. Only the most recent zones are shown. The Zone Fade Period controls how many bars a zone remains visible before disappearing. A three-stage memory management system runs continuously to prevent the zone array from growing unbounded on long-history charts: old zones beyond twice the fade period are pruned, the array is capped at a safe maximum, and the rendering loop enforces a drawing budget to stay within platform limits.
THE DASHBOARD : EVERY ELEMENT EXPLAINED
The dashboard uses a fully opaque dark background that renders identically on both light and dark chart themes. Every cell has its own explicit background color so nothing is inherited from the chart environment.
ENERGY: A 16-character progress bar showing remaining energy as a visual fill gauge, followed by the numerical percentage. The bar transitions from bright green (charged) through cyan (active) to amber (decaying) to orange (fading) to red (depleted).
PHASE: Displays the current energy state classification. CHARGED means energy is above 70% - momentum is strong and active. ACTIVE means 45-70% - momentum is present and sustaining. DECAYING means 20-45% - momentum is fading but not yet spent. FADING means energy is above the exhaustion threshold but below 20% - momentum is weak. DEPLETED means energy has fallen below the exhaustion threshold - the current cycle has exhausted.
The directional bias (BULL, BEAR, or FLAT) appears alongside the phase to show which direction the current energy cycle belongs to.
E0 INITIAL: Shows the initial energy magnitude that was assigned to the current impulse cycle when it began. The classification label (Extreme, Strong, Moderate, Light) provides quick context about how powerful the originating impulse was.
HALF-LIFE: Displays the current half-life in bars - how long it takes for energy to decay to 50%. When adaptive half-life is enabled, this value changes with each impulse based on its strength. The ELP (elapsed) counter shows how many bars have passed since the last impulse event.
ETA TO EXH: The predicted number of bars remaining until energy reaches the exhaustion threshold. This is calculated by solving the decay equation for time. The visual countdown bar (filled and empty blocks) provides a quick gauge of how close exhaustion is. When the current cycle has already exhausted, this displays EXHAUSTED in red.
DECAY CURVE: A 20-character sparkline that projects how energy will diminish over approximately three half-lives into the future. Each character represents a future time step. The curve reads from left (current moment, marked by NOW) toward the right (future). Tall blocks indicate high energy, dots indicate near-zero energy. This gives traders a visual preview of the entire remaining decay trajectory at a glance.
IMPULSES / EXHAUSTIONS / DIVERGENCES: Lifetime counters showing how many of each event type have occurred since the indicator was loaded on the chart. These provide context about the current session's activity level.
CHART EXAMPLE
Chart 1: ENERGY FIELD DYNAMICS & IMPULSE DETECTION
What This Chart Represents
This chart demonstrates the Momentum Decay Field's core visual engine showing how the energy field expands, contracts, and morphs in real-time as momentum cycles through impulse, sustain, and decay phases.
Key Visual Elements Highlighted:
1. ENERGY FIELD COLOR MORPHING The aura transitions through three distinct color phases as energy decays:
- Bright directional color (green for bullish, magenta for bearish) = High energy (>55% remaining)
- Warm amber/orange = Mid-energy decay phase (20-55% remaining)
- Cool gray = Low energy, momentum nearly spent (<20% remaining)
2. FIELD WIDTH DYNAMICS The energy band's width is directly proportional to remaining energy:
Wide, expansive field = Strong active momentum with high kinetic energy
Contracting field = Energy decaying, momentum losing strength
Thin/collapsed field = Minimal momentum, approaching exhaustion
Width scales with ATR to adapt across all instruments and timeframes
3. IMPULSE SIGNAL MARKERS (Diamonds) Pink/Green diamond markers identify the exact bars where qualified momentum impulses occurred:
Below price = Bullish impulse (upward energy injection)
Above price = Bearish impulse (downward energy injection)
Each diamond represents a new E0 (initial energy) assignment
Cooldown system prevents marker clustering during volatile periods
4. MULTI-CYCLE MOMENTUM VISUALIZATION The chart captures several complete momentum lifecycles:
Fresh impulses creating wide, bright energy fields
Progressive decay causing field contraction and color shift
Direction changes showing energy field polarity reversals
Energy stacking when same-direction impulses occur during active cycles
5.ENERGY DIVERGENCE SIGNAL (WEAK Marker)
Orange triangle with "WEAK" label
Triangle Up Position (Below Price):
Signal Type: Bearish energy divergence
Location: Bottom of the move after the bullish run
What It Detected: Price made a new low BUT the impulse energy behind that low was 25%+ weaker than the previous bearish impulse
CHART 2: EXHAUSTION SIGNALS, MEMORY ZONES & DASHBOARD DEEP DIVE
What This Chart Represents
This chart demonstrates the complete signal ecosystem of the Momentum Decay Field indicator, showcasing exhaustion detection, energy divergence, memory zones, and a full dashboard metrics breakdown. The chart captures a Solana (SOL/USDT) 15-minute timeframe showing the transition from strong bearish momentum through exhaustion to reversal with weakening energy.
1. ENERGY FIELD EVOLUTION
LEFT SIDE (Early Period - 1:00 to 10:00):
Bright magenta field = Strong bearish energy active
Wide field width = High momentum magnitude
Color morphing visible = Transition from bright magenta → brown/amber as energy decays
Field shows downtrend = Bearish impulse energy driving price lower
2. EXHAUSTION SIGNAL (EXH Marker)
Meaning: Momentum energy fully depleted - energy ratio dropped below 8% threshold
Location: Above the price bars (bearish exhaustion that preceded the bullish reversal)
Trigger Conditions Met:
Energy ratio < 0.08 (exhaustion threshold)
Minimum E0 > 0.5 (filters noise)
Minimum 3 bars elapsed since impulse
Cooldown period satisfied (8 bars between signals)
Anti-repeat filter passed (different direction or sufficient time gap)
What Happened Here: The strong bearish momentum (magenta field on left) progressively decayed until energy was fully consumed. The EXH marker fired at the exact bar where the decay equation calculated remaining energy had fallen below the 8% threshold.
3. EXHAUSTION MEMORY ZONE (Green Rectangle)
Large semi-transparent green box
Zone Type: Bullish exhaustion memory zone
Price Range: Captures the high-low range of the bar where bullish momentum exhausted
Color: Green with ~92% opacity at creation, fading over time
Border: Green border at ~78% opacity
Extension: Extends from exhaustion bar to right edge of chart (+10 bars beyond current)
Why It Matters: Price levels where momentum exhausted represent areas where directional energy was fully consumed. Market often "remembers" these levels as they frequently become magnets for future price action, areas of consolidation, or reversal zones.
4.ENERGY SPINE (Coloured Line Through Price Center)
Visible as dark line running through candle midpoints:
Technical Details:
Plots at hlc3 (average of high, low, close)
Color matches field color, opacity varies with energy level
Only visible when energy > 12%
Provides visual anchor showing momentum center of gravity
Style: Line breaks (plot.style_linebr) to avoid connecting across gaps
Purpose: The spine acts as a dynamic momentum equilibrium line. When field is wide, spine shows the center of energy distribution. As field contracts, spine becomes the last visible element before total energy depletion. Helps traders identify the core momentum flow without relying solely on field boundaries.
RECOMMENDED SETTINGS AND TIMEFRAMES
The default settings are calibrated for intraday trading on timeframes between 1 minute and 15 minutes. The indicator works on all timeframes and all instruments but the default parameters are optimized for the pace of day trading where impulse-to-exhaustion cycles complete within a visible chart window.
For scalping on 1-minute charts, consider reducing the Base Half-Life to 5-6 bars and the Impulse Lookback to 8-10. This makes the system more responsive to the rapid impulse cycles on lower timeframes.-
For swing trading on 1-hour or 4-hour charts, consider increasing the Base Half-Life to 12-16 bars and the Impulse Threshold to 2.0-2.5. This filters out intrabar noise and focuses on only the most significant impulses that drive multi-hour moves.
For daily charts, increase the Half-Life to 15-20 bars and enable Adaptive Half-Life to let strong institutional moves sustain their field across multiple sessions.
The Volume Weighting option is recommended to be kept enabled on instruments with reliable volume data (stocks, futures, major crypto pairs). For forex pairs where volume represents tick count rather than actual traded volume, consider disabling it or treating it as a secondary factor.
THOUGHT BEHIND THE INDICATOR
The concept originated from a simple observation: every momentum move in the market follows a lifecycle that mirrors energy decay in physics. A strong impulse starts with maximum energy, sustains for a period, then gradually loses force until it is fully spent. Traditional momentum indicators attempt to measure this through oscillators that lag behind price. MDF takes a fundamentally different approach by modeling the decay process itself using established physics rather than measuring its symptoms through lagging mathematical transformations.
The exponential decay model was chosen specifically because it matches the empirical behavior of momentum in financial markets. Momentum does not decay linearly - it holds relatively steady in the early phase after an impulse, then accelerates its decline as it approaches exhaustion. This is precisely the shape of an exponential decay curve and is why the half-life model produces a more accurate representation than a simple moving average or percentage-based countdown.
The energy divergence detection was added after observing that many trend reversals are preceded by a sequence of price extremes with diminishing impulse energy. The price chart shows strength (higher highs or lower lows) while the underlying energy tells a different story (each push requires less fuel). This hidden weakness is invisible on a standard chart but becomes immediately apparent when measured through the energy model.
WHAT THIS INDICATOR DOES NOT DO
This indicator does not generate buy or sell signals. It does not tell you when to enter or exit a trade. It does not predict future price direction. It measures and visualizes the current state of momentum energy to help you make more informed decisions within your own trading framework.
The exhaustion markers identify zones where momentum energy has depleted according to the physics model. Price may reverse at these zones, consolidate, or continue in the same direction after a new impulse injects fresh energy. The markers are informational reference points, not trading signals.
The energy divergence detection (WEAK markers) highlights instances where price extremes are driven by weakening energy. This is an observation about momentum quality, not a prediction about price direction. Divergences can persist through multiple cycles before price responds.
NON REPAINT BEHAVIOUR
Every calculation in this indicator uses only confirmed bar data (open, high, low, close, volume) from completed bars. No future data is referenced. No calculations change retroactively after a bar closes. The impulse detection, energy assignment, decay computation, exhaustion detection, and divergence detection all operate exclusively on confirmed historical data. What you see on a closed bar will never change.
DISCLAIMER
Trading financial instruments involves substantial risk of loss. Past energy states and exhaustion patterns do not guarantee future price behavior. This tool visualizes momentum dynamics to support analysis - it does not provide financial advice. The author assumes no responsibility for trading decisions or losses. Always employ proper risk management and never risk capital you cannot afford to lose.
- BullByte Indicator

Trend Strength IndicatorThis is a Trend Strength Indicator that shows you the immediate trend and historical trend of price for up to 7 higher timeframes.
It shows the strength of each timeframe by showing a red or green dot based on where price is at compared to the previous higher timeframe candle. The brighter red or green the dot is, the stronger the trend is compared to that higher timeframe candle.
The colors and timeframes can be customized to suit your preference and you can also turn off as many timeframes as you’d like if you want less time frames to show up on the indicator.
It also includes alerts for when all timeframes are bullish or all timeframes are bearish.
Keep these timeframes set to higher time frames than your chart so you can trade in the direction of the overall higher timeframe trend.
Bullish Scoring & Colors
If the current candle close is above the midline of the higher time frame candle, it is given a score of 1 and a dark green dot. If the current candle close is above the higher timeframe candle body, then it is given a score of 2 and a medium green dot. If the current candle close is above the high of the higher time frame candle, it is given a score of 3 and a bright green dot.
The higher the score the stronger the bullish trend and the brighter green the dot will be.
Bearish Scoring & Colors
If the current candle close is below the midline of the higher timeframe candle, it is given a score of -1 and a dark red dot. If the current candle close is below the higher timeframe candle body, then it is given a score of -2 and a medium red dot. If the current candle close is below the low of the higher timeframe candle, it is given a score of -3 and a bright red dot.
The lower the score, the stronger the bearish trend and the brighter red the dot will be.
Trend Scoring Modes
We gave you the option to set the trend scoring mode to either score based on price above or below the midline for quick and easy trend identification, or using the midline, candle body and highs and lows to give you a more detailed view of the trend strength. You can switch between these modes by selecting your preferred mode in the settings panel. The default is Open, High, Low, Close + Midline.
Sending Trend Direction To External Indicators
We coded in the ability to use the trend strength score as a signal that you can use to filter other indicators. This feature is great for notifying signal generating indicators what direction the market is trending in so that the signal generating indicator only gives signals in the direction of the trend.
This feature works by providing a data output of 1, 0 or -1. 1 means the trend is bullish, 0 means the trend is neutral and -1 means the trend is bearish.
This score is calculated by using the score of each timeframe that is turned on and checking if all timeframes are in the same direction or not. So if 3 timeframes are turned on and they are all bullish, the indicator will provide a data output of 1. This tells your external indicators that the trend is bullish.
This data output can be found in the data window and is labeled Trend Direction To Send To External Indicators.
At the bottom of the settings panel, there is a setting called Trend Score Threshold For External Indicators. This setting is the score threshold that all timeframes will need to meet to allow a trend strength signal to go through. So if set to 1, then all timeframes must be scored 1 or higher for bullish or -1 or lower for bearish. If set to 2, then all timeframes must be 2 or higher for bullish or -2 or lower for bearish. If set to 3, then all timeframes must be 3 for bullish or -3 for bearish. If all timeframes have met this threshold, then a bullish or bearish signal can be sent to your external indicator as a trend filter.
Labels
There are labels to the right of each row of dots, telling you which timeframe is which so you can easily identify what timeframe each row is showing the trend for.
Alerts
You can set alerts for when all timeframes are bullish or when all timeframes are bearish. If you have some time frames turned off at the time of creating your alerts, then it will only require all timeframes that are on to be all bullish or bearish to generate an alert. Make sure to set your alerts to once per bar close to ensure you don’t get premature alerts that aren’t yet valid.
Backtesting
This indicator helps you quickly identify and backtest the trend direction, how strong that trend is on multiple timeframes and helps you spot reversals and trend continuations. Make sure you look back at a lot of historical data to see how price moves when trend changes take place and how well price continues in each direction compared to the overall trend. This will help you gain confidence in reading the indicator and using it to your advantage when trading.
Best Way To Use The Indicator
This indicator is designed to help you quickly identify the trend on various different timeframes. The brighter the green dots are, the stronger the bullish trend is. The brighter the red dots are, the stronger the bearish trend is.
Trade in the direction of the trend. If the colors are mixed green and red, then price is likely to chop back and forth, so only trade the extremes of the ranges when that happens.
When most of the lower timeframe dots are the same color, that means it is a strong trend and you should place trades in the direction of the trend to be safe. The lower timeframes will start trending before the higher timeframes, so take notice of the lower timeframe colors starting to agree with each other and then take advantage of the trend that is forming.
You can also spot reversals with this indicator by watching for the lower timeframes to start changing color after a strong trend in one direction. The lower timeframes will start to change color one by one, indicating that the trend is actually changing direction.
For best results, make sure you wait for the trend to show all bullish or all bearish at the same time before you place any trades. If you can be patient enough to do that, you will increase the probability of winning your trade because you are trading with the direction of the overall higher timeframe trend which is typically an easy way to win more trades. Of course wait for pullbacks during the trend so you can keep a tight stop loss after entering your trade.
If you are scalping, you can turn off the higher timeframes and just use the 1 hour through 1 day. This won’t be as reliable as using all timeframes and waiting for them to align, but it is suitable for scalping quick intraday movements.
Other Indicators To Pair This With
Use this in combination with our Higher Timeframe Candle Levels indicator so you can see all of these levels being used to calculate the trend strength scores and watch how price reacts to those levels. You should also use our Breakout Scanner to find other markets with strong trends so you always know which market is trending the strongest and can trade those. Trend Strength Indicator, Higher Timeframe Candle Levels and the Breakout Scanner all use the same levels and calculate the trend scores the same way so they are designed to work all together to help you quickly be able to read a chart and find what direction to trade in. Indicator

Trend & Strength Detector TSDTrend Strength Detector (TSD)
*Objective Trend Quality Measurement for Educational Market Analysis*
Note: This mathematical framework is a proprietary quantitative model developed by Ario Pinelab, inspired by classical EMA, ADX, RSI and MACD principles, yet not documented in any public technical or academic publication.
## 🎯 Purpose & Design Philosophy
The ** Trend Strength Detector- TSD ** is an educational research tool that provides **quantitative measurement of trend quality** through two independent scoring systems (0-100 scale). It answers the analytical question: *"How strong and aligned is the current market trend environment?"*
This indicator is designed with a **modular, complementary approach** to work alongside various analysis methodologies, particularly pattern-based recognition systems.
## 🔗 Complementary Research Framework
### Designed to Work With Pattern Detection Systems
This indicator provides **environmental context measurement** that complements qualitative pattern recognition tools. It works particularly well alongside systems like:
- **RMBS Smart Detector - Multi-Factor Momentum System**
- Traditional chart pattern analyzers
- Any momentum-based pattern identification tools
🔍 **To find RMBS Smart Detector:**
- Search in PulseWire Indicators Library: `" RMBS Smart Detector - Multi-Factor Momentum System"`
- Look for: *Multi-Factor Momentum System*
- By author: ` `
### Why This Complementary Approach?
**Trend Quality Measurement** (TSD - this tool) provides:
- ✅ Structural trend alignment (0-100 score)
- ✅ Momentum intensity levels (0-100 score)
- ✅ Environment classification (Strong/Moderate/Weak)
- 📌 **Answers:** *"HOW STRONG is the underlying trend environment?"*
### Educational Research Value
When used together in a research context, these tools enable systematic study of questions like:
- How do reversal patterns behave when Strength Score is above 70 vs below 30?
- Do continuation patterns in weakening environments (declining scores) show different characteristics?
- What is the correlation between high Alignment Scores and pattern "success rates"?
- Can environment classification help identify genuine trend initiation vs false starts?
⚠️ **Important Note:** Both tools are **independent and work standalone**. TSD provides value whether used alone or with other analysis methods. The relationship with RMBS (or any pattern tool) is **complementary for research purposes**, not dependent.
---
###Mathematical Foundation
##TSA Formula: scoring method developed by Ario
-Trend Model (0 – 100)
TAS = EMA Alignment (0–40) + Price Position (0–30) + Trend Consistency (0–30)
EMA Alignment checks EMA_fast vs EMA_slow vs EMA_trend structure.
Price Position evaluates if Close is above/below all EMAs.
Consistency = 3 × max(bullish,bearish bars within 10 candles).
-Strength Model (0 – 100)
Strength = ADX (0–50) + EMA Slope (0–25) + RSI (0–15) + MACD (0–10)
ADX measures trend energy; Slope shows EMA momentum %;
RSI assesses zone positioning; MACD confirms directional agreement.
Note: This formula represents a proprietary quantitative model by Ario_Pinelab, inspired by classical technical concepts but not published in any external reference.________________________________________
📊 Environment Classification
Based on Total Strength Score:
🟢 Strong Environment: Score ≥ 60
→ Well-defined momentum, clear directional bias
🟡 Moderate Environment: 40 ≤ Score < 60
→ Mixed signals, transitional conditions
🔴 Weak Environment: Score < 40
→ Ranging, choppy, low conviction movement
Color Coding:
• Green background: Strong (≥60)
• Yellow background: Moderate (40-59)
• Red background: Weak (<40)
________________________________________
📈 Visual Components
Main Chart Display
Score Labels (Top-Right Corner):
┌─────────────────────────────────┐
│ 📊 Alignment: 75 | Strength: 82 │
│ Environment: Strong 🟢 │
└─────────────────────────────────┘
Color-Coded Background:
• Environment strength visually indicated via background color
• Helps quick identification of market regime
• Customizable transparency (default: 90%)
Reference Lines:
• Dotted line at 60: Strong/Moderate threshold
• Dotted line at 40: Moderate/Weak threshold
• Mid-line at 50: Neutral reference
________________________________________
🔧 Customization Settings
Input Parameters
The best setting is the default mode.
🚫 Important Disclaimers & Limitations
What This Indicator IS:
✅ Educational measurement tool for trend quality research
✅ Quantitative assessment of current market environment
✅ Complementary analysis tool for pattern-based systems
✅ Historical data analyzer for systematic study
✅ Multi-factor scoring system based on technical calculations
What This Indicator IS NOT:
❌ NOT a trading system or signal generator
❌ NOT financial advice or trade recommendations
❌ NOT predictive of future price movements
❌ NOT a guarantee of pattern success/failure
❌ NOT a substitute for comprehensive risk management
________________________________________
Known Limitations
1. Lagging Nature:
⚠️ All components (EMA, ADX, RSI, MACD) are calculated
from historical price data
→ Scores reflect CURRENT and RECENT conditions
→ Cannot predict sudden reversals or black swan events
→ Trend measurements lag actual price turning points
2. Whipsaw Risk:
⚠️ In choppy/ranging markets, scores may fluctuate rapidly
→ Moderate zone (40-60) can see frequent transitions
→ Low timeframes more susceptible to noise
→ Consider higher timeframes for stable measurements
3. Component Conflicts:
⚠️ Individual components may disagree
→ Example: Strong ADX but weak RSI alignment
→ Scores average these conflicts (may hide nuance)
→ Check individual components for deeper insight
4. Not Predictive:
⚠️ High scores do NOT guarantee continuation
⚠️ Low scores do NOT guarantee reversal
→ Measurement ≠ Prediction
→ Use for CONTEXT, not SIGNALS
→ Combine with comprehensive analysis
________________________________________
Risk Acknowledgments
Market Risk:
• All trading involves substantial risk of loss
• Past performance (even systematic studies) does not guarantee future results
• No indicator, system, or methodology can eliminate market risk
Measurement Limitations:
• Scores are mathematical calculations, not market predictions
• Environmental classification is descriptive, not prescriptive
• Strong measurements can deteriorate rapidly without warning
Educational Purpose:
• This tool is designed for LEARNING about market structure
• Not designed, tested, or validated as a standalone trading system
• Any trading decisions are user’s sole responsibility
No Warranty:
• Indicator provided “as-is” for educational purposes
• No guarantee of accuracy, reliability, or profitability
• Users must verify calculations and apply critical thinking
Open Source
Full Pine Script code available for educational study and modification. Feedback and improvement suggestions welcome.
“All logic is presented for research and educational visualization.”
--- Indicator

Multi Pivot Trend [BigBeluga]🔵 OVERVIEW
The Multi Pivot Trend is an advanced market-structure-driven trend engine that evaluates trend strength by scanning multiple pivot breakouts simultaneously.
Instead of relying on a single swing length, it tracks breakouts across ten increasing pivot lengths — then averages their behavior to produce a smooth, reliable trend reading.
Mitigation logic (close, wick, or HL2 touches) controls how breakouts are confirmed, giving traders institutional-style flexibility similar to BOS/CHoCH validation rules.
This indicator not only colors candles based on trend strength, but also extends trend strength and volatility-scaled projection candles to show where trend pressure may expand next.
Pivot breakout lines and labels mark key changes, making the trend transitions extremely clear.
🔵 CONCEPTS
Market trend strength is reflected by multiple pivot breakouts, not just one.
The indicator analyzes ten pivot structures from smaller to larger swings.
Each bullish or bearish pivot breakout contributes to trend score.
Mitigation options (close / wick / HL2) imitate smart-money breakout confirmation logic.
Trend score is averaged and translated into colors and extension bars.
Neutral regime ≈ weak trend or transition zone (trend compression).
🔵 FEATURES
Multi-Pivot Engine — tracks 10 pivot-based trend signals simultaneously.
Mitigation Modes :
• Close — breakout requires candle close beyond pivot
• Wicks — breakout requires wick violation
• HL2 — breakout confirmed when average (H+L)/2 crosses level
Dynamic Color System :
• Blue → confirmed bullish rotation
• Red → confirmed bearish rotation
• Orange → neutral / transition state
Breakout Visualization — draws pivot breakout lines in real-time.
Trend Labels — prints trend %.
Trend Volatility-Scaled Extension Candles — ATR/trend strength based candle projections show momentum continuation strength.
Gradient Pivot Encoding — higher pivot lengths = deeper structure considered.
🔵 HOW TO USE
Use strong blue/red periods to follow dominant structural trend.
Watch for color transition into orange — possible trend change or consolidation.
Pivot breakout lines help validate structure shifts without clutter.
Wick mitigation catches aggressive liquidity-sweep based breaks.
Close/HL2 mitigation catches cleaner market structure rotations.
Extension bars visualize trend pressure — large extensions = strong push.
Best paired with volume or volatility confirmation tools.
🔵 CONCLUSION
The Multi Pivot Trend is a structural trend recognition system that blends multiple pivot breakouts into one clean trend score — with institutional-style mitigation logic and volatility-projected trend extensions.
It gives traders a powerful, visually intuitive way to track momentum, spot trend rotations early, and understand true structural flow beyond simple MA-based approaches.
Use it to stay aligned with the dominant swing direction while avoiding noise and false flips.
Indicator

Trend Strength Index [Alpha Extract]The Trend Strength Index leverages Volume Weighted Moving Average (VWMA) and Average True Range (ATR) to quantify trend intensity in cryptocurrency markets, particularly Bitcoin. The combination of VWMA and ATR is particularly powerful because VWMA provides a more accurate representation of the market's true average price by weighting periods of higher trading volume more heavily—capturing genuine momentum driven by increased participation rather than treating all price action equally, which is crucial in volatile assets like Bitcoin where volume spikes often signal institutional interest or market shifts.
Meanwhile, ATR normalizes this measurement for volatility, ensuring that trend strength readings remain comparable across different market conditions; without ATR's adjustment, raw price deviations from the mean could appear artificially inflated during high-volatility periods (like during news events or liquidations) or understated in low-volatility sideways markets, leading to misleading signals. Together, they create a volatility-adjusted, volume-sensitive metric that reliably distinguishes between meaningful trend developments and noise.
This indicator measures the normalized distance between price and its volume-weighted mean, providing a clear visualization of trend strength while accounting for market volatility. It helps traders identify periods of strong directional movement versus consolidation, with color-coded gradients for intuitive interpretation.
🔶 CALCULATION
The indicator processes price data through these analytical stages:
Volume Weighted Moving Average: Computes a smoothed average weighted by trading volume
Volatility Normalization: Uses ATR to account for market volatility
Distance Measurement: Calculates absolute deviation between current price and VWMA
Strength Normalization: Divides price deviation by ATR for a volatility-adjusted metric
Formula:
VWMA = Volume-Weighted Moving Average of Close over specified length
ATR = Average True Range over specified length
Price Distance = |Close - VWMA|
Trend Strength = Price Distance / ATR
🔶 DETAILS Visual Features:
VWMA Line: Blue line overlay on the price chart representing the volume-weighted mean
Trend Strength Area: Histogram-style area plot with dynamic color gradient (red for weak trends, transitioning through orange and yellow to green for strong trends)
Threshold Line: Horizontal red line at the customizable Trend Enter level
Background Highlight: Subtle green background when trend strength exceeds the enter threshold for strong trend visualization
Alert System: Triggers notifications for strong trend detection
Interpretation:
0-Weak (Red): Minimal trend strength, potential consolidation or ranging market
Mid-Range (Orange/Yellow): Building momentum, watch for breakout potential
At/Above Enter Threshold (Green): Strong trend conditions, potential for continued directional moves
Threshold Crossing: Trend strength crossing above the enter level signals increasing conviction in the current direction
Color Transitions: Gradual shifts from warm (red/orange) to cool (green) tones indicate strengthening trends
🔶 EXAMPLES
Strong Trend Entry: When trend strength crosses above the enter threshold (e.g., 1.2), it identifies the onset of a powerful move where price deviates significantly from the mean.
Example: During a rally, trend strength rising from yellow (around 1.0) to green (1.2+) often precedes sustained upward momentum, providing entry opportunities for trend followers.
Consolidation Detection: Low trend strength values in red shades (below 0.5) highlight periods of low volatility and mean reversion potential.
Example: After a sharp sell-off, persistent red values signal a likely sideways phase, allowing traders to avoid whipsaws and wait for orange/yellow transitions as a precursor to recovery.
Volatility-Adjusted Pullbacks: In volatile markets, the ATR component ensures trend strength remains accurate; a dip back to yellow from green during minor corrections can indicate healthy pullbacks within a strong trend.
Example: Trend strength briefly falling to yellow levels (e.g., 0.8-1.1) after hitting green provides profit-taking signals without invalidating the overall bullish bias if the VWMA holds as support.
Threshold Alert Integration: The alert condition combines strength value with the enter threshold for timely notifications.
Example: Receiving a "Strong Trend Detected" alert when the area plot turns green helps confirm Bitcoin's breakout from consolidation, aligning with increased volume for higher-probability trades.
🔶 SETTINGS
Customization Options:
Lengths: VWMA length (default 14), ATR length (default 14)
Thresholds: Trend enter (default 1.2, step 0.1), trend exit (default 1.15, for potential future signal enhancements)
Visuals: Automatic color scaling with red at 0, transitioning to green at/above enter threshold
Alert Conditions: Strong trend detection (when strength > enter)
The Trend Strength Index equips traders with a robust, easy-to-interpret tool for gauging trend intensity in volatile markets like Bitcoin. By normalizing price deviations against volatility, it delivers reliable signals for identifying high-momentum opportunities while the gradient coloring and alerts facilitate quick assessments in both trending and choppy conditions. Indicator
