Fractal Dimension Index [JOAT]FRACTAL DIMENSION INDEX
A proper Higuchi-method Fractal Dimension Index that tells you whether the market is currently trending (D approaches 1.0 — a smooth, linear path), chopping (D approaches 2.0 — a noisy, plane-filling random walk), or somewhere in between. Unlike volatility, FDI does not care about how much price moved — it cares about how convoluted the path was getting there . That makes it the single cleanest regime-classification number in technical analysis.
What FDI measures
The fractal dimension of a curve is a number between 1.0 (a perfect line) and 2.0 (a curve dense enough to fill a plane). For price series:
D ≈ 1.0–1.4 — the price path is close to a straight line. The market is trending; momentum tools work, reversion tools don't.
D ≈ 1.4–1.6 — the path is in a transitional regime. Use neutral tools.
D ≈ 1.6–2.0 — the path is chaotic and self-intersecting. The market is chopping; reversion tools work, momentum tools whipsaw.
The Higuchi-paper canonical thresholds are 1.4 (trend) and 1.6 (chop); both are configurable.
Higuchi algorithm — done properly
The implementation is the standard Higuchi method:
For each k from 1 to k_max (configurable, default 8), compute the average curve length L(k) across k starting offsets, normalised by the window length N.
Build the k_max pairs (log k, −log L(k)) .
Fit a least-squares line through those pairs; the slope is the fractal dimension D .
Apply optional EMA smoothing (configurable, default 5 bars) to suppress per-bar jitter.
A minimum-valid-pairs guard (default 3) prevents D from being computed when too few (k, L) pairs are finite, and a warmup-bars gate (default 50) prevents wild D values on sparse early data.
Regime classification with hysteresis
Raw D is mapped to one of three regimes — Trending / Random / Chop — using the two-threshold scheme. Two extra alert thresholds ( Extreme Trend D < 1.30 and Extreme Chop D > 1.70) flag the high-conviction tail cases.
Visual system
Background tint by regime — pastel mint for trend, coral for chop, cream for random. Transparency configurable (default 88, institutional-subtle).
Regime-change markers — tiny up/down/circle glyphs above price at every confirmed flip.
Optional candle tinting by regime (off by default to preserve user's chart style).
Optional D-line companion — when enabled, the smoothed D is plotted as a series. Because the script is overlay, pin the line to its own scale (right-click → Pin to scale → No Scale). For a true sub-pane, add the indicator a second time and drag that instance into a new pane.
Right-side floating label — anchored N bars right of the live close showing current D and a regime glyph. Configurable size, offset, regime text.
Optional reference horizontal lines at D = 1.4 / 1.5 / 1.6 when the D-line is shown.
A locked Pastel palette (mint trend / coral chop / cream random on a warm-white ground) gives the indicator a distinctive soft-institutional look.
Dashboard
Monospaced table positionable to any of nine corners. Surfaces:
Current D value and smoothed D value.
Regime classification with glyph.
Bars in current regime.
Distance to nearest threshold.
Extreme-state badge when in tail regions.
Alerts
Four alert conditions, each independently controllable:
Regime Flip (any classification change)
Extreme Trend (D crosses below 1.30)
Extreme Chop (D crosses above 1.70)
D Series Crosses 1.5 (the random-walk centre)
How to read it
Two reads, in order of conviction:
Regime classification + bars in regime — the more bars the current regime has persisted, the more reliable the read. Brand-new flips can flicker; multi-bar confirmed regimes do not.
Extreme regime alerts — when D crosses below 1.30, the market is in an extremely directional regime — momentum trades are the highest-conviction setups. When D crosses above 1.70, the market is in pathological chop — fade extremes, do not chase breakouts.
The single most useful workflow is to use FDI as a meta-filter — pair every signal-generating indicator with FDI regime. Trend signals from a momentum tool become high-conviction when D < 1.4; reversion signals from a Z-score oscillator become high-conviction when D > 1.6. The Suggested JOAT Indicator dashboard rows in Hurst Regime Sentinel and Entropy Oscillator follow exactly this principle.
Suggested settings
Defaults (window 30, k_max 8, EMA smoothing 5, warmup 50) are tuned for 15m–1H. For lower timeframes drop window to 20 and EMA to 3. For HTF (4H+) raise window to 50 and EMA to 8. The Higuchi-paper thresholds (1.4 / 1.6) are intentionally classical — tighten only if you find the regime classification too sensitive on your instrument.
Originality / what's reused
The Higuchi fractal-dimension algorithm is the textbook 1988 method — a public-domain piece of applied mathematics, implemented from the paper. The implementation here — the bounded-loop Higuchi pipeline with minimum-pairs guard and warmup gate, the two-threshold regime classifier with extreme-tail alerts, the pastel-palette regime tint, the pin-to-scale D-line companion logic, the right-side floating label, and the dashboard — is JOAT-original. No third-party code reused.
Open source
Published open-source under the default Mozilla Public License 2.0. The Higuchi loop, the regime classifier, the alert logic, and the dashboard are isolated modules — adapt any single piece without reading the whole file. Forks welcome with credit.
Limitations
Higuchi D is statistical — it tells you about recent path complexity , not future direction. A trending regime (D < 1.4) does not say which way; it says momentum tools should work. Combine with a directional indicator. The algorithm uses bounded Pine loops; very large window values increase compile cost. D is smoothed (EMA-filtered) by default, which trades some lag for substantially reduced flicker; turn smoothing off to see raw D.
—
-made with passion by jackofalltrades
Indicator

Brownian Motion Residual [JOAT]BROWNIAN MOTION RESIDUAL
A regime classifier rooted in the sqrt(T) scaling law of geometric Brownian motion. Under a true random walk, the standard deviation of T-bar returns scales as σ₁ · √T — that is the central fact of Brownian motion in continuous time. Markets violate this scaling in revealing ways: when they trend, dispersion at long horizons grows faster than √T; when they mean-revert, it grows slower. Brownian Motion Residual measures that violation across three horizons simultaneously, aggregates it, and surfaces a single Z-like residual that classifies the market into Strong MR / MR / Random / Trend / Strong Trend.
The sqrt(T) scaling law, restated
For a Brownian process with per-bar volatility σ₁:
σ(T-bar return) = σ₁ · √T
For a real market the observed σ at horizon T can be measured directly. The residual is the deviation of the observed value from the Brownian-implied value:
residual(T) = σ_observed(T) − σ₁ · √T
When the residual is positive , dispersion at T is greater than Brownian predicts — the market is trending (price travels further than a random walk in T bars). When it is negative , dispersion is less than Brownian predicts — the market is mean-reverting (price ends up closer to home than a random walk would).
Optional normalisation by σ₁ · √T turns the residual into a unit-less percentage of expected dispersion, so the same threshold values are meaningful across instruments and timeframes.
Three horizons, weighted blend
A single horizon is noisy. Brownian Motion Residual reads three horizons simultaneously (default 5 / 20 / 100 bars), each independently toggleable and weighted (default 1.0 each). The horizons are aggregated into a single residual line — the script's headline metric. Toggling off the short horizon makes the read smoother and slower; toggling off the long horizon makes it more reactive. Configurable.
A configurable EMA on top of the aggregated residual suppresses single-bar noise without lagging the regime view.
Two-tier classification
The aggregated residual is mapped to one of five regimes by two symmetric thresholds (default ±1 mild, ±2 strong):
Strong Trend — residual > +2. Aggressive momentum regime.
Trend — residual between +1 and +2. Trending.
Random — residual between −1 and +1. Brownian-like.
MR — residual between −2 and −1. Mean-reverting.
Strong MR — residual < −2. Aggressive reversion regime.
Visual system
Slope-coloured residual line with configurable width and optional area fill under it (transparency configurable).
Zero line and ±1 / ±2 threshold lines (toggleable).
Background tint by regime (subtle 88 transparency default) — teal trend, lavender MR, mint random.
Per-horizon plots (toggleable, off by default) — each horizon's residual as a faint dotted overlay; useful for seeing which horizon is driving the read.
Regime-change dots above the line at every confirmed flip.
A locked Aurora palette (teal trend / lavender MR / mint random on a deep-night ground) gives the pane a distinctive structural identity.
Dashboard
Monospaced table, positionable to any of nine corners, with vertical row-fade. Surfaces:
Aggregated residual (raw and smoothed).
Regime classification with glyph.
σ₁ value (the Brownian anchor).
Per-horizon residuals (h1 / h2 / h3) when enabled.
Bars in current regime.
Distance to nearest threshold.
Optional fancy Unicode header for the institutional aesthetic.
Alerts
Three alert conditions, each independently controllable:
Regime Change (any classification flip)
Strong threshold cross (±2)
Mild threshold cross (±1) — off by default
How to read it
Three reads, in order of conviction:
Strong Trend / Strong MR entry — the highest-conviction read. The market has decisively departed from Brownian scaling in one direction. Pair with a momentum tool in Trend regimes, a reversion tool in MR regimes.
Residual crossing zero — the regime fault line. Even before crossing a threshold, a sustained sign flip means the underlying distribution has rotated; the next threshold cross will confirm the new regime.
Per-horizon disagreement (when enabled) — when the short horizon is in trend regime but the long horizon is in MR regime, the market is in a nested state: short-term momentum inside a longer reversion. This is the textbook setup for fade-the-extreme intraday plays inside a wider range.
Suggested settings
Defaults (σ₁ window 100, observed σ window 60, horizons 5/20/100, equal weights, log returns ON, normalisation ON) are tuned for 15m–4H on liquid markets. For lower timeframes drop horizon 3 to 50. For HTF (daily+) raise horizon 3 to 200 and σ₁ window to 200. Log returns are theoretically correct and the recommended default — the script's regime classification depends on the scaling law, which assumes log returns; switch off only for research.
Originality
The √T Brownian scaling law is textbook continuous-time finance — the central piece of Bachelier's 1900 thesis and the foundation of every diffusion model in pricing. The implementation here — the per-horizon σ measurement pipeline, the σ₁-anchored Brownian baseline with optional normalisation, the three-horizon weighted aggregation, the EMA-smoothed residual classifier with two-tier thresholds, the per-horizon overlay layer, the regime-tinted background, and the dashboard — is JOAT-original. No third-party code reused. The use of residual against Brownian as a regime classifier is the original quantitative contribution.
Limitations
The √T law is exact only for Brownian motion — real markets have fat tails, autocorrelation, and discrete bars, so the measured "residual" is always non-zero even in a regime that looks random. The thresholds (±1 / ±2) are calibrated to be the regime boundaries empirically; tighten or loosen if your instrument has unusual variance behaviour. Per-horizon σ values need their respective windows populated to be meaningful — early bars give a warm-up read.
—
-made with passion by jackofalltrades
Indicator

5 Advanced MAs MTF🔵 OVERVIEW
5 Advanced MAs MTF is a professional moving averages indicator designed for traders who need to see multiple trend layers on a single chart simultaneously, each one with its own independent configuration and — above all — its own timeframe.
Unlike typical "ribbon" or "multi-MA" indicators on the market, which display several averages all computed on the active chart's timeframe, this indicator allows each of the 5 averages to have its own timeframe. You can have your EMA 8 on the 15-minute chart, your EMA 20 on the 1-hour, your EMA 50 on the 4-hour, and your SMA 200 on the daily, all plotted on the same 15-minute chart. That turns the indicator into a complete multi-timeframe control panel without needing to open four separate charts or saturate your installed indicators list.
🔶 KEY FEATURES
• 5 fully independent moving averages — each one configured separately and enabled or disabled individually.
• True multi-timeframe per MA — the core differentiator. Each MA can read its value from a higher, lower, or equal timeframe relative to the active chart. Leave it empty to use the chart's current timeframe.
• 9 moving average types — SMA, EMA, WMA, RMA, HMA, VWMA, TEMA, KAMA, and JMA. The last three (TEMA, KAMA, JMA) are implemented with their original formulas, no shortcuts. JMA uses Mark Jurik's standard defaults (Phase = 50, Power = 2).
• Configurable source per MA — Close, Open, High, Low, hl2, hlc3, ohlc4.
• Full visual styling per MA — color, width (1 to 10), and line style (solid, dashed, or dotted).
• Smart labels — each MA can show its label directly on the line, with configurable content (type, length, timeframe, or any combination of the three). Adjustable horizontal bar offset and text size.
• Interactive summary table — placed at any of the 9 chart anchors, displaying color column, type, length, timeframe, and price distance from each MA (in percentage and absolute value). Toggle to include or exclude hidden MAs.
• 22-alert system — 10 for Price↔MA crosses (bullish and bearish for each MA), 10 for MA↔MA crosses across 5 configurable slots (you pick which MA pairs to monitor), and 2 wildcard "any cross detected" alerts. All compatible with webhooks and automation.
• Works on any market and any timeframe — equities, futures, crypto, forex, commodities. From tick charts to monthly charts.
🔹 USE CASES BY TRADER STYLE
▪️ Day trader / scalper
Configure the first 3 MAs as short EMAs (8, 20, 50) on the chart's timeframe (5m or 15m) and leave MAs 4 and 5 as SMA 200 and VWMA 100 but reading them from a higher timeframe (1H, 4H, or daily). Result: you see your fast entry signals and the higher-timeframe bias at the same time without switching charts.
▪️ Swing trader
Recommended setup: EMA 20 and EMA 50 on the active chart (1H or 4H) + SMA 200 read from daily + VWMA 100 read from weekly. This lets you watch pullbacks against the EMA 20 on your operative timeframe with immediate confirmation that the higher-timeframe bias is aligned, plus the weekly VWMA as a volume-weighted "fair price" reference.
▪️ Position trader / long-term
Enable all 5 MAs on daily or weekly to build a complete structural map of the asset. The default configuration (EMA 8, EMA 20, EMA 50, SMA 200, and VWMA 100, all on daily) covers everything from fast momentum to the institutional level, combining pure-price references (SMA 200) with volume-weighted references (VWMA 100). The summary table shows the exact distance of price from each one.
▪️ Systematic crossover trader
The MA↔MA alert slots let you configure up to 5 specific crossovers simultaneously. Classic Golden Cross / Death Cross setup: Slot 1 with MA 3 (EMA 50) crossing MA 4 (SMA 200) on daily, with an automatic alert sent to your bot's webhook or notification system.
▪️ Multi-timeframe confluence trader
The most differentiating use case. Assign each MA to a different timeframe: MA 1 on 5m, MA 2 on 15m, MA 3 on 1H, MA 4 on 4H, MA 5 on daily or weekly. The summary table shows you in real time the distance of current price from the key level of each of those timeframes. When several MAs from different timeframes converge on the same price zone, that zone becomes a high-density structural level — one of the most-used concepts among institutional traders.
⚙️ INPUTS & CUSTOMIZATION
The entire indicator is 100% configurable from the Inputs panel. Each MA has its own expandable group with 14 controls. The summary table is also fully customizable (position, text size, background/border/text colors). The JMA global parameters (Phase and Power) live in their own section so advanced users can adjust them without cluttering the individual groups.
By default, all 5 MAs are enabled with a configuration tailored for daily and swing use: EMA 8 (blue, 1D), EMA 20 (red, 1D), EMA 50 (yellow, 1D), SMA 200 (green dashed, 1D), and VWMA 100 (pink dotted, 1D). The user can modify any of the parameters or reassign the MAs to other timeframes at any moment.
🔔 ALERTS
The indicator ships with 22 precompiled alerts ready to use:
• 5 alerts "Price crosses above MA N"
• 5 alerts "Price crosses below MA N"
• 10 alerts across 5 configurable slots for MA↔MA crossovers (bullish and bearish per slot)
• 2 wildcard alerts "any cross detected"
All messages include the {{ticker}} and {{close}} placeholders so they are directly parseable by webhooks, bots, and automation systems.
❓ FAQ
Does the indicator repaint?
No. The moving averages are computed on confirmed historical data. Cross alerts fire on the bar of the cross and values are not modified retroactively. To avoid signals that appear and disappear intra-bar, set the alerts to "Once per bar close".
Does it work on any timeframe?
Yes. From tick charts to monthly. In addition, each MA can have its own higher, lower, or equal timeframe relative to the active chart. The default timeframe is the current chart's timeframe.
Why 9 MA types?
Because each type behaves differently. SMA is the pure average; EMA weights recent bars more; HMA virtually eliminates lag; KAMA adapts to volatility; JMA is the smoothest while staying responsive; VWMA weights by volume. Having all of them available lets you use the right tool for each analysis without installing several separate indicators.
What are the 5 MA↔MA alert slots for?
They let you configure specific crossovers between any pair of MAs without having to create all possible combinations. In each slot you pick the fast MA and slow MA from dropdowns and receive alerts for the bullish and bearish crossovers of that pair. Example: Slot 1 = MA 3 crosses MA 4 (classic Golden Cross / Death Cross when MA 3 = EMA 50 and MA 4 = SMA 200).
What is the best MA combination?
There is no single "best" — it depends on the trading style and the asset. The Use Cases section above includes recommended configurations for the 5 most common profiles.
Is it compatible with webhooks and automation?
Yes. The 22 alerts use {{ticker}} and {{close}} placeholders in their messages, making them directly compatible with PulseWire Webhooks, copy-trading platforms, Telegram/Discord bots, and any system that parses JSON.
Is it free to use?
Yes. Open-source indicator under the Mozilla Public License 2.0. You can review the full code, use it freely on PulseWire, and create derivative copies while respecting the license terms.
⚠️ DISCLAIMER
This indicator is a technical analysis tool provided solely for educational and informational purposes. It does not constitute financial advice, an investment recommendation, or an invitation to trade any instrument. Moving averages are reactive (not predictive) indicators: they are based on historical data and, by their nature, can produce delayed signals in markets with sharp trend changes. In ranging or low-volatility market contexts, crossovers can be frequent and not particularly informative. Every trading decision is the sole responsibility of the trader. Past performance does not guarantee future results.
© 2026 Lic. Farias Foresi, Leandro M. — License: Mozilla Public License 2.0
Indicator

Strategy

Trend Setup - 3 EMA + RSI Dashboard📊 TREND SETUP — EMAs + Live RSI Dashboard
A clean, all-in-one trend tool combining the 3 most-used EMAs with a
real-time RSI dashboard — no need to load multiple indicators separately.
✅ EMA 50 / 100 / 200 — fully configurable (period, source, color, on/off)
✅ Live RSI Dashboard — shows current RSI value, overbought/oversold
levels, and a real-time status alert, displayed in a sleek table
instead of a cluttered separate pane
🎯 WHY THIS COMBO
EMAs give you the big-picture trend direction, while the RSI dashboard
tells you instantly if price is stretched (overbought/oversold) —
without needing a second indicator slot, perfect if you're on a free
PulseWire plan and want to save your indicator limit.
🔧 FULLY CONFIGURABLE
— Toggle each EMA on/off independently
— Set your own RSI period and overbought/oversold levels
— Adjust dashboard text size
💡 HOW IT WORKS
The RSI dashboard updates live as new candles form, showing:
— Current RSI value
— Upper/Lower band levels
— Alert status (Overbought ↑ / Oversold ↓ / Neutral →)
💬 Got a suggestion for the next version? Drop a comment below —
I'm actively building more setups based on community feedback.
If this helped your charts, a like goes a long way 🙏 Indicator

Indicator

EV Edge | AnonycryptousEV Edge | Anonycryptous
Description & user manual
Why this indicator is different;
Most breakout indicators stop at the entry. A box compresses, price breaks out, an arrow appears, and the indicator's job is considered done. What happens next - whether that breakout actually develops into a sustained move or stalls and reverses within a few bars - is left entirely to the trader to monitor manually.
EV Edge treats the moment of entry as the beginning of the analysis, not the end of it.
At its core is a consolidation detection engine that identifies tight, compressed ranges using an ATR-based threshold. When price breaks out of one of these ranges in the direction of the move that led into it - a continuation pattern sometimes described as the right side of a V - a signal fires. This part is familiar territory for breakout-based tools.
What happens afterward is not. Every signal starts with an EV score, a value between 0 and 100 that represents the expected value of the trade as it currently stands. The rule is simple: higher is better, lower is worse - for both long and short trades. A score climbing toward 100 means the trade is developing in your favor. A score falling toward 0 means price is moving against you. This holds regardless of direction. A short trade with an EV score of 85 is developing well. A long trade with an EV score of 12 is going the wrong way.
This score is not fixed at entry. It evolves on every subsequent bar based on how price actually behaves - how far it has moved in the trade's favor relative to ATR, and whether it has retraced back into the consolidation zone it broke from. A trade that continues cleanly in its intended direction sees its EV score climb toward 100. A trade that stalls or reverses back into the consolidation sees its score fall toward 0, with the penalty scaling proportionally to how deep the retracement goes.
The trade is then managed automatically by its own EV score. If the score reaches a configurable extreme - high or low - the trade closes out and the indicator becomes ready for the next signal. If neither extreme is reached within a maximum bar count, the trade times out. Every closed trade is recorded with its entry score, exit score, exit reason, and duration in an optional trade log table, turning the chart into a running record of how setups actually played out rather than a static history of where arrows appeared.
This is the central idea behind EV Edge: a signal is not a single judgment made once. It is a starting hypothesis that is continuously re-evaluated against what price does next.
A note on the colors
EV Edge uses two independent color systems that represent different things, and reading them correctly is essential.
The entry label color - the small triangle marker and its background - reflects trade direction. A long entry uses the bull color. A short entry uses the bear color. This is fixed at the moment of entry and never changes.
The trade zone box uses a separate, monochrome system that reflects how strongly the trade is currently developing, independent of direction. The box is a single configurable color throughout - by default a neutral steel grey - and only its intensity changes. Near the middle of the EV range the box is barely visible. As the EV score moves toward either extreme, the box becomes more opaque. The box answers one question only: how strong is the current reading, regardless of which way it points.
The EV score itself - shown as a number, a ten-segment meter, and a zone label in the dashboard - uses a four-zone color system based purely on score value, with no reference to trade direction:
90 to 100 : amber - the score is approaching the high exit threshold
60 to 90 : green (bull color) - the trade is developing favorably
40 to 60 : gold - neutral territory, no strong reading in either direction
10 to 40 : red (bear color) - the trade is developing poorly
0 to 10 : amber - the score is approaching the low exit threshold
This color system is direction-independent. A short trade with EV 85 shows green because the short is working well. A long trade with EV 14 shows red because the long is working against you. The amber zones at both extremes serve as a visual warning that an automatic exit is approaching, regardless of whether the trade is succeeding or failing. When no trade is active, the EV display is grey.
The text inside entry labels and EV shift labels is rendered in the measurement/brand color, against a background in the bull or bear color matching the trade direction. This keeps the label readable against either background while keeping the directional color as the dominant visual cue.
Important notice
EV Edge generates signals based on price action, volume behavior, and momentum confirmation.
These signals are not financial advice.
They do not predict future price movement.
They do not guarantee profitability.
All trading decisions are made entirely by the user.
Always manage your own risk. Always apply your own judgment.
1. Overview
EV Edge is a consolidation breakout indicator with a self-updating expected value score that tracks every trade from entry to close. It combines breakout detection, dynamic trade evaluation, optional momentum confirmation, multi-timeframe trend context, and a trade outcome log in a single lightweight indicator.
What it includes:
- Consolidation detection using ATR-based range compression
- Breakout signal with optional right-side-of-V continuation filter
- EV score from 0 to 100 that evolves bar by bar based on price drift and retracement depth
- Optional volume component blended into the EV score
- Four-zone color system on the EV score display: amber at the extremes, green in the favorable zone, gold at neutral, red in the unfavorable zone
- Automatic early exit when EV reaches a configurable extreme, with a hard bar-count cap as fallback
- Trade zone box that grows with the active trade and increases in opacity as EV moves away from neutral
- Extreme EV shift labels that appear only on significant single-bar changes or zone crossovers
- Optional VW RSI and MFI confirmation filter for entries, with an independent mini panel showing live values regardless of filter state
- Configurable divergence sensitivity for VW RSI divergence detection (High / Medium / Low)
- Multi-timeframe trend bar across six timeframes with a bull count
- Four independently toggleable EMA lines for visual confluence, with no effect on signals
- Trade log table recording direction, entry EV, exit EV, exit reason, and duration for recent trades
- Fully configurable bull, bear, and measurement colors applied consistently across labels, dashboards, and the trend bar
2. Core calculation
2.1 Consolidation detection
A consolidation range is measured over a configurable lookback period using the highest high and lowest low in that window. This range is compared against an ATR-based average range. When the actual range falls below the average range multiplied by a compression factor, the range is considered compressed. A consolidation is only confirmed once a minimum number of consecutive compressed bars has occurred - this is the V forming.
Lower compression factors demand tighter ranges before a consolidation is recognized. Higher minimum bar counts demand more mature consolidations. Both settings directly affect how often signals occur.
2.2 Breakout signal and the right side of the V
A breakout fires when price closes beyond the consolidation high or low by a configurable buffer, expressed as a multiple of ATR. With the right-side-of-V filter enabled, the breakout must also continue in the same direction as the move that occurred before the consolidation began. A consolidation that formed after an upward move and then breaks upward is a continuation. A consolidation that formed after an upward move and then breaks downward is not, and is ignored with this filter on.
Only one trade is tracked at a time. While a trade is active, new breakout signals are not evaluated. This keeps the chart from filling with overlapping signals and trade zone boxes during volatile, choppy conditions.
2.3 The EV score
Every new signal starts with an EV score of 60. From that point, the score updates on every bar based on two components.
The price component measures drift - how far price has moved in the trade's favor since entry, normalized by ATR - and retracement - whether price has moved back into or past the consolidation zone it broke from. Favorable drift increases the score. A retracement decreases it, and the size of the decrease scales with how deep the retracement goes. A shallow retracement back to the edge of the consolidation costs less than a retracement that pushes well past the original zone.
The optional volume component compares current volume to its moving average. Volume expanding in the direction of the trade supports the price component. Volume that is elevated while price is not moving - an effort without result condition - works against the score even if price has not yet retraced.
Both components are combined using configurable weights, and the result is applied to the running score each bar, clamped between 0 and 100.
2.4 Exits
A trade closes in one of two ways. If the EV score reaches a configurable extreme - high or low - after a minimum number of bars have passed, the trade closes immediately and the result is logged as an EV High or EV Low exit. The minimum bar requirement prevents the first bar or two after entry from closing the trade before it has had a chance to develop.
If neither extreme is reached within a maximum bar count, the trade closes as a Timeout. Either way, the indicator becomes ready to evaluate the next consolidation and breakout immediately.
3. Optional VW RSI and MFI confirmation
EV Edge includes an inline volume weighted RSI and Money Flow Index, calculated independently of any other indicator. The volume weighted RSI multiplies each bar's price change by its relative volume before the RSI calculation, so high-volume bars carry more weight than low-volume bars. The MFI is calculated from typical price multiplied by volume.
The master toggle enables or disables the confirmation filter entirely. When the master is on, the sub-toggles beneath it determine which meters are used: VW RSI, MFI, or both together with AND logic. When the master is off, signals fire without any momentum requirement regardless of the sub-toggle states.
When the confirmation filter is enabled, a long signal requires the selected meter or meters to be above their respective midlines, and a short signal requires them to be below. The filter is disabled by default so that signal frequency with and without confirmation can be compared directly.
VW RSI and MFI will sometimes point in different directions. This is not a fault - they measure related but distinct things. VW RSI weights price change by relative volume and responds quickly to momentum shifts. MFI incorporates the full money flow through typical price and volume and tends to reflect sustained buying or selling pressure. When they agree, the confirmation is stronger. When they disagree, the dashboard shows exactly where each stands so the trader can weigh them independently.
An optional mini panel on the dashboard shows the current VW RSI and MFI values with their percentage meters, zone state, and a Confirms row showing which direction - or directions - they currently support, regardless of whether the filter itself is active. This makes it possible to observe what the filter would do before committing to it.
Divergence detection is built into the VW RSI engine. When a bullish divergence is detected - price making a lower low while VW RSI makes a higher low - a line is drawn on the chart connecting the two pivot points in the bull color. The same applies in reverse for bearish divergences. The pivot window used for detection is configurable through the Divergence Sensitivity setting: High uses a 3-bar window for more frequent signals, Medium uses 5 bars as the default, and Low uses 10 bars for major pivots only. Divergence lines are purely visual and have no effect on signals or the EV score.
An important distinction: the Confirms row and the EV score answer different questions. Confirms reflects what VW RSI and MFI are doing right now - whether the current momentum supports the trade direction. The EV score reflects what price actually did after the signal fired - whether the breakout followed through. These two readings can point in opposite directions and both be correct. A short trade can show Confirms: Short because momentum is currently bearish, while the EV score sits at 15 because price bounced sharply after entry and never moved in the intended direction. The Confirms row describes the current environment. The EV score describes the trade's history since entry.
4. Multi-timeframe trend bar
A separate small panel shows trend direction across six timeframes - 1 minute, 5 minutes, 15 minutes, 1 hour, 4 hours, and daily - based on whether the 9-period EMA is above or below the 21-period EMA on each timeframe. A bull count from 0 to 6 summarizes how many of those timeframes currently agree on an upward trend.
This panel is independent of the signal logic. It provides context for whether a breakout on the current chart is aligned with or against the broader trend structure, without enforcing that alignment as a requirement.
5. EMA visual confluence
Four EMAs - 9, 21, 50, and 200 - can each be toggled on independently, with their own color and line width settings. These are plotted purely for visual reference. They do not feed into the consolidation detection, the EV score, the confirmation filter, or any other calculation. They exist so that price action can be viewed against common moving average levels without affecting how the indicator behaves.
6. Trade log
When enabled, a table records the most recently closed trades - direction, entry EV score, exit EV score, exit reason, and number of bars held. The table holds a configurable number of recent trades, with the newest entry at the top and older entries pushed out once the limit is reached.
Because entry EV is fixed at 60 for every trade, the exit EV and exit reason are what differentiate one trade from another in the log. A trade that exits at EV High after a small number of bars represents a fast, clean continuation. A trade that exits at EV Low after a small number of bars represents a fast failure. A trade that times out without reaching either extreme represents a setup that drifted without committing strongly in either direction.
The trade log does not persist across chart reloads. It reflects the trades that occurred since the indicator was applied to the current chart session.
7. Dashboard
The main dashboard shows the current trade status - long active, short active, or no signal - the live EV score as both a number and a ten-segment meter, the current EV zone, and the number of bars tracked relative to the maximum. The EV score number, meter, and zone text all use the four-zone color system described in the colors section above. When the VW RSI and MFI mini panel is enabled, it appears as additional rows in the same table.
A small blinking indicator - alternating between a filled and hollow dot - appears next to the Status row whenever a trade is active, and disappears when no trade is active. The indicator updates on a bar-by-bar basis, including the live, currently forming bar, so on lower timeframes it provides a continuously refreshing visual cue that the EV engine is actively tracking a trade.
Dashboard position and text size are independently configurable, with tiny, small, and normal size options to suit different chart layouts.
8. Settings reference
8.1 Consolidation detection
- Consolidation lookback: bars used to measure the consolidation range. Default 12.
- Compression factor: how tight the range must be relative to the ATR-based average to qualify as consolidation. Default 0.65.
- ATR length: lookback for the Average True Range used throughout the indicator. Default 14.
- Min bars in consolidation: minimum consecutive compressed bars required. Default 4.
8.2 Breakout signal
- Breakout buffer: extra distance beyond the consolidation edge, as a multiple of ATR, required to confirm a breakout. Default 0.1.
- Require right-side-of-V alignment: breakout must continue in the direction of the pre-consolidation move. Default on.
- Impulse lookback: bars before the consolidation compared to determine the prior move direction. Default 8.
8.3 EV score engine
- Include volume component: blend volume behavior into the EV score. Default on.
- Price action weight and volume weight: relative weighting of the two components. Defaults 0.7 / 0.3.
- Volume MA length: lookback for the volume moving average used in the volume ratio. Default 20.
- EV improving threshold: score at or above this value is classified as Improving. Default 70.
- EV decaying threshold: score at or below this value is classified as Decaying. Default 30.
- Max bars to track: hard cap on how long a trade is tracked before timing out. Default 30.
- Early exit EV high: score at or above this value triggers an immediate EV High close. Default 90.
- Early exit EV low: score at or below this value triggers an immediate EV Low close. Default 5.
- Min bars before early exit: bars that must pass before an extreme score can close the trade. Default 3.
8.4 VW RSI / MFI confirmation filter
- Require confirmation for entries: master toggle for the entire filter. Default off.
- VW RSI length and volume smoothing: lookback periods for the volume weighted RSI calculation. Default 14 each.
- VW RSI confirmation midline: threshold for long versus short confirmation. Default 50.
- Use VW RSI for confirmation: sub-toggle. Default on.
- MFI length: lookback for the Money Flow Index. Default 14.
- MFI confirmation midline: threshold for long versus short confirmation. Default 50.
- Use MFI for confirmation: sub-toggle. Default on.
- Show VW RSI / MFI mini panel: adds informational rows to the dashboard regardless of filter state. Default on.
- VW RSI overbought / oversold levels: visual zone thresholds shown in the dashboard. Defaults 75 / 25.
- Show divergence lines: draws diagonal lines on the chart where VW RSI divergences are detected. Default on.
- Show bullish / bearish divergence: independent toggles per divergence direction. Default on.
- Divergence line width: stroke width for divergence lines. Default 1.
- Divergence sensitivity: pivot window for divergence detection. High = 3 bars, Medium = 5 bars (default), Low = 10 bars.
8.5 Multi-timeframe dashboard
- Show multi-timeframe trend bar: toggle. Default on.
- MTF panel location: corner placement on the chart. Default bottom left.
8.6 EMA visual confluence
- Show EMA 9, 21, 50, 200: independent toggles, all default on.
- Color and width: configurable per EMA.
8.7 Bull / bear colors
- Bull color and bear color: applied to entry label backgrounds, plotted signal markers, dashboard status, VW RSI/MFI confirmations, and the multi-timeframe trend bar.
- Measurement / brand color: applied to the EV score meter when no trade is active, the brand row in both dashboards, and the text inside entry and EV shift labels.
- Signal label transparency: background transparency for entry and EV shift labels. Default 50.
8.8 EV quality colors
- Trade zone box color: single monochrome color for the trade zone box. Default steel grey.
- Scale box intensity with EV extremity: when on, the box becomes more opaque as EV approaches 0 or 100, and more transparent near 50. Default on.
- EV improving / decaying / neutral text colors: used for the Exit EV value in the trade log. Separate from the four-zone dashboard colors.
8.9 Trade log
- Show trade log table: toggle. Default on.
- Number of trades to show: how many recent trades are displayed. Default 5.
- Trade log location: corner placement on the chart.
8.10 Visuals
- Show dashboard, dashboard location, and dashboard size.
- Show consolidation box.
- Show signal labels.
- Show trade zone box.
- Extreme EV shift threshold: minimum single-bar EV change, or a zone crossover, required to display a shift label. Default 15.
9. How to use
9.1 Reading the EV score
The EV score has one rule: higher is better, lower is worse - for both long and short trades. When a long signal fires and the score climbs, the long is working. When a short signal fires and the score drops, the short is not working - price is moving up against the position. The score is direction-independent. It measures how well the trade is developing relative to what was expected at the moment of the breakout, nothing more.
The score is most informative as a trajectory, not a single value. A score climbing steadily from 60 toward 70 and beyond suggests a clean continuation. A score that drops sharply within the first few bars after entry, particularly if it crosses below the decaying threshold, suggests the breakout lacked follow-through. The minimum bars before early exit setting exists so that this initial period can be observed rather than immediately closing the trade on the first adverse tick.
9.2 Reading the four-zone color system
The EV score number, the ten-segment meter, and the EV Zone text all use the same four-zone color logic. When a trade is active, the colors read as follows: green means the trade is progressing well, gold means the score is sitting in neutral territory without a strong signal in either direction, red means the trade is going poorly and the breakout likely lacked follow-through, and amber at either extreme means an automatic exit is approaching. No active trade is grey.
These colors are consistent across both long and short trades. A short showing green is performing correctly. A long showing red is not.
9.3 Reading the trade zone box
The trade zone box appears once a signal fires and grows with the trade's price range on every subsequent bar. Its intensity reflects how far the EV score currently sits from the neutral midpoint - faint near 50, increasingly opaque as the score approaches either 0 or 100. A box that has become noticeably more opaque indicates the EV score has moved decisively toward one of its extremes. The EV Zone text in the dashboard and the four-zone color together tell you which extreme and whether that is favorable or not.
9.4 Using the trade log to evaluate settings
Because every closed trade is recorded with its exit reason and duration, the trade log can be used to assess whether the current settings are producing the expected distribution of outcomes. A log dominated by EV Low exits at short durations may indicate that the breakout filter is too permissive, allowing weak setups through. A log with many Timeout entries may indicate that the early exit thresholds are too extreme to be reached under current market conditions, or that the EV score's sensitivity needs adjustment. Reviewing the log periodically - particularly when testing on a single instrument and timeframe over a consistent period - is the intended way to calibrate the EV score engine to a specific market.
9.5 Using the VW RSI / MFI mini panel before enabling the filter
Because the mini panel shows what the confirmation filter would do without requiring it to be active, it can be left on while running the indicator without the filter enabled. This allows direct observation of how often VW RSI and MFI would have confirmed or rejected the signals that fired, before committing to the filter and reducing signal frequency.
9.6 Using the multi-timeframe bar as context, not as a gate
The multi-timeframe trend bar does not block or filter signals. A breakout signal can fire even when the bull count is low or when the immediate timeframe disagrees with higher timeframes. The intended use is to provide situational awareness - a breakout that aligns with a high bull count carries different context than one that fires while higher timeframes are pointing the other way, even though both will generate the same signal and the same starting EV score.
9.7 Illustrative bull scenario
Educational example only. Not a trading recommendation.
Price consolidates in a tight range for several bars after an upward move. The range compresses below the ATR-based threshold and the minimum bar count is reached. Price closes above the consolidation high by more than the breakout buffer, and the move continues in the same direction as the prior upward impulse - the right side of the V. A long signal fires with an EV score of 60, shown with a bull-colored label. The dashboard switches to LONG ACTIVE with a blinking dot. Over the following bars, price continues higher without returning to the consolidation zone. The EV score climbs past 70, the dashboard color shifts to green, and the trade zone box becomes noticeably more opaque as the score moves away from neutral. The EV Zone text switches to Improving. Within several bars the score reaches 90, the amber warning zone, and the trade closes as an EV High exit, recorded in the trade log.
9.8 Illustrative bear scenario
Educational example only. Not a trading recommendation.
A consolidation forms after a downward move and breaks lower, aligned with the prior impulse. A short signal fires with an EV score of 60, shown with a bear-colored label. On the next bar, price reverses and closes back above the lower boundary of the consolidation it broke from. The retracement penalty is applied, scaled by how far price has moved back into the zone. The EV score drops sharply. The dashboard color shifts to red and the EV Zone text switches to Decaying. The Confirms row in the VW RSI panel may still show Short if momentum meters remain bearish - this is not a contradiction. Confirms reflects current momentum; the EV score reflects what price did since entry. After the minimum bar count has passed, the score drops below 10, entering the lower amber zone, and the trade closes as an EV Low exit, recorded in the trade log as a fast failure.
10. Tested instruments and timeframes
EV Edge has been tested across a range of futures and spot crypto markets, including MNQ, MES, MGC, MCL, MBT, M2K, and SIL futures, as well as BTCUSDT, SOLUSDT, and ETHUSDT on Binance, across the 1 minute, 5 minute, 15 minute, 1 hour, and 4 hour timeframes.
Results by timeframe:
- 1m and 5m: recommended primary timeframes. EV High and EV Low exits fire frequently and the score evolves quickly enough to be actionable for scalping.
- 15m: works well. Max bars setting of 15 to 20 recommended.
- 1H: functional, but overnight and weekend gaps on futures affect the score behavior. Max bars of 10 to 15 recommended. Best used for directional context rather than as the primary trading timeframe.
- 4H: not recommended. The bar count required for meaningful EV evolution exceeds practical limits and most trades time out before the score develops.
EV Edge is designed primarily as a 1m to 15m scalp and intraday tool, with 1H usable for higher-timeframe bias.
11. Tips
The default EV score formula has not been calibrated to any specific instrument or timeframe. The early exit thresholds, the retracement penalty, and the volume weighting are starting points. The trade log exists so that these can be evaluated against real outcomes on the instrument and timeframe actually being traded, rather than assumed to be correct.
Testing on a single instrument and a single timeframe for a sustained period produces a more useful trade log than switching between instruments or timeframes during the test. Mixing conditions makes it difficult to separate the effect of the EV score formula from the effect of changing market behavior.
The right-side-of-V filter and the VW RSI/MFI confirmation filter both attempt to address the same underlying concern - whether a breakout has genuine momentum behind it. Running both at maximum strictness simultaneously may reduce signal frequency more than either filter alone would suggest. Testing each independently before combining them clarifies which filter is contributing more to signal quality.
On futures markets, overnight and weekend gaps can cause single-bar EV score jumps that do not reflect genuine price movement during the session. On the 1H timeframe in particular, a gap open can spike or collapse the drift component in ways that would not occur on a continuous chart. This is expected behavior, not a fault. Keeping the max bars setting lower on higher timeframes reduces the window during which a gap can distort the score history.
The Confirms row and the EV score are not the same measure and should not be read as one. Confirms reflects whether VW RSI and MFI currently support the trade direction. The EV score reflects how price actually moved since the signal fired. They can disagree and both be correct. A trade showing Confirms: Short alongside EV 12 is not contradictory: it means momentum currently supports the short direction, but the price movement since entry has not followed through. Understanding the difference between these two readings is one of the most useful things you can take from the dashboard.
12. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document or in the indicator output constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital.
Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator.
Indicator

Indicator

Yuri Garcia Narrow State Strategy (YGILS)Overview
The Yuri Garcia Institutional Liquidity Strategy (YGILS) is a trend-following and volatility-expansion methodology designed to identify high-probability trading opportunities during periods of market compression and directional momentum.
The strategy combines trend analysis, volatility measurements, momentum confirmation, and risk management into a structured framework that helps traders identify potential institutional participation while maintaining disciplined execution.
The primary objective is not to predict every market move, but rather to participate when multiple conditions align in favor of a directional expansion.
---
Strategy Philosophy
Markets alternate between periods of compression and expansion.
During compression, price contracts, volatility decreases, and market participants become indecisive.
During expansion, volatility increases, momentum accelerates, and directional opportunities emerge.
The strategy is specifically designed to identify the transition from low-volatility environments to high-volatility environments.
The Narrow State identifies compression.
The Elephant Bar identifies expansion.
The highest-quality opportunities typically occur when an Elephant Bar appears shortly after a period of compression and in the direction of the prevailing trend.
---
Core Components
Trend Identification
The strategy uses:
• 20 EMA (Short-Term Momentum)
• 200 SMA (Long-Term Trend)
Bullish Environment
✓ Price above 200 SMA
✓ 20 EMA above 200 SMA
Bearish Environment
✓ Price below 200 SMA
✓ 20 EMA below 200 SMA
This trend filter prevents traders from taking long positions against a bearish market and short positions against a bullish market.
---
Narrow State
A Narrow State occurs when the distance between the EMA 20 and SMA 200 contracts below a user-defined percentage threshold.
Formula:
Distance % = |EMA20 − SMA200| ÷ SMA200 × 100
The Narrow State represents a market compression phase.
Historically, significant market moves frequently begin after periods of compression.
The strategy seeks to participate during the transition from compression into expansion.
Important
The optimal Narrow State threshold depends on the instrument, timeframe, and market volatility.
Lower values produce stricter setups and fewer signals.
Higher values produce more signals but may increase market noise.
Traders are encouraged to optimize this setting based on the specific market being traded.
---
Elephant Bars
An Elephant Bar represents a significant expansion in volatility and directional conviction.
The candle body must exceed the Average True Range (ATR) multiplied by the Elephant Bar Multiplier selected by the user.
Formula:
Candle Body Size > ATR × Elephant Multiplier
Example
ATR = 20 points
Elephant Multiplier = 1.5
Required Body Size = 30 points
Any candle whose body exceeds 30 points is classified as an Elephant Bar.
---
Bullish Elephant Bar
Requirements:
✓ Bullish Candle
✓ Body exceeds ATR threshold
✓ Bullish Trend Active
Bullish Elephant Bars suggest aggressive buying pressure and potential institutional participation.
---
Bearish Elephant Bar
Requirements:
✓ Bearish Candle
✓ Body exceeds ATR threshold
✓ Bearish Trend Active
Bearish Elephant Bars suggest aggressive selling pressure and potential institutional participation.
---
Why Elephant Bars Matter
Institutional traders typically enter positions using significant volume and liquidity.
This often creates unusually large candles relative to recent market activity.
Elephant Bars help identify those moments where participation increases dramatically and may signal the beginning of a directional expansion phase.
---
RBI and GBI Confirmation Patterns
The strategy includes continuation confirmations.
RBI (Red Bar Ignored)
Bullish Continuation Pattern
Requirements:
• Previous candle closes bearish
• Current candle closes bullish
• Current candle closes above previous high
• Bullish trend remains active
This pattern suggests buyers have regained control.
---
GBI (Green Bar Ignored)
Bearish Continuation Pattern
Requirements:
• Previous candle closes bullish
• Current candle closes bearish
• Current candle closes below previous low
• Bearish trend remains active
This pattern suggests sellers have regained control.
---
Entry Conditions
Long Positions
A BUY signal occurs when:
✓ Bullish Trend Active
✓ Narrow State Active
✓ Bullish Elephant Bar OR RBI Pattern
✓ No Existing Long Position
---
Short Positions
A SELL signal occurs when:
✓ Bearish Trend Active
✓ Narrow State Active
✓ Bearish Elephant Bar OR GBI Pattern
✓ No Existing Short Position
---
Risk Management
The strategy uses ATR-based stop loss calculations that automatically adapt to changing market volatility.
Formula:
Stop Loss = Entry ± ATR × Multiplier
This helps maintain consistent risk management across different instruments and market conditions.
---
Take Profit Logic
The strategy uses configurable Risk-to-Reward ratios.
Formula:
Target = ATR × Multiplier × Risk Reward Ratio
Example:
Risk = 50 points
Target = 100 points
Reward Ratio = 2:1
This allows traders to maintain a structured and repeatable approach to position management.
---
Inputs and Customization
ATR Length
Controls volatility calculations.
Higher values create smoother signals.
Lower values create faster reactions.
---
ATR Multiplier
Controls stop-loss distance.
Higher values provide more room for volatility.
Lower values create tighter risk control.
---
Risk Reward Ratio (RRR)
Controls profit target distance relative to stop-loss distance.
Common values:
• 2.0
• 3.0
• 4.0
---
Elephant Bar Multiplier
Controls how large a candle must be before being classified as an Elephant Bar.
Higher values:
• Fewer signals
• Stronger momentum requirements
Lower values:
• More signals
• Faster entries
---
Narrow State Percentage
Controls how close the EMA 20 and SMA 200 must be before a compression phase is recognized.
Smaller values:
• Stricter setups
• Higher selectivity
Larger values:
• More opportunities
• Increased signal frequency
---
Best Practice
The strategy performs best when used as a confirmation tool rather than a prediction tool.
Wait for trend alignment.
Wait for compression.
Wait for volatility expansion.
Then execute according to the rules.
Patience and discipline are often more important than prediction.
The market rewards consistency more than excitement.
---
Disclaimer
This strategy is intended for educational and research purposes only.
Past performance does not guarantee future results.
Always perform your own testing, validation, and risk management before trading live capital. Strategy

Indicator

Fractal Dimension Oscillator [JOAT]Fractal Dimension Oscillator
Introduction
Fractal Dimension Oscillator is an open-source market geometry classifier that computes the fractal dimension of a price series using the Katz method and derives the Hurst exponent from it. The fractal dimension measures how much a price series fills space — a perfectly straight line has dimension 1.0, while a completely random walk approaches 2.0. Values between these extremes encode whether price is behaving in a trending, random, or mean-reverting fashion at the current moment.
The Hurst exponent H is derived as H = 2 - FD. Values above 0.5 indicate persistent trending behavior; values below 0.5 indicate mean-reverting behavior; H near 0.5 indicates a random walk. This gives traders an analytically grounded way to distinguish market regimes that directly determines which type of strategy applies.
Core Concepts
1. Katz Fractal Dimension Method
The Katz method computes fractal dimension from the total path length of price movements divided by the maximum distance traveled from the starting point:
// L = total path length, d = max distance from first point, n = N-1
float fd = math.log(n) / (math.log(n) + math.log(L / d / n))
This is computationally efficient compared to methods requiring fractal level decomposition and produces stable results across the configurable lookback period. The formula ensures that as price moves more linearly (large L relative to d), FD approaches 1.0. As price moves chaotically (small d despite large L), FD approaches 2.0.
2. Five-State Regime Classification
The raw FD value maps to five regime states based on configurable thresholds. The default boundaries are: Strong Trend (FD < 1.33), Trending (1.33–1.45), Random Walk (1.45–1.55), Mean-Reverting (1.55–1.67), Strong Mean-Revert (FD > 1.67). Each state carries a distinct color and strategy implication.
3. FD Percentile Tracking
The current FD value is ranked against a 100-bar rolling window to produce a percentile score. This shows not only the current regime state but how extreme that reading is relative to recent history — a 95th percentile trending reading is more significant than a borderline one.
4. Candle and Background Coloring
Candles are painted using a gradient: amber/gold for trending states, neutral for random walk, teal/cyan for mean-reverting states. Chart background is tinted faintly in the corresponding regime color. Both color channels update in real time as FD changes.
Features
Katz fractal dimension calculation: Computationally efficient geometric method
Hurst exponent display: H = 2 - FD, shown alongside raw FD in dashboard
Five-state regime classification: Strong Trend through Strong Mean-Revert
Smoothed EMA overlay: Optional EMA of raw FD for noise reduction
Regime transition markers: On-chart triangle shapes at every regime change
FD percentile (100-bar): Shows how extreme the current reading is historically
Gradient candle coloring: Amber for trend, teal for mean-revert, neutral center
Regime background tinting: Chart background reflects current regime state
Dashboard: FD, Hurst, regime, percentile, and strategy bias recommendation
Five alert conditions: Regime transitions and extreme readings
Input Parameters
Fractal Engine:
Fractal Period: Lookback bars for FD calculation (default: 30, range: 10-200)
EMA Smoothing: Smoothing period for the display line (default: 5)
Thresholds:
Trending Threshold: Hurst value above which market is trending (default: 1.5)
Mean-Revert Threshold: Hurst value above which market is strongly mean-reverting (default: 1.6)
How to Use This Indicator
Step 1: Read the Strategy Bias
The dashboard's Strategy Bias row gives a direct instruction: USE TREND SIGNALS, USE MEAN-REV SIGNALS, or AVOID / WAIT. This summarizes the regime into an actionable filter.
Step 2: Use Regime Transitions as Mode Switches
When a TREND triangle appears after a period of RANGE, consider activating trend-following setups. When a RANGE transition appears after trend, consider rotating to mean-reversion approaches.
Step 3: Check the Percentile
A 90th-percentile trending reading suggests a particularly directional market. A 10th-percentile trending reading is borderline — apply less conviction to trend signals.
Indicator Limitations
Fractal dimension is a mathematical property of the price series, not a predictive indicator — it describes what has happened, not what will happen
The Katz method is one of several FD estimation approaches; results will differ from Higuchi or other methods
Short lookback periods produce noisier FD values; longer periods produce smoother but slower-responding readings
Originality Statement
The Katz fractal dimension method is applied here in a complete regime classification engine with five states, EMA smoothing, a 100-bar percentile ranking, gradient candle coloring, and a strategy bias recommendation layer — none of which are standard in simple FD implementations. The combination of Hurst exponent derivation, percentile context, and strategy bias output in a single publication distinguishes this from generic fractal dimension scripts.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Fractal dimension values describe historical price geometry and do not predict future price movement. Trading involves substantial risk of loss.
-Made with passion by jackofalltrades
Indicator

Risk Navigator Levels [JOAT]Risk Navigator Levels is an open-source Pine Script v6 overlay that turns confirmed trend-engine flips into a clean visual trade planning map. It draws an entry line, stop line, TP1, TP2, TP3, R-multiple labels, and optional risk/reward boxes after a confirmed setup.
The script is not a full trading system. Its purpose is visual planning: once its internal engine confirms a new long or short state, it freezes the entry, stop, and target levels so the user can inspect structure, distance, and status without manually drawing every line.
Core Concepts
1. Trend Engine Gate
The engine compares a fast EMA, slower EMA basis, ATR gate, and VWAP. A long setup requires the fast line above the basis, price above the upper gate, price above VWAP, and fast-line slope agreement. Shorts use the mirrored logic.
riseReady = fastLine > baseLine and close > upperGate and close > vwapLine and fastLine > nz(fastLine , fastLine)
fallReady = fastLine < baseLine and close < lowerGate and close < vwapLine and fastLine < nz(fastLine , fastLine)
2. Confirmed Direction Change
The script only creates a new level set when the engine direction changes on a confirmed bar.
confirmedLong = barstate.isconfirmed and engineDir == 1 and previousDir != 1
confirmedShort = barstate.isconfirmed and engineDir == -1 and previousDir != -1
3. Stop Selection
The stop is based on recent swing lookback and an ATR floor. This prevents the stop from being unrealistically tight relative to current volatility.
4. R-Multiple Targets
Once risk is calculated, TP1, TP2, and TP3 are plotted as multiples of that risk. The default values are 1R, 2R, and 3R.
5. Status Tracking
After a setup, the script tracks whether the stop or each target has been touched on confirmed bars and updates labels and dashboard status.
Features
Confirmed setup engine: Uses EMA, ATR gate, VWAP, and slope checks
Frozen entry and stop: Levels are created at setup time
TP1, TP2, TP3 targets: Target levels are R-multiple based
Risk/reward boxes: Optional green and red boxes show distance visually
Status labels: Shows whether SL, TP1, TP2, or TP3 has been touched
Right-edge labels: Keeps levels readable without crowding older bars
Dashboard: Shows mode, engine state, R size, targets, and status
Alerts: Setup, stop touch, and target touch conditions
Input Parameters
Visuals:
Palette Preset: Selects color pair
Level Reach Bars: Forward extension of lines and boxes
Risk/Reward Boxes: Toggles the boxes
Engine:
Source: Price source
Fast Length: Fast EMA length
Base Length: Slow EMA basis length
ATR Length: Volatility length
Confirmation Gate: ATR gate around the basis
Risk:
Stop Lookback: Swing lookback used for stop reference
ATR Stop Floor: Minimum stop distance multiplier
TP1 R / TP2 R / TP3 R: Target multiples
How to Use This Indicator
Step 1: Wait for a Confirmed Setup
The script draws a new plan only after its engine direction changes on a confirmed bar.
Step 2: Inspect R Size
The dashboard R size shows the distance between entry and stop. Large R size means the setup requires wider risk.
Step 3: Monitor Touch Status
Labels and dashboard status update when the stop or targets are touched after the setup bar.
Step 4: Use as a Planning Tool
The levels help visualize trade structure. They do not replace account-level risk controls.
Indicator Limitations
This is a visual planning tool, not a complete execution strategy
The engine can produce late signals during fast reversals
Targets are mathematical R levels, not forecasts
A stop touch and target touch can occur in the same bar on some candles; intrabar order cannot be known from closed OHLC alone
Originality Statement
Risk Navigator Levels is original in its integration of a confirmed trend gate, VWAP location, ATR stop floor, frozen R-level drawing system, and live status tracking. It is built as original Pine v6 code for transparent visual planning.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Levels shown by the script are visual research levels and may not match actual execution conditions. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
Indicator

EMA Ribbon 50/100/200/300/350A clean five-line EMA ribbon — 50 · 100 · 200 · 300 · 350 — built around one
idea: the COLOR alone tells you which average you're looking at.
The lines follow a warm→cool ramp (amber → orange → magenta → blue → indigo), so
warmth and brightness fall as the EMA slows: a warm, bright line is always a fast
average, a cool, deep one always slow. Pure red and green are avoided so a line
is never mistaken for a bull/bear candle. The 200 is drawn a touch thicker to
keep the most-watched average prominent.
Every line has its own on/off toggle, length, and color. The averages are
standard ta.ema on price — fully causal, so nothing repaints.
A visual reference for moving-average structure, not a signal generator: no
arrows, no alerts.
Settings: a shared price source, plus a show toggle, length, and color for each
of the five EMAs.
Open-source. Not financial advice. Indicator

Impulse Memory Engine [JOAT]Impulse Memory Engine is an open-source Pine Script v6 overlay that measures fresh displacement, stores directional memory with exponential decay, and displays adaptive retest rails after significant impulse bars. It is built to answer a simple question: is the most recent meaningful impulse still fresh enough to matter?
The script blends MAD-style distance, ATR, trend basis, and decay memory. This creates a visual layer that distinguishes fresh impulse, fading impulse, and reset conditions while keeping the chart clean.
Core Concepts
1. MAD and ATR Normalized Displacement
The script estimates a robust distance unit using median absolute deviation and ATR. The impulse score is the one-bar displacement divided by this unit.
medianSource = ta.median(sourceInput, madLengthInput)
madDistance = ta.median(math.abs(sourceInput - medianSource), madLengthInput)
unitDistance = math.max(atrValue * 0.35, madDistance * 1.4826)
impulseRaw = safeRatio(sourceInput - sourceInput , unitDistance)
2. Trend Basis and Fast Track
A slower EMA defines the trend basis while a faster EMA tracks near-term movement. The distance between them contributes to the heat score.
3. Freshness Decay
When a bullish or bearish impulse appears, the script measures bars since that impulse and applies exponential decay. Fresh impulses have more weight; older impulses fade naturally.
bullBars = ta.barssince(bullImpulse)
bearBars = ta.barssince(bearImpulse)
bullFresh = na(bullBars) ? 0.0 : math.exp(-bullBars / decayLengthInput)
bearFresh = na(bearBars) ? 0.0 : math.exp(-bearBars / decayLengthInput)
memorySigned = bullFresh - bearFresh
4. Adaptive Bands
The trend band widens when memory strength increases. This helps separate quiet reset states from active impulse regimes.
5. Retest Rails
After a fresh impulse, the script stores a rail near the impulse bar. A confirmed retest occurs when price revisits the rail while memory remains directionally active.
Features
Impulse score: Measures displacement relative to MAD and ATR distance
Memory decay model: Tracks whether the last strong impulse is fresh or fading
Adaptive trend cloud: EMA basis and fast track are filled by memory state
Dynamic bands: Band width expands with volatility and impulse memory
Retest rails: Bull and bear rails remain visible for a configurable window
Rail labels: Active bull and bear rails are labeled at the right edge with spacing protection when both rails are close
Confirmed buy/sell labels: Compact BUY and SELL labels mark fresh impulse continuation or rail retest continuation on confirmed bars
Heat candles: Optional candle coloring by impulse and memory strength
Dashboard: Top-right panel shows impulse, memory, state, and rail status
Alerts: Fresh impulse, rail retest, confirmed buy, and confirmed sell conditions
Input Parameters
Source: Price source used for calculations
Trend Length: Slow EMA basis length
Fast Track Length: Faster EMA used inside the cloud
MAD Length: Median distance length
ATR Length: ATR distance length
Band Multiplier: Scales adaptive bands
Impulse Threshold: Minimum normalized displacement for a fresh impulse
Memory Half Window: Controls decay speed
Rail Visibility: Bars a rail remains eligible for retests
Heat Candles: Enables candle coloring
Dashboard: Shows or hides the top-right dashboard
Rail Labels: Shows active bull and bear rail labels
Buy/Sell Signals: Shows confirmed continuation signal labels
Palette: Selects the local JOAT color preset
Dashboard: Shows the panel
Palette: Selects color pair
How to Use This Indicator
Step 1: Read the Memory State
The dashboard state shows whether the script is tracking bull memory, bear memory, or resetting.
Step 2: Watch Fresh Impulse Events
Fresh impulse alerts show that displacement exceeded the configured threshold in the direction of the trend basis.
Step 3: Use Retest Rails
Rails act as reference levels after impulse. A retest is most meaningful when the dashboard memory state still agrees with the rail direction.
Indicator Limitations
Impulse detection is sensitive to the selected source and threshold
Very low volatility can make normalized movement appear larger
A rail retest is contextual and does not define risk by itself
The memory model fades old impulses; it does not predict the next impulse
Originality Statement
Impulse Memory Engine is original in its use of robust distance normalization, exponential impulse decay, adaptive bands, and retest rails in one compact overlay. It is built with original Pine v6 logic and public mathematical functions.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Impulse readings can fail during choppy markets or sudden volatility shifts. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
Indicator

Fusion EMA Trend Trade PlannerFusion EMA Trend Trade Planner
Back to basics.
This tool was built for traders who want a cleaner way to read trend direction, avoid messy chop, and plan risk before entering a trade.
Instead of filling the chart with separate tools for trend, confirmation, filtering, and risk levels, this script combines those steps into one simple workflow.
The goal is not to predict the future.
The goal is to answer four basic questions:
• Is the market trending?
• Is the trend clean or messy?
• Does the broader context support the move?
• Where would entry, stop loss, and take profit levels sit?
━━━━━━━━━━━━━━━━━━━━
🔹 Core Idea
━━━━━━━━━━━━━━━━━━━━
Fusion EMA Trend Trade Planner is built around a simple trend-following process:
1. Find clean EMA structure.
2. Check the 21-period Basis Cloud.
3. Use optional filters if extra confirmation is wanted.
4. Plot a simple risk/reward trade plan.
5. Watch for trend deterioration.
━━━━━━━━━━━━━━━━━━━━
🔹 Fusion EMA Structure
━━━━━━━━━━━━━━━━━━━━
The main trend engine uses four exponential moving averages.
A bullish trend is shown when the EMAs are stacked cleanly:
Fast EMA > Medium EMA > Slow EMA > Anchor EMA
A bearish trend is shown when the EMAs are stacked the opposite way:
Fast EMA < Medium EMA < Slow EMA < Anchor EMA
This is different from a basic two-line crossover.
A single moving average can show direction, but a stacked EMA structure can show both direction and trend quality.
When the EMAs are separated and aligned, the trend structure is cleaner.
When the EMAs compress or cross, the market may be losing structure.
When the structure is mixed, candles can turn grey. This is a visual warning that the trend is no longer clean.
━━━━━━━━━━━━━━━━━━━━
🔹 Fusion Ribbon
━━━━━━━━━━━━━━━━━━━━
The ribbon shows the relationship between the four EMAs.
When the ribbon is clean and expanded, trend structure is stronger.
When the ribbon compresses or turns grey, the market may be entering chop, transition, or weak trend conditions.
This makes it easier for newer traders to visually separate:
• Clean trend
• Weak trend
• Choppy market
━━━━━━━━━━━━━━━━━━━━
🔹 21-Period Basis Cloud
━━━━━━━━━━━━━━━━━━━━
The Basis Cloud is built around a smoothed 21-period basis average.
The number 21 was chosen because it is a Fibonacci number commonly used by trend traders as an intermediate market rhythm.
The cloud also uses a shorter reference average to create a layered visual zone around the basis.
The Basis Cloud is not designed as a simple crossover signal.
Its job is to act as a directional context layer.
In simple terms:
• Green cloud = basis direction is rising
• Red cloud = basis direction is falling
The Fusion EMA Structure and Basis Cloud are calculated separately.
This means traders can compare two different views of the market:
• EMA trend structure
• 21-period basis direction
When both agree, the setup has cleaner directional context.
When they disagree, conditions may be weaker or less clear.
━━━━━━━━━━━━━━━━━━━━
🔹 Higher Timeframe Filter
━━━━━━━━━━━━━━━━━━━━
An optional higher timeframe Fusion EMA can be used for extra context.
This helps traders avoid taking setups that go directly against broader trend structure.
For example:
• Current chart is bullish
• Higher timeframe is also bullish
• Setup has better alignment
This does not guarantee success, but it helps keep trades in line with the bigger picture.
━━━━━━━━━━━━━━━━━━━━
🔹 Optional Quality Filter
━━━━━━━━━━━━━━━━━━━━
The script includes an optional Quality Filter for traders who prefer additional confirmation.
By default, the indicator focuses on Fusion EMA Structure, Basis Cloud direction, and Trade Planning.
For traders who want a more selective approach, the Quality Filter can be enabled to evaluate:
• EMA ribbon expansion
• Price position relative to the Basis Cloud
• Higher timeframe agreement
• ADX trend strength
The filter is not intended to predict win rates or assign confidence scores.
Its purpose is simply to reduce participation during weaker trend conditions.
Many traders may prefer to leave the filter disabled and use Fusion EMA Structure and Basis Cloud alignment alone.
━━━━━━━━━━━━━━━━━━━━
🔹 Trade Planner
━━━━━━━━━━━━━━━━━━━━
When a valid setup appears, the script can draw a full trade plan:
• Entry
• Stop Loss
• TP1
• TP2
• TP3
Stop loss can be calculated using:
• ATR-based stop
• Percentage-based stop
Take-profit levels are based on adjustable risk/reward values.
This helps traders see the risk before entering instead of chasing candles blindly.
The Trade Planner is a visual planning tool only. It does not place trades automatically.
━━━━━━━━━━━━━━━━━━━━
🔹 Grey Exit Marker
━━━━━━━━━━━━━━━━━━━━
If a trade is active and the EMA structure turns grey, the script can print a small X marker.
This means the original clean trend structure has weakened.
It does not mean price must reverse.
It simply means the condition that created the trade setup is no longer clean.
━━━━━━━━━━━━━━━━━━━━
🔹 Suggested Workflow
━━━━━━━━━━━━━━━━━━━━
For a bullish setup:
1. Wait for green candle structure.
2. Check that the ribbon is clean.
3. Check that price is above the Basis Cloud.
4. Use the optional Quality Filter if you want extra confirmation.
5. Use the Trade Planner to review entry, stop loss, and targets.
6. Watch for grey candles or exit markers.
For a bearish setup:
1. Wait for red candle structure.
2. Check that the ribbon is clean.
3. Check that price is below the Basis Cloud.
4. Use the optional Quality Filter if you want extra confirmation.
5. Use the Trade Planner to review entry, stop loss, and targets.
6. Watch for grey candles or exit markers.
━━━━━━━━━━━━━━━━━━━━
🔹 Originality
━━━━━━━━━━━━━━━━━━━━
This script was designed as a complete trend-following workflow, not as a random collection of indicators.
The goal of this script was not to merge unrelated indicators into a single chart.
Each component was selected to perform a specific role within the workflow:
• Fusion EMA Structure identifies trend alignment.
• Fusion Ribbon visualizes trend quality.
• 21-Period Basis Cloud provides directional context.
• Optional Quality Filter helps reduce participation during weaker conditions.
• Trade Planner converts trend conditions into predefined risk levels.
• Grey Exit Marker highlights trend deterioration.
Together, these components form a single trend-analysis and trade-planning process rather than functioning as separate standalone indicators.
The purpose is to move from trend reading to trade planning in one clean process.
━━━━━━━━━━━━━━━━━━━━
🔹 Important Notes
━━━━━━━━━━━━━━━━━━━━
This indicator does not:
• Predict future price movement
• Guarantee profitable trades
• Estimate win probability
• Replace risk management
• Call every top or bottom
It is designed to help traders identify cleaner trend conditions and plan trades more consistently.
Simple idea:
Find the trend.
Check the structure.
Plan the risk.
Do not chase messy candles. Indicator

EMA Horizon█ OVERVIEW
The EMA Horizon indicator offers a modern, structural upgrade to the classic Exponential Moving Average. While standard EMAs are indispensable tools for trend identification, they inherently suffer from "live candle blindness" —flickering wildly on the current unclosed bar and causing traders to miss critical intraday touches or fall into false breakout traps.
EMA Horizon solves this by calculating an immediate forward-looking volatility corridor based on the asset's actual physical extremes (High/Low), anchored tightly to its closing history. It provides an unchanging, reliable boundary range for the current candle asset space, allowing traders to see exactly where the EMA would be pushed under extreme conditions.
---
█ THE PROBLEM WITH STANDARD EMAs
A standard EMA updates continuously based on the live ticking close . During highly volatile periods, the indicator line bends and flexes dramatically inside the current bar. This real-time distortion creates two major issues:
The Flicker Trap: Price can spike out of an EMA zone and snap back before the candle closes, leaving no historical trace of the breach and causing missed execution opportunities.
Lagging Boundaries: Standard bands (like envelopes or Keltner channels) look backward at historical averages. They fail to tell you how a single massive, aggressive live expansion bar will mathematically impact the underlying moving average trend line right now.
---
█ THE SOLUTION & MECHANICAL EDGE
EMA Horizon does not simply calculate an EMA of all Highs or all Lows (which smoothly degrades accuracy over time). Instead, it preserves the integrity of pure historical closing prices up to the immediate moment.
From that clean historical baseline, it executes a "one-off" look-ahead calculation: it processes the current candle's High and Low as if they were the immediate next closing prices .
The High Band shows the ultimate ceiling the EMA could reach on the next step.
The Low Band shows the absolute floor the EMA could drop to on the next step.
By utilizing the built-in Bands Offset parameter, you can shift this entire calculation forward across your timeline. When shifted, the boundaries sitting under your live candle are locked—derived entirely from the previous candle's completed structure. This eliminates real-time repainting and gives you an unshakeable roadmap for price interaction.
---
█ FEATURES
Pure History Anchoring: The base EMA line relies strictly on closing prices, ensuring your core trend logic remains untainted by extreme wicks.
Next-Bar Step Simulation: Dynamically maps out the mathematical limits of the moving average based on immediate price expansion boundaries.
Global Visual Alignment: The script features a unique global offset parameter that shifts both the baseline EMA and its projection bands uniformly. This completely avoids visual distortion and allows you to perfectly map historical structures without losing physical perspective.
---
█ HOW TO USE
Add to Chart: Search for "EMA Horizon" in your PulseWire indicator panel and apply it.
Configure your Length: Adjust the Length input to match your primary trend tracking asset class (e.g., 9 for short-term momentum, 21 or 50 for structural trends).
Set your Offset Look:
Set Bands Offset to 0 to observe the real-time maximum range expansion matching the current candle's high/low.
Set Bands Offset to 1 to push the indicator one bar to the right. This allows you to track how the current live asset price responds to the locked, unchangeable projection generated by the previous closed bar.
Identify True Deviations: Watch for instances where a candle aggressively drives through the green horizon cloud. If the asset price slices cleanly past the projected bands, it indicates an exhaustion phase or an institutional velocity breakout that goes beyond standard mathematical trend boundaries.
Indicator

Trend Flip Risk MapTrend Flip Risk Map - PulseWire Publishing Description
Short description:
Trend Flip Risk Map is a Pine v6 regime-transition study that turns selected compression-release flips into structured risk maps. It combines EMA-spread compression, directional pressure, release scoring, structure-based invalidation, retest tracking, and staged R-multiple targets.
Full description:
Trend Flip Risk Map is built for studying one specific market behaviour: a compressed trend regime beginning to release into a new directional phase. It is not intended to mark every moving-average crossover. The crossover is only the initial trigger. A signal is accepted only when the surrounding compression, candle participation, spread slope, and directional pressure conditions support the idea that the market may be leaving a low-separation regime.
The script’s purpose is to turn a possible trend flip into a complete review map. Instead of showing only a BUY or SELL label, it draws the active transition zone, the signal reference, a structure-aware stop, an early flip-failure line, three R-multiple target references, and a short retest window. This helps users review the full shape of the setup: where the regime changed, where the idea begins to weaken, where it is invalidated, and whether the first pullback into the transition zone holds.
Core idea:
A plain EMA crossover can occur in strong expansion, during compression, or inside meaningless chop. Trend Flip Risk Map tries to separate those situations by measuring the relationship between EMA separation and volatility. The script normalises the distance between the fast EMA and slow EMA by ATR. When that normalised spread remains below the selected threshold, the market is treated as compressed. A later flip is more meaningful when it appears after that compression and begins to expand with directional pressure.
How the regime engine works:
1. The fast EMA and slow EMA define the baseline regime.
2. The absolute distance between those EMAs is divided by ATR to create a volatility-normalised spread reading.
3. If the spread is below the compression threshold, the script treats the market as being in a compressed phase.
4. The script counts how many bars the market has spent in that compressed phase.
5. A flip can qualify only when the fast EMA crosses the slow EMA and the selected compression-release conditions are satisfied.
Directional pressure filter:
The script uses a pressure stack to avoid accepting weak flips by default. For bullish releases, price should be above the fast EMA, the fast EMA should be above the slow EMA, the EMA spread slope should be positive, and the signal candle should close in the upper part of its range. For bearish releases, the same checks are inverted. This makes the marker more selective than a basic crossover label.
Candle participation filter:
The signal candle body is measured relative to ATR. This prevents very small candles from being treated the same as larger transition candles. Users can raise or lower the minimum body-to-ATR input depending on whether they want fewer, stronger releases or more exploratory signals.
Release score:
Each accepted flip receives a release score. The score is a relative context score, not a prediction. It combines:
- How long the market spent in compression
- How much the EMA spread is expanding relative to its baseline
- How large the signal candle body is compared with ATR
- How strongly the EMA spread is sloping in the new direction
The score is useful for comparing different releases on the same symbol and timeframe under the same settings. It should not be read as a win probability or performance forecast.
Structure-aware risk map:
When a qualifying BUY or SELL release appears, the script creates a risk map from the signal candle. The Entry reference is the signal candle close. The stop can be based on recent swing structure with an ATR buffer. For bullish releases, the structure stop references recent lows. For bearish releases, it references recent highs. If that structure stop would not make sense relative to the entry, the script falls back to an ATR-based stop.
The Entry-to-Stop distance defines one unit of risk. TP1, TP2, and TP3 are then projected as configurable R-multiples from that distance. This keeps the ladder tied to the actual invalidation distance rather than drawing arbitrary target lines.
Flip-failure line:
The script also draws a separate FLIP FAIL line around the EMA midline with an ATR band. This is not the same as the full stop. It is an earlier regime-quality warning level. The idea is that a new trend regime can start to lose quality before the full structure stop is reached. This line gives users a visual reference for where the transition thesis begins to weaken.
Retest zone:
After a qualifying release, the script creates a temporary retest zone around the EMA midline. If price returns to that zone and holds in the direction of the active flip within the selected watch window, a RETEST HELD label is printed. This helps users study whether a release continues immediately, fails quickly, or first retests the transition area before continuation.
Dashboard:
The dashboard summarises the current state of the model. It shows whether there is an active bull or bear flip, whether the market is currently in compression or expansion, the current EMA spread relative to ATR, the current candle body relative to ATR, and the latest release score. The dashboard is designed to make the script easier to understand without needing to inspect every input or calculation manually.
Visual elements:
- Fast EMA: short-term regime reference
- Slow EMA: longer regime reference
- EMA midline: centre of the transition zone
- Compression box: recent low-separation area before release
- BUY / SELL release label: accepted directional transition after filters
- Release score: relative strength of the accepted transition
- Entry line: signal candle close
- STRUCT SL line: structure-aware invalidation reference
- FLIP FAIL line: earlier regime-quality warning level
- TP1 / TP2 / TP3 lines: R-multiple target references
- Retest zone: temporary zone used to study the first pullback after release
- RETEST HELD label: retest zone held during the watch window
- Dashboard: live regime and filter context
How to use it:
1. Add the indicator to a clean chart.
2. Use a liquid market and a timeframe where trend transitions are readable.
3. Look for releases that occur after visible compression, not random sideways crossover noise.
4. Review the release score in relation to other signals on the same chart.
5. Check whether the Entry, FLIP FAIL, STRUCT SL, and TP levels make sense against nearby structure.
6. Watch whether price retests the transition zone and holds during the retest window.
7. Adjust the compression threshold, required compression bars, EMA lengths, structure lookback, stop buffer, and R-multiple targets for the market being studied.
8. Forward-test settings before using them in any decision process.
Suggested chart setup:
15-minute and 30-minute charts usually provide cleaner examples because they show compression, release, retest, and continuation without excessive low-timeframe noise. One-hour charts can work well for broader swing review. Very small timeframes may produce more signals but can make the chart harder to interpret.
Important limitations:
Trend Flip Risk Map does not forecast price movement. It does not know whether a release will continue or fail. It can still produce poor signals during rotational, illiquid, or news-driven conditions. The release score is only a relative study metric under the selected settings. It is not a probability model, performance estimate, or recommendation.
Educational-use notice:
This script is for educational, research, and chart-planning purposes only. BUY and SELL labels, release scores, Entry levels, Stop Loss levels, flip-failure levels, retest markers, and target levels are visual study references. They are not financial advice, trade recommendations, or guarantees of future performance. Each user is responsible for testing settings on their own symbol, timeframe, and risk model.
Indicator

Indicator

Trend Flip Risk MapTrend Flip Risk Map
Short description:
Trend Flip Risk Map is a structured trend-transition and risk-planning overlay that marks EMA regime flips with BUY/SELL planning labels, then projects an ATR-based Entry, Stop Loss, and TP1/TP2/TP3 ladder directly on the chart.
Full description:
Trend Flip Risk Map is a Trade Manager-style research indicator designed to make trend-transition areas easier to study, validate, and publish cleanly on PulseWire. The script focuses on the moment when a faster EMA crosses above or below a slower EMA, then converts that trend flip into a clear visual risk map instead of leaving the trader to mentally estimate entry, invalidation, and profit-taking zones.
When the fast EMA flips above the slow EMA, the indicator can print a BUY planning marker. When the fast EMA flips below the slow EMA, it can print a SELL planning marker. Each marker is paired with a fresh trade-planning ladder that includes an Entry reference, an ATR-based Stop Loss, and three configurable R-multiple targets: TP1, TP2, and TP3.
The goal is not to predict every market turn. The goal is to create a cleaner decision map around confirmed trend changes so a trader can quickly see:
- Where the trend-transition signal occurred
- Which side of the market the EMA regime currently favours
- Where the entry reference sits relative to price
- Where the idea is visually invalidated by the Stop Loss level
- Where staged target zones would appear if the move continues
- Whether the available reward profile is worth further review before any trade decision
Core visual elements:
- Fast EMA and slow EMA regime map
- BUY labels on bullish EMA trend flips
- SELL labels on bearish EMA trend flips
- ATR-based Stop Loss projection
- Entry reference line
- TP1, TP2, and TP3 R-multiple target ladder
- Trend-coloured candles to show the active EMA bias
- Right-side price labels for Entry, SL, TP1, TP2, and TP3
- Alert conditions for bullish and bearish planning markers
How it works:
The indicator uses a fast EMA and a slow EMA to define the active trend regime. A bullish flip occurs when the fast EMA crosses above the slow EMA. A bearish flip occurs when the fast EMA crosses below the slow EMA. On each new flip, the prior ladder is cleared and a new risk map is drawn from the latest signal area.
The Stop Loss is calculated using ATR, which allows the risk zone to expand or contract with current market volatility. The take-profit levels are then projected from the distance between Entry and Stop Loss, using configurable R-multiple inputs. This keeps the visual structure consistent across different symbols, price ranges, and volatility conditions.
Suggested use cases:
- Studying clean trend-transition zones after EMA regime changes
- Building publication screenshots with a complete BUY/SELL + TP/SL path
- Reviewing whether a trend flip has enough room before nearby structure
- Comparing signals across intraday futures, indexes, stocks, crypto, or forex charts
- Forward-validating a simple trend-following planning model before developing stricter rules
- Creating a consistent visual framework for entry, invalidation, and staged target discussion
Suggested chart setup:
For publishing, 15-minute or 30-minute charts usually give the cleanest balance between readable trend structure and enough signal detail. For broader swing review, 1-hour charts may be cleaner. Very low timeframes can create more frequent flips and may make screenshots look crowded, so use them only when the purpose is short-term scalping review.
Recommended markets and timeframes:
- NQ / ES: 15m or 30m for intraday trend-transition examples
- Major index ETFs: 30m or 1h for cleaner directional examples
- Liquid large-cap stocks: 30m or 1h
- Crypto majors: 30m, 1h, or 4h depending on volatility
Input controls:
- Fast EMA length
- Slow EMA length
- ATR length
- Stop Loss ATR multiplier
- TP1 R-multiple
- TP2 R-multiple
- TP3 R-multiple
- Confirm on close toggle
- BUY, SELL, TP, SL, and Entry colours
Reading the indicator:
A BUY marker means the fast EMA has flipped above the slow EMA under the selected settings. A SELL marker means the fast EMA has flipped below the slow EMA under the selected settings. The Entry line shows the reference price used when the marker was created. The SL line shows the ATR-based invalidation area. TP1, TP2, and TP3 show staged target references based on the configured R-multiple values.
Because the ladder is redrawn at each new flip, the chart stays focused on the most recent active trend-transition map rather than accumulating old levels across the full chart.
What makes this useful:
Many trend-following tools stop at a signal label or a moving-average crossover. Trend Flip Risk Map adds the missing planning layer: where the idea starts, where it fails, and where staged targets would be located if the move extends. That makes the signal easier to review visually, easier to screenshot for educational publishing, and easier to forward-test with consistent rules.
Best practices:
- Use the indicator as a planning and research overlay, not as a standalone trading system
- Review signal quality in context with market structure, session timing, liquidity, and higher-timeframe trend
- Adjust ATR and R-multiple settings to match the symbol and timeframe being studied
- Avoid using very small stop settings on volatile markets without additional validation
- Forward-test settings before relying on them for any decision-making process
- Use clean screenshots with only a few strong examples visible when publishing
Important disclaimer:
This script is provided for educational, research, and chart-planning purposes only. BUY/SELL markers, Entry levels, Stop Loss levels, and TP levels are visual planning references, not financial advice, trade recommendations, or promises of future performance. The script does not predict market direction, guarantee profitability, or replace independent risk management. Markets involve risk, and all settings should be tested on your own symbol, timeframe, and risk model before relying on any output.
Indicator

V-AEMA VMR [LB]Concept
The V-AEMA VMR (Volume-Adaptive Exponential Moving Average with Volatility-Modulated Regime) is a hybrid trend-following indicator that combines an EMA baseline with a volatility-based drift component. It produces a dynamic core line whose colour reflects the trend regime, surrounded by two levels of adaptive bands that expand or contract based on volume intensity. The indicator generates directional entry signals when price breaks the first band in the direction of the trend, and projects take-profit zones when price fully exits both bands.
Mathematical Foundation
The core line (Hybrid Line) is a weighted blend of a standard EMA and a volatility-shifted version of that same EMA :
HybridLine = EMA * W + (EMA + Drift) * (1 - W)
where the drift is derived from the Z-Score of price relative to the EMA, scaled by ATR :
Drift = Z_Score * ATR * 0.35
Z_Score = (Price - EMA) / StdDev(Price, L_vola)
Band width starts from a base volatility measure combining standard deviation and ATR :
BaseWidth = StdDev * 0.65 + ATR * 0.35
This base is then adjusted by a volume ratio and user-defined multipliers :
UpperWidth = BaseWidth * (BaseUpMult + (VolRatio - 1) * VolImpactUp)
LowerWidth = BaseWidth * (BaseDnMult + (VolRatio - 1) * VolImpactDn)
where VolRatio = min(max(Volume / SMA(Volume, L_vol), 0.35), 2.50) .
Two band levels are generated : Band 1 at HybridLine +/- Width, and Band 2 (extreme) at HybridLine +/- Width * 1.55 (upper) / 1.40 (lower).
What Problem Does It Solve ?
Conventional envelope indicators (Bollinger Bands, Keltner Channels) apply fixed multipliers to a single volatility metric and ignore volume dynamics. The V-AEMA VMR adapts its band width to both volatility and volume surges, producing wider bands during high-participation moves and narrower bands during quiet periods. The hybrid core line reduces pure EMA lag by incorporating a volatility offset, while the dual-band structure filters signals by strength : a break of Band 1 triggers an entry, while a break of Band 2 confirms an explosive move and projects a take-profit zone.
How To Interpret
Core line colour – cyan/green indicates the hybrid line is rising (bull regime) ; magenta/red indicates it is falling (bear regime).
Cloud and bands – the area between Band 1 and Band 2 forms a halo that thickens when volume expands. Narrow bands suggest low conviction or consolidation.
Entry signals – a triangle appears below the bar when price crosses above Upper Band 1 while the hybrid line is rising (long). A triangle appears above the bar when price crosses below Lower Band 1 while the hybrid line is falling (short). These signals are confirmed by the trend direction.
Take-profit zones – when the entire bar (high and low for shorts, low and high for longs) clears the extreme band (Band 2) in the direction of the signal, a coloured box is projected forward. The box represents a potential target zone based on the breakout amplitude and ATR, scaled by the TP Factor.
Info panel – displays the current regime (BULL/BEAR), the volume ratio (values above 1.0 indicate above-average participation), and the current upper/lower deviation values in price units.
Parameters
EMA Length – period of the base exponential moving average (default 55).
Volatility Length – period for the standard deviation used in the Z-Score calculation (default 34).
Volume Length – period for the volume moving average used in the volume ratio (default 34).
EMA Weight – blend ratio between the pure EMA and the volatility-drifted version. Higher values produce a smoother line ; lower values make it more reactive to volatility (default 0.80).
Upper Base Deviation – core multiplier for the upper band width before volume adjustment (default 1.55).
Lower Base Deviation – core multiplier for the lower band width before volume adjustment (default 1.05).
Volume Impact Upper/Lower – sensitivity of the upper and lower bands to the volume ratio. Higher values make bands expand more aggressively when volume surges (default 0.95 / 0.55).
ATR Length – period of the Average True Range used in band width and TP zone calculations (default 14).
Show Cloud – toggles the filled areas between bands.
Show Info Panel – toggles the real-time dashboard.
Show Signals – toggles the entry triangles.
Show TP Zones – toggles the take-profit projection boxes.
TP Projection Bars – how many bars forward the TP zone extends.
TP Factor – scales the height of the TP zone relative to the breakout range.
Max Historical TP Zones – limits the number of TP boxes kept on the chart.
Reference
This indicator is a proprietary design synthesising concepts from adaptive moving averages (Kaufman, Ehlers), volatility envelopes (Bollinger, Keltner), and volume-weighted band models. It does not correspond to a single academic publication. Indicator

Indicator

Indicator

Polar Auto Fibonacci Pro - [Rehan Khanani]Polar AutoFib Pro
Polar AutoFib Pro is a professional all-in-one trading indicator that combines two powerful systems into a single clean overlay—a trend-following buy/sell signal engine and an automatic Fibonacci retracement tool. No need to juggle multiple indicators; everything you need is right here on the chart.
─────────────────────────────
HOW IT WORKS
─────────────────────────────
This indicator runs two engines simultaneously:
Engine 1 — PolarEdge Signal System
Generates high-probability Buy and Sell signals by combining three confirmations:
1. EMA 200 — The primary trend filter. When the price is above the EMA, the system looks for Buy setups. When the price is below, it looks for Sell setups. This keeps you trading with the dominant trend at all times.
2. Supertrend — A dynamic volatility-based band that confirms trend direction. The green band confirms bullish momentum; the red band confirms bearish momentum.
3. RSI (Relative Strength Index) — Used as a momentum trigger. A BUY signal fires when RSI crosses up from the oversold zone (default 30). A SELL signal fires when RSI crosses down from the overbought zone (default 70).
All three conditions must align simultaneously—this triple-confirmation logic filters out weak and false signals.
Engine 2 — Auto Fibonacci Retracement
Automatically detects the most recent swing high and swing low using pivot point calculations, then draws the complete Fibonacci retracement grid in real time — no manual drawing required.
The indicator identifies whether the last major pivot was a high or a low, determines the swing direction, and plots all key levels accordingly. When a new swing forms, the levels update automatically.
─────────────────────────────
FIBONACCI LEVELS INCLUDED
─────────────────────────────
0 / 0.236 / 0.382 / 0.5 / 0.618 / 0.786 / 1
1.618 / 2.618 / 3.618 / 4.236
Each level is independently toggleable with its own color control. You can show values as decimals or as percentages. Labels can be positioned on the left or right side of the chart. Line extension can be set to Left, Right, or Both directions.
─────────────────────────────
KEY FEATURES
─────────────────────────────
- Triple-confirmation Buy/Sell signals (EMA + Supertrend + RSI)
- Automatic Fibonacci retracement — no manual drawing needed
- Real-time swing detection using pivot high/low logic
- Dynamic trend background (subtle green/red shading behind candles)
- 11 fully customizable Fibonacci levels with individual color pickers
- Toggle each Fib level on/off independently
- Show prices and/or level values on labels
- Labels position: Left or Right
- Line extension: Left, Right, or Both
- Reverse Fib direction toggle
- Works on all assets: Forex, Crypto, Commodities, Indices, Stocks
- Works on all timeframes
- 6 built-in alert conditions (see Alerts section below)
─────────────────────────────
SETTINGS GUIDE
─────────────────────────────
Group 1 — PolarEdge Signal Settings
- Trend Baseline EMA: Period for the main trend filter (default 200)
- RSI Length: RSI calculation period (default 14)
- RSI Overbought Level: Sell trigger threshold (default 70)
- RSI Oversold Level: Buy trigger threshold (default 30)
- Show EMA 200: Toggle the EMA line on/off
- Show Supertrend Bands: Toggle the Supertrend lines on/off
Group 2 — Auto Fibonacci Settings
- Pivot Depth: Number of bars to look back for swing detection (default 10). Lower = more sensitive, Higher = fewer but stronger pivots
- Reverse Fib Direction: Flips the Fib measurement direction
- Extend Left / Right: Controls how far Fib lines extend on the chart
- Show Prices: Displays exact price on each level label
- Show Level Values: Displays the Fib ratio on each level label
- Level Format: Choose between decimal values or percentage display
- Labels Position: Place labels on the Left or Right side
Group 3 — Fibonacci Levels
- Toggle each of the 11 levels individually
- Customize the value and color of every level
─────────────────────────────
ALERT CONDITIONS (6 Total)
─────────────────────────────
1. BUY Alert — fires on every confirmed Buy signal
2. SELL Alert — fires on every confirmed Sell signal
3. Any Signal — fires on either Buy or Sell
4. Fib 0.618 Cross — price crosses the Golden Ratio level
5. Fib 0.5 Cross — price crosses the midpoint level
6. Fib 0.382 Cross — price crosses the key retracement level
To activate: click the alarm clock icon on the indicator, select your desired condition, and set your notification method.
─────────────────────────────
HOW TO USE
─────────────────────────────
Step 1 — Identify trend direction using the EMA 200 and the background color. Green background means bullish bias; red background means bearish bias.
Step 2 — Watch for a BUY or SELL label to appear. This confirms all three conditions (EMA, Supertrend, RSI) have aligned.
Step 3 — Use the automatically drawn Fibonacci levels to plan your entry, stop loss, and take profit targets. Common setups: enter near the 0.382 or 0.5 retracement, target the 0 or -0.236 extension, stop below the 0.618 or 0.786 level.
Step 4 — Set alerts on your preferred Fibonacci levels to be notified when price reaches key zones.
─────────────────────────────
RECOMMENDED TIMEFRAMES
─────────────────────────────
- Scalping: 1m, 5m, 15m
- Intraday: 30m, 1H
- Swing Trading: 4H, Daily
- Position Trading: Weekly
The indicator adapts to any timeframe automatically.
─────────────────────────────
DISCLAIMER
─────────────────────────────
This indicator is a technical analysis tool designed to assist in identifying potential trading opportunities. It does not guarantee future results. Always apply proper risk management and conduct your own analysis before entering any trade. Past signal performance is not indicative of future results. Indicator
