True Strength Index Ribbon
True Strength Index Ribbon: A new way to visualize momentum
Most TSI indicators answer a simple question:
"Is momentum bullish or bearish?"
The True Strength Index Gradient Ribbon was designed to answer a much more useful question:
"How committed is momentum to that direction?"
Instead of displaying two ordinary oscillator lines that constantly cross and overlap, this indicator transforms the relationship between the TSI and its signal line into a continuously expanding and contracting gradient ribbon.
The result is an oscillator that allows traders to recognize momentum shifts almost instantly while dramatically reducing the visual clutter common to traditional TSI implementations.
Why a ribbon?
Momentum isn't simply bullish or bearish.
It has strength.
It has conviction.
It accelerates.
It weakens.
It compresses before expanding again.
The width of the ribbon naturally visualizes the distance between the TSI and its signal line.
A widening ribbon suggests increasing directional commitment.
A narrowing ribbon often indicates weakening momentum or an approaching transition.
Instead of mentally measuring the distance between two moving lines, your eyes recognize it immediately.
Designed for mean reversion and trend trading
While the indicator performs well as a traditional trend-following oscillator, it was specifically developed with mean reversion trading in mind.
Markets spend surprisingly little time at statistically stretched levels.
By combining directional momentum with configurable extension zones, traders can quickly identify when momentum is beginning to reverse after reaching unusually extended conditions.
The indicator intentionally avoids telling traders what to buy or sell.
Instead, it provides objective information that can be combined with price action, structure, moving averages, VWAP, volume, or any existing trading methodology.
Key Features
• Innovative gradient ribbon visualization
• Multiple signal moving average options:
EMA
SMA
WMA
RMA
HMA
VWMA
ALMA
• Higher-timeframe smoothing without changing your chart timeframe
• Four display modes:
Ribbon Only
Signal Line Only
Solid Signal Line Only
Ribbon + Signal Line
• Customizable bullish, bearish, neutral, and extreme colors
• Configurable extension levels for progressively stretched market conditions
• Optional extension-zone shading
• Live Extension Grade panel showing:
Direction
Degree of extension
Current TSI value
• Bullish and bearish crossover alerts
• Extension alerts for every major threshold
Timeframe smoothing
One of the more unique capabilities of this indicator is timeframe-based smoothing.
Instead of requiring traders to constantly switch chart timeframes, the script can internally scale its smoothing calculations to approximate the behavior of a higher timeframe while remaining on the current chart.
This produces cleaner momentum structure while preserving the convenience of lower-timeframe execution.
Extension Grades
Rather than treating all overbought and oversold conditions equally, this indicator classifies momentum into progressively stronger extension levels.
Examples include:
• Moderately Extended
• Extended
• Very Extended
• Extremely Extended
The goal isn't to predict reversals simply because a market reaches an extreme.
Instead, these classifications provide context so traders can better judge when momentum has become unusually stretched.
Built for customization
Every trader sees momentum differently.
Nearly every visual element can be customized, including:
Colors
Signal moving average
Signal smoothing
Ribbon visibility
Timeframe smoothing
Extension thresholds
Zone shading
Signal line appearance
This allows the indicator to adapt to different markets, different trading styles, and different visual preferences.
Design Philosophy
The best indicators don't make trading decisions.
They improve the trader's ability to understand market behavior.
The True Strength Index Ribbon was built around one simple objective:
Transform momentum from something you calculate...
into something you can immediately see.
If this script helps your trading, consider leaving a Like and sharing your feedback. Suggestions for future improvements are always welcome.
Disclaimer
This indicator is provided for educational and informational purposes only. It is designed to assist with market analysis and should not be considered financial or investment advice. No indicator can predict future market movements or guarantee profitable trades. Always conduct your own research, use appropriate risk management, and consider multiple factors before making any trading decisions. Indicator

Change of Character (CHoCH) Alert System [algo_aakash]Change of Character (CHoCH) Alert System is a market structure signal tool focused on a single event: a confirmed shift in directional bias. Rather than labeling every Break of Structure and CHoCH the way many public structure scripts do, this indicator deliberately ignores continuation breaks and limits both the chart and the alert feed to the moments where the prevailing character of the market actually flips.
Problem Statement
Most public CHoCH implementations classify a character change purely on the direction of a swing break, with no measure of how convincing that break actually was. This creates two practical issues for anyone building alerts around structure. Every minor swing wobble can trigger a notification, producing alert fatigue, and there is no way to separate a decisive character change from one that barely closed beyond the swing level. This script addresses both issues with a close-confirmed CHoCH-only detection engine and a built-in confidence grading step applied to every signal.
Methodology
The script maintains a single structure register holding the most recent confirmed swing high and swing low, located with standard pivot detection over a user-defined pivot length. When the adaptive swing filter is enabled, a newly confirmed pivot only replaces the stored swing if its distance from the last opposite-type pivot exceeds a configurable ATR-relative threshold, which keeps insignificant micro-swings out of the structure register before they can influence a signal.
A Change of Character is only evaluated on a confirmed candle close, so nothing in the detection logic repaints once a signal has printed. A bullish CHoCH requires a close above the last swing high while the tracked bias is bearish or undefined. A bearish CHoCH requires a close below the last swing low while the tracked bias is bullish or undefined. A break that occurs while the bias already agrees with the break direction is treated as ordinary continuation and is not flagged.
Two optional filters gate confirmation further. A displacement filter requires the breaking close to clear the swing level by a minimum ATR multiple, removing marginal breaks. A momentum filter requires the breakout candle's body to represent a minimum percentage of its total range, removing breaks driven mostly by wick with little real conviction behind the close.
Once a CHoCH is confirmed, the broken swing level is projected forward on the chart as an active structure line. If a later confirmed close moves back through that level, the structure is marked invalidated and the projection line is dimmed, separately from the detection of any new CHoCH.
Signal Workflow
Track the most recent confirmed swing high and swing low using pivot detection.
Apply the adaptive swing filter to reject pivots too close to the last opposite-type pivot.
On each confirmed candle close, test for a close beyond the stored swing level against the current bias.
Apply the displacement filter to confirm the close cleared the level by a minimum ATR multiple.
Apply the momentum filter to confirm the breakout candle's body-to-range ratio meets the minimum threshold.
Score the confirmed breakout candle on displacement in ATR units and body-to-range ratio to produce a Weak, Moderate, or Strong confidence grade.
Flip the tracked bias, plot the CHoCH label with its grade, and project the broken level forward as an active structure line.
Continue monitoring the active structure line and mark it invalidated if a later confirmed close moves back through it.
Why This Indicator Is Different
Many structure tools plot every Break of Structure alongside every CHoCH, leaving the trader to filter out which events represent an actual change in character.
This script omits BOS events entirely and reports only confirmed CHoCH signals, which are the events that correspond to a bias flip.
Each confirmed CHoCH is scored using two independent factors measured on the breakout candle itself, its ATR-normalized displacement past the level and its body-to-range ratio, rather than being treated as a single undifferentiated event.
The confidence grade is written into the alert message text at the moment the event fires, which requires composing the message dynamically rather than relying on a fixed template.
The swing level broken by a CHoCH remains tracked after the signal fires, so a later close back through that level produces a distinct invalidation alert rather than silently vanishing into the next structure calculation.
Detection is restricted to confirmed candle closes throughout, so the bias, the grade, and the invalidation state cannot change intrabar once printed.
Inputs
Structure Engine
Swing Pivot Length
Adaptive Swing Filter
Filter Threshold (ATR multiple)
Break Confirmation
Displacement Filter
Displacement Multiplier
Momentum Filter
Minimum Body % of Range
ATR Length
Visual Settings
Show Swing Points
Show Structure Projection
Projection Extension
Show Trend Background Wash
Color Candles After CHoCH
Show Confidence Grade
Label Size
Bullish, Bearish, and Projection colors
Status Panel
Show Status Panel
Panel Position
Alerts
Alert: Bullish CHoCH
Alert: Bearish CHoCH
Alert: Bullish Structure Invalidated
Alert: Bearish Structure Invalidated
Alerts
Alerts are available for:
Bullish CHoCH confirmed on a closed candle, with the confidence grade included in the alert message
Bearish CHoCH confirmed on a closed candle, with the confidence grade included in the alert message
Bullish structure invalidated after a confirmed close back below an active bullish level
Bearish structure invalidated after a confirmed close back above an active bearish level
Practical Usage
Use a shorter pivot length on intraday charts to react to structure earlier, combined with the displacement and momentum filters to avoid marginal breaks.
Use a longer pivot length on higher timeframes to isolate structurally significant character changes only.
Treat a Strong-grade CHoCH as a higher-conviction event than a Weak-grade CHoCH when weighing entry timing or position sizing.
Watch for a structure invalidated alert shortly after a CHoCH, since it indicates price has returned through the level that produced the signal.
Use the status panel as a quick reference for the current bias and the most recent CHoCH grade without needing to scan the chart for labels.
Limitations
Swing highs and lows depend on confirmed pivots, which require the full pivot length of bars to close on both sides before becoming available, introducing a disclosed confirmation lag.
The displacement and momentum filters reduce signal frequency by design, which means fewer but more selective CHoCH events compared to unfiltered structure break detection.
Structure invalidation reflects a return through a previously broken level and does not attempt to forecast subsequent price direction.
This indicator identifies structural events only and does not constitute financial advice or a complete trading system on its own.
Notes
All structural state, including the tracked bias, the active levels, and the confidence grade, is evaluated only on a confirmed candle close, so nothing in this script repaints once printed.
The only lag in the system is the standard pivot confirmation lag inherent to pivot-based swing detection, which is disclosed above rather than hidden.
Designed for dark theme charts. On light themes, consider darkening the projection line color for improved contrast.
Indicator

Flow Pressure Zones [BOSWaves]Volume Flow Zones - Body-Ratio Volume Flow Scoring with Baseline Fuel Visualization and Counter-Trend Reversal Zone Detection
Overview
Volume Flow Zones is a volume-weighted flow intensity system that scores each bar by the combined strength of its body-to-range ratio and volume participation relative to its rolling average, where baseline fuel candle height, price candle gradient intensity, and reversal zone placement are all driven by this normalized flow score rather than fixed thresholds or arbitrary indicator crossovers.
Instead of relying on raw volume or price direction alone, the flow score combines how convincingly price moved within the bar's range with how significant the bar's volume was relative to recent history, producing a single normalized conviction reading that reflects both the directional commitment and the participation weight behind each bar. This score then drives every visual layer of the indicator simultaneously, from the height of the fuel candles on the baseline to the brightness of the price candle coloring to the conditions required for a reversal zone to be planted.
This creates a flow monitoring framework that communicates momentum quality continuously rather than at discrete signal events. The baseline fuel candles grow and shrink with the flow score on every bar, the glow around the WMA baseline intensifies during high-flow periods, price candles brighten toward full trend color during strong participation and dim toward neutral during weak flow, and yellow reversal candles fire when meaningful counter-trend flow appears against the prevailing trend direction, at which point a forward-projecting reversal zone is planted at the bar's extreme.
Price is therefore evaluated not just for direction relative to the baseline but for the quality and intensity of the flow supporting that direction on every bar.
Conceptual Framework
Volume Flow Zones is founded on the principle that directional price movement carries meaningfully different conviction depending on how decisively price closed within the bar's range and how significantly volume participated relative to recent norms, and that these two dimensions together produce a more reliable flow quality reading than either dimension alone.
Traditional momentum tools measure direction through crossovers or oscillator levels that treat all bars equally regardless of whether a move was driven by decisive high-volume conviction or by drifting low-volume noise. This framework replaces uniform direction measurement with a per-bar flow quality score that distinguishes between genuine momentum and low-conviction price movement, encoding that distinction across every visual element so that chart reading reflects real participation dynamics rather than mechanical indicator states.
Three core principles guide the design:
Flow quality should be measured by combining body dominance within the bar range with volume significance relative to the rolling average, producing a score that captures both directional decisiveness and participation weight simultaneously.
The flow score should drive all visual outputs proportionally and continuously, with fuel candle height, price candle brightness, and baseline glow all scaling in real time to the current flow reading rather than switching between fixed states.
Counter-trend flow events meeting minimum quality thresholds should generate forward-projecting reversal zones anchored to the bar extreme where the opposing flow appeared, marking structural reference levels for potential trend exhaustion and reversal.
This shifts trend analysis from binary directional state monitoring into continuous flow quality measurement where visual intensity across every chart layer communicates conviction strength in real time.
Theoretical Foundation
The indicator combines WMA-based trend direction, body-to-range ratio measurement, volume SMA normalization, flow score derivation with rolling normalization, reversal detection through close position and volume threshold testing, and an ATR-scaled fuel candle system that projects flow intensity visually from the baseline.
The WMA baseline provides a weighted directional reference that gives greater importance to recent price activity, establishing the trend context that determines fuel candle positioning and reversal direction qualification. The body ratio measures what fraction of the bar's total range the body occupies, with higher ratios indicating more decisive directional commitment. Volume normalization divides each bar's volume by its SMA baseline and caps the result at three, preventing extreme volume spikes from overwhelming the score. The raw flow score multiplies body ratio by normalized volume, and a rolling highest-lowest normalization converts the raw score to a 0-1 range that adapts to the instrument's typical flow distribution. Reversal detection tests close position within the range, bar direction, and volume normalization simultaneously, requiring all three conditions to be met before a reversal event qualifies.
Four internal systems operate in tandem:
Flow Score Engine : Calculates body ratio from open-close range divided by high-low range, normalizes volume against its SMA baseline, multiplies the two to produce raw flow, then normalizes the raw flow against its rolling highest and lowest values to produce the final 0-1 score that drives all downstream visual systems.
Baseline Fuel Candle System : Positions ATR-scaled candles above the baseline for bearish trends and below for bullish trends, scaling their height proportionally to the current flow score so that fuel candle length grows and shrinks with each bar's flow intensity and coloring intensifies with a power-transformed opacity gradient.
Price Candle Gradient System : Colors chart candles from a dimmed version of the trend color at low flow scores to full saturation at high flow scores using a power-transformed gradient, with yellow override on any bar where counter-trend reversal conditions are met regardless of trend state.
Flow Reversal Zone Engine : Monitors for qualifying counter-trend flow events meeting close position, direction, and volume thresholds above the minimum flow score, plants ATR-scaled zones with dashed midlines at the bar extreme on confirmed qualifying bars subject to cooldown enforcement, extends zones forward until price closes through them on two consecutive bars.
This design allows every chart element to reflect the current flow score simultaneously while the reversal zone system independently tracks and maps the structural locations where meaningful counter-trend flow appeared.
How It Works
Volume Flow Zones evaluates price through a sequence of flow-aware scoring and visualization processes:
WMA Baseline Calculation : The Weighted Moving Average is calculated over the configured length, with trend direction determined by whether close is above or below the baseline on each bar.
Body Ratio Measurement : The absolute difference between close and open is divided by the high-low range to produce a 0-1 body ratio, with higher values indicating bars where price moved decisively in one direction relative to its total range.
Volume Normalization : Raw volume is divided by the Volume SMA baseline and capped at 3.0, producing a score that reflects whether the bar's participation was below average, average, or significantly above average relative to recent history.
Raw Flow Calculation : Body ratio is multiplied by normalized volume to combine directional decisiveness with participation weight into a single raw flow reading.
Rolling Normalization : The raw flow is normalized against its highest and lowest values over the configured lookback window, producing a 0-1 score that adapts to the instrument's typical flow range and maintains consistent visual scaling across different volatility regimes.
Reversal Condition Testing : Counter-trend pressure is identified when close position within the bar range is below 0.35 on a down-close bar with volume above 1.2 times SMA for bearish pressure, or above 0.65 on an up-close bar with the same volume threshold for bullish pressure. These conditions combined with the flow score threshold and trend direction determine whether a reversal event qualifies.
Price Candle Coloring : The normalized flow score is power-transformed and mapped to a gradient between a dimmed and full-saturation version of the trend color. Reversal bars override this coloring with full yellow regardless of score or trend direction.
Fuel Candle Rendering : ATR-scaled open and close prices are calculated from the WMA with the configured offset, with candle height proportional to the flow score. Fuel candles render below the baseline during uptrends and above during downtrends, with opacity power-transformed from the flow score and yellow coloring applied on reversal bars.
Baseline Glow Rendering : A wide low-opacity version of the WMA line and a thinner core line are plotted with transparency inversely proportional to a smoothed flow average, producing a glow effect that intensifies during sustained high-flow periods.
Reversal Zone Planting : On confirmed reversal bars satisfying the cooldown requirement, an ATR-scaled zone is planted centered on the bar's low for bullish reversals and high for bearish reversals, with a dashed midline and forward extension. Overlapping same-direction zones are removed before the new zone is added.
Zone Lifecycle Management : All active zones extend rightward on each bar. When close has been below the zone bottom for two consecutive bars for bullish zones or above the zone top for two consecutive bars for bearish zones, the zone is deleted.
Together, these elements form a continuously updating flow monitoring system where baseline fuel candles, price candle gradients, and reversal zones all derive from the same underlying flow score, producing a visually unified conviction map across every chart element.
Interpretation
Volume Flow Zones should be interpreted as a flow quality visualization system with structural counter-trend zone mapping:
WMA Baseline : The Weighted Moving Average provides the primary trend reference with a glow that brightens during sustained high-flow periods, providing an immediate visual indicator of whether the current trend is being supported by strong or weak participation.
Bullish Trend State (Green) : Active when close is above the WMA, with fuel candles projecting below the baseline and price candles coloring green with intensity scaling from the flow score.
Bearish Trend State (Red) : Active when close is below the WMA, with fuel candles projecting above the baseline and price candles coloring red with intensity scaling from the flow score.
Fuel Candle Height : The primary flow intensity indicator, growing with each bar's flow score and shrinking during low-conviction periods. Tall fuel candles indicate strong directional participation. Short or barely visible fuel candles indicate weak flow with low conviction behind the current price movement.
Fuel Candle Opacity : The transparency of each fuel candle further encodes flow strength, with near-opaque candles representing peak-intensity flow events and highly transparent candles representing low-intensity bars.
Price Candle Gradient : Price candles brighten toward full trend color saturation at high flow scores and dim toward a muted version of the trend color at low flow scores, providing an immediate bar-level conviction reading directly on the candlestick.
Yellow Candles : Both the price candle and fuel candle flash yellow on bars where qualifying counter-trend flow is detected, immediately identifying potential exhaustion or reversal events within the current trend.
Flow Reversal Zones : Horizontal zones with dashed midlines planted at bar extremes where qualifying counter-trend flow appeared, projecting forward as structural reference levels for the price level where opposing flow was significant enough to register. Bullish reversal zones are colored green, bearish reversal zones red.
Fuel candle height dynamics, price candle brightness, yellow reversal identification, and zone proximity collectively provide more flow intelligence than any element in isolation.
Signal Logic & Visual Cues
Volume Flow Zones presents two primary reversal signal types alongside continuous flow intensity monitoring:
Bullish Reversal (Yellow) : Triggered when price closes in the upper portion of the bar's range on an up-close bar with above-average volume during a downtrend, with flow score exceeding the minimum threshold. Plants a bullish reversal zone below the bar and flashes both price and fuel candles yellow.
Bearish Reversal (Yellow) : Triggered when price closes in the lower portion of the bar's range on a down-close bar with above-average volume during an uptrend, with flow score exceeding the minimum threshold. Plants a bearish reversal zone above the bar and flashes both price and fuel candles yellow.
Zone cooldown enforcement prevents multiple zones from planting in rapid succession, spacing reversal references to only the most significant qualifying events within each cooldown window.
Alert generation covers bullish and bearish reversal flow events and WMA bullish and bearish flips for systematic trend monitoring workflows.
Strategy Integration
Volume Flow Zones fits within flow-informed trend-following and counter-trend monitoring approaches:
Fuel Candle Conviction Reading : Use fuel candle height as a continuous trend health gauge. Consistently tall fuel candles during a trend indicate sustained directional commitment. Progressively shrinking fuel candles within an established trend suggest flow is weakening before any price indicator or crossover confirms the deterioration.
Yellow Candle Context : Use yellow reversal candles as early warning signals within trends rather than as standalone entry triggers. A single yellow candle mid-trend may indicate temporary absorption. Multiple yellow candles within a short window suggest building counter-trend pressure warranting reduced confidence in continuation.
Reversal Zone Reference Trading : Use planted reversal zones as structural reference levels where meaningful opposing flow previously appeared. Price returning to these zones encounters the price level where prior counter-trend activity was significant enough to meet the reversal detection criteria.
WMA Flip Entries : Use WMA direction changes combined with high fuel candle readings immediately following the flip as trend initiation entries, favoring flips that coincide with strong flow scores over flips that occur during low-conviction flow conditions.
Flow Divergence Detection : Monitor for situations where price is making new highs or lows but fuel candle height is diminishing, indicating that price extension is occurring on weakening flow and increasing the probability of reversal or consolidation.
Multi-Timeframe Flow Alignment : Apply higher-timeframe WMA direction and fuel candle intensity as directional context filters, engaging with lower-timeframe reversal zones and yellow candle signals only when they align with the broader flow state established on the higher timeframe.
Technical Implementation Details
Baseline Engine : Weighted Moving Average with configurable length for trend direction and fuel candle anchoring
Flow Score : Body-to-range ratio multiplied by volume SMA normalization with rolling highest-lowest normalization over configurable lookback
Reversal Detection : Close position threshold, bar direction, and volume normalization minimum combined with flow score floor and trend direction gating
Fuel Candles : ATR-scaled height with configurable multiplier and baseline offset, power-transformed opacity gradient, yellow override on reversal bars
Price Candles : Power-transformed flow gradient from dimmed to saturated trend color with full yellow override on reversal bars
Baseline Glow : Dual-line wide and narrow WMA plots with transparency inversely proportional to smoothed flow average
Zone System : Array-managed ATR-scaled zone boxes with dashed midlines, cooldown enforcement, overlap removal, forward extension, and two-bar consecutive close breach invalidation
Performance Profile : Optimized for real-time execution with configurable zone count cap and array-based lifecycle management
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Intraday flow monitoring for scalping with shorter WMA and normalization lengths for faster flow score adaptation to intraday momentum shifts
15 - 60 min : Session-level trend flow tracking with balanced WMA length and moderate zone cooldown for meaningful reversal zone spacing across typical session moves
4H - Daily : Swing-level flow quality monitoring with longer WMA and normalization lookback for sustained flow readings across multi-session directional moves
Suggested Baseline Configuration:
WMA Length : 80
Volume SMA : 20
Normalization Lookback : 80
Offset (ATR%) : 0.4
Candle Height : 2.0
Show Reversal Zones : Enabled
Zone Cooldown : 31
Max Zones : 3
Show Fuel Candles : Enabled
Show Baseline : Enabled
Show Baseline Glow : Enabled
Color Price Candles : Enabled (requires disabling original chart candles in chart settings)
These suggested parameters should be used as a baseline; their effectiveness depends on the instrument's volatility characteristics, volume behavior, and preferred signal density, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Fuel candles too tall or too short : Adjust Candle Height to scale the maximum fuel candle height relative to ATR. Lower values produce more subtle fuel visualization, higher values produce more prominent height differences between high and low flow bars.
Fuel candles too close or far from price : Adjust Offset (ATR%) to control the gap between the WMA baseline and the near edge of the fuel candles, adapting visual separation to the instrument's typical ATR range.
Flow score too reactive : Increase Normalization Lookback to smooth the normalization window, requiring more bars to recalibrate the flow range and reducing sensitivity to short-term volume spikes.
Flow score too slow to adapt : Decrease Normalization Lookback for faster recalibration of the flow score range, allowing the system to adapt more quickly to changing volatility and volume conditions.
Too many reversal zones forming : Increase Zone Cooldown to enforce greater bar separation between consecutive zone plants, or reduce Max Zones to limit the total number of active reference levels on the chart.
Reversal zones too narrow or wide : Adjust Zone Height (ATR×) to scale the vertical size of each reversal zone relative to ATR, calibrating zone thickness to the instrument's typical noise range at the target timeframe.
WMA too reactive to price : Increase WMA Length for a smoother baseline that filters minor oscillations and reduces frequency of trend direction changes, producing more stable fuel candle positioning and cleaner reversal zone direction assignments.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Trending markets with clear directional momentum where fuel candle height builds during impulse phases and provides early warning of conviction decay before price reverses
Instruments with consistent volume participation where SMA normalization accurately identifies above-average bars and the flow score reliably differentiates high and low conviction moves
Flow divergence strategies where declining fuel candle height during price extension provides early deterioration signals before conventional indicators confirm reversal
Counter-trend monitoring approaches where reversal zones mark the precise price levels where meaningful opposing flow appeared for use as structural reference in subsequent analysis
Reduced Effectiveness:
Choppy, low-volume markets where body ratios are consistently low and volume normalization produces undifferentiated scores, reducing fuel candle height variation and generating frequent yellow candles without meaningful reversal context
Instruments with highly irregular volume distribution where the SMA normalization baseline is distorted by outlier sessions, producing unreliable flow score rankings across typical bars
Extremely fast-moving markets where large body ratios are consistently present on almost every bar, compressing the flow score range and reducing the visual differentiation between high and low conviction periods
Low-ATR instruments where the fuel candle geometry produces visually imperceptible height differences, requiring manual candle height and offset adjustment to produce meaningful visual scaling
Consolidation and sideways conditions where volume participation is mixed and body ratios are low, producing uniformly short fuel candles and frequent yellow candles without the trend context that makes reversal detection structurally meaningful
Integration Guidelines
Confluence : Combine with BOSWaves structural tools, order block analysis, or momentum oscillators to validate reversal zone interactions and yellow candle events with broader analytical context
Fuel Candle Trend Health : Monitor fuel candle height evolution throughout established trends as a continuous conviction health indicator. Progressively shrinking fuel candles during a sustained trend suggest flow deterioration that may precede reversal before price structure confirms the change.
Yellow Candle Clustering : Single isolated yellow candles within a trend carry less weight than clusters of two or more within a short window. Clusters suggest building counter-trend participation that is approaching the threshold required to challenge the prevailing flow direction.
Zone Freshness : Prioritize recently planted reversal zones over older ones. Fresh zones reflect current session flow dynamics while older zones may have formed under different volume and volatility conditions that are no longer representative.
State Discipline : Maintain directional bias aligned with the current WMA trend state until a confirmed WMA direction change occurs. Yellow candles and reversal zones within an established trend are monitoring signals rather than automatic exit triggers and should be interpreted as context rather than directional commands.
Disclaimer
Volume Flow Zones is a professional-grade flow quality analysis and counter-trend monitoring tool. It uses body-ratio volume flow scoring with rolling normalization and reversal zone detection but does not predict future price movements. Results depend on market conditions, instrument volume characteristics, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, order flow context, and comprehensive risk management. Indicator

Indicator

Smart RSI Candles [MarkitTick]💡 The Smart RSI Candles indicator redefines how traders visualize momentum by converting the standard Relative Strength Index (RSI) into an intuitive, multi-dimensional candlestick chart. Instead of relying on a single oscillating line that only shows the final value of a period, this tool provides Open, High, Low, and Close (OHLC) data for the RSI itself. This methodology offers far deeper insights into momentum volatility, internal strength, and intra-bar price action within any given timeframe. Furthermore, it features an advanced, automated divergence detection engine. This engine continuously scans the market for both regular and hidden divergences, instantly plotting them directly on the oscillator pane alongside actionable alert conditions. Whether you are a reversal trader looking for exhaustion or a trend-follower waiting for a pullback, this indicator provides a complete, self-contained momentum ecosystem.
✨ Originality and Utility
While the traditional RSI is a staple in technical analysis, it often fails to convey the true intra-bar volatility of market momentum. This script solves that fundamental flaw by generating fully formed RSI candles.
The originality of this script lies heavily in the custom `RsiScaler` type. This mathematical function scales actual price wicks (the highs and lows) down into the restricted 0-100 bounds of the RSI scale. This creates highly accurate high and low shadows for the RSI candles, a feature completely absent in standard momentum oscillators.
The utility is massively enhanced by the built-in divergence scanner. Traders no longer need to manually draw trendlines comparing price pivots to RSI pivots. The script autonomously identifies Regular Bullish, Regular Bearish, Hidden Bullish, and Hidden Bearish setups.
For algorithmic and systematic traders, alerts are generated with pre-calculated JSON payloads. These payloads include dynamic Stop Loss (SL) and Take Profit (TP) values automatically calculated using a 1:1.5 risk-to-reward ratio, making it highly useful for direct integration into automated trading systems or execution bots.
🔬 Methodology and Concepts
● The RSI Candlestick Calculation
The script begins by calculating the raw RSI using the user-defined length (default is set to 14).
To construct the body of the candle, it calculates a custom RSI Open (`o_rsi`). This is achieved by evaluating the moving average of both gains and losses using a smoothed Running Moving Average (RMA) approach with a specific alpha.
The current raw RSI serves as the Closing value (`c_rsi`) for the candle.
The high and low wicks are derived through a complex mapping process. The script compares the actual price high and low against the RSI's historical range using a proportional interpolation factor.
Finally, these values are mathematically clamped to ensure they never exceed the absolute RSI limits of 0 and 100.
● Divergence Detection Engine
The script utilizes pivot functions to pinpoint local troughs and peaks on the newly calculated RSI extremes.
These coordinates are stored in a custom `PivotData` object.
When a new pivot is confirmed within the maximum lookback window, the script evaluates the current price and RSI values against the historical pivot.
A Regular Bullish Divergence triggers when the price structure makes a lower low, but the RSI momentum makes a higher low.
Conversely, a Hidden Bullish Divergence triggers when the price structure makes a higher low, but the RSI plunges to a lower low.
🎨 Visual Guide
● RSI Candlesticks
• Bullish Candles: Displayed on the oscillator pane when the RSI Close is greater than or equal to the RSI Open. These are colored in a distinct teal (#089981) by default to indicate rising internal momentum.
• Bearish Candles: Displayed when the RSI Close is strictly lower than the RSI Open. These are colored in a standard red (#f23645) to indicate falling internal momentum.
● Threshold Lines
• Overbought Line: A horizontal line permanently set at the 80 level, indicating extreme upward momentum and potential overextension.
• Oversold Line: A horizontal line permanently set at the 20 level, indicating extreme downward momentum and potential capitulation.
• Midline: A neutral 50-level line used by traders to gauge the broader trend bias (above 50 is bullish, below 50 is bearish).
● Divergence Indicators
• Solid Lines: Drawn connecting the valid pivot points to highlight Regular Divergences (Green lines for Bullish setups, Red lines for Bearish setups).
• Dashed Lines: Drawn connecting the valid pivot points to highlight Hidden Divergences, separating them visually from regular reversal setups.
• Text Labels: Small, precise shapes containing text (such as "Bull", "Bear", "H-Bull", "H-Bear") appear directly above or below the triggering price pivots on the main chart to provide immediate visual confirmation of the detected setup.
📖 How to Use
• Momentum Confirmation: Closely observe the color and the physical size of the RSI candles. A consecutive series of large, bullish RSI candles decisively breaking above the 50 Midline strongly suggests that buyer strength is accumulating rapidly.
• Reversal Trading: Look for Regular Divergences occurring near the extreme 20 or 80 boundary levels. For example, if the price is pushing down to a new low, but the RSI candle forms a higher low and subsequently triggers a "Bull" label on the chart, traders can consider this an early warning signal that selling pressure is exhausting.
• Trend Continuation: Utilize Hidden Divergences to strategically rejoin an already established trend. A "H-Bull" label appearing during a standard uptrend pullback indicates that momentum has reset to a lower level, but the overall price remains structurally bullish, offering a high-probability potential entry point.
• Alert Automation: Configure PulseWire alerts directly on this indicator to receive the structured JSON payloads. These comprehensive data packets can be routed to third-party execution platforms, automatically utilizing the mathematically derived Stop Loss and Take Profit levels provided in the code.
⚙️ Inputs and Settings
• RSI Length: This is the core lookback period utilized for the relative strength calculation. The default value is 14, but it can be adjusted to suit faster or slower trading styles.
• Divergence Pivot Left / Right: This setting determines exactly how many bars are required on either side of a potential high or low to officially confirm it as a pivot point. Selecting higher values will inherently result in fewer, but potentially more significant and reliable, divergence signals.
• Max Divergence Lookback: This controls the maximum number of historical bars allowed between two confirmed pivots for a divergence to be considered valid by the engine. The default parameter is 60.
• Color Customization: Users have absolute control over the visual aesthetics, with dedicated inputs to change the colors for bullish/bearish candles, overbought/oversold lines, and all four distinct divergence line types.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The fundamental foundation of this script rests firmly on J. Welles Wilder Jr.'s Relative Strength Index, a classic momentum oscillator designed to measure the speed and change of directional price movements.
By converting the standard RSI formula—which traditionally yields only a single scalar value per time period—into an OHLC statistical distribution, the script practically applies the advanced principles of data discretization to market momentum.
The proprietary `RsiScaler` algorithm utilizes linear interpolation to effectively project the spatial relationship of price wicks onto the confined, normalized vector space of the RSI (which operates strictly from 0 to 100). This mathematical mapping ensures that the proportional variance of the asset's price is accurately and visually represented within the oscillator's finite bounds.
Furthermore, the divergence detection protocol relies on local extremum mathematics. It actively identifies specific points in time where the first derivative of the price function changes its sign. By calculating and comparing the slope of the secant line connecting two price extrema to the slope connecting the corresponding RSI extrema, the algorithm efficiently identifies structural non-conformities. In academic financial literature, these structural non-conformities (divergences) are widely recognized as phenomena that often precede significant shifts in aggregate market psychology.
⚠️ 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. I 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

Momentum Lifecycle Detector [BullByte]Momentum Lifecycle Detector
An early trend detection oscillator that tracks momentum through five lifecycle phases - from birth to death - using DI spread acceleration analysis . Designed to identify momentum ignition before traditional ADX signals, and warn of trend exhaustion before it becomes obvious.
WHAT THIS INDICATOR DOES
The Momentum Lifecycle Detector (MLD) is a momentum oscillator with integrated trend phase classification. It answers the question every trend trader needs answered: "Where in its life is this momentum right now?"
Most trend strength indicators tell you a trend exists after the move is already underway. ADX crossing above 25 is a lagging confirmation. MLD solves this by detecting the birth of momentum at the earliest mathematically identifiable point, then tracking that momentum through five distinct lifecycle phases until it dies.
The indicator displays:
An ATR-normalized momentum oscillator (the main line you follow)
A signal line for crossover analysis
A histogram showing momentum-signal divergence
A colored lifecycle band showing the current phase
Consolidation zone boxes marking coiled energy before breakouts
A reversal atmosphere glow when momentum curvature suggests reversal
A dashboard summarizing momentum conditions at a glance
Adaptive dead zone and choppy market warnings
THE PROBLEM THIS SOLVES - WHY TRADERS NEED EARLY TREND DETECTION
Traditional ADX tells you a trend is strong when it crosses above 25. By that point, the optimal entry window has often closed. Conversely, ADX gives no clear warning when a trend is dying - it just slowly rolls over after the move has already reversed.
The core innovation in MLD is measuring the acceleration of the gap between +DI and -DI. Here is the mathematical logic:
Spread = |+DI minus -DI| - How far apart are bullish and bearish pressure?
Velocity = Spread minus Spread - Is that gap widening or narrowing?
Acceleration = Velocity minus Velocity - Is the widening itself speeding up?
When acceleration is positive and velocity is positive while ADX is still low, a new trend is actively forming. This is the mathematical fingerprint of momentum at birth - detectable bars before ADX would give any signal.
WHY THESE SPECIFIC COMPONENTS - JUSTIFICATION FOR THE INTEGRATION
This indicator combines several analytical methods into a unified lifecycle detection framework. Each component serves a specific, non-redundant purpose. Here is why each exists:
Zero-Lag EMA Momentum Oscillator
Purpose : The primary visual output traders watch and trade.
Method : Difference between fast ZLEMA (default 9) and slow ZLEMA (default 21), divided by ATR, multiplied by 100.
Why ZLEMA : Standard EMA lags behind price. ZLEMA compensates by adding the difference between the current price and its lagged value before smoothing. This produces earlier momentum readings without adding noise.
Why ATR normalization: Raw price differences are not comparable across instruments. A 5-point move means something different on a $10 stock versus Bitcoin. Dividing by ATR makes oscillator readings universal - a reading of +50 represents the same relative momentum strength on any chart, any timeframe.
Gaussian-Weighted Directional Indicators
Purpose : Feed responsive directional data into the lifecycle detection engine.
Method : Instead of standard Wilder smoothing for +DI and -DI, a Gaussian (bell-curve) decay function applies exponentially more weight to recent bars. The formula is exp(-(n/len)^2).
Why Gaussian weighting : Standard DI treats all bars in the lookback equally. A directional move from 14 bars ago counts the same as one happening now. Gaussian decay makes DI inherently more responsive to fresh moves without shortening the period (which would increase noise).
ZLEMA-Smoothed ADX
Purpose : Trend strength measurement for phase classification.
Method : DX calculated from Gaussian-weighted DI values, smoothed with ZLEMA instead of traditional Wilder smoothing.
Why ZLEMA-smoothed: Standard Wilder-smoothed ADX is deliberately sluggish by design. For lifecycle detection, we need ADX that responds faster to "waking up" and "rolling over" behaviors that define phase transitions.
DI Spread Acceleration Engine
Purpose : The core innovation - detects momentum birth before ADX confirms.
Method : Calculates the absolute spread between +DI and -DI, derives its velocity (first derivative) and acceleration (second derivative), smooths both with 3-period EMA.
Why this matters: This is what differentiates MLD from existing ADX-based tools. Acceleration of the DI spread is a leading indicator. By the time ADX crosses a threshold, spread acceleration has already been positive for multiple bars. This enables IGNITION detection before traditional signals fire.
Kaufman Efficiency Ratio
Purpose : Regime filter that warns when conditions are choppy.
Method : ER = net price movement divided by total price movement. Values near 1.0 mean efficient directional movement. Values near 0.0 mean price went back and forth without progress.
Why included: Momentum oscillators generate false signals in ranging markets. When ER is low, ADX is weak, and momentum sits inside the dead zone, the background turns gray - warning traders that conditions do not support directional strategies.
Momentum Curvature Analysis
Purpose : Early warning of potential reversals via oscillator curvature.
Method : Second derivative of momentum (how the slope is changing). When momentum is negative but curving upward (positive curvature with positive slope), bullish pressure is building from underneath before the trend visibly reverses. Strength is normalized against 30-bar standard deviation of curvature.
Important : This is purely mathematical curvature of the plotted oscillator. It does not use order flow, volume profile, bid/ask data, or any external source. The term "atmosphere" is a visual metaphor for the glow effect.
These components form an integrated pipeline - they are not independent indicators placed on the same pane. The oscillator provides visual momentum reading, Gaussian DI and ZLEMA ADX feed the lifecycle engine, spread acceleration detects phase transitions, ER provides regime context, and curvature adds reversal awareness. Each output feeds downstream components.
THE FIVE LIFECYCLE PHASES - DETECTION LOGIC EXPLAINED
The lifecycle band at the bottom displays one of five phases. Each has specific mathematical conditions that must all be true simultaneously. A state machine with configurable inertia prevents rapid flickering.
IGNITION - Cyan Band
Conditions : DI crossover within last N bars (default 4), spread acceleration above threshold (default 0.2), spread velocity above threshold (default 0.3), ADX rising for two consecutive bars.
Meaning : Momentum is being born. DI lines just crossed, the gap is accelerating open, ADX is waking. This is the earliest actionable signal. ADX may still be below 20.
State machine : IGNITION transitions instantly (1-bar inertia) because early detection speed matters.
THRUST - Green or Red Band (direction-coded)
Conditions : Past ignition window but within 3x that window, spread velocity above threshold (default 0.5), ADX surged more than threshold (default 1.5) over 3 bars.
Meaning : Young trend gaining real power. Spread velocity is high, ADX is confirming with a surge. The trend is no longer hypothesis - it is building strength.
State machine : THRUST transitions instantly.
PRIME - Deeper Green or Red Band (direction-coded)
Conditions : ADX above strong threshold (default 20), ADX either rising or above its signal line, DI spread above minimum (default 10).
Meaning : Mature, established trend. Maximum directional strength. Most productive phase - but also where exhaustion can begin. Use trailing stops.
State machine : Requires configured inertia (default 2 bars) before transition.
FADING - Orange Band
Conditions : ADX above strong threshold BUT falling AND below its signal line, OR ADX strong but spread velocity sharply negative (below -0.5).
Meaning : Trend is dying. ADX rolling over, DI gap closing. Time to tighten stops, take partials, prepare for next cycle.
State machine: Requires configured inertia before transition.
DEAD - Dark Gray Band
Conditions : None of the above active.
Meaning : No meaningful directional momentum. Market ranging, consolidating, or in transition. Directional strategies unlikely to perform well.
HOW TO READ THE OSCILLATOR PLOT
Momentum Line (thick, color-coded)
Bright green : Momentum positive and rising (bullish, strengthening)
Faded green : Momentum positive but falling (bullish, weakening)
Bright red: Momentum negative and falling (bearish, strengthening)
Faded red : Momentum negative but rising (bearish, weakening)
Gray : Momentum inside dead zone (noise, not signal)
Signal Line (thin orange)
EMA of momentum. Crossovers between momentum and signal highlight directional shifts, similar to MACD signal line usage.
Momentum-Signal Fill (shaded area between the two lines)
Teal shading: Momentum above signal (bullish bias)
Maroon shading: Momentum below signal (bearish bias)
This fill provides instant visual recognition of which line is dominant.
Histogram (vertical columns at zero line)
Shows the gap between momentum and signal.
Bright columns: Gap expanding (momentum pulling away, trend strengthening)
Faded columns: Gap contracting (momentum converging, trend weakening)
Green: Momentum above signal. Red: Momentum below signal.
Dead Zone (gray horizontal band around zero)
Dynamically calculated as a multiple (default 0.5x) of momentum's 50-bar standard deviation.
When momentum is inside this zone, directional signals are unreliable - the reading is within normal noise range.
Zero Line (dotted horizontal)
Momentum above zero: Net bullish pressure
Momentum below zero: Net bearish pressure
Zero line crosses represent directional bias shifts.
CONSOLIDATION ZONES - COILED ENERGY BEFORE BREAKOUTS
Yellow boxes appear on the oscillator when momentum energy is coiling - a potential precursor to a strong directional move.
Detection Logic
Two conditions must be simultaneously true:
Histogram (momentum-signal gap) is unusually tight relative to its recent 50-bar standard deviation.
Momentum slope is unusually flat relative to its recent 50-bar standard deviation.
Both thresholds are adaptive - they automatically adjust to each instrument's typical behavior. This means the indicator detects relative consolidation, not absolute levels, making it equally effective on volatile crypto and stable bonds.
Zone Lifecycle
New zone starts as dotted-border, light yellow box.
If it persists for minimum bar count (default 5), it upgrades to solid-border, brighter yellow - a validated zone.
If momentum drifts too far from where zone started (exceeds drift tolerance relative to zone height), the zone is invalidated and deleted. This prevents slow trends from being falsely labeled as consolidation.
When zone breaks (convergence conditions end), box color changes based on breakout direction: teal for bullish breakout, maroon for bearish breakout.
Only one active zone exists at a time to keep the chart clean.
How to Trade It
Validated consolidation zones (solid border) represent coiled momentum. Breakouts from these zones, especially when accompanied by IGNITION or THRUST phase, often produce strong directional moves. The breakout color immediately tells you the direction.
REVERSAL ATMOSPHERE - CURVATURE-BASED REVERSAL WARNING
A soft colored glow appears around the momentum line when mathematical curvature suggests a reversal is forming.
How It Works
The indicator calculates the second derivative of momentum (curvature - how the slope itself is changing).
Bullish reversal detection: Momentum is below zero (bearish), but slope has turned positive (rising), and curvature is positive (the rise is accelerating). This is the mathematical signature of a bottom forming - momentum is still negative but fighting back.
Bearish reversal detection: Mirror image. Momentum is above zero, but slope is negative and curvature is negative. A top is forming.
Visual Output
Green glow: Bullish reversal pressure building
Red glow: Bearish reversal pressure building
Glow intensity increases with curvature strength, normalized against 30-bar standard deviation
Glow width is configurable (default 8 units)
Important Clarification
This is purely mathematical analysis of the oscillator's own curvature. It does not incorporate order flow data, market depth, bid/ask spreads, or any external data source. The term "atmosphere" is a visual metaphor describing the glow effect, not a claim about market microstructure.
CHOPPY MARKET BACKGROUND - REGIME WARNING
When three conditions are all simultaneously true, the pane background turns gray:
Efficiency Ratio below choppy threshold (default 0.30)
ADX below choppy threshold (default 18)
Momentum inside dead zone
This gray background is a visual warning: "Market conditions are choppy. Momentum signals here are statistically less reliable. Consider waiting for cleaner conditions."
DASHBOARD - THE MOMENTUM WEATHER REPORT
A compact panel (position and size configurable) displaying five key readings:
PHASE
Current lifecycle phase name in corresponding color. Instantly shows where momentum is in its lifecycle.
BIRTH
DI spread acceleration status - is new momentum being created?
ACCELERATING (cyan) : Strong positive acceleration, momentum actively being born
BUILDING (green) : Moderate positive acceleration
QUIET (gray): No significant acceleration
DECELERATING (red): Negative acceleration, momentum creation slowing or reversing
FLOW
Directional bias with magnitude.
BULL : Bullish DI dominance. Number is DI spread (gap between +DI and -DI)
BEAR : Bearish DI dominance
FLAT : Momentum in dead zone, no meaningful directional bias
WEATHER
Overall assessment combining phase and vitality.
FAVORABLE (green): Active phase (IGNITION/THRUST/PRIME) with momentum outside dead zone. Conditions support directional trading.
CAUTION (orange): FADING phase, or PRIME with negative spread velocity. Trend may be exhausting.
UNFAVORABLE (red): DEAD phase or momentum in dead zone. Avoid directional strategies.
PRESSURE
Reversal pressure from curvature analysis.
BULLISH REV (green): Strong bullish reversal curvature
BEARISH REV (red): Strong bearish reversal curvature
BUILDING (cyan): Moderate reversal curvature forming
NONE (gray): No significant reversal pressure
COMPLETE SETTINGS REFERENCE
Core Momentum Oscillator
Fast ZLEMA Length (default 9): Fast moving average responsiveness. Lower = faster, noisier.
Slow ZLEMA Length (default 21): Baseline moving average. Gap between fast and slow produces momentum.
Signal Line Length (default 5): Smoothing period for signal line.
Momentum Smoothing (default 3): Additional noise reduction on raw momentum.
ATR Period (default 14): Normalization period for cross-instrument comparability.
Consolidation Zones
Show Consolidation Zones (default true): Toggle zone detection.
Histogram Sensitivity (default 1.0): How tight momentum-signal gap must be. Lower = stricter.
Slope Sensitivity (default 1.0): How flat momentum must be. Lower = stricter.
Minimum Bars (default 5): Shortest valid consolidation duration.
Drift Tolerance (default 0.4): Maximum directional drift before zone invalidation.
Regime Detection
Efficiency Ratio Period (default 10): Lookback for price efficiency calculation.
ER Smoothing (default 5): Smoothing to prevent rapid regime flipping.
Trend Threshold (default 0.4): ER above this = trending market.
Dead Zone Multiplier (default 0.5): Standard deviations defining the noise band.
Choppy ER Threshold (default 0.30): ER below this contributes to choppy warning.
Choppy ADX Threshold (default 18): ADX below this contributes to choppy warning.
Momentum Lifecycle
Show Lifecycle Band (default true): Toggle the colored phase band.
DI Calculation Length (default 14): Period for Gaussian-weighted +DI/-DI.
ADX Smoothing (default 14): ZLEMA smoothing on DX.
ADX Signal Length (default 5): EMA of ADX for crossover detection.
Ignition Window (default 4): Bars after DI cross qualifying for IGNITION.
State Inertia (default 2): Bars a phase must persist before official transition.
Ignition Accel Threshold (default 0.2): Minimum spread acceleration for IGNITION.
Ignition Velocity Threshold (default 0.3): Minimum spread velocity for IGNITION.
Thrust Velocity Threshold (default 0.5): Minimum spread velocity for THRUST.
ADX Surge Threshold (default 1.5): Minimum ADX rise over 3 bars for THRUST.
ADX Strong Threshold (default 20): ADX above this = strong trend (PRIME/FADING).
DI Spread Minimum (default 10): Minimum DI gap for PRIME confirmation.
Reversal Atmosphere
Show Reversal Atmosphere (default true): Toggle the curvature glow effect.
Glow Width (default 8): Visual width of atmospheric glow. Cosmetic only.
Display
Show Histogram (default true): Toggle momentum-signal histogram.
Show Momentum-Signal Fill (default true): Toggle shaded area between lines.
Show Choppy Background (default true): Toggle gray background warning.
Dashboard
Show Dashboard (default true): Toggle the weather report panel.
Dashboard Position (default Top Right): Panel location on chart.
Dashboard Size (default Small): Text size in panel.
Alerts
Alert on Ignition (default true): Notify when entering IGNITION phase.
Alert on Fading (default true): Notify when entering FADING phase.
Confirm on Bar Close (default true): Wait for bar close before firing alerts. Prevents false signals from intra-bar noise.
ALERTS
Two alert conditions target the most actionable lifecycle transitions:
IGNITION Onset
Fires when lifecycle enters IGNITION phase. Alert message includes directional bias (Bullish/Bearish), current ADX value, and how many bars since DI cross.
FADING Onset
Fires when lifecycle enters FADING phase. Alert message includes ADX value and current spread velocity.
Bar Close Confirmation
When enabled (default), alerts only fire after the bar closes. This prevents false alerts triggered by intra-bar price spikes that later reverse. Recommended to keep enabled for reliable signals.
RECOMMENDED TIMEFRAMES AND INSTRUMENTS
MLD works across all timeframes and instruments due to ATR normalization.
Default settings optimized for: Daily and 4-hour charts.
For lower timeframes (15m, 5m): Consider increasing Momentum Smoothing to 5 and State Inertia to 3 to filter noise.
For weekly charts: Default settings work without adjustment.
For highly volatile instruments (crypto, small caps): The adaptive thresholds automatically adjust. No manual tuning typically required.
For low-volatility instruments (bonds, some forex pairs): Consider reducing Dead Zone Multiplier to 0.3 for more sensitivity.
PRACTICAL EXAMPLE - MOMENTUM LIFECYCLE IN ACTION
Consider a stock range-bound for weeks. ADX reads 12. Traditional trend tools show nothing actionable.
Then +DI crosses above -DI. ADX is still 12. No traditional signal. But MLD detects that the DI spread is accelerating - the gap is not just opening, it is opening faster each bar. ADX has risen for two consecutive bars (waking up). The lifecycle band turns cyan: IGNITION. The dashboard shows BIRTH: ACCELERATING, WEATHER: FAVORABLE.
Over the next few bars, spread velocity increases. ADX surges upward. The band turns green: THRUST. The trend is confirmed and building.
ADX crosses above 20, continues rising, spread stays wide. Band turns deeper green: PRIME. This is the productive phase.
Eventually ADX peaks, starts falling, drops below its signal line. Spread velocity turns negative. Band turns orange: FADING. Dashboard shows WEATHER: CAUTION. Time to trail stops tightly.
ADX falls back below 20, momentum enters dead zone. Band turns gray: DEAD. The lifecycle is complete.
The value: MLD flagged IGNITION several bars before ADX would have signaled anything. It flagged FADING while ADX was still technically strong but deteriorating. This is the early detection advantage.
Chart Example 1:
BTC/USDT 5-minute is showing a classic FADING lifecycle : a bullish thrust peaked around 13:00–14:00, entered a validated consolidation zone, and is now visibly breaking down. The momentum line is curving sharply downward inside the yellow box, the band is orange (FADING), and FLOW has flipped to BEAR 17.9 : confirming the consolidation resolved bearishly, not bullishly. The earlier cyan IGNITION flash (~14:30) failed to sustain, overwhelmed by the dominant fading structure. The dashboard reads WEATHER: CAUTION, PRESSURE: NONE : no reversal energy building yet.
Chart Example 2:
BTC/USDT 15-minute is in DEAD phase with WEATHER: UNFAVORABLE : no tradeable momentum present. The dashboard tells the complete story: FLOW is FLAT meaning neither bulls nor bears have directional control, and PRESSURE is NONE meaning no reversal energy is building beneath the surface either. Despite BIRTH showing ACCELERATING, without flow direction or reversal pressure to back it up, the acceleration has no confirmed destination yet. Stand aside and wait for the lifecycle band to shift out of DEAD before committing.
WHAT MAKES THIS INDICATOR ORIGINAL
The originality lies in three specific innovations not present in standard ADX/DI implementations or common momentum oscillators:
DI Spread Acceleration Analysis
Standard tools measure the DI spread itself or track ADX thresholds. MLD applies derivative analysis - velocity and acceleration - to the spread, transforming a traditionally lagging measurement into a leading indicator of trend formation.
Gaussian-Weighted DI Calculation
Standard DI uses Wilder smoothing with equal weight to all bars. Gaussian decay weighting makes DI inherently more responsive to recent directional moves without the noise penalty of shorter periods.
Five-Phase Lifecycle Classification with Inertia-Gated State Machine
Rather than binary trend/no-trend output, MLD maps momentum onto a lifecycle model with distinct phases and specific mathematical criteria. The state machine prevents flickering while allowing speed-critical states (IGNITION, THRUST) to transition immediately.
These are integrated innovations, not independent indicators on the same pane. Each feeds into the lifecycle engine or provides context for its output.
DISCLAIMER
This indicator performs mathematical calculations on price data (open, high, low, close) only. It does not use order flow data, volume profile, market depth, bid/ask information, institutional positioning data, or any external data source.
Terms like "momentum birth," "reversal atmosphere," "weather," and " lifecycle " are descriptive metaphors for mathematical concepts (derivatives, curvature, efficiency ratios, state classification). They are not claims about market microstructure or participant behavior.
No indicator predicts future price movement. MLD identifies mathematical conditions historically associated with specific momentum behaviors. These conditions may or may not produce expected outcomes in any given instance.
This tool supplements - it does not replace - a complete trading plan including risk management, position sizing, and multiple forms of analysis. Always use proper risk management. Past indicator behavior does not guarantee future results. Indicator

CCI [Hash Adaptive]Adaptive CCI Pro: Professional Technical Analysis Indicator
The Commodity Channel Index is a momentum oscillator developed by Donald Lambert in 1980. CCI measures the relationship between an asset's price and its statistical average, identifying cyclical turns and overbought/oversold conditions. The indicator oscillates around zero, with values above +100 indicating overbought conditions and values below -100 suggesting oversold conditions.
Standard CCI Formula: (Typical Price - Moving Average) / (0.015 × Mean Deviation)
This indicator transforms the traditional CCI into a sophisticated visual analysis tool through several key enhancements:
Implements dual exponential moving average smoothing to eliminate market noise
Preserves signal integrity while reducing false signals
Adaptive smoothing responds to market volatility conditions
Dynamic Color Visualization System
Continuous gradient transitions from red (bearish momentum) to green (bullish momentum)
Real-time color intensity reflects momentum strength
Eliminates discrete color jumps for fluid visual interpretation
Adaptive Intelligence Features
Dynamic overbought/oversold thresholds adapt to market conditions
Reduces false signals during high volatility periods
Maintains sensitivity during low volatility environments
Momentum Vector Analysis
Incorporates velocity calculations for early trend identification
Crossover detection with momentum confirmation
Advanced signal filtering reduces market noise
Extreme Level Analysis
Values above +100: Strong overbought conditions, potential reversal zones
Values below -100: Strong oversold conditions, potential buying opportunities
Zero-line crossovers: Momentum shift confirmation
Optimization Parameters
CCI Period (Default: 14)
Shorter periods (10-12): Increased sensitivity, more signals
Standard periods (14-20): Balanced responsiveness and reliability
Longer periods (21-30): Reduced noise, stronger signal confirmation
Smoothing Factor (Default: 5)
Lower values (1-3): Maximum responsiveness, suitable for scalping
Medium values (4-6): Balanced approach for swing trading
Higher values (7-10): Institutional-grade smoothness for position trading
Signal Sensitivity (Default: 6)
Conservative (7-10): High-probability signals, reduced frequency
Balanced (5-6): Optimal risk-reward ratio
Aggressive (1-4): Maximum signal generation, requires additional confirmation
Strategic Implementation
Oversold reversals in red zones with momentum confirmation
Zero-line breaks with sustained color transitions
Extreme readings followed by momentum divergence
Risk Management
Use extreme levels (+100/-100) for position sizing decisions
Monitor color intensity for momentum strength assessment
Combine with price action analysis for comprehensive market view
Market Context Application
Trending markets: Focus on momentum direction and extreme readings
Range-bound markets: Utilize overbought/oversold levels for mean reversion
Volatile markets: Increase smoothing parameters and signal sensitivity
Professional Advantages
Instantaneous momentum assessment through color visualization
Reduced cognitive load compared to traditional oscillators
Professional presentation suitable for client reporting
Adaptive Technology
Self-adjusting parameters reduce manual optimization requirements
Consistent performance across varying market conditions
Advanced mathematics eliminate common CCI limitations
The Adaptive CCI Pro represents the evolution of momentum analysis, combining Lambert's foundational CCI concept with modern computational techniques to deliver institutional-grade market intelligence through an intuitive visual interface. Indicator

Indicator

POC Migration Velocity (POC-MV) [PhenLabs]📊POC Migration Velocity (POC-MV)
Version: PineScript™v6
📌Description
The POC Migration Velocity indicator revolutionizes market structure analysis by tracking the movement, speed, and acceleration of Point of Control (POC) levels in real-time. This tool combines sophisticated volume distribution estimation with velocity calculations to reveal hidden market dynamics that conventional indicators miss.
POC-MV provides traders with unprecedented insight into volume-based price movement patterns, enabling the early identification of continuation and exhaustion signals before they become apparent to the broader market. By measuring how quickly and consistently the POC migrates across price levels, traders gain early warning signals for significant market shifts and can position themselves advantageously.
The indicator employs advanced algorithms to estimate intra-bar volume distribution without requiring lower timeframe data, making it accessible across all chart timeframes while maintaining sophisticated analytical capabilities.
🚀Points of Innovation
Micro-POC calculation using advanced OHLC-based volume distribution estimation
Real-time velocity and acceleration tracking normalized by ATR for cross-market consistency
Persistence scoring system that quantifies directional consistency over multiple periods
Multi-signal detection combining continuation patterns, exhaustion signals, and gap alerts
Dynamic color-coded visualization system with intensity-based feedback
Comprehensive customization options for resolution, periods, and thresholds
🔧Core Components
POC Calculation Engine: Estimates volume distribution within each bar using configurable price bands and sophisticated weighting algorithms
Velocity Measurement System: Tracks the rate of POC movement over customizable lookback periods with ATR normalization
Acceleration Calculator: Measures the rate of change of velocity to identify momentum shifts in POC migration
Persistence Analyzer: Quantifies how consistently POC moves in the same direction using exponential weighting
Signal Detection Framework: Combines trend analysis, velocity thresholds, and persistence requirements for signal generation
Visual Rendering System: Provides dynamic color-coded lines and heat ribbons based on velocity and price-POC relationships
🔥Key Features
Real-time POC calculation with 10-100 configurable price bands for optimal precision
Velocity tracking with customizable lookback periods from 5 to 50 bars
Acceleration measurement for detecting momentum changes in POC movement
Persistence scoring to validate signal strength and filter false signals
Dynamic visual feedback with blue/orange color scheme indicating bullish/bearish conditions
Comprehensive alert system for continuation patterns, exhaustion signals, and POC gaps
Adjustable information table displaying real-time metrics and current signals
Heat ribbon visualization showing price-POC relationship intensity
Multiple threshold settings for customizing signal sensitivity
Export capability for use with separate panel indicators
🎨Visualization
POC Connecting Lines: Color-coded lines showing POC levels with intensity based on velocity magnitude
Heat Ribbon: Dynamic colored ribbon around price showing POC-price basis intensity
Signal Markers: Clear exhaustion top/bottom signals with labeled shapes
Information Table: Real-time display of POC value, velocity, acceleration, basis, persistence, and current signal status
Color Gradients: Blue gradients for bullish conditions, orange gradients for bearish conditions
📖Usage Guidelines
POC Calculation Settings
POC Resolution (Price Bands): Default 20, Range 10-100. Controls the number of price bands used to estimate volume distribution within each bar
Volume Weight Factor: Default 0.7, Range 0.1-1.0. Adjusts the influence of volume in POC calculation
POC Smoothing: Default 3, Range 1-10. EMA smoothing period applied to the calculated POC to reduce noise
Velocity Settings
Velocity Lookback Period: Default 14, Range 5-50. Number of bars used to calculate POC velocity
Acceleration Period: Default 7, Range 3-20. Period for calculating POC acceleration
Velocity Significance Threshold: Default 0.5, Range 0.1-2.0. Minimum normalized velocity for continuation signals
Persistence Settings
Persistence Lookback: Default 5, Range 3-20. Number of bars examined for persistence score calculation
Persistence Threshold: Default 0.7, Range 0.5-1.0. Minimum persistence score required for continuation signals
Visual Settings
Show POC Connecting Lines: Toggle display of colored lines connecting POC levels
Show Heat Ribbon: Toggle display of colored ribbon showing POC-price relationship
Ribbon Transparency: Default 70, Range 0-100. Controls transparency level of heat ribbon
Alert Settings
Enable Continuation Alerts: Toggle alerts for continuation pattern detection
Enable Exhaustion Alerts: Toggle alerts for exhaustion pattern detection
Enable POC Gap Alerts: Toggle alerts for significant POC gaps
Gap Threshold: Default 2.0 ATR, Range 0.5-5.0. Minimum gap size to trigger alerts
✅Best Use Cases
Identifying trend continuation opportunities when POC velocity aligns with price direction
Spotting potential reversal points through exhaustion pattern detection
Confirming breakout validity by monitoring POC gap behavior
Adding volume-based context to traditional technical analysis
Managing position sizing based on POC-price basis strength
⚠️Limitations
POC calculations are estimations based on OHLC data, not true tick-by-tick volume distribution
Effectiveness may vary in low-volume or highly volatile market conditions
Requires complementary analysis tools for complete trading decisions
Signal frequency may be lower in ranging markets compared to trending conditions
Performance optimization needed for very short timeframes below 1-minute
💡What Makes This Unique
Advanced Estimation Algorithm: Sophisticated method for calculating POC without requiring lower timeframe data
Velocity-Based Analysis: Focus on POC movement dynamics rather than static levels
Comprehensive Signal Framework: Integration of continuation, exhaustion, and gap detection in one indicator
Dynamic Visual Feedback: Intensity-based color coding that adapts to market conditions
Persistence Validation: Unique scoring system to filter signals based on directional consistency
🔬How It Works
Volume Distribution Estimation:
Divides each bar into configurable price bands for volume analysis
Applies sophisticated weighting based on OHLC relationships and proximity to close
Identifies the price level with maximum estimated volume as the POC
Velocity and Acceleration Calculation:
Measures POC rate of change over specified lookback periods
Normalizes values using ATR for consistent cross-market performance
Calculates acceleration as the rate of change of velocity
Signal Generation Process:
Combines trend direction analysis using EMA crossovers
Applies velocity and persistence thresholds to filter signals
Generates continuation, exhaustion, and gap alerts based on specific criteria
💡Note:
This indicator provides estimated POC calculations based on available OHLC data and should be used in conjunction with other analysis methods. The velocity-based approach offers unique insights into market structure dynamics but requires proper risk management and complementary analysis for optimal trading decisions. Indicator

Volume Flow OscillatorVolume Flow Oscillator
Overview
The Volume Flow Oscillator is an advanced technical analysis tool that measures buying and selling pressure by combining price direction with volume. Unlike traditional volume indicators, this oscillator reveals the force behind price movements, helping traders identify strong trends, potential reversals, and divergences between price and volume.
Reading the Indicator
The oscillator displays seven colored bands that fluctuate around a zero line:
Three bands above zero (yellow) indicate increasing levels of buying pressure
Three bands below zero (red) indicate increasing levels of selling pressure
The central band represents the baseline volume flow
Color intensity changes based on whether values are positive or negative
Trading Signals
The Volume Flow Oscillator provides several valuable trading signals:
Zero-line crossovers: When multiple bands cross from negative to positive, potential bullish shift; opposite for bearish
Divergences: When price makes new highs/lows but oscillator bands fail to confirm, signals potential reversal
Volume climax: Extreme readings where outer bands stretch far from zero often precede reversals
Trend confirmation: Strong expansion of bands in direction of price movement confirms genuine momentum
Support/resistance: During trends, bands may remain largely on one side of zero, showing continued directional pressure
Customization
Adjust these key parameters to optimize the oscillator for your trading style:
Lookback Length: Controls overall sensitivity (shorter = more responsive, longer = smoother)
Multipliers: Adjust sensitivity spread between bands for different market conditions
ALMA Settings: Fine-tune how the indicator weights recent versus historical data
VWMA Toggle: Enable for additional smoothing in volatile markets
Best Practices
For optimal results, use this oscillator in conjunction with price action and other confirmation indicators. The multi-band approach helps distinguish between minor fluctuations and significant volume events that might signal important market turns. Indicator

DAMA OSC - Directional Adaptive MA OscillatorOverview:
The DAMA OSC (Directional Adaptive MA Oscillator) is a highly customizable and versatile oscillator that analyzes the delta between two moving averages of your choice. It detects trend progression, regressions, rebound signals, MA cross and critical zone crossovers to provide highly contextual trading information.
Designed for trend-following, reversal timing, and volatility filtering, DAMA OSC adapts to market conditions and highlights actionable signals in real-time.
Features:
Support for 11 custom moving average types (EMA, DEMA, TEMA, ALMA, KAMA, etc.)
Customizable fast & slow MA periods and types
Histogram based on percentage delta between fast and slow MA
Trend direction coloring with “Green”, “Blue”, and “Red” zones
Rebound detection using close or shadow logic
Configurable thresholds: Overbought, Oversold, Underbought, Undersold
Optional filters: rebound validation by candle color or flat-zone filter
Full visual overlay: MA lines, crossover markers, rebound icons
Complete alert system with 16 preconfigured conditions
How It Works:
Histogram Logic:
The histogram measures the percentage difference between the fast and slow MA:
hist_value = ((FastMA - SlowMA) / SlowMA) * 100
Trend State Logic (Green / Blue / Red):
Green_Up = Bullish acceleration
Blue_Up (or Red_Up, depending the display settings) = Bullish deceleration
Blue_Down (or Green_Down, depending the display settings) = Bearish deceleration
Red_Down = Bearish acceleration
Rebound Logic:
A rebound is detected when price:
Crosses back over a selected MA (fast or slow)
After being away for X candles (rebound_backstep)
Optional: filtered by histogram zones or candle color
Inputs:
Display Options:
Show/hide MA lines
Show/hide MA crosses
Show/hide price rebounds
Enable/disable blue deceleration zones
DAMA Settings:
Fast/Slow MA type and length
Source input (close by default)
Overbought/Oversold levels
Underbought/Undersold levels
Rebound Settings:
Use Close and/or Shadow
Rebound MA (Fast/Slow)
Candle color validation
Flat zone filter rebounds (between UnderSold and UnderBought)
Available MA type:
SMA (Simple MA)
EMA (Exponential MA)
DEMA (Double EMA)
TEMA (Triple EMA)
WMA (Weighted MA)
HMA (Hull MA)
VWMA (Volume Weighted MA)
Kijun (Ichimoku Baseline)
ALMA (Arnaud Legoux MA)
KAMA (Kaufman Adaptive MA)
HULLMOD (Modified Hull MA, Same as HMA, tweaked for Pine v6 constraints)
Notes:
**DEMA/TEMA** reduce lag compared to EMA, useful for faster reaction in trending markets.
**KAMA/ALMA** are better suited to noisy or volatile environments (e.g., BTC).
**VWMA** reacts strongly to volume spikes.
**HMA/HULLMOD** are great for visual clarity in fast moves.
Alerts Included (Fully Configurable):
Golden Cross:
Fast MA crosses above Slow MA
Death Cross:
Fast MA crosses below Slow MA
Bullish Rebound:
Rebound from below MA in uptrend
Bearish Rebound:
Rebound from above MA in downtrend
Bull Progression:
Transition into Green_Up with positive delta
Bear Progression:
Transition into Red_Down with negative delta
Bull Regression:
Exit from Red_Down into Blue/Green with negative delta
Bear Regression:
Exit from Green_Up into Blue/Red with positive delta
Crossover Overbought:
Histogram crosses above Overbought
Crossunder Overbought:
Histogram crosses below Overbought
Crossover Oversold:
Histogram crosses above Oversold
Crossunder Oversold:
Histogram crosses below Oversold
Crossover Underbought:
Histogram crosses above Underbought
Crossunder Underbought:
Histogram crosses below Underbought
Crossover Undersold:
Histogram crosses above Undersold
Crossunder Undersold:
Histogram crosses below Undersold
Credits:
Created by Eff_Hash. This code is shared with the PulseWire community and full free. do not hesitate to share your best settings and usage.
Indicator

Gradient Trend Filter [ChartPrime]The Gradient Trend Filter is a dynamic trend analysis tool that combines a noise-filtered trend detection system with a color-gradient cloud. It provides traders with a visual representation of trend strength, momentum shifts, and potential reversals.
⯁ KEY FEATURES
Trend Noise Filtering
Uses an advanced smoothing function to filter market noise and produce a more reliable trend representation.
// Noise filter function
noise_filter(src, length) =>
alpha = 2 / (length + 1)
nf_1 = 0.0
nf_2 = 0.0
nf_3 = 0.0
nf_1 := (alpha * src) + ((1 - alpha) * nz(nf_1 ))
nf_2 := (alpha * nf_1) + ((1 - alpha) * nz(nf_2 ))
nf_3 := (alpha * nf_2) + ((1 - alpha) * nz(nf_3 ))
nf_3 // Final output with three-stage smoothing
Color-Based Trend Visualization
The mid-line changes color based on trend direction—green for uptrends and red for downtrends—making it easy to identify trends at a glance.
Orange diamond markers appear when a trend shift is confirmed, providing actionable signals for traders.
Gradient Color Trend Cloud
A cloud around the base trend line that dynamically changes color, often signaling trend shifts ahead of the main trend line.
When in a downtrend, if the cloud starts turning green, it suggests weakening bearish momentum or an upcoming bullish reversal. Conversely, when in an uptrend, a red cloud indicates potential trend weakening or a bearish reversal.
Multi-Layered Trend Bands
The cloud consists of multiple bands, offering a range of support and resistance zones that traders can use for confluence in decision-making.
⯁ HOW TO USE
Identify Trend Strength & Reversals
Use the mid-line and cloud color changes to assess the strength of a trend and spot early signs of reversals.
Monitor Momentum Shifts
Watch for gradient cloud color shifts before the trend line changes color, as this can indicate early weakening or strengthening of momentum.
Act on Trend Shift Markers
Use the orange diamonds as confirmation of trend shifts and potential trade entry or exit points.
Utilize Cloud Bands as Support/Resistance
The outer bands of the cloud act as dynamic support and resistance, helping traders refine their stop-loss and take-profit placements.
⯁ CONCLUSION
The Gradient Trend Filter is an advanced trend detection tool designed for traders looking to anticipate trend shifts with greater precision. By integrating a noise-filtered trend line with a gradient-based trend cloud, this indicator enhances traders' ability to navigate market trends effectively. Indicator

Strategy

Indicator

Indicator

Indicator

Musashi_Fractal_Dimension === Musashi-Fractal-Dimension ===
This tool is part of my research on the fractal nature of the markets and understanding the relation between fractal dimension and chaos theory.
To take full advantage of this indicator, you need to incorporate some principles and concepts:
- Traditional Technical Analysis is linear and Euclidean, which makes very difficult its modeling.
- Linear techniques cannot quantify non-linear behavior
- Is it possible to measure accurately a wave or the surface of a mountain with a simple ruler?
- Fractals quantify what Euclidean Geometry can’t, they measure chaos, as they identify order in apparent randomness.
- Remember: Chaos is order disguised as randomness.
- Chaos is the study of unstable aperiodic behavior in deterministic non-linear dynamic systems
- Order and randomness can coexist, allowing predictability.
- There is a reason why Fractal Dimension was invented, we had no way of measuring fractal-based structures.
- Benoit Mandelbrot used to explain it by asking: How do we measure the coast of Great Britain?
- An easy way of getting the need of a dimension in between is looking at the Koch snowflake.
- Market prices tend to seek natural levels of ranges of balance. These levels can be described as attractors and are determinant.
Fractal Dimension Index ('FDI')
Determines the persistence or anti-persistence of a market.
- A persistent market follows a market trend. An anti-persistent market results in substantial volatility around the trend (with a low r2), and is more vulnerable to price reversals
- An easy way to see this is to think that fractal dimension measures what is in between mainstream dimensions. These are:
- One dimension: a line
- Two dimensions: a square
- Three dimensions: a cube.
--> This will hint you that at certain moment, if the market has a Fractal Dimension of 1.25 (which is low), the market is behaving more “line-like”, while if the market has a high Fractal Dimension, it could be interpreted as “square-like”.
- 'FDI' is trend agnostic, which means that doesn't consider trend. This makes it super useful as gives you clean information about the market without trying to include trend stuff.
Question: If we have a game where you must choose between two options.
1. a horizontal line
2. a vertical line.
Each iteration a Horizontal Line or a Square will appear as continuation of a figure. If it that iteration shows a square and you bet vertical you win, same as if it is horizontal and it is a line.
- Wouldn’t be useful to know that Fractal dimension is 1.8? This will hint square. In the markets you can use 'FD' to filter mean-reversal signals like Bollinger bands, stochastics, Regular RSI divergences, etc.
- Wouldn’t be useful to know that Fractal dimension is 1.2? This will hint Line. In the markets you can use 'FD' to confirm trend following strategies like Moving averages, MACD, Hidden RSI divergences.
Calculation method:
Fractal dimension is obtained from the ‘hurst exponent’.
'FDI' = 2 - 'Hurst Exponent'
Musashi version of the Classic 'OG' Fractal Dimension Index ('FDI')
- By default, you get 3 fast 'FDI's (11,12,13) + 1 Slow 'FDI' (21), their interaction gives useful information.
- Fast 'FDI' cross will give you gray or red dots while Slow 'FDI' cross with the slowest of the fast 'FDI's will give white and orange dots. This are great to early spot trend beginnings or trend ends.
- A baseline (purple) is also provided, this is calculated using a 21 period Bollinger bands with 1.618 'SD', once calculated, you just take midpoint, this is the 'TDI's (Traders Dynamic Index) way. The indicator will print purple dots when Slow 'FDI' and baseline crosses, I see them as Short-Term cycle changes.
- Negative slope 'FDI' means trending asset.
- Positive most of the times hints correction, but if it got overextended it might hint a rocket-shot.
TDI Ranges:
- 'FDI' between 1.0≤ 'FDI' ≤1.4 will confirm trend following continuation signals.
- 'FDI' between 1.6≥ 'FDI' ≥2.0 will confirm reversal signals.
- 'FDI' == 1.5 hints a random unpredictable market.
Fractal Attractors
- As you must know, fractals tend orbit certain spots, this are named Attractors, this happens with any fractal behavior. The market of course also shows them, in form of Support & Resistance, Supply Demand, etc. It’s obvious they are there, but now we understand that they’re not linear, as the market is fractal, so simple trendline might not be the best tool to model this.
- I’ve noticed that when the Musashi version of the 'FDI' indicator start making a cluster of multicolor dots, this end up being an attractor, I tend to draw a rectangle as that area as price tend to come back (I still researching here).
Extra useful stuff
- Momentum / speed: Included by checking RSI Study in the indicator properties. This will add two RSI’s (9 and a 7 periods) plus a baseline calculated same way as explained for 'FDI'. This gives accurate short-term trends. It also includes RSI divergences (regular and hidden), deactivate with a simple check in the RSI section of the properties.
- BBWP (Bollinger Bands with Percentile): Efficient way of visualizing volatility as the percentile of Bollinger bands expansion. This line varies color from Iced blue when low volatility and magma red when high. By default, comes with the High vols deactivated for better view of 'FDI' and RSI while all studies are included. DDWP is trend agnostic, just like 'FDI', which make it very clean at providing information.
- Ultra Slow 'FDI': I noticed that while using BBWP and RSI, the indicator gets overcrowded, so there is the possibility of adding only one 'FDI' + its baseline.
Final Note: I’ve shown you few ways of using this indicator, please backtest before using in real trading. As you know trading is more about risk and trade management than the strategy used. This still a work in progress, I really hope you find value out of it. I use it combination with a tool named “Musashi_Katana” (also found in PulseWire).
Best!
Musashi
Indicator

Strategy

Indicator

Indicator

Indicator

Indicator

Indicator
