MACD Dynamic Squeeze Pro [ZynAlgo]1. Technical Overview
ZynAlgo MACD Dynamic Squeeze Pro is a momentum-context indicator built from the traditional MACD concept. Instead of trying to pick tops and bottoms against the trend, it focuses on trend-following shakeouts, energy compression, and breakout confirmation after a squeeze phase.
2. Chart Reading & UI Guide
ZynAlgo Ribbon
The area between the MACD line and Signal line is filled with Green/Purple ribbon colors.
The ribbon helps traders quickly see which side currently has momentum control.
Use the ribbon as context for your own trading approach, not as a standalone entry trigger.
4-State Histogram
Neon Green highlights bullish acceleration.
Neon Purple highlights bearish acceleration.
Faded colors warn that momentum is losing strength or price may be stagnating.
Diamond Marker on Main Chart
The breakout context marker is plotted directly on the main price chart.
This reduces the need to constantly switch attention between the oscillator pane and price candles.
Treat the marker as a context alert that should be confirmed with your own entry method, risk plan, and market structure.
3. Zyn Explosion Logic
The Green/Purple diamond markers appear only when the indicator detects several conditions together:
Trend Filter: The MACD and Signal lines must both be above the Zero line for bullish trend context, or both below the Zero line for bearish trend context.
Squeeze Phase: The histogram compresses, showing that the market is consolidating or shaking out traders.
Explosion Phase: After the squeeze, MACD crosses the Signal line with enough timing alignment to suggest momentum expansion.
This is a context/analysis tool, not a signal generator. The marker identifies a possible momentum continuation area, but it does not execute trades or guarantee direction.
4. Settings Explanation
Momentum Average Length
Controls the period used to calculate the average volatility of the histogram.
This average becomes the baseline for detecting whether current momentum is compressed.
Squeeze Compression Ratio
Controls how tightly the histogram must compress before the market is considered to be in a squeeze phase.
For example, 0.5 means the current histogram column must compress to less than 50% of the average.
Lower values reduce marker frequency and make the squeeze requirement stricter.
Squeeze Valid Lookback
Defines how many bars after the squeeze phase the MACD cross can still qualify.
This helps reject late or off-beat crossover events.
5. Recommended Presets
Gold Breakout - XAUUSD 5m/15m
Squeeze Average Length: 20
Squeeze Compression Ratio: 0.4
Valid Lookback: 3
Useful when gold creates short-term shakeouts before starting a stronger trend move.
Crypto Trend Following - BTC/ETH 15m/1H
Squeeze Average Length: 30
Squeeze Compression Ratio: 0.5
Valid Lookback: 5
Useful when crypto spends longer periods in sideways consolidation before momentum expansion.
6. Best Practices & Limitations
Use this tool as momentum and squeeze context for your own framework.
Confirm any trade idea with price structure, session context, volatility, and risk planning.
A diamond marker is not an automatic buy or sell instruction.
This tool does not predict price movement.
You alone are responsible for your trading decisions.
No tool eliminates risk or guarantees results.
Indicator

Adaptive Momentum Oscillator (MTF Signal Framework)📖 Overview
The Adaptive Momentum Oscillator is a multi-layer analytical tool designed to evaluate market momentum through a combination of smoothed price deviation, signal averaging, and regime-based visualization.
Instead of relying on a single momentum calculation, the indicator builds a structured view of market behavior by separating:
underlying momentum pressure
signal smoothing
and trend regime states
This allows traders to interpret market conditions with reduced noise and clearer directional context.
⭐ Key Features
🔹 Multi-Layer Momentum Structure
The oscillator combines raw momentum movement with smoothed signal lines to separate short-term fluctuations from broader directional bias.
🔹 Signal Confirmation Logic
Buy and sell conditions are derived from structured momentum shifts rather than single threshold crossings, helping reduce premature signals in choppy conditions.
🔹 Trend Regime Visualization
The indicator highlights different market phases:
bullish expansion zones
bearish expansion zones
neutral or transition phases
This helps contextualize momentum behavior instead of treating all movement equally.
🔹 Histogram Momentum Tracking
The histogram represents the acceleration and deceleration of momentum, allowing traders to observe weakening or strengthening trends.
🔹 Dynamic Signal Behavior
Signals adapt to market conditions instead of using fixed static rules, improving responsiveness during volatility changes.
📊 How to Interpret
🟢 Buy Signal
Indicates that momentum has shifted upward and confirmation conditions are aligned with bullish pressure.
🔴 Sell Signal
Indicates that momentum has shifted downward and bearish pressure dominates recent structure.
📉 Histogram
Increasing bars = strengthening momentum
Decreasing bars = weakening momentum
Color shifts = regime transitions
🎯 Best Applications
Swing trading
Momentum confirmation
Trend filtering
Reversal detection
Market structure analysis
⚠️ Limitations
This indicator should not be used as a standalone trading system.
Momentum signals may lag during rapid reversals, and additional confirmation from price action or risk management is recommended.
💡 Originality
Unlike traditional oscillators such as MACD or RSI, this script is designed as a multi-layer momentum framework, where:
raw momentum
smoothed signal behavior
and regime classification
are combined into a unified structure.
The goal is not to generate isolated signals, but to provide a continuous model of market momentum behavior across different phases. Indicator

Citadel Microstructure Edge [JOAT]CITADEL MICROSTRUCTURE EDGE
A tribute to the high-frequency / market-making style of microstructure-edge extraction. Builds three orthogonal microstructure signals — tick imbalance (which side is aggressively crossing the tape), spread tightness (how thin the bid-ask is relative to its baseline), and micro momentum (the EMA-pair spread on the fastest timeframe) — then composes them into a single decaying edge value with an exponential half-life. When the edge crosses a configurable threshold and has sustained for N bars same-sign, a directional signal fires. Cooldown plus asymmetric lockout keep the signal stream institutional.
Three orthogonal components
Each component is computed independently and Z-normalised (optional for tick imbalance) for stationarity:
Tick Imbalance — LTF-reconstructed buy/sell tick classification. Output is the rolling imbalance bounded in ; optionally Z-normalised over a configurable window (default 60 bars) for cross-asset stationarity. The dominant input for fast / scalping reads.
Spread Tightness — (H − L) / C against its own EMA-smoothed baseline, Z-scored. Tight spread (low relative range) is constructive for whichever side momentum favours. The sign is borrowed from the micro-momentum factor.
Micro Momentum — EMA-fast minus EMA-slow on the tick-reconstructed flow, Z-scored. The directional engine.
Default weights (0.45 / 0.25 / 0.45) bias the read toward the two most-actionable components (tick imbalance + momentum), with spread tightness as confirmation. Optional auto-normalisation to sum=1.
Decaying edge with half-life ~ 3 bars
Microstructure edges decay quickly. The script does not just sum the three components per bar — it accumulates with decay :
edge_t = decay × edge_{t−1} + contribution_t
The default decay (0.78) gives the edge a half-life of approximately 3 bars — the standard market-making decay window. Older contributions fade out automatically; new contributions get incorporated immediately. This is the institutional way to track a fast signal without re-introducing flicker.
Sustained-edge signal logic
Edge Threshold (default 0.75) — minimum |edge| magnitude required to fire.
Sustained Edge (default 5 bars same sign) — the edge must have held its sign for N consecutive bars before a signal fires. This is the script's most important false-positive filter.
Cooldown (default 7 bars) — minimum bars between signals.
Asymmetric lockout (default ON) — an opposite-side signal CAN fire during cooldown. This means a quick flip from buy to sell remains responsive while consecutive same-side signals are suppressed.
Visual system
Edge histogram — projected at the top of the chart at a configurable percent of price (default 2% of price, 1.2% top padding). Histogram columns are coloured by edge sign with magnitude-proportional intensity. At a glance you see the edge's recent trajectory.
Buy / Sell labels with optional Unicode lightning glyph (toggleable to plain ">").
Slope-tinted micro ribbon — the micro fast / slow EMAs plotted with a translucent fill coloured by spread sign. Toggleable.
Subtle background shade by edge sign (off by default).
A locked Crimson Pulse palette: electric blue buy edge / lime-yellow sell edge / muted neutral on a deep crimson-black ground — the institutional HFT aesthetic.
Dashboard
9-row monospaced table positionable to any of nine corners. Surfaces:
Edge value with status (BUY / SELL / FLAT).
Tick imbalance value.
Spread tightness Z.
Micro momentum Z.
Sustained-edge counter (how many consecutive same-sign bars).
Last signal direction with bars-ago.
Decay setting and effective half-life.
Cooldown remaining.
Configuration: LTF, weights, threshold.
Alerts
Three alert conditions, each independently controllable:
Edge Buy
Edge Sell
Sustained Edge (N bars same sign) — the script's headline alert; fires before the signal does, useful as an early-warning notification.
{image]https://www.pulsewire.com/x/ybVYCAr3/
How to read it
Three reads, in order of conviction:
Sustained edge into a structural level — the highest-conviction read. The microstructure has been one-sided for N+ bars AND price is at a known S/R; the next move into the level usually breaks it.
Edge buy / sell with all three components agreeing — fast directional commitment. The dashboard's per-component rows tell you whether the read is dominated by tick imbalance (aggressive tape) or by micro momentum (sustained direction) or by spread tightness (regime-aware confirmation).
Edge above threshold but not sustained — early-warning state. Edge has crossed threshold but the sustained counter has not yet reached N. Watch the counter — if it ticks up bar-by-bar, the signal is forming; if it drops, the edge is decaying.
Suggested settings
Defaults (1m LTF, spread EMA 14 / Z 60, micro EMA 3/8 / Z 60, weights 0.45/0.25/0.45, edge threshold 0.75, sustain 5 bars, decay 0.78, cooldown 7 bars) are tuned for 5m–15m charts on liquid futures and crypto where microstructure has meaningful presence. For 1m scalping drop LTF to 15s (Premium required) and sustain to 3 bars. For HTF the script is not the right tool — microstructure edges decay too quickly to be meaningful on 1H+ timeframes.
Originality
The implementation — the three-component microstructure pipeline (tick imbalance + spread tightness + micro momentum), the LTF tick-rule reconstruction with optional Z-normalisation, the weighted-sum composition with auto-normalisation, the exponential-decay edge accumulator with configurable half-life, the sustained-edge counter and asymmetric-lockout signal logic, the price-anchored histogram render at the top of the chart, the slope-tinted micro ribbon, and the Crimson Pulse palette — is JOAT-original. No third-party code reused. The script is a tribute to Citadel-style market-making microstructure-edge extraction, not a direct replication of any proprietary Citadel code.
Limitations
Reconstructed tick direction is an inference — the tick rule is the accepted public-market proxy but is not a direct read of bid/ask. Sub-minute LTFs require a PulseWire Premium or Ultimate plan. Microstructure edges decay fast by design; on 1H+ timeframes the engine produces few signals — that is correct behaviour, not a bug.
—
-made with passion by jackofalltrades
Indicator

Market Microstructure Pulse [JOAT]MARKET MICROSTRUCTURE PULSE
A composite microstructure oscillator that fuses three lower-timeframe-reconstructed flow primitives into a single bounded pulse line — the tick imbalance, the aggressive ask/bid streak, and the single-bar massive imbalance event. The pulse tells you in one number whether buyers or sellers are currently dominant at the tape level, and whether that dominance is at warning or extreme intensity.
Lower-timeframe reconstruction
Real microstructure lives below the chart timeframe. The pulse engine pulls intrabar prints from a configurable LTF (default 1 minute; auto-mode picks ~1/20 of the chart TF) and classifies each tick via the standard tick rule. The classified ticks are then EMA-smoothed by a configurable pulse length (default 14) and optionally volume-weighted (default ON) so a heavy print contributes proportionally more to the read than a light one.
The output is a smoothed signed value bounded approximately in where:
+1 — all recent ticks were buy-classified.
−1 — all recent ticks were sell-classified.
0 — perfectly balanced flow.
Aggressive streak histograms
Two separate counters track consecutive same-side ticks — one for aggressive asks, one for aggressive bids. When a streak exceeds the Aggressive Streak Min threshold (default 5), it qualifies as institutional persistence. The two histograms are rendered as a colour-coded background to the pulse line so you can see at a glance which side has been running consecutively. EMA-smoothed for visual stability.
Massive imbalance event
A single-bar event: when one side's share of total bar volume exceeds imbalancePct (default 80%), a Massive Imbalance event fires. This is the script's strongest single-bar read — institutional decisiveness landing on the tape.
Two-tier threshold system
Pulse Warning — |pulse| above the warning threshold (default 0.50). Inner band, visual reference.
Pulse Extreme — |pulse| above the extreme threshold (default 0.70). Triggers the Pulse Extreme alert and tints the chart background.
A toggleable Aggression Flip Marker prints a glyph at the bar where the pulse sign actually flips — useful for catching the moment dominance rotates sides.
Visual system
Pulse line in the iridescent palette (magenta buy / cyan sell) with configurable width.
Aggressive streak histograms — two-sided coloured columns behind the pulse (transparency configurable).
Threshold levels at ±warning and ±extreme (toggleable).
Gradient fill from pulse line to zero, coloured by current sign (transparency configurable).
Background tint on extreme — magenta or cyan tint when |pulse| is above extreme threshold (transparency configurable).
Aggression flip markers at sign-change bars (toggleable).
A locked Iridescent palette (magenta buy aggression / cyan sell aggression / yellow extreme accent on pure black) gives the pane a distinctive cyberpunk-tape identity.
Dashboard
Monospaced 11-row table positionable to any of nine corners. Surfaces:
Current pulse value with sign.
Buy streak count and sell streak count.
Aggressive side dominance with bar age.
Last extreme event direction with bars-ago.
Last flip direction with bars-ago.
Last massive imbalance event with bars-ago.
LTF in use, volume-weighting flag, pulse EMA length.
Threshold values for warning and extreme.
Alerts
Three alert conditions, each independently controllable:
Pulse Extreme — fires when |pulse| crosses above extreme threshold.
Aggression Flip — fires when pulse sign flips (positive ↔ negative).
Massive Imbalance — fires when a single bar's directional share exceeds the imbalance threshold.
How to read it
Three reads, in order of conviction:
Massive Imbalance alert at a structural level — the highest-conviction single read. Institutional decisiveness landed on the tape at a known S/R; the next directional move is more conviction-aligned with the imbalance side.
Pulse Extreme + matching aggressive streak — sustained dominance. The pulse is decisively past its extreme threshold AND the streak histograms show consecutive same-side runs above the streak minimum. This is the regime where momentum tools have their largest edge.
Aggression Flip after extreme — exhaustion read. The pulse hit extreme then flipped sign; the institutional commitment that drove the extreme has just rotated. Often produces clean reversals.
Suggested settings
Defaults (1m LTF, pulse EMA 14, streak EMA 7, volume-weighted ON, ±0.50 / ±0.70 thresholds, 80% imbalance, 5-tick streak min) are tuned for 5m–15m charts on liquid futures and crypto. For lower-timeframe scalping, drop LTF to 15s or 30s (Premium plan required) and pulse EMA to 8. For HTF, set LTF auto-mode and raise streak min to 10. The volume-weighting is the recommended default — without it, equal-tick instruments dominate the read regardless of size.
Originality
The implementation — the LTF tick-rule reconstruction with optional volume weighting, the bounded pulse formulation, the dual aggressive-streak histograms with EMA smoothing, the two-tier (warning / extreme) threshold system, the single-bar massive-imbalance detector, the aggression-flip marker logic, the chart-overlay extreme tinting, and the iridescent dual-hue palette — is JOAT-original. No third-party code reused. The pulse is the original composite formulation.
Limitations
Reconstructed tick direction is an inference — the tick rule is the accepted public-market proxy but it is not a direct read of bid/ask volume. Sub-minute LTFs require a PulseWire Premium or Ultimate plan. The pulse is bounded approximately in but extreme volume-weighted reads can briefly exceed those bounds; this is intentional and not a bug. EMA smoothing introduces a small lag; turn pulse length to 1 to see the raw imbalance.
—
-made with passion by jackofalltrades
Indicator

Whale Absorption Profile [JOAT]WHALE ABSORPTION PROFILE
The flagship orderflow visual in the JOAT suite. A complete institutional-grade footprint dashboard — heatmap candle strips, horizontal volume profile, delta ladder, side histogram, POC/VAH/VAL lines, and whale / absorption / imbalance glyphs — all driven by the same underlying lower-timeframe-reconstructed intrabar data and rendered in a curated asthetics. Built to give you the entire auction picture in one indicator, on chart, without a dedicated orderflow platform.
Six visual layers, one engine
Every layer reads from the same intrabar data pipeline. The pipeline uses request.security_lower_tf at a configurable LTF (1m / 3m / 5m / 15m / 30m) to sample sub-bar prints, classifies each via the standard tick rule, then buckets the classified volume into a price-binned profile (configurable rows, default 50). Every layer below reads from those bins.
Heatmap candle strips — the body of each recent chart candle is overlaid with horizontal heat slices coloured along an absorption-intensity ramp (deep blue → indigo → violet → magenta → gold). At a glance you can see where, inside each bar, the auction happened.
Horizontal volume profile — a classic side profile of total volume per bin, rendered with split buy/sell colour so you can read which side dominated each price.
Delta ladder column — a vertical ladder of per-bin delta (buy − sell), positionable to any of nine corners on the chart. Drawn as a horizontal-going-left-to-right cell array so it never collides with the dashboard.
Side volume histogram — a compact buy/sell volume histogram aligned to the profile bins, for traders who want a second view of side-share that is not contaminated by total volume.
POC / VAH / VAL lines — the Point of Control, Value Area High, and Value Area Low computed from the profile and rendered as horizontal lines that extend right of the latest bar.
Whale / Absorption / Imbalance glyphs — three separate detection layers (described below) each render a distinct on-chart glyph at the bin where their condition fires.
A Lite Mode toggle disables the heaviest layers (heatmap strips + side histogram) for low-end machines or multi-indicator stacking.
Three orthogonal detection layers
Whale Print — a bin qualifies as a whale row when total bin volume is above a configurable percentile (default 95th of the bin distribution) and is above the whale-delta threshold (default 70%). Both gates: large and one-sided.
Absorption Zone — score = min(buy, sell) / (priceMovement + ε) . High when both sides traded heavily but price did not move — the classic limit-order-absorption signature. A bin qualifies when its absorption score exceeds the configurable percentile (default 90th).
Imbalance Spike — a bin qualifies when one side's volume is at least N× the other (default 3.0×). The standard footprint imbalance ratio.
These three are deliberately separate — a single price can be a whale row, an absorption zone, and an imbalance spike at once, in which case all three glyphs fire and you have a textbook stacked-signature read.
POC shift alert
The Point of Control's bar-to-bar bin-distance is tracked. When the POC jumps more than the configurable POC Shift: Bin Distance Trigger (default 2 bins) between consecutive bars, the POC Shift alert fires — the auction's value has rotated price levels, which is the most actionable single regime-change signal a profile produces.
Visual aesthetic
A locked institutional palette: cyan-teal bull (#5CF0D7), magenta bear (#FF4D75), and a signature absorption ramp — deep void → ultramarine → indigo → violet → magenta → gold — designed to read like a heat-mapped orderbook on a deep-space background (#02011A). The four multi-stop gradients drive heatmap, absorption, delta, and whale layers independently, so the chart never looks visually flat.
Dashboard
Monospaced table, positionable to any of nine corners, with row-fade gradient. Surfaces:
Current POC price + bin distance from previous POC.
VAH / VAL price levels.
Cumulative bar delta.
Whale print count, absorption zone count, imbalance spike count in the lookback.
Current row classifications for the active price (Whale / Absorption / Imbalance).
LTF in use and bin count.
Alerts
Four alert conditions, each independently controllable:
Whale Print
Absorption Zone
Imbalance Spike
POC Shift (bin distance > threshold)
How to read it
Three reads, in order of conviction:
Stacked detection at the same bin — when a bin fires Whale + Absorption + Imbalance simultaneously, the auction has experienced a complete event: large size, both sides traded heavily, and the side imbalance was extreme. These are the rarest and strongest reads the script produces.
POC Shift through a previous structural level — value migration. The auction's centre of gravity has just moved through your S/R; the rest of the session usually follows.
Heatmap candle strip + delta ladder agreement — when the heatmap concentration sits at the same price the delta ladder shows one-sided imbalance, the bar is institutionally meaningful regardless of the candle shape.
Suggested settings
Defaults (1m LTF, 50 bins, 40-bar lookback, 95th percentile gates) are tuned for 5m–15m on liquid futures and crypto. For 1m scalping, drop bins to 30 and lookback to 20 to keep the script responsive. For 1H+ HTF, raise lookback to 100 and bins to 60. Lite Mode is recommended when stacking with other heavy indicators.
Originality
The implementation — the unified intrabar pipeline that feeds six independent visual layers, the percentile-gated whale detector, the min(buy,sell) / priceMovement absorption score, the diagonal-imbalance row detector, the multi-stop absorption gradient (six-stop signature ramp), the configurable delta ladder with nine-corner positioning, the POC bin-distance shift detector, and the grade composite palette — is JOAT-original. No third-party code reused. The footprint vocabulary (POC, VAH/VAL, imbalance, absorption, whale) is public-domain auction-theory language; this implementation is purpose-built for Pine v6 with bar data only.
Limitations
Reconstructed intrabar data is an approximation — the tick rule is the accepted public-market inference but it is not a direct read of bid/ask. Sub-minute LTFs require a PulseWire Premium or Ultimate plan. The script renders many polylines, boxes, and labels — Pine's max_polylines_count / max_boxes_count / max_labels_count caps apply. Lite Mode exists specifically for low-spec / multi-indicator scenarios. POC, VAH, VAL, and detection layers are computed from confirmed intrabar data so they update on bar-by-bar close (non-repainting beyond the current developing bar).
—
-made with passion by jackofalltrades
Indicator

Boshmann's Volatility HistBoshmann's Volatility Hist
The theory behind tracking normalized volatility is that market movement is highly cyclical, constantly alternating between periods of tight contraction and explosive expansion. Using raw volatility measures (like a flat Average True Range value) is flawed because the meaning of those points changes drastically as an asset's price scales up or down over time. By applying a statistical Z-Score to the ATR, we normalize the volatility relative to the asset's own historical baseline, allowing traders to objectively identify when price action is anomalously quiet (predicting a breakout) or unsustainably aggressive (predicting exhaustion or mean-reversion).
How the Script Works: The script calculates a standard 14-period Average True Range (ATR) to measure current price movement. It then runs a 250-period lookback to compute the rolling mean and standard deviation of that ATR, ultimately calculating a real-time Z-Score. This Z-Score is plotted as an oscillating histogram below the chart. The script uses fixed thresholds to color the histogram bars: Green for "Quiet" (Z-score < -0.5), Yellow for "Normal" (Z-score between -0.5 and 0.5), and Red for "Volatile" (Z-score > 0.5). It also plots dotted threshold lines so you can instantly see when volatility crosses into extreme territory.
Why You Should Use It: This script is the final pillar of the Boshmann's suite, engineered to be used in strict combination with the Regime Counters and the Market Direction Hist .
While the Regime Counter gives you the structural trend and the Direction Hist gives you the momentum conviction, this Volatility Hist reveals the energy state of the market. You should use this indicator because knowing the market's speed dictates your risk management and strategy timing. For example, if you spot a long string of "Quiet" (green) volatility bars while the Regime Counter just flipped to Bullish, you have found an optimal, low-risk entry before an explosive breakout. Conversely, if you are riding a trend and this histogram spikes deep into the "Volatile" (red) zone, it serves as a mathematical warning that the market is overextended, signaling that you should tighten stops or take profits before the inevitable pullback. Indicator

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

Large Lot Reverse Engineer [JOAT]LARGE LOT REVERSE ENGINEER
A regression-driven block-trade detector that infers the implied size of an off-tape institutional order from the residual between price movement and volume — and turns that residual into an estimated lot count. The premise is straightforward: when a single large order moves price meaningfully more than the visible volume would justify, the gap is the size of the hidden order that absorbed the move. Large Lot Reverse Engineer models that relationship, flags the outliers, and estimates the size.
The core idea — what price movement is "worth"
In normal conditions there is a stable statistical relationship between volume and the magnitude of a bar's return. A rolling regression over a configurable window (default 60 bars) estimates expected volume as a function of return — i.e., for the move you just saw, how much volume should there have been?
The residual is the difference between actual and expected volume, Z-normalised by its own rolling stdev. Two signs of residual matter:
Implied block (residual Z ≥ +threshold) — more volume traded than the price move warrants. Someone large was on the passive side absorbing aggression. The direction of the bar tells you which side.
Thin market (residual Z ≤ −threshold) — price moved on suspiciously low volume. Liquidity was missing; the move was a low-conviction air-pocket.
Both reads are institutionally interesting. The first identifies absorbed-aggression — the textbook signature of an institutional block trade. The second identifies regimes where price prints are unreliable.
R² reliability gate
A regression is only meaningful when the underlying relationship is actually there. The script computes the rolling R² of the model and exposes a configurable minimum (default 0.10). When R² falls below the gate the model is considered unreliable; the dashboard cell turns warning-coloured and the script tags any signals fired in that regime as low-confidence. This is the difference between a real residual reading and a noise residual — a professional read forbids the same.
Significant block sizing
Three thresholds are stacked:
Implied Block Sigma (+) (default 2.0σ) — baseline implied-block trigger.
Thin Market Sigma (−) (default 2.0σ) — baseline thin-market trigger.
Significant Block Sigma (default 3.0σ) — above this the bar is rendered with a polygon glyph and gets an estimated lot-size badge . Empirical scaler converts residual-volume into a lot count.
The size unit is configurable: Shares/Coins for spot instruments, Notional USD for size in dollars (using a configurable price proxy), or Auto which picks based on instrument. The scaler is exposed because no single conversion factor is universally correct — calibrate to your instrument's typical notional.
Cluster detection
When N blocks fire inside a rolling window (configurable, default 3 in 5 bars) the Block Cluster alert fires. Cluster signals are the strongest read this script produces — they indicate sustained off-tape activity, not a single statistical outlier.
Visual system
Residual Z histogram — bars coloured bull/bear by direction, magnitude by residual.
Threshold lines at ±2 and ±3 with on/off toggle.
Zero line and significant-block polygon glyphs.
Thin-market dots in the muted palette.
Background recency fade — fresh blocks tint the background and decay to transparent over a configurable number of bars.
Cumulative implied delta (optional) — running sum of implied-block directional contributions, useful for reading sustained institutional bias.
A locked Carbon palette (neon green / neon red / white midline on carbon black) gives the pane an institutional terminal feel.
Dashboard
Monospaced table, positionable to any of nine corners, with a compact mode and optional legend footer. Surfaces:
Current residual Z value and sign.
R² value with reliability colour-coding (green / amber / red).
Last significant block direction with estimated lot size.
Block count and thin-market count in the recent window.
Cluster status with bars-since-last-cluster.
Cumulative implied delta (when enabled).
Alerts
Four alert conditions, each independently controllable:
Implied Buy Block (positive residual + up bar)
Implied Sell Block (positive residual + down bar)
Thin Market Event (negative residual)
Block Cluster (N-in-window)
How to read it
Three reads, in order of conviction:
Block Cluster + high R² — the highest-conviction read. Multiple statistically-significant blocks inside a window, with the underlying model reliable. Institutional flow is actively moving size.
Significant block (3σ+) at a known level — a single large polygon glyph at a key support/resistance is a textbook absorbed-print read. The lot-size badge gives you a magnitude proxy you can compare across bars.
Thin market warning — when the residual goes deeply negative, treat any move you see with extreme caution; the tape is hollow. Often precedes either a violent move once real flow returns or a fade back to fair value.
Suggested settings
Defaults (60-bar window, R² ≥ 0.10, ±2σ block, +3σ significant) are tuned for 5m–1H on liquid futures, FX, and large-cap equity. For lower timeframes drop the window to 30 and raise the sigma thresholds to 2.5σ / 3.5σ to filter noise. For daily and above, widen the window to 100+ and consider log returns for instruments with large price scales.
Originality
The implementation — the rolling return-vs-volume regression with R² gate, the residual-Z classifier with bidirectional thresholds, the empirical lot-size scaler with auto/notional unit switching, the polygon-glyph significant-block render, the thin-market dot variant, the N-in-window cluster trigger, the recency-fade background, and the cumulative implied delta — is JOAT-original. No third-party code reused. The "volume that should have been" inference pattern is well-known to institutional desks; the implementation here is purpose-built for chart-based bar data.
Limitations
Implied block size is an inference from residual statistics, not a direct read of off-tape trades. Pine cannot see actual block prints that occur away from the lit market; what the script flags is the visible footprint those prints leave behind. The lot-size badge depends on the empirical scaler, which must be calibrated per instrument — the default 1.0× is generic. The R² gate is the most important reliability filter; when R² is low, no signal in the model should be considered reliable, by construction.
-made with passion by jackofalltrades
Indicator

Volumetric Regression Heatmap [LuxAlgo]The Volumetric Regression Heatmap indicator is a sophisticated market analysis tool that combines dynamic linear regression with volume profile density to visualize fair value and liquidity zones. By projecting volume-weighted heatmaps within a trend-following channel, it allows traders to identify where the bulk of trading activity has occurred relative to the current price trajectory.
🔶 USAGE
The indicator provides a multi-layered view of market structure. The central heatmap shows the "hottest" areas of volume concentration, acting as a magnet for price, while the outer bands represent statistical extremes.
🔹 Mean Reversion Signals
The script includes a built-in signal system designed for sideways or "flat" markets. When the indicator detects a "Contraction" state (determined by the ratio of channel height to standard deviation), it plots small circles at the +2/-2 standard deviation levels.
Green Circles: Potential long opportunities when price crosses below the lower signal band during a flat market.
Red Circles: Potential short opportunities when price crosses above the upper signal band during a flat market.
🔹 Future Projections & Profile
The heatmap extends beyond the current bar, providing a "Future Projection" zone. This allows traders to anticipate where support and resistance levels will be in the coming sessions. To the right of the projection, a Bookmap-style volume profile histogram displays the total volume distribution, helping to identify high-volume nodes (HVN) and low-volume nodes (LVN) at a glance.
🔶 DETAILS
🔹 Dynamic Auto-Adjusting Period
Unlike standard regression channels that use a fixed lookback, this tool features an adaptive engine. It calculates the ratio between short-term and long-term volatility (ATR).
In high-volatility environments, the channel period shrinks to become more reactive.
In low-volatility or ranging environments, the period expands to capture a broader structural view.
🔹 Volumetric Delta Histograms
The script calculates the approximate buying and selling volume for every candle within the lookback period. This data is visualized as histograms extending from the outer bands:
Top Band (Green): Displays buying pressure delta.
Bottom Band (Red): Displays selling pressure delta.
This allows traders to see not just where price is, but the intensity of the volume driving it toward the channel extremes.
🔶 SETTINGS
🔹 Core Settings
Source: The price source used for the regression calculation.
Base Period: The anchor length for the regression fit.
Dynamic Auto-Adjusting Period: Enables/disables the volatility-based adaptive lookback.
🔹 Heatmap Settings
Grid Rows Each Side: Determines the vertical resolution of the heatmap bands.
Gradient Smoothing: Applies a smoothing algorithm to the volume distribution for a cleaner visual gradient.
Colors 1-5: Customizable colors ranging from low-volume areas to high-volume "hot" zones.
🔹 Mean Reversion Signals
Signal Band (SD Multiplier): The standard deviation level required to trigger a signal.
Flat Slope Threshold: Controls how "flat" the channel must be to allow signals to appear, preventing counter-trend signals in strong trending markets.
🔹 Delta Histograms
Histogram Height Scale: Adjusts the vertical magnitude of the delta bars.
Histogram Bar Width: Sets the thickness of the individual delta lines.
🔹 Style & Options
Future Projection Length: How many bars to project the heatmap into the future.
Show Volume Profile Histogram: Toggles the right-sided volume distribution boxes.
🔹 Dashboard
Dashboard: Toggles the on-screen analytics panel.
Position/Size: Adjusts the location and scale of the dashboard UI.
Indicator

Volume Flow MatrixVolume Flow Matrix is a relative volume histogram that helps identify how strong or weak current market participation is compared to recent volume activity.
The indicator measures current volume against a fixed 300-bar volume baseline. Instead of showing raw volume only, it converts volume into a relative reading. This makes it easier to see whether the current candle is trading below average volume, around normal activity, with increased participation, or at an unusually high volume level.
On historical candles, the calculation uses completed candle volume. On the live candle, the indicator uses realtime volume projection. This means the current candle’s volume is estimated based on how much time has passed in the candle. As a result, the histogram can react during the candle instead of only after the candle closes.
The histogram is divided into five volume conditions:
Dry Volume shows candles with weak participation. These bars appear when relative volume is below 0.75. Dry volume can be useful for spotting quiet market phases, low-interest candles, or areas where price is moving without strong volume support.
Default Volume represents normal volume conditions. These candles do not meet the requirements for dry, directional, or extreme volume. Default volume helps separate ordinary market activity from more important volume events.
Bull Volume appears when relative volume is elevated and the candle also shows bullish pressure. For a candle to qualify as Bull Volume, relative volume must be at least 1.55, the candle must close above its open, and the close must be positioned in the upper part of the candle range. This can help highlight candles where stronger participation supports upward pressure.
Bear Volume appears when relative volume is elevated and the candle shows bearish pressure. For a candle to qualify as Bear Volume, relative volume must be at least 1.55, the candle must close below its open, and the close must be positioned in the lower part of the candle range. This can help highlight candles where stronger participation supports downward pressure.
Extreme Volume marks unusually high relative volume at or above 2.30. These candles show that volume is significantly above the recent baseline. Extreme Volume does not automatically mean bullish or bearish continuation. It should be read together with price location, candle structure, support and resistance, liquidity zones, or the broader market context.
Each candle is assigned to only one volume condition. The script checks the conditions in a fixed order so the histogram remains clean and does not stack multiple volume types on the same bar.
How to use it:
Use Dry Volume to identify low-participation areas where price movement may be less reliable.
Use Bull Volume and Bear Volume to confirm whether directional candles are supported by stronger participation.
Use Extreme Volume to mark important high-activity candles that may appear near breakouts, liquidity grabs, absorption areas, reversals, or strong continuation moves.
Use Default Volume as the neutral background state between low-volume and high-volume conditions.
Volume Flow Matrix does not provide trade entries or exits by itself. It is designed to support analysis by making volume behavior easier to read. The strongest use case is combining it with price action, market structure, key levels, liquidity, trend context, or any existing trading plan.
Indicator

Momentum Vol Composite Pro [JOAT]MOMENTUM VOL COMPOSITE PRO
A four-factor composite oscillator that fuses momentum, volatility, volume-flow, and trend into a single Z-normalised line — then exposes per-factor weights, divergence detection, an ASCII gauge dashboard, and a slope-coloured composite MA. Built on the idea that no single oscillator tells you what the market is doing — but four orthogonal ones, properly normalised and weighted, can.
The four factors
Each factor is Z-normalised (subtract its own rolling mean, divide by its own rolling stdev) before being blended, so they all live on the same scale and a weight of "0.25" actually means "one-quarter share of the composite" regardless of the instrument:
ROC (Rate-of-Change) — the price-velocity factor. Captures pure directional momentum.
ATR (volatility) — the range-expansion factor. Rises when bars are getting larger; useful as a "the market is committing" signal.
Volume Flow — cumulative volume minus its own EMA. A proxy for net accumulation/distribution that is regime-aware (it normalises around its own trend).
EMA Difference — short EMA minus long EMA, the classic MACD-style trend factor.
The four Z-scores are weighted (sliders 0–4 each, default 0.25 each), sum-normalised internally so any positive configuration is valid, and combined into a single composite Z-line. An EMA smoother on top of the composite produces the slope-coloured Composite MA that drives Buy/Sell flips.
This is what "composite" should mean — orthogonal factors, weighted, on a common scale, with the weights exposed so the trader controls the personality.
Why per-factor weights matter
Default 0.25 / 0.25 / 0.25 / 0.25 reproduces the textbook equal-weight composite. But equal weights are an assumption , not a fact. If your instrument is volume-driven, raise VolFlow Weight. If your timeframe is dominated by trend, raise EMA Diff Weight. If you are scalping a noisy intraday environment, drop ROC Weight in favour of VolFlow. The composite reshapes itself live as you slide.
Signal engine
A Buy signal fires when the composite MA slopes up; a Sell fires when it slopes down. The composite line itself crosses the configurable threshold guides (default ±1 Z) to mark "extreme bull" and "extreme bear" states. A separate alert fires when |composite| crosses the Extreme threshold (default 2.0 Z) — the script's strongest read.
Divergence engine (JOAT enhancement)
A slope-comparison divergence runs in parallel: it compares the slope of the composite against the slope of price over a configurable lookback. Both slopes must exceed an epsilon to filter out flat-region noise, and a divergence cooldown spaces them out. Divergence labels can be forced onto the main chart pane via force_overlay so you can see them without flipping to the oscillator pane.
Histogram background
Faint columns plot the raw composite value behind the line — this is useful as a "before the slope flips" early read. You can see exhaustion building in the histogram before the slope-coloured MA actually turns.
ASCII gauge dashboard (JOAT enhancement)
A monospaced dashboard with a unique feature — each per-factor row shows both the numeric Z-value and an ASCII bar gauge ("|||||----" style) that renders the value visually inside the table cell. The gauge maps Z in the range linearly across N glyphs (configurable width), with a separator at the centre. At a glance you can see which factors are dominating without reading the numbers.
Dashboard rows:
Composite Z + bar gauge + status (extreme bull / bull / neutral / bear / extreme bear).
ROC Z + gauge.
ATR Z + gauge.
VolFlow Z + gauge.
EMA Diff Z + gauge.
Composite MA slope (Rising / Falling / Flat).
Last signal direction with bar age.
Divergence status with cooldown remaining.
Visual system
Slope-coloured composite MA (bull / bear by slope sign, configurable width).
Translucent composite line for context (transparency configurable, default matches the v5 source).
Threshold guide lines at ±1, zero line, and faint background histogram for exhaustion-before-flip reads.
Buy / Sell labels can be force-overlaid onto the main chart pane if desired.
A locked Emerald-Night palette (vivid green bull / vivid red bear / sage neutral on a midnight-forest ground) gives the pane a distinct identity.
Alerts
Five alert conditions:
Composite crossover above high threshold (default +1)
Composite crossunder below low threshold (default −1)
|Composite| crosses Extreme |Z| (default 2.0)
Bullish divergence detected
Bearish divergence detected
How to read it
Three reads, in order of conviction:
ASCII gauge agreement — when all four factor gauges point the same way, the composite is a high-conviction read. When they disagree, the composite is a wash.
Composite MA slope — once the smoothed line slope flips and price agrees, you have a clean signal.
Divergence + extreme |Z| — the rarest and strongest read. A divergence at a composite extreme tells you that one of the factors is rolling over while price is not, which is the textbook reversal setup.
The histogram is the leading indicator on the line — when it starts shrinking while price is still extending, the slope is about to flip.
Suggested settings
Defaults (ROC 14, ATR 14, VolFlow 20, ShortEMA 12, LongEMA 26) reproduce the classical configuration. For lower timeframes drop all lengths roughly proportionally. The per-factor weights are where the personality lives: pure trend-following bias → raise EMA Diff to 1.5, drop ATR to 0.1. Pure volatility-of-momentum bias → raise ROC and ATR, drop VolFlow.
Originality / what's reused
The factor primitives (ROC, ATR, EMA difference, cumulative volume flow) are public-domain. The Z-normalisation pipeline that puts them on a common scale, the sum-normalised per-factor weighting, the ASCII bar-gauge dashboard, the histogram-behind-line exhaustion view, the slope-coloured composite MA, and the divergence engine with epsilon filter are all JOAT-original and tuned together as a single oscillator. No third-party code reused.
Open source
Published open-source under the default Mozilla Public License 2.0. Sectioned source, tooltips on every input, helper functions documented inline. Each factor's Z-normalisation, the weighting pipeline, the gauge renderer, and the divergence detector are isolated modules — adapt any single one without reading the whole file.
Limitations
The composite is statistical in nature — it tells you how stretched the blend is, not which specific factor is driving the read. That is what the per-factor rows are for. The Z-normalisation needs enough history to be meaningful; on a fresh chart with little data the composite warms up to flat. Divergences are non-repainting but carry the natural lag of slope-over-window comparison.
—
-made with passion by jackofalltrades
Indicator

Stochastic Resonance Signal [JOAT]Stochastic Resonance Signal
Introduction
Stochastic Resonance Signal is an open-source indicator built on the physical principle of stochastic resonance — the counterintuitive phenomenon where a moderate level of random noise actually enhances the detection of weak periodic signals rather than degrading it. In trading terms: markets with low volatility noise may suppress trend signals, while a calibrated level of volatility noise can help reveal underlying directional structure.
This indicator computes a signal-to-noise score that normalizes a smoothed price derivative against ATR-based noise. The score peaks when a meaningful directional signal is present within a noise environment that is neither too quiet (which produces false flatness) nor too loud (which obscures the signal entirely).
Core Concepts
1. Signal Component
The raw signal is the smoothed rate of change of price — the first derivative of a filtered price series. An EMA is applied to close to produce a noise-reduced price, then the bar-to-bar difference of that EMA serves as the signal. Positive signal indicates upward momentum; negative indicates downward:
float emaPrice = ta.ema(close, i_signalLen)
float rawSignal = emaPrice - emaPrice
float normSig = rawSignal / (ta.stdev(rawSignal, i_normLen) + 0.0001)
The signal is normalized by its own rolling standard deviation, making it dimensionless and comparable across instruments.
2. Noise Component
Noise is defined as ATR normalized by its rolling standard deviation. This separates the volatility component from the directional component. When noise is very low, it contributes little penalty. When noise is very high, it heavily discounts the signal. The optimal noise range produces the highest SR score:
float noisePenalty = ta.stdev(atrVal, i_normLen) / (ta.sma(atrVal, i_normLen) + 0.0001)
float srScore = math.abs(normSig) / (1.0 + noisePenalty)
3. SR Score and Threshold
The final SR score combines signal strength divided by noise penalty. The score is plotted as a histogram and compared against a configurable threshold. When the score exceeds the threshold in the positive signal direction, a bullish event fires. When in the negative direction, a bearish event fires. Both require barstate.isconfirmed.
4. Regime Context
The indicator categorizes the current noise state as Low, Optimal, or High. The Optimal zone — where stochastic resonance theory predicts signal enhancement — is highlighted in the background. Signals fired during the Optimal noise zone are the primary intended use case.
Features
Normalized signal derivative: EMA-smoothed price rate of change, dimensionless
ATR noise penalty: Volatility normalized by its own distribution, not a fixed threshold
SR Score histogram: Visual representation of the signal-to-noise ratio each bar
Threshold crossover signals: Bull and bear signals when SR score exceeds the gate
Noise regime classification: Low, Optimal, and High noise zones labeled
Optimal zone background: Chart shading during the resonance-optimal noise window
Candle coloring: Candles tinted by current SR score direction and magnitude
Dashboard: Current SR score, signal value, noise level, and regime state
Alerts: Configurable bull and bear SR threshold crossing alerts
Input Parameters
Signal Engine:
Signal EMA Length: Smoothing for price derivative calculation (default: 10)
Normalization Length: Rolling window for z-score normalization (default: 50)
Noise Engine:
ATR Period: ATR length for noise estimation (default: 14)
Optimal Noise Low: Lower bound of optimal noise zone (default: 0.3)
Optimal Noise High: Upper bound of optimal noise zone (default: 0.8)
Signal Gate:
SR Score Threshold: Minimum SR score to fire a signal (default: 1.5)
How to Use This Indicator
Step 1: Identify the Noise Regime
Check whether the background shading is active (Optimal zone). Signals fired during optimal noise conditions have the theoretical backing of stochastic resonance theory behind them.
Step 2: Read the SR Score
A rising histogram above the threshold line in positive territory indicates a developing bullish signal. Crossing below the negative threshold indicates a bearish signal.
Step 3: Apply as a Momentum Filter
Use SR score direction to confirm or reject signals from other tools. An SR score rising strongly above its threshold while a support level holds adds conviction to a long setup.
Indicator Limitations
Stochastic resonance as a trading construct is a theoretical analogy, not a proven quantitative edge on its own
The optimal noise zone boundaries are heuristic; the true optimal noise level varies by instrument and timeframe
Normalization requires a minimum lookback before scores stabilize — expect less meaningful output in the first normLen bars
Originality Statement
The application of stochastic resonance theory to price signal detection — computing a signal-to-noise ratio using a normalized price derivative divided by an ATR noise penalty, with an explicit optimal noise zone classification — is an original analytical framing not found in existing published Pine Script indicators. This is not a standard oscillator; it is a physics-inspired signal processing approach adapted to price data.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. The stochastic resonance framework is a conceptual model and does not guarantee profitable signals. Trading involves substantial risk of loss.
-Made with passion by jackofalltrades
Indicator

Indicator

Orderflow Imbalance Pressure [JOAT]Orderflow Imbalance Pressure
Introduction
Orderflow Imbalance Pressure is an open-source indicator that estimates the imbalance between buying and selling pressure on each bar without access to real bid-ask data, derives a Z-score normalized delta oscillator from that estimate, tracks cumulative delta over the session, and detects structural divergences between price extremes and delta behavior at confirmed pivot points.
The core analytical insight is that when price reaches a new high while the cumulative buying pressure behind it is declining, the move is potentially unsupported — buyers are diminishing while the market is being pushed to new levels. Conversely, price making new lows while selling pressure contracts suggests exhaustion rather than conviction. These divergences are objectively measurable and provide leading context that price action alone does not.
Core Concepts
1. Delta Estimation from OHLC
True tick-level delta (bid volume minus ask volume) requires raw tick data. This indicator estimates it from bar data using the classic candle ratio method: buying pressure is proportional to how close the close is to the high, and selling pressure to how close it is to the low:
float buyVol = rng > 0.0 ? volume * (close - low) / rng : volume * 0.5
float sellVol = rng > 0.0 ? volume * (high - close) / rng : volume * 0.5
float delta = buyVol - sellVol
This is an approximation — not a substitute for real order flow data — but provides a directionally useful signal on instruments where tick data is unavailable.
2. Delta Z-Score Normalization
Raw delta varies in scale across instruments and volume conditions. The indicator normalizes delta by computing a rolling Z-score: the delta minus its period mean, divided by its period standard deviation. This produces a dimensionless oscillator centered at zero:
float deltaZ = deltaStd > 0.0 ? (delta - deltaMA) / deltaStd : 0.0
Extreme Z-score readings above +1.5 or below -1.5 indicate statistically significant delta imbalances relative to recent history.
3. Cumulative Delta
Delta values are accumulated across the session to track the net buying or selling bias since session open. The cumulative delta line is scaled and overlaid on the histogram for context. Session resets are configurable (None, Session, or Manual). The cumulative delta often reveals sustained institutional bias that individual bar delta obscures.
4. Imbalance Threshold Markers
When the delta ratio (delta divided by total volume) exceeds a configurable threshold (default 0.6 = 60% of volume in one direction), the bar is classified as an extreme imbalance. Triangle markers appear at these bars and the background is lightly tinted. Extreme imbalance bars often mark exhaustion points or momentum bursts.
5. Pivot-Confirmed Divergence Detection
Divergences are detected using confirmed structural pivots rather than rolling high/low lookbacks. A bullish divergence requires a confirmed pivot low that is lower than the prior confirmed pivot low, while the cumulative delta at that pivot is higher than at the prior one. This fires a signal only at genuine structural turning points — typically 5–10 signals per extended chart rather than hundreds:
if not na(pivotLow)
float dAtPivot = cumDelta
if pivotLow < lastPivLow and dAtPivot > lastPivLowDelta
bullDiv := true
Features
OHLC-based delta estimation: Buy and sell volume proxy from candle structure
Z-score normalized oscillator: Delta normalized by rolling mean and standard deviation
Gradient histogram: Bars colored by delta direction and magnitude intensity
Cumulative delta overlay: Net session delta as a scaled line on the oscillator
Session reset modes: None, Session boundary, or Manual reset options
Extreme imbalance markers: Triangle shapes at bars exceeding the delta ratio threshold
Pivot-confirmed divergences: Bull and bear divergences fired only at structural pivot points
Dashboard: Current delta, bias, buy volume, sell volume, cumulative delta, and Z-score
Six alert conditions: Bull/bear imbalance, bull/bear divergence, delta surge bull/bear
Input Parameters
Delta Engine:
Delta Smoothing EMA: Smoothing for delta oscillator line (default: 3)
Delta Normalization Length: Z-score rolling window (default: 20)
Imbalance Threshold: Delta ratio required for extreme marker (default: 0.6)
Cumulative Delta:
Show Cumulative Delta toggle
Reset Mode: None, Session, or Manual (default: Session)
Cumulative EMA Smooth: Smoothing for cumulative line (default: 5)
Signal Settings:
Delta Divergence Signal toggle
Divergence Lookback: Base period for pivot divergence detection (default: 20)
How to Use This Indicator
Step 1: Read the Delta Bias
Check the dashboard's Bias row. BUYING PRESSURE, SELLING PRESSURE, or BALANCED reflects the current delta ratio. Use this to understand whether the current bar's volume is dominated by buyers or sellers.
Step 2: Watch the Cumulative Delta Trend
A rising cumulative delta line during a price advance confirms the move is volume-supported. Declining cumulative delta during a price advance is a warning sign that buyers are weakening.
Step 3: Act on Divergence Signals
When a DIV label appears (bullish or bearish), a confirmed structural pivot has formed with a diverging cumulative delta. This is the primary signal output of the indicator — use it to anticipate potential turning points in price.
Step 4: Note Extreme Imbalance Bars
The triangle markers at extreme imbalance bars often coincide with momentum exhaustion (after a sustained run) or momentum ignition (at a breakout). Context determines which interpretation applies.
Indicator Limitations
OHLC delta estimation is a proxy; it does not capture true bid-ask imbalance and will systematically differ from actual order flow data
On instruments with wide spreads or gaps, the candle ratio delta estimation becomes less reliable
Divergences in strong trends often resolve with further trend continuation before the divergence is acted upon
Cumulative delta resets at session boundaries, so intraday and multi-day comparisons require switching reset modes
Originality Statement
The combination of OHLC delta estimation, Z-score normalization, cumulative session delta with configurable resets, and pivot-confirmed divergence detection — requiring structural pivot confirmation rather than rolling lookback extremes — in a single publication is the original contribution. The pivot-gated divergence detection specifically prevents the signal spam common in delta divergence tools that use rolling high/low comparisons.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Delta estimation from OHLC data is an approximation. All signals are based on historical data and do not guarantee future results. Trading involves substantial risk of loss.
-Made with passion by jackofalltrades
Indicator

Dual Profile Structure Map [JOAT]Dual Profile Structure Map
Introduction
Dual Profile Structure Map is an open-source session volume profile indicator that computes Point of Control, Value Area High, Value Area Low, and Initial Balance levels for the current session and displays them as a horizontal histogram overlaid on price. Unlike fixed-range or visible-range profiles, this indicator uses time-based session segmentation — the profile represents only the bars within the current trading day, updating continuously as each bar closes.
The profile answers a specific question: where was the majority of trading activity concentrated in the current session, and what are the structural reference levels that follow from that activity? The Initial Balance (the range of the first hour of the session) provides context for whether subsequent price behavior is an extension or a rejection.
Core Concepts
1. Volume Profile Calculation
Price range is divided into configurable bins. Each bar's volume is allocated to the bins that overlap its high-low range, proportionally by the fraction of the bar that falls within each bin. The result is an array of volume-at-price values for the session:
for b = 0 to nBins - 1
float binLo = profileLow + b * binSize
float binHi = binLo + binSize
float overlap = math.min(high, binHi) - math.max(low, binLo)
if overlap > 0
vol_at_bin += volume * (overlap / (high - low))
2. Point of Control and Value Area
The Point of Control (POC) is the bin with the highest volume — the price level where the most trading occurred. The Value Area is computed using the standard 70% rule: starting from the POC, adjacent bins are added to the value area (choosing the higher-volume adjacent bin each time) until 70% of session volume is captured. The resulting Value Area High (VAH) and Value Area Low (VAL) define the range where value was accepted.
3. Initial Balance
The Initial Balance uses the high and low of the first configurable number of bars after session open (default: first 4 bars on a 15-minute chart = first hour). IB High and IB Low are drawn as horizontal lines across the chart. Price trading above IB High is bullish extension; below IB Low is bearish extension; inside the IB is balance.
4. Histogram Rendering
Volume bins are rendered as horizontal bars extending leftward from the right edge of the session. Bar width is proportional to relative volume. The POC bin uses a distinct color. Value area bins use a softer fill. Bins outside the value area use the dimmest fill. This creates the standard volume profile "bell curve" visualization.
Features
Session volume profile: Real-time per-session histogram updated bar by bar
Point of Control (POC): Highest-volume price bin with labeled line
Value Area (VAH/VAL): 70% volume concentration band with boundary lines
Initial Balance High/Low: First-session-period range with horizontal level lines
Configurable bin count: Controls granularity of the volume distribution
Session reset logic: Profile resets at each new session boundary
Candle coloring: Candles painted by position relative to POC and value area
Dashboard: Current POC, VAH, VAL, IB range, and session volume total
Input Parameters
Profile Configuration:
Number of Bins: Price level granularity for the profile (default: 24)
IB Bars: Number of bars defining the Initial Balance period (default: 4)
Session Type: Trading session boundary for profile reset
Display:
Histogram Width: Maximum bar width in chart bars (default: 30)
Show POC Line toggle
Show Value Area toggle
Show Initial Balance toggle
Show Candle Color toggle
How to Use This Indicator
Step 1: Identify the POC
The POC is the fair value anchor for the session. Price gravitating toward the POC during a pullback indicates healthy trend behavior. Price unable to hold above or below the POC suggests indecision at current levels.
Step 2: Use Value Area for Range Context
Value area acceptance means price is spending time within the 70% volume zone — a range-bound state. Value area rejection (price rapidly leaving VAH or VAL and not returning) indicates directional conviction.
Step 3: Trade Initial Balance Extensions
A close above IB High with follow-through is a bullish extension signal. A close below IB Low is bearish. Range expansion beyond the IB indicates participants accepting new value outside the opening equilibrium.
Step 4: Watch POC as Support or Resistance
On future pullbacks, the prior session's POC often acts as structural support or resistance. The indicator's persistent level lines provide these reference points across sessions.
Indicator Limitations
Volume profile interpretation requires practice; mechanical rules based on profile levels without context produce poor results
On instruments with irregular volume distribution (low-liquidity sessions, gaps), profiles may cluster into unrepresentative patterns
The 70% value area rule is a convention from Market Profile theory, not a mathematically proven optimal threshold
Originality Statement
The combination of a real-time session volume profile with Initial Balance tracking, candle coloring by value area position, and a live-updating dashboard in a single Pine Script v6 publication provides a self-contained session structure tool. The session-adaptive profile calculation using proportional volume allocation across bins is implemented from first principles, not adapted from another published script.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Volume profile levels are historical references and do not guarantee future price reactions. Trading involves substantial risk of loss.
-Made with passion by jackofalltrades
Indicator

Stochastic Histogram Regime [Gabremoku]Stochastic Histogram Regime is a refined Stochastic-based momentum oscillator that transforms classic %K / %D logic into a mid-centered histogram regime model with adaptive zones, squeeze detection, and sequential BUY/SELL signaling.
Instead of using the traditional 0–100 Stochastic layout alone, this script recenters the oscillator around its midline and highlights:
momentum expansion and recovery phases
adaptive extreme zones
K/D compression regimes
sequential crossover signals
squeeze-aware signal styling
a compact live dashboard
The Stochastic Oscillator measures where the current close sits relative to its recent price range, and its two core lines — %K and %D — are commonly used to spot momentum shifts, overbought/oversold conditions, and crossover signals.
What it shows
📊 Mid-centered stochastic histogram — instead of plotting Stochastic only in its standard form, the script centers the histogram around the 50 level so bullish and bearish pressure become easier to compare visually.
📈 %K line and ghost %D line — the main momentum line stays visually dominant, while %D acts as a softer confirmation layer.
🎯 Adaptive zones — rather than relying only on static 80/20 thresholds, the script calculates percentile-based extreme zones from recent Stochastic behavior. Traditional Stochastic readings above 80 are often considered overbought and readings below 20 oversold, but adaptive thresholds can better reflect changing market behavior.
🗜️ Combined squeeze regime — the script measures both:
compression around the midline
compression between %K and %D
This creates a composite squeeze state that helps identify low-momentum contraction phases before expansion.
🚦 Sequential BUY/SELL state machine — primary signals are filtered through K/D crossover logic, slope confirmation, and optional extreme-zone requirements.
🔺 Follow-up triangles — repeated same-direction confirmations after the first primary signal can be shown as lighter continuation markers.
🪧 Minimal dashboard — displays state, K/D values, adaptive zone range, slope, and squeeze status.
Core logic
The script is built around the idea that the Stochastic Oscillator is not just an overbought/oversold tool, but a momentum regime detector.
Classic Stochastic compares the latest close to the recent high-low range and is typically interpreted through:
%K and %D crossovers
movement around 80/20 zones
and changes in momentum before price fully reacts
Your script extends that by:
recentering the oscillator around 50
using histogram structure for directional emphasis
adapting extreme zones to recent behavior
and combining crossover quality with slope and squeeze context
This makes it more structured than a standard Stochastic display.
State model
The indicator classifies momentum into five readable states:
Bull Impulse
Bull Recovery
Bear Impulse
Bear Recovery
Neutral
This adds nuance to the usual Stochastic reading because it separates:
strong directional continuation
weaker recovery phases
and non-directional compression
In practice:
Bull Impulse suggests K is above D, above the mid-neutral area, and still rising
Bear Impulse suggests K is below D, below the mid-neutral area, and still falling
recovery states identify improving momentum before full expansion
Signal logic
The script uses a filtered signal engine based on %K / %D crossovers, which are among the most common Stochastic signals.
Primary BUY and SELL signals can be filtered by:
extreme zone location
K slope confirmation
signal mode: Aggressive, Balanced, or Strict
This helps reduce the classic problem of noisy Stochastic crossovers in sideways conditions. Stochastic crossovers are useful, but they generally become more meaningful when combined with trend or momentum context rather than taken in isolation.
How to read it
A practical reading method is:
Use the histogram around the midline to read directional pressure.
Use adaptive zones to identify statistically stretched momentum.
Use %K / %D crossovers for trigger logic.
Use the squeeze state to identify contraction before expansion.
Treat follow-up triangles as continuation confirmation, not as fresh primary entries.
In general:
positive histogram with rising K = improving bullish momentum
negative histogram with falling K = improving bearish momentum
squeeze ON = compressed momentum regime
BUY/SELL labels = primary filtered crossover signals
Features
✅ Mid-centered stochastic histogram
✅ %K and ghost %D structure
✅ Percentile-based adaptive extreme zones
✅ Neutral zone around the 50 midline
✅ Composite squeeze detection
✅ Sequential BUY / SELL state machine
✅ Optional follow-up continuation markers
✅ Overlay and pane signal display options
✅ Minimal live dashboard
✅ Alert conditions for BUY, SELL, and squeeze state
Notes
This indicator is designed to improve the readability of Stochastic momentum structure, especially in transitions between compression, recovery, and impulse phases. Like all Stochastic-based tools, it can produce noisy signals in choppy markets, and overbought/oversold readings should generally be interpreted as momentum context rather than automatic reversal calls.
Author: Gabremoku
Pine Script v6 Indicator

Iridescent Helix [JOAT]Iridescent Helix
Iridescent Helix is a composite momentum oscillator that lives in a sub-pane and projects cross-pane visuals onto the price chart. The composite blends three orthogonal momentum legs into a single normalized score in the range -100 to +100. Above the math, it adds a layered iridescent ribbon, a breath-opacity histogram, gradient overbought / oversold zones, cross-pane iridescent candle recoloring, and an in-pane pivot divergence engine.
What makes it different
The composite blends three independent momentum lenses: a volume-weighted-median price distance, a Connors-style triple RSI, and a clamped volume Z-score. Smoothed with a Hull Moving Average to reduce phase lag while preserving sensitivity.
The visual stack uses seven plot layers per direction, hue-rotated through the bull or bear accent gradient, each layer at a different transparency and linewidth, producing a depth effect that single-color ribbons cannot match.
A breath-opacity histogram fades columns when momentum is decelerating and brightens them when momentum is accelerating, giving an at-a-glance read of momentum derivative.
An in-pane pivot divergence engine detects regular and hidden divergences and projects both as in-pane markers and as price-to-price connector lines on the price chart.
How it works
Volume-weighted median over a rolling window. Sort close prices ascending, accumulate volumes in that order. The price at which cumulative volume crosses half of total volume is the weighted median.
Composite equals 0.50 times the normalized distance from the volume-weighted median, plus 0.35 times the normalized Connors RSI, plus 0.15 times the clamped volume Z.
Hull-smoothed and scaled to centi-percent, clamped to the range -100 to +100. EMA(21) signal line drawn alongside.
Pivot divergence detection compares price pivots against composite pivots, gated to a 5-to-60-bar window between successive pivots.
Right-edge labels in the pane (composite, signal, volume Z) and on the price chart (cross-pane regime status).
Reading the chart
In-pane : seven-layer iridescent ribbon, breath-opacity histogram, volume-modulated zero line, overbought / oversold guide lines with gradient fills when the composite breaches them, composite-to-signal ribbon fill.
Cross-pane : iridescent candle recolor on price, divergence connector lines between price pivots, subtle reversal dots at extreme reversal closes, soft regime tint background when the composite is clearly above or below zero.
Right-edge label cluster : the pane shows current composite (with percentile rank), signal line, and volume Z. The price chart shows a single IRH summary label with composite value, percentile, and regime tag.
A right-edge state block lists current regime, zone (overbought, oversold, neutral), and bars since the last zero cross.
Signals
Bull / bear zero cross (composite re-crosses zero)
Overbought / oversold reversal (composite crosses back from an extreme)
Volume surge (volume Z above two)
Momentum acceleration / deceleration above a user-tunable threshold
Regular and hidden divergence detection (bull / bear pairs)
All gated on barstate.isconfirmed or barstate.ishistory. No future references. No lookahead_on.
Inputs
Composite : VW median length, volume Z length, overbought / oversold levels, divergence lookback, percentile envelope length.
Visual : bullish / bearish / accent / magenta colors, toggles for ribbon, histogram, iridescent candles, cross-pane reversal dots, divergence dots, percentile envelope, cross-pane regime tint.
Labels : pane right-edge cluster, pane state block, cross-pane IRH label, divergence lines, divergence labels, OB/OS event labels, zero-cross events, acceleration events.
Dashboard : position, size.
Alerts : acceleration magnitude threshold.
How traders use this
Trend continuation : open positions in the direction of the composite when it crosses zero from the appropriate side and the volume Z confirms.
Reversion plays : take fades when the composite reaches an extreme zone and momentum begins decelerating (histogram fades), particularly when supported by a regular divergence connector on the price chart.
Hidden divergence : in a clear trend, a hidden divergence is a continuation signal and can be used to add to existing positions on a pullback.
Cross-system confirmation : feed the composite into other JOAT scripts (for example Position Architect) as a signal source by connecting plots in the chart UI.
Limitations
The composite is a normalized smoothed reading, not a leading indicator. It quantifies present momentum strength and direction rather than predicting future direction.
Connors RSI and volume Z need warm-up bars before they stabilize.
Pivot divergence detection inherits the right-bar delay of pivot identification (the pivot is only confirmed several bars after the actual extreme).
HMA smoothing introduces a few bars of warm-up where the composite is unavailable.
Compatibility
Pine Script v6 open-source indicator (pane). Any symbol, any timeframe. Cross-pane elements use force_overlay=true. No request.security calls. Non-repainting (divergence pivots are confirmed-bar gated).
Defaults
Mint and red defaults, plus cyan (bull accent) and magenta (bear accent) hue-rotation targets. Top-right medium dashboard. All visualizations on. For fast intraday work, shorten the VW median length and the divergence lookback.
Indicator

Trend Bias Oscillator**Trend Bias Oscillator (TBO)**
---
The Trend Bias Oscillator tracks where price sits within its current trend — not just whether it's bullish or bearish, but *how far along* it is within that move. It normalizes that position to a clean ±100 scale, so readings are consistent across any instrument or timeframe.
When the market is in a bullish structure, the oscillator rises toward +100 as price pushes toward the top of the established range, and pulls back toward zero on retracements. When structure is bearish, it falls toward -100 as price drops, and recovers toward zero on bounces. If price breaks beyond the known range entirely, the oscillator pins at ±100 — a sign of extension.
Structure shifts when price closes decisively above a prior swing high (bullish flip) or below a prior swing low (bearish flip). Once flipped, the bias holds until the opposite level is broken — so the oscillator stays on one side of zero for the entire duration of a trend, not just the bar the signal fired on.
The optional signal line smooths the raw oscillator, making it easier to spot when momentum is building or fading within the current bias. A widening gap between the histogram and signal line suggests continuation. Compression back toward the line suggests a pause or potential reversal ahead.
---
**What makes TBO different**
Most oscillators measure momentum or price position in isolation — they have no awareness of whether the market is in a defined trend or not. RSI, Stochastic, and similar tools will oscillate freely regardless of structure, which means a reading of 70 looks the same in a strong uptrend as it does in the middle of a range.
TBO is different because the oscillator only activates and measures depth *after* a confirmed structural break. Until price breaks a prior swing high or low with a closed bar, the oscillator stays at zero — explicitly signaling that no defined bias exists. Once a break is confirmed, TBO then continuously measures how deep price has traveled into that trend, using the opposing swing level as its reference point rather than an arbitrary lookback window or moving average.
This means TBO doesn't just tell you which direction the market is leaning — it tells you *how committed* it is to that direction at any given moment. A reading compressing back toward zero during an uptrend is a retracement warning. A reading pushing toward +100 is trend continuation. The context is structural, not statistical.
There are indicators on PulseWire that normalize price within a range, and others that detect market structure breaks. TBO combines both into a single, continuously updated reading — making it a genuinely different tool rather than a variation on existing oscillator formulas.
---
**Inputs**
**Bars Left** *(default: 20)*
How many bars to the left define a swing point. Higher values find bigger, more meaningful swings. Lower values are more sensitive and react faster.
**Bars Right** *(default: 5)*
How many bars to the right are needed before a swing is confirmed. Lower values confirm faster but can be noisier. This setting also controls how much lag the indicator has — a value of 5 means pivots confirm 5 bars after they form.
**Non-Repaint Mode** *(default: on)*
Ensures structure bias can only flip on a fully closed bar — a signal triggered intrabar will never fire and then disappear before the candle closes. The oscillator value itself will still update in real time as price moves within the current bar, which is normal and expected. What non-repaint protects is the structural flip — that moment when bias switches from bullish to bearish or vice versa. Turning this off allows real-time bias changes but signals may repaint on unclosed candles.
**Show Signal Line** *(default: on)*
Toggles the smoothed line over the histogram on or off.
**Signal Type** *(default: EMA)*
The smoothing method used for the signal line. EMA reacts fastest, SMA is straightforward, WMA weights recent bars more heavily, and RMA (Wilder's) is the smoothest and slowest. Personal preference — try EMA or RMA first.
**Signal Length** *(default: 5)*
How many bars the signal line looks back over. Shorter values follow the oscillator closely. Longer values produce a smoother line that only moves on sustained shifts.
**Signal Color** *(default: blue)*
The color of the signal line, adjustable via the color picker.
**Signal Line Width** *(default: 1)*
The thickness of the signal line. Ranges from 1 to 4.
---
**Reference Lines**
| Level | What it means |
|---|---|
| +100 | Price fully extended in bullish structure |
| +50 | Price in the upper half of the bullish range |
| 0 | No bias established, or structural midpoint |
| -50 | Price in the lower half of the bearish range |
| -100 | Price fully extended in bearish structure |
---
**A few things worth knowing**
Swing pivots confirm with a small natural delay — this is intentional and keeps the indicator from repainting. On very choppy or ranging markets, structure will flip frequently and the oscillator will hover near zero. This is the indicator working as designed, not a malfunction — it simply means no clean trend structure exists at that time. Stepping up to a higher timeframe usually clarifies the picture.
The oscillator value moving on the live bar is normal behavior and not repainting. Non-Repaint Mode specifically prevents structure bias from flipping until a bar fully closes, ensuring signals are never triggered and then taken back within the same candle. Indicator

Pulse Entry Engine🚀 Pulse Entry Engine
Pulse Entry Engine is a free momentum-based entry visualization and decision-support indicator designed to help traders analyze potential entry conditions with a cleaner, more structured, and more visual workflow.
This script combines a Special K-based momentum engine, signal modes, confirmation logic, EMA context, higher-timeframe bias filtering, modern oscillator visualization, signal strength scoring, star-based quality labels, TP/SL projection boxes, active-trade candle coloring, signal-candle background highlighting, compact dashboards, visual themes, and dynamic alerts into one organized PulseWire tool.
The goal of Pulse Entry Engine is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ momentum expansion
🎯 entry-quality conditions
🧭 directional context
📊 signal strength
📦 projected TP/SL zones
🕯️ active-trade candle behavior
🚨 alert-based monitoring
Pulse Entry Engine should be treated as a structured chart-analysis tool, not as financial advice, not as an automated trading system, and not as a guarantee of profitable results.
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published as a free educational and visual market-analysis tool.
The description is intentionally detailed because many users do not inspect every part of the Pine Script logic line by line.
The purpose of this page is to explain:
✅ what the script does
✅ how the components work together
✅ what appears on the chart
✅ how signals are filtered
✅ how TP/SL projection works
✅ what the dashboards mean
✅ what the limitations are
✅ how the indicator should and should not be used
Pulse Entry Engine is designed to support structured decision-making.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing momentum, signal quality, context, and projected risk/reward.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pulse Entry Engine does the following:
1. ⚙️ Calculates a Special K-based momentum engine.
2. 📈 Compares the engine value with its signal line.
3. 📏 Measures the distance between the engine and signal line.
4. 🔥 Classifies stretch conditions as Weak, Normal, Strong, or Extreme.
5. 🎯 Generates LONG / SHORT pulse signals when selected conditions align.
6. 🧠 Provides five different Signal Modes.
7. 🕯️ Supports Bar Close and Live Intrabar confirmation.
8. 📈 Includes an EMA-based context filter.
9. 🧭 Includes a Higher Timeframe Bias Filter.
10. ⭐ Calculates a 0–100 signal score.
11. 📊 Displays a Signal Strength Bar.
12. 🌟 Shows star-based quality labels on the main chart.
13. 🟩 Highlights the exact signal candle with a vertical background.
14. 🕯️ Colors candles only while a projected trade is active.
15. 📦 Displays ATR-based TP/SL projection boxes.
16. 🎯 Tracks TP1, TP2, TP3, and SL visually.
17. 🔒 Blocks new signals while an active projection has not reached TP1.
18. 🔁 Allows replacement logic after TP1/TP2 progress.
19. 🌊 Includes a modern oscillator visual engine.
20. 📊 Includes Neon Histogram as the default oscillator view.
21. 🎨 Includes multiple visual themes.
22. 🖥️ Includes Minimal / Pro / Full display profiles.
23. 📋 Includes a compact main dashboard.
24. 📡 Includes a compact live scanning panel.
25. 🚨 Includes standard and dynamic alert messages.
This makes the script more than a simple oscillator or a basic signal marker.
It is a complete visual entry-analysis framework built around momentum, context, signal quality, and projected trade structure.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Pulse Entry Engine is simple:
A potential entry should not be judged from one isolated condition.
A single oscillator movement, one candle reaction, one stretched reading, or one signal label is usually not enough by itself.
Market context matters.
For that reason, Pulse Entry Engine combines several layers:
⚡ momentum engine direction
📏 distance and stretch expansion
🧭 zero-line context
📈 EMA context
🕰️ higher-timeframe bias
⭐ score requirement
🎛️ signal mode strictness
🕯️ confirmation timing
📦 TP/SL projection logic
The indicator does not attempt to mark every possible move.
Instead, it attempts to make momentum-based entry conditions easier to read, compare, and review.
The purpose is not to create more signals.
The purpose is to make signals more understandable.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is not intended to behave like a simple “buy here / sell here” script.
It is built as a structured workflow:
Pulse Engine
→ Distance / Stretch Detection
→ Signal Mode Filtering
→ Zero / EMA Context
→ HTF Bias Confirmation
→ Score Classification
→ Star-Based Signal Label
→ TP/SL Projection
→ Active Trade Visualization
→ Dashboard Review
→ Dynamic Alerts
Each part has a specific role.
⚙️ The Pulse Engine measures momentum behavior.
📏 The distance logic identifies meaningful separation from the signal line.
🎛️ The signal modes adjust strictness.
⭐ The score system summarizes confluence strength.
🧭 The HTF filter adds broader directional context.
📊 The dashboard summarizes current conditions.
🌊 The oscillator visualizes momentum behavior.
📦 The TP/SL boxes provide a projected risk/reward structure.
🚨 The alert system helps monitor signals without constantly watching the chart.
This makes the script a full review environment, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
1) ⚡ PULSE ENTRY CORE
Pulse Entry Engine uses a Special K-based calculation as its internal momentum engine.
The engine produces two main values:
• the main momentum engine value
• the signal line
The relationship between these two values forms the foundation of the signal logic.
When the engine moves away from the signal line, the script measures the distance between them.
That distance is then compared to its own recent average distance.
This creates the Distance Ratio.
The Distance Ratio helps the script understand whether the current movement is weak, normal, strong, or extreme compared to recent behavior.
This is important because a raw distance between two lines may not mean much by itself.
A distance becomes more meaningful when it is large compared to the engine’s recent average behavior.
━━━━━━━━━━━━━━━━━━━━━━
📏 DISTANCE / STRETCH LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The script calculates:
📌 current distance between engine and signal line
📌 average distance over the selected lookback
📌 distance ratio
📌 strong stretch threshold
📌 extreme stretch threshold
The stretch state can be:
🟤 Weak
🔵 Normal
🟠 Strong
🟣 Extreme
This stretch state appears in the dashboard.
The stretch logic is one of the most important parts of the signal engine.
A signal generally needs the engine distance to be strong enough according to the selected Signal Mode.
This helps reduce reactions to small, random oscillator movements.
━━━━━━━━━━━━━━━━━━━━━━
🎛️ SIGNAL MODES
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes five Signal Modes.
These modes are not only visual names.
They change internal signal thresholds, score requirements, and filtering behavior.
Available modes:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
🔥 Aggressive
Aggressive mode is the earliest and most sensitive profile.
It uses lower stretch requirements and a lower score threshold.
This means it can produce more signals and may react faster to developing momentum conditions.
Useful for:
• testing
• manual confirmation
• fast scanning
• active monitoring
• traders who want more potential setups
Important note:
Because it is more sensitive, it may also produce more noise.
⚖️ Balanced
Balanced mode is the default all-around profile.
It uses the user-defined Distance Multiplier and Extreme Stretch settings.
This mode is designed to provide a stable middle-ground behavior.
Useful for:
• general chart review
• standard intraday analysis
• balanced signal frequency
• users who want neither too many nor too few signals
⚡ Scalping
Scalping mode is designed for lower-timeframe active trading environments.
It is faster than Balanced mode but stricter than Aggressive mode.
Useful for:
• M1
• M3
• M5
• fast intraday scanning
• short-term chart review
Scalping mode should still be used with context, risk control, and independent analysis.
🌊 Swing
Swing mode is more selective.
It requires stronger stretch and a higher score threshold.
EMA and Zero filters are forced on for stricter directional context.
Useful for:
• larger market moves
• higher timeframe review
• slower trading style
• fewer but more filtered signals
🛡️ Funded Account
Funded Account mode is the strictest profile.
It requires the strongest internal confirmation among the available modes.
EMA and Zero filters are forced on.
Useful for:
• fewer signals
• stricter filtering
• drawdown-conscious review
• evaluation-style account discipline
• users who prefer cleaner setups
Important note:
This mode does not guarantee safer trades or profitable outcomes.
It only applies stricter internal filtering.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ SIGNAL CONFIRMATION MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes two confirmation modes:
✅ Bar Close
⚡ Live Intrabar
✅ Bar Close
Bar Close mode confirms signals only after the candle closes.
This is the default mode.
It is designed to reduce repaint perception and make signal behavior easier to review historically.
This is generally the cleaner option for alerts and structured review.
⚡ Live Intrabar
Live Intrabar mode allows signals to appear before the candle closes.
This can provide earlier visual feedback.
However, because the candle is still forming, the signal may change before the candle closes.
This mode is faster but less stable than Bar Close confirmation.
━━━━━━━━━━━━━━━━━━━━━━
🧭 ZERO FILTER
━━━━━━━━━━━━━━━━━━━━━━
The Zero Filter uses the oscillator’s zero line as an additional context layer.
In the default logic:
🟢 LONG setups require the engine oscillator to be below zero.
🔴 SHORT setups require the engine oscillator to be above zero.
This creates a reversal-style interpretation.
The idea is that long signals may be more meaningful when the engine is stretched below the zero region, while short signals may be more meaningful when the engine is stretched above the zero region.
Swing and Funded Account modes force this filter on.
━━━━━━━━━━━━━━━━━━━━━━
📈 EMA FILTER
━━━━━━━━━━━━━━━━━━━━━━
The EMA filter adds price-location context.
In this version, the default EMA logic is reversal-oriented:
🟢 LONG setups are allowed when price is below the EMA.
🔴 SHORT setups are allowed when price is above the EMA.
This is not a classic trend-following EMA filter.
It is used to help identify stretched conditions relative to a directional reference.
Swing and Funded Account modes force this filter on.
The dashboard also uses the EMA relationship to display a simple bias state:
🟢 LONG ONLY
🔴 SHORT ONLY
⚪ NEUTRAL
This bias should be treated as context, not as an instruction to trade.
━━━━━━━━━━━━━━━━━━━━━━
🕰️ HTF BIAS FILTER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a Higher Timeframe Bias Filter.
Available HTF modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
⚪ Off
No higher-timeframe filter is used.
📈 EMA 100
The script checks whether higher-timeframe price is above or below the HTF EMA 100.
Above HTF EMA100 = bullish bias.
Below HTF EMA100 = bearish bias.
📉 EMA 200
The script checks whether higher-timeframe price is above or below the HTF EMA 200.
This is a slower and broader macro filter compared to EMA 100.
⚙️ Engine HTF
The script calculates the engine relationship on the selected higher timeframe.
HTF engine above its signal line = bullish bias.
HTF engine below its signal line = bearish bias.
The HTF filter can help reduce signals that conflict with a broader directional context.
The default HTF timeframe is 60 minutes, but users can adjust it.
━━━━━━━━━━━━━━━━━━━━━━
⭐ SIGNAL SCORE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine calculates a 0–100 signal score.
The score is based on internal confluence components such as:
⚡ engine direction
📏 stretch strength
🧭 zero filter alignment
📈 EMA filter alignment
🔥 distance strength
The score appears in the dashboard and is also used internally by the selected Signal Mode.
Important note:
The score is not a win-rate prediction.
A score of 85 does not mean the signal has an 85% chance of winning.
It simply means the internal confluence conditions were stronger according to the script’s scoring model.
━━━━━━━━━━━━━━━━━━━━━━
🌟 STAR-BASED MAIN CHART LABELS
━━━━━━━━━━━━━━━━━━━━━━
On the main chart, Pulse Entry Engine uses star-based quality labels.
This keeps the chart cleaner than showing large score numbers directly on every signal label.
Star system:
⭐⭐⭐⭐⭐ = 96–100
⭐⭐⭐⭐ = 92–95
⭐⭐⭐ = 88–91
⭐⭐ = 84–87
⭐ = 80–83
☆ = below 80
Example labels:
▲ LONG PULSE
⭐⭐⭐⭐
▼ SHORT PULSE
⭐⭐⭐
The dashboard still keeps the full numerical score for users who want more detail.
━━━━━━━━━━━━━━━━━━━━━━
📊 SIGNAL STRENGTH BAR
━━━━━━━━━━━━━━━━━━━━━━
The main dashboard includes a Signal Strength Bar.
Example:
█████ 92
████░ 84
███░░ 73
This gives a quick visual representation of the current score.
The strength bar is not a performance statistic.
It does not represent probability or future outcome.
It only visualizes the current internal signal-quality score.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three full visual themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
🟢 Dark Emerald
A dark professional theme using green, teal, and cyan accents.
🔵 Aqua Neon
A brighter cyber-style theme using blue, cyan, and pink tones.
🟣 Royal Purple
A premium-looking theme using purple and gold-style accents.
The theme affects:
🎨 dashboard colors
📡 live panel colors
🌊 oscillator colors
📊 histogram colors
🏷️ signal labels
📦 TP/SL boxes
🟢 LONG visuals
🔴 SHORT visuals
🕯️ active-trade candle coloring
🟩 signal-candle background
🚨 visual alert feel
Color inputs are intentionally not exposed in the Inputs tab.
The indicator uses internal theme profiles to keep the settings cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🖥️ DISPLAY MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three display profiles:
▫️ Minimal
▪️ Pro
🔳 Full
▫️ Minimal
Minimal mode reduces chart clutter.
It hides many optional visual layers such as dashboards, oscillator dots, gradient zones, pulse backgrounds, and TP level lines.
Useful for clean chart viewing.
▪️ Pro
Pro mode is the balanced default layout.
It uses the user’s individual visibility settings and is designed as the standard V1.0 experience.
🔳 Full
Full mode forces major visual layers on.
Useful for:
🎥 YouTube live streams
📸 screenshots
📚 educational examples
🧪 demonstrations
📊 full feature previews
━━━━━━━━━━━━━━━━━━━━━━
🌊 OSCILLATOR VISUAL ENGINE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes multiple oscillator display styles.
Available oscillator styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Neon Histogram is the default mode in this version.
📊 Neon Histogram
This mode displays the difference between the engine core and signal line as a histogram.
The histogram helps users quickly read momentum expansion and contraction.
Positive and negative histogram areas are colored according to the selected theme.
🌊 Modern Pulse Wave
This mode displays a smooth pulse wave with soft glow layers and a momentum cloud.
It is designed to look clean, modern, and premium.
➖ Clean Line Pro
This mode provides a simpler line-based oscillator view with less visual noise.
🕯️ Classic HA
This mode keeps the previous Heikin Ashi-style synthetic oscillator candle view.
🕯️ Classic Candles
This mode keeps the previous raw synthetic oscillator candle view.
These modes allow users to choose between a modern histogram, a glowing wave, a minimal line, and legacy oscillator candle styles.
━━━━━━━━━━━━━━━━━━━━━━
🌈 OSCILLATOR SIGNAL DOTS
━━━━━━━━━━━━━━━━━━━━━━
The oscillator panel can show LONG and SHORT signal dots.
In modern modes, the dots can include a glow effect:
✨ larger soft outer dot
● smaller sharp inner dot
This makes signal locations easier to identify in the oscillator panel without large text labels.
These oscillator dots are visual markers only.
They are based on the same signal logic as the main chart labels.
━━━━━━━━━━━━━━━━━━━━━━
⚡ EXTREME STRETCH MARKERS
━━━━━━━━━━━━━━━━━━━━━━
The script can display extreme stretch markers when the engine reaches an extreme distance condition.
These markers highlight stretched momentum conditions.
They are not direct trade signals by themselves.
Their purpose is to show that the engine has moved far away from its recent average relationship with the signal line.
━━━━━━━━━━━━━━━━━━━━━━
📦 TP / SL PROJECTION SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a TP/SL projection system on the main price chart.
When a new signal appears, the script can draw:
📦 TP box
📦 SL box
🎯 TP1 line
🎯 TP2 line
🎯 TP3 line
🏷️ result label
The system uses ATR-based risk.
Default risk settings:
📌 SL ATR Multiplier = 2.5
📌 Final TP Risk Reward = 1.5R
TP structure:
TP1 = 25% of final TP distance
TP2 = 50% of final TP distance
TP3 = final TP
The boxes are projected forward by an initial number of bars.
Default:
📌 Initial TP/SL Box Length = 10 bars
If the projected trade remains active longer than the initial length, the box continues extending until TP3, SL, or a valid replacement condition occurs.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TP1 / TP2 / TP3 / SL RESULT LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The TP/SL projection system tracks the projected result visually.
Possible result labels:
🟢 TP1
🟢 TP2
🟢 TP3
🔴 SL
If price reaches TP3, the result is marked as TP3.
If price hits SL before reaching any TP level, the result is marked as SL.
If price reaches TP1 and later returns to SL, the result is marked as TP1.
If price reaches TP2 and later returns to SL, the result is marked as TP2.
This means the system remembers the highest target reached before a stop event.
This makes the visual projection more informative than a simple static TP/SL marker.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-BAR TP/SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, there is ambiguity.
The script cannot know the true intrabar sequence unless lower-timeframe reconstruction is used.
For this reason, the script includes a same-bar setting:
If TP and SL Hit Same Bar:
🔴 SL
🟢 TP1
SL is the conservative default.
This allows users to decide how they want same-candle ambiguity to be handled in the visual projection.
━━━━━━━━━━━━━━━━━━━━━━
🔁 ACTIVE TRADE SIGNAL GATE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes an active projection gate.
If a projected trade is active and has not yet reached TP1, the script blocks new signals.
This prevents the chart from stacking multiple new signals before the previous projection has made minimum progress.
If an active projection has already reached TP1 or TP2 and a new signal appears, the old projection can be closed at its highest reached TP level and the new signal can begin.
This keeps the visual trade structure cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ ACTIVE TRADE CANDLE COLORING
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine can color candles while a projected trade is active.
This candle coloring appears only during an active projection.
🟢 During an active LONG projection, candles use the theme long color.
🔴 During an active SHORT projection, candles use the theme short color.
Once the projection closes, candle coloring stops.
This helps users visually identify when the system considers a projected trade to be active.
It is not a separate trading signal.
━━━━━━━━━━━━━━━━━━━━━━
🟩 SIGNAL CANDLE BACKGROUND
━━━━━━━━━━━━━━━━━━━━━━
The script can highlight the exact candle that produced a confirmed signal.
🟢 LONG signal = vertical long-colored background stripe
🔴 SHORT signal = vertical short-colored background stripe
This feature is useful for:
📌 historical review
📌 live chart monitoring
📌 YouTube live streams
📌 educational explanations
📌 quickly locating the original signal candle
━━━━━━━━━━━━━━━━━━━━━━
📋 MAIN DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a compact main dashboard.
The dashboard can display:
🎛️ Signal Mode
🎨 Theme
🧭 Bias
🔥 Stretch state
⭐ Score
📊 Strength
🎯 Signal state
🕯️ Confirmation mode
🕰️ HTF Bias
The dashboard is intentionally compact.
It is not designed to be a large performance table.
Its purpose is to summarize the current engine state and help users understand what the script is currently reading.
Dashboard position and size can be adjusted from the settings.
━━━━━━━━━━━━━━━━━━━━━━
📡 LIVE SCANNING PANEL
━━━━━━━━━━━━━━━━━━━━━━
The script includes a compact Live Scanning panel.
The live panel displays the Pulse Entry Engine live scanning state in a clean visual format.
The lower information row was intentionally removed to keep the chart cleaner.
Users can adjust:
📍 Live Panel Position
🔠 Live Panel Size
● Live blinking status symbol
The live panel is visual only.
It does not affect signal logic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes both standard alert conditions and dynamic alert messages.
Standard alertcondition alerts include:
🟢 LONG signal
🔴 SHORT signal
⚡ LONG/SHORT signal
🔥 Extreme stretch detected
The script also includes dynamic alert messages using alert().
The dynamic alert message can include:
📌 indicator name and version
📌 signal direction
📌 ticker
📌 timeframe
📌 Signal Mode
📌 Confirmation Mode
📌 HTF Bias
📌 Score
📌 Stretch
📌 ATR risk setting
📌 TP RR setting
Important usage note:
To use the full dynamic alert message, create a PulseWire alert with:
Condition: Pulse Entry Engine
Option: Any alert() function call
The standard alertcondition options can still be used as simpler fallback alerts.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
1. Add Pulse Entry Engine to your chart.
2. Start with the default Pro display mode.
3. Choose a visual theme that fits your chart.
4. Select your Signal Mode.
5. Use Bar Close confirmation for cleaner signal review.
6. Choose whether to enable the HTF Bias Filter.
7. Watch the oscillator histogram for momentum expansion.
8. Review the dashboard for score, stretch, signal state, and HTF bias.
9. When a LONG or SHORT pulse appears, check the star rating.
10. Look at the signal candle background highlight.
11. Review the TP/SL projection box.
12. Observe whether the projection reaches TP1, TP2, TP3, or SL.
13. Use alerts if you want automated signal notifications.
14. Validate the indicator on the specific markets and timeframes you personally study.
The indicator is best used as a structured decision-support tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
🎯 Signal Logic
Source
Selects the price source used by the Pulse Entry Engine core.
Signal Length 1
Primary engine calculation length.
Signal Length 2
Secondary engine calculation length.
Signal Mode
Selects the main signal preset:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
Signal Confirmation Mode
Controls when a signal is allowed to confirm:
✅ Bar Close
⚡ Live Intrabar
Average Distance Length
Lookback length used to calculate average distance between engine and signal line.
Distance Multiplier
Balanced mode stretch threshold.
Extreme Stretch Multiplier
Balanced mode extreme stretch threshold.
Reset When Distance Gets Weak
Allows the internal signal state to reset when distance becomes weak.
Reset Multiplier
Defines how weak the distance must become before reset.
Use Zero Filter
Enables zero-line filtering.
📈 EMA Filter
Use EMA Filter
Enables the EMA context filter.
EMA Length
EMA length used for the filter and dashboard bias.
🧭 HTF Bias Filter
HTF Bias Mode
Available modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
HTF Timeframe
Higher timeframe used by the HTF filter.
🎨 Style
Visual Theme
Available themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
Display Mode
Available profiles:
▫️ Minimal
▪️ Pro
🔳 Full
Oscillator Visual Mode
Available styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Show Signal Line
Shows or hides the engine signal line.
Show Momentum Cloud
Shows the oscillator momentum cloud.
Show Zero Zone
Shows the oscillator zero zone.
Zero Zone Width
Controls the width of the zero zone.
Show Gradient Background Zones
Shows subtle oscillator background zones.
Show Extreme Stretch Markers
Shows extreme stretch pulse markers.
Show Oscillator Pulse Glow
Adds glow layers to modern oscillator visuals.
Show Neon Histogram
Controls histogram visibility when Neon Histogram mode is selected.
Show Oscillator Signal Dots
Shows LONG/SHORT dots in the oscillator panel.
Show Main Chart LONG / SHORT Labels
Shows signal labels on the main chart.
Main Chart Label Offset ATR
Controls how far signal labels are placed from price.
Show Main Chart Dashboard
Shows or hides the main dashboard.
Dashboard Position
Controls dashboard location.
Dashboard Size
Controls dashboard text size.
Show Main Chart Live Dashboard
Shows or hides the live scanning panel.
Live Panel Position
Controls live panel location.
Live Panel Size
Controls live panel text size.
Show Signal Pulse Background
Shows a soft background pulse when a signal appears.
Show Signal Candle Background
Highlights the exact signal candle with a vertical background.
Signal Candle Background Transparency
Controls the transparency of the signal candle highlight.
Color Candles During Active Trade
Colors price candles only while a projected trade is active.
Active Trade Candle Transparency
Controls active-trade candle coloring transparency.
Use Live Blinking Status Symbol
Enables the blinking live scanning dot.
Live Symbol Blink Seconds
Controls blink speed.
📦 TP / SL Box System
Show TP / SL Boxes on Main Chart
Enables TP/SL projection boxes.
SL ATR Length
ATR length used for stop-loss calculation.
SL ATR Multiplier
ATR multiplier used for SL distance.
Final TP Risk Reward
Final TP target multiple:
1R
1.5R
2R
3R
4R
5R
Max Stored TP / SL Trades
Maximum historical projection objects kept on chart.
If TP and SL Hit Same Bar
Controls same-bar ambiguity handling.
Show TP1 / TP2 / TP3 Lines
Shows TP level lines inside the projection box.
Initial TP / SL Box Length
Initial forward length of projection boxes.
Show TP / SL Result Label
Shows result labels after projected trade closes.
🛡️ Professional Controls
Max Main Signal Labels
Limits the number of main-chart signal labels to protect PulseWire object limits.
Enable Dynamic Alert Messages
Enables alert() based dynamic alert messages.
Show Version Badge
Shows the V1.0 badge in the visual panels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine uses familiar concepts such as:
⚡ oscillator momentum
📈 signal lines
🧭 EMA context
🕰️ higher-timeframe filtering
📦 ATR-based risk projection
📊 dashboards
🚨 alerts
These components are not unique by themselves.
The originality of the script lies in how these components are organized into one workflow:
Pulse Engine
→ Stretch Detection
→ Signal Mode Filtering
→ Score Classification
→ HTF Bias Confirmation
→ Modern Oscillator Visualization
→ Star-Based Quality Label
→ TP/SL Projection
→ Active-Trade Candle Coloring
→ Compact Dashboard
→ Dynamic Alerts
This structure is intended to give users a more organized way to review momentum-based entries.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ selected Signal Mode
🕯️ confirmation mode
📈 EMA filter setting
🧭 HTF bias mode
🌊 oscillator visual mode
🖥️ display profile
📏 ATR multiplier
🎯 TP RR setting
📊 market
⏱️ timeframe
📉 symbol volatility
📚 available historical bars
A mode that appears cleaner on one symbol may not behave the same way on another.
The TP/SL boxes are visual projections based on the script’s rules.
They are not broker orders.
They do not account for real execution conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It uses bar-based chart data.
❌ Same-bar TP/SL order is approximated by a user-selected rule.
❌ Live Intrabar mode may change before candle close.
❌ Higher-timeframe filters can lag.
❌ EMA filters can conflict with certain market structures.
❌ Momentum signals can fail in choppy markets.
❌ Strong scores do not guarantee successful outcomes.
❌ TP/SL projections are visual analysis tools, not trade instructions.
❌ Historical visual behavior does not ensure future behavior.
For these reasons, Pulse Entry Engine should be used as an educational decision-support tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study momentum-based entries
✅ want a structured entry review tool
✅ want a clean visual dashboard
✅ want higher-timeframe context
✅ want ATR-based TP/SL projection
✅ want signal strength scoring
✅ want modern oscillator visuals
✅ want star-based quality labels
✅ want active-trade candle coloring
✅ want dynamic alerts
✅ prefer organized chart-based analysis
✅ want a free visual trading assistant for review and education
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not want chart visuals
❌ do not use technical analysis
❌ expect one setting to work on every market
❌ want an indicator that replaces their own decision-making
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with Bar Close confirmation.
✅ Start with Balanced or Funded Account mode.
✅ Use HTF Bias only when you want broader directional filtering.
✅ Use Minimal display mode if the chart feels crowded.
✅ Use Full display mode for screenshots, education, and live demonstrations.
✅ Review signals together with market structure.
✅ Avoid treating every label as an automatic trade.
✅ Test the indicator on the specific symbols and timeframes you actually watch.
✅ Combine the tool with your own analysis and risk rules.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability. Indicator

Momentum Covenant Bias [JOAT]Momentum Covenant Bias
Introduction
Momentum Covenant Bias is an open-source momentum pane designed to classify whether the market is in a constructive, defensive, balanced, or compressed state. It blends WaveTrend timing, RSI displacement, normalized trend distance, compression logic, layered state bands, pane boxes, and an optional force-overlay TP/SL scaffold when fresh confirmed momentum shifts occur.
This indicator is meant to solve timing. Trend and auction context can describe where the market is, but they do not always tell you whether momentum is actually participating in the current move. Momentum Covenant Bias translates several independent momentum dimensions into one composite state engine and presents them in a clean, institutional-style pane.
Core Concepts
1. WaveTrend Timing
WaveTrend serves as the primary turning-point rhythm engine. The script uses the relationship between the main line and signal line to measure timing pressure.
2. RSI Displacement
RSI is evaluated not only relative to 50, but also relative to its own smoothed mean. This helps distinguish raw strength from persistent displacement.
3. Normalized Trend Distance
Price distance from the slower trend baseline is normalized by ATR so the output remains portable across markets with different price scales.
4. Compression State
Compression logic compares recent range behavior to a slower baseline. This helps identify lower-energy conditions before expansion.
5. State Boxes and Overlay Scaffold
The pane includes positive, negative, and compression zones, and can project a force-overlay TP/SL scaffold on the chart when a fresh momentum shift is confirmed.
Features
Composite momentum score: Combines WaveTrend, RSI, trend distance, and compression context
Signal line: Smoothed line for momentum transitions
Layered state bands: Positive, negative, and extension zones rendered as gradients
Compression boxes: Visual isolation of low-energy conditions
Top-right dashboard: Displays composite score, signal, wave state, RSI, compression, trend distance, and scaffold status
Force-overlay TP/SL scaffold: Optional informational rails on fresh positive or negative momentum shifts
Confirmed-bar state promotion: Uses confirmed bars for event states instead of unstable intrabar triggers
How to Use This Indicator
Step 1: Read the composite state first. Balanced states should be interpreted differently from impulse states.
Step 2: Compare the composite score to the signal line. Fresh separation often matters more than absolute level alone.
Step 3: Watch compression zones. These can help explain why a market is not yet extending despite directional context elsewhere.
Step 4: If using the optional scaffold, treat it as a planning aid that reflects momentum state, not as a standalone trade system.
Indicator Limitations
Momentum state can reverse quickly in whipsaw markets
Compression logic can remain active for extended periods in slow markets
WaveTrend and RSI are still derivatives of price and can lag during violent reversals
The overlay scaffold is informational and does not execute orders
Originality Statement
Momentum Covenant Bias is original in the way it combines multi-source momentum confirmation, pane state boxes, gradient regime presentation, and force-overlay planning rails in one open-source script. The indicator is intended as a timing layer that complements structure and auction context instead of replacing them.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Momentum conditions are derived from historical price behavior and may fail or reverse without warning. Use proper risk management and independent validation.
-Made with passion by jackofalltrades
Indicator

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

Volume Ledger [JOAT]JOAT Volume Ledger
Introduction
JOAT Volume Ledger is an open-source participation and volume-zone framework designed to identify where meaningful activity occurred, what type of activity it likely was, and which of those zones still matter now.
It is built around the idea that not all large volume is equal.
Some high-volume behavior represents sponsorship.
Some represents exhaustion.
Some represents churn or absorption.
Some leaves behind a meaningful footprint that the market later reacts to.
The problem the script solves is translation.
Raw volume bars alone do not explain whether heavy activity created useful levels.
They also do not organize those levels for later use.
Volume Ledger attempts to do both.
It begins with relative-volume heat and participation metrics.
It then uses confirmed pivot-based logic to create candidate zones.
Those zones are merged, ranked, extended, and reclassified as support or resistance based on how price returns to them.
Higher-timeframe carry-forward levels can also be displayed.
Core Concepts
1. Relative-Volume Heat
The script normalizes current volume against a baseline and color-grades it.
2. Delta, Churn, and Participation
A delta proxy, churn estimate, and participation line classify the quality of activity.
3. Confirmed Pivot-Zone Creation
When significant participation coincides with confirmed pivots, the script stores those prices as candidate zones.
4. Zone Merging and Ranking
Nearby zones are merged and stronger zones are prioritized.
5. Higher-Timeframe Carry-Forward Levels
Important HTF zones can be projected into the current chart.
6. Retest Logic
The script distinguishes whether an active zone is currently acting as support or resistance.
7. Overlay Box and Line Projection
Zones are projected forward into current chart space using managed boxes, lines, and labels.
8. Participation State Readout
The dashboard summarizes the dominant volume condition, active zones, and current participation quality.
Features
Relative-volume heatmap: current activity is normalized and color-graded
Delta, churn, sigma, and participation analytics: classifies the character of activity
Confirmed volume-origin zones: maps price areas linked to meaningful participation
Zone merging and ranking: reduces clutter and prioritizes stronger regions
Projected overlay boxes and lines: extends active zones into current price
Higher-timeframe ledger context: broader levels can be carried forward
Support / resistance retest logic: distinguishes how price is interacting with the zone
Bar tint and backdrop state: strong participation conditions are easy to spot
Dashboard: summarizes volume state and dominant zone structure
Input Parameters
Ledger Core:
Volume Comparison
Ledger Window
Participation Smoothing
Delta and Churn Settings
Relative Volume Thresholds
Zone Engine / Display:
Zone Extension
Merge Threshold
Zone Ranking Rules
Projected Levels
Higher-Timeframe Carry-Forward
Show Dashboard
Show Average
Show Participation Line
Show Projected Levels
Show Backdrop
Show Bar Tint
How to Use This Indicator
Step 1: Read current participation quality using the relative-volume state and participation line.
Step 2: Identify the dominant projected zones on the chart.
Step 3: Watch retests into those zones and compare them to current participation behavior.
Step 4: Compare active zones with higher-timeframe carry-forward levels.
Step 5: Use the script as confirmation beneath trend, liquidity, or retracement narratives.
Indicator Limitations
Volume proxies do not provide true exchange-level order-flow
High participation does not guarantee reversal or continuation
Very noisy markets can generate many candidate zones before merging and ranking simplify them
The script identifies footprints of activity, not certain turning points
Originality Statement
This script is original in the way it combines relative-volume heat, effort classification, pivot-zone construction, merging, ranking, higher-timeframe carry-forward, and retest-aware styling into a single participation ledger.
The purpose is not merely to show volume.
It is to preserve the most useful consequences of volume.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice.
Volume and participation footprints do not guarantee future support or resistance.
Always use independent analysis and risk management.
Best Use Cases
Studying where strong participation likely left a usable footprint
Comparing current price retests to historical participation zones
Separating constructive activity from churn-heavy activity
Adding participation context to trend, liquidity, or retracement narratives
Interpretation Notes
Not every high-volume event deserves the same weight.
The script is most useful when strong participation aligns with structural pivots and later retests.
Higher-timeframe carry-forward levels can be especially helpful when local price is approaching an older but still meaningful participation zone.
The strongest zones are not simply the largest bars.
They are the most meaningful surviving footprints after merging, ranking, and retest context are applied.
Publication Notes
This script is intended to be published with a clean chart where the dominant projected zones and the current participation state are clearly identifiable.
The chart should not be overloaded with extra unrelated studies.
The image should make the volume-to-zone relationship understandable to a first-time viewer.
-Made with passion by jackofalltrades
Indicator

Indicator
