Crucible Range Compression [JOAT]Crucible Range Compression
Crucible Range Compression detects volatility-compression episodes by blending three independent contraction proxies — Bollinger Band Width percentile, ATR percentile, and body-range Z-score — into a single intensity score. While compressed, the script tracks Cumulative Volume Delta inside the compression window to predict breakout direction. On confirmed compression exit it projects a chamber-width target line. A history strip records each completed compression with its outcome.
What makes it different
Single-metric volatility-contraction indicators (BBW or ATR alone) can be misled by price-level changes. The composite intensity uses three normalized metrics, each over a percentile lookback, so contraction across multiple lenses is required for a true compression read.
The compression chamber is drawn as a dynamic box (top and bottom bounds expanding while the compression remains active) with three nested concentric rings that visually tighten as intensity increases. A clear visual countdown to breakout.
Inside the chamber, CVD slope predicts breakout direction before the breakout occurs. A direction-bias gauge surfaces this prediction in a 21-segment vertical scale.
Two forward projection lines appear AFTER compression exits but BEFORE the breakout candle confirms — bull target at chamber-high plus width, bear target at chamber-low minus width. Once the direction confirms, only the active target survives.
A false-breakout signal fires when price breaks in the opposite direction of CVD's bias. A high-value warning that a fast reversal is likely.
How it works
Bollinger Band Width equals (upper minus lower) divided by basis. Convert to percentile rank over a 100-bar lookback.
ATR(14) percentile rank over the same lookback.
Body range equals the absolute distance between close and open. Body Z equals (body minus sma(body, 20)) divided by stdev(body, 20). Map to a 0-1 score where small bodies equal 1.
Intensity equals 0.40 times (1 minus BBW%) plus 0.40 times (1 minus ATR%) plus 0.20 times body score. Range 0 to 1 where 1 equals maximum compression.
Compression active when intensity exceeds the user threshold (default 0.7). Chamber bounds are the running max / min of high / low while active.
CVD inside the chamber: delta equals plus volume on up bars, minus volume on down bars, zero otherwise, summed since chamber start. Slope equals total delta divided by bars in chamber.
On exit (intensity drops below threshold), if close above chamber high and CVD bias above 0, bull breakout. If close below chamber low and CVD bias below 0, bear breakout. If price breaks one way but CVD predicted the other, false-breakout signal.
Target on confirmed direction equals breakout close plus or minus chamber width.
Reading the chart
Outer compression chamber box, transparency-modulated by intensity, anchored at compression start.
Three nested concentric rings inside the chamber, smaller and smaller, tinted by direction bias.
Iridescent candle recolor scales transparency with intensity (faded while compressed, vivid on expansion).
Forward projection lines (bull target and bear target) appear at compression exit and disappear when one direction confirms.
A confirmed target line plus price label persists until hit or expired.
bgcolor pulses: 3-bar fade on compression entry, 2-bar fade on confirmed breakout (bull / bear).
Chamber exit pulse: border alpha cycles for 3 bars when compression exits.
A right-edge intensity gauge label with intensity %, state, bias, bars in.
A right-side 21-segment direction-bias gauge mirroring CVD slope.
Pre-compression bgcolor highlight when intensity is approaching the threshold.
An intensity history mini-strip on the right edge showing the last 10 intensity values as colored line segments.
A compression history strip (last 10 completed compressions with outcomes).
A daily compression counter.
Signals
Compression entry (intensity crosses above threshold)
Compression exit (intensity drops below threshold, breakout pending)
Bull breakout confirmed
Bear breakout confirmed
False breakout (direction mismatch with CVD bias)
All gated on barstate.isconfirmed or barstate.ishistory. No future references.
Inputs
Compression : BB length, BB stdev multiplier, percentile lookback, activation threshold, chamber initial length, target line extension bars.
Visual : bullish, bearish, neutral colors. Chamber, nested rings, candles, target line, pulses, gauge toggles.
On-chart : compression history, intensity strip, pre-compression highlight, bias gauge, projection lines, target hit/miss labels, false-breakout revert line, state block, cycle counter, exit pulse.
Dashboard : position, size.
How traders use this
Breakout entries : wait for the confirmed bull / bear breakout signal AND the CVD-bias gauge to be aligned. False-breakout signals when these disagree are reasons to pass or fade.
Range trading : while compression is active (chamber visible), reactions to chamber high / low are intra-range scalp setups.
Target management : once the breakout fires and the target line appears, common practice is to scale out at chamber-mid first, then chamber-target. The chamber width is the implied move.
Compression history : see how previous compressions resolved on the current instrument. A series of Win entries means the setup has been productive recently.
Limitations
Compression detection requires warm-up history (100 bars for the percentile calculations). On very young charts the script is inert.
CVD bias inside a chamber is a probability, not a guarantee. False breakouts happen when liquidity sweeps stops on the predicted side first.
For instruments with very thin volume data, the CVD direction signal is less reliable.
The chamber width is a measured-move proxy. Actual move size can exceed or fall short.
Compatibility
Pine Script v6 open-source indicator (overlay). Any symbol, any timeframe (more bars equals more reliable percentile context). No request.security calls.
Defaults
20-bar BB, 2.0 BB stdev, 100-bar percentile lookback, 0.7 activation threshold, 20-bar initial chamber length, 40-bar target extension, mint / red / gray palette, top-right medium dashboard.
Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Prav_LevelsThis Pine Script indicator plots persistent higher timeframe liquidity levels including Previous Day High/Low/Close (PDH, PDL, PDC), Previous Week High/Low (PWH, PWL), and Previous Month High/Low (PMH, PML). It creates the levels only once per new day, week, or month, preventing constant redraws and improving chart performance. The lines automatically extend only up to the current candle and remain visible across all lower timeframes. Labels are dynamically positioned on the right side with ATR-based spacing to avoid overlapping. If multiple levels are very close, the script intelligently merges labels such as “PDH/PWH” for cleaner visualization. The indicator also supports customizable line styles and widths for better chart appearance Indicator

Apex Pivot & S/R Dynamics [Pineify]Apex Pivot & S/R Dynamics
This indicator maps structural support and resistance directly from confirmed pivot highs and lows, then tracks each level in real time until price decisively closes through it. Rather than drawing static zones at fixed intervals, every line is anchored to an actual swing point and extended bar by bar — the moment a close-based breach occurs, the line is deleted and a breakout label appears. The result is a chart that reflects only the levels that are still relevant right now.
Key Features
Pivot-confirmed S/R lines drawn at the exact bar where a swing high or low was established
Close-based breakout detection with a one-bar confirmation filter — no reaction to wicks alone
Automatic line removal on breach, keeping the chart free of invalidated levels
Configurable cap on active lines per side; oldest unbroken levels drop off when the limit is hit
Separate color controls for resistance, support, bullish breakout labels, and bearish breakout labels
How It Works
Pine's built-in ta.pivothigh() and ta.pivotlow() functions require price to form a local extreme confirmed by length bars on both sides. A pivot confirmed with length=15 means the indicator "sees" it 15 bars after it forms — and draws the line aligned back to that original swing bar. This lag is inherent to pivot detection and trades off responsiveness for confirmation quality.
Each confirmed pivot spawns a dashed horizontal line stored in a typed array alongside its exact price. Every subsequent bar, the loop iterates through active lines and extends them to the current bar. When a close-above-resistance or close-below-support transition occurs (previous close on the wrong side, current close on the right side), the breakout condition fires: the line is deleted from the array, an annotated label is placed, and the level is gone from the chart permanently.
Bars accumulate until a swing extreme is confirmed on both sides
A dashed line is created at the pivot price, extending right indefinitely
Each bar, the loop checks whether price has closed through each level
On breach: label placed, line deleted, level removed from active tracking
If unbroken levels exceed the configured cap, the oldest is silently removed
How the Components Work Together
The pivot detection sets the quality bar for which prices become levels — only price extremes that the market has already tested and respected on both sides qualify. The one-bar close confirmation then filters out wicks that pierce a level intrabar but don't follow through: a single candle that closes back inside the range doesn't trigger a breakout. Together, these two filters mean the breakout label fires on the first candle that suggests actual intent to move away from the level, not just noise around it.
The array-based memory management is what separates this from simpler implementations that draw lines and forget them. Because each line object is tracked with its price level, the indicator can cleanly unwind invalidated structure rather than letting stale lines accumulate across months of history.
Trading Ideas and Insights
On a retest setup: watch for price to pull back to a freshly broken resistance level (now acting as support) without triggering a new bearish breakout label — that silence is the confirmation
When multiple resistance lines cluster within a few ticks of each other, the zone represents confluent supply; a breakout label through that cluster carries more weight than a breach of an isolated swing
Use the breakout label count per session as a rough measure of trend strength — trending days tend to fire several same-direction labels in sequence, while ranging days flip back and forth
On higher timeframes (daily, weekly), the lines mark major structural zones; consider using a tighter lookback (8–10) on intraday charts where swing structure is denser
Past behavior at these levels does not guarantee future outcomes. S/R analysis works best when combined with volume, momentum, or broader context rather than used in isolation.
Unique Aspects
Lines are anchored to their originating pivot bar visually — the small triangle marker shows exactly which candle created each level, so you can assess the quality of the original swing without scrolling back
Close-based breakout confirmation with a prior-bar check is more conservative than most pivot S/R scripts, which often fire on any penetration regardless of close location
The self-cleaning design — lines disappear when breached and oldest lines drop when the cap is hit — makes the chart readable across all timeframes without manual cleanup
How to Use
Add to any chart; the indicator overlays directly on price with no separate pane
Adjust "Pivot Lookback" to match your timeframe — higher values (20–30) on daily charts identify major structure; lower values (5–10) on intraday charts capture faster swings
Red dashed lines are active resistance levels; green dashed lines are active support levels
A blue "B" label above a bar signals a bullish breakout through resistance; an orange "B" below signals a bearish breakdown through support
If the chart becomes crowded, lower "Max Active Lines" to keep only the most recent unbroken levels visible
Customization
Pivot Lookback (default: 15) — Controls how many bars on each side must be lower/higher to confirm a pivot. Increasing this confirms stronger, less frequent levels; decreasing it produces more levels with earlier detection but more sensitivity to minor swings.
Highlight Breakouts (default: on) — Toggles the breakout labels. Turn off if you only want the S/R lines without annotation.
Max Active Lines (default: 15) — Caps the number of lines per side. On instruments with very dense swing structure or long histories, reducing this to 8–10 keeps the chart uncluttered.
Line and Label Colors — Four separate color inputs for resistance lines, support lines, bullish breakout labels, and bearish breakout labels. Adjust to match your chart theme.
Conclusion
Apex Pivot & S/R Dynamics automates the manual process of marking swing highs and lows, extending them forward, and cleaning them up when they are no longer valid. The close-based breakout filter and automatic array management mean the chart reflects current market structure rather than accumulated history. Traders focused on price action and structural levels — particularly those who trade retests and breakout continuations — will find this a practical alternative to manually drawn S/R zones.
Indicator

Ranked Support & Resistance Zones (Zeiierman)█ Overview
Ranked Support & Resistance Zones (Zeiierman) is an adaptive S/R engine that transforms traditional pivot-based support and resistance detection into a dynamic ranking, filtering, and prioritization system.
Instead of plotting every detected level equally, the script stores each support and resistance zone as a structured data object, evaluates its quality in real time using multiple market factors, and continuously ranks all active zones by relative strength.
The result is a cleaner, more intelligent support/resistance framework that focuses on the most relevant zones currently influencing price action.
█ How It Works
⚪ Structured S/R Zone Engine
Each detected support or resistance area is stored as a structured UDT object containing its price range, direction, midpoint, width, mitigation state, touch count, volume behavior, trend alignment, swing quality, internal strength, and overall ranking score.
This allows every zone to behave like an active market structure rather than a static horizontal level.
The script detects resistance from confirmed pivot highs and support from confirmed pivot lows. Each pivot is filtered using ATR-normalized swing quality, helping the system adapt across different assets, volatility conditions, and timeframes.
⚪ Dynamic Quality Ranking
Every S/R zone receives a continuously updated quality score based on:
• Zone width relative to ATR
• Volume behavior
• EMA trend alignment
• Pivot swing quality
• Touch count
• Mitigation progress
• Zone age decay
All S/R zone objects are stored inside an array and ranked using Pine Script’s native UDT collection sorting:
srZones.sort(order.descending, sort_field = "score")
This allows the script to dynamically reorder all active support and resistance zones in real time, prioritizing the strongest market structure while weaker or older zones gradually lose ranking.
⚪ Smart Zone Management
After sorting, only the highest-ranked zones are displayed on the chart while lower-ranked zones remain internally tracked but hidden from view.
Similar zones of the same direction can be absorbed into an existing zone when they are close enough or meaningfully overlapping. This helps reduce clutter and creates cleaner support/resistance areas instead of stacking many nearby levels.
Each zone also tracks mitigation progress. As price trades deeper into a support or resistance zone, mitigation increases, and the zone’s quality score weakens. When the price closes beyond the ATR-based break buffer, the zone is marked as broken and converted into a broken-zone reference.
⚪ Internal Strength Distribution
Every active zone contains bullish and bearish internal pressure components displayed as live strength bars inside the zone.
█ How to Use
⚪ Focus on Top-Ranked Zones
Only the strongest support and resistance zones are displayed based on current market conditions and quality ranking.
⚪ Read Internal Strength Bars
• Strong support strength → stronger demand-side defense
• Strong resistance strength → stronger supply-side rejection
• Balanced pressure → weaker or less decisive structure
• Opposing pressure growth → increasing risk of mitigation or break
⚪ Watch for Retests and Mitigation
Support and resistance zones are most useful when the price revisits them after they form.
Strong reactions often show:
• Immediate rejection or bounce from the zone
• Respect for the zone boundaries
• Continuation away from the level
• Internal strength remaining aligned with the zone direction
Deeper or repeated retests can weaken the zone over time as mitigation increases and quality decays.
█ Related Scripts
Ranked FVG Imbalance Zones (Zeiierman)
Ranked Order Block Zones (Zeiierman)
█ Settings
Show Top Zones: Controls how many of the highest-ranked support and resistance zones are displayed.
Max Stored Zones: Controls the maximum number of S/R zones that can be tracked internally.
Pivot Length: Defines how many candles are required on each side to confirm a pivot high or pivot low.
Min Pivot ATR: Defines the minimum ATR-normalized pivot strength required for zone creation.
Absorb Similar Zones: Controls how close or overlapping zones must be before they are absorbed into an existing zone.
Zone Width ATR: Controls the thickness of each support/resistance zone.
Volume MA Length: Defines the baseline used for volume behavior scoring.
Trend EMA Length: Defines the EMA used for trend alignment scoring.
Break Close Buffer ATR: Controls how far the price must close beyond a zone before it is considered broken.
Keep Broken Zones: Controls how many broken zones remain visible after invalidation.
Direction Filter: Allows displaying all zones, support-only, or resistance-only.
Show Strength Bars: Shows or hides bullish and bearish internal strength bars inside each zone.
Show Zone Text: Shows or hides smart zone labels such as Weak Support, Strong Resistance, or Mitigated Support.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Volume Profile Enhanced PeriodicVolume Profile Enhanced Periodic
Volume Profile Enhanced Periodic is an advanced profile framework designed to analyze and visualize how volume is distributed across price levels over repeating time periods such as days, weeks, months, quarters, and years.
Unlike traditional fixed-range profiles that focus on a single visible section of the chart, this indicator automatically generates separate volume profiles for each selected historical period, allowing traders to study how price acceptance, value migration, and high participation areas evolve over time.
The objective is to identify where market participants historically concentrated activity and monitor how these areas shift as market structure develops.
By combining period-based volume profiles, Point of Control tracking, Value Area analysis, extending POC levels, and profile projection tools, the indicator is designed to provide additional context for support/resistance behavior, market acceptance, and evolving market structure.
Features
• Automatic Day / Week / Month / Quarter / Year profiles
• Historical profile generation across multiple periods
• Solid histogram profile display
• Profile direction toggle (Left or Right facing)
• Point of Control (POC) detection
• Previous POC tracking
• Value Area High (VAH) and Value Area Low (VAL) calculations
• Extend POC levels until price interaction
• Extend Value Area fields into future periods
• Adjustable Value Area extension brightness
• Custom profile width controls
• Historical profile management controls
• Lightweight performance optimization
• Naked labels without background flags
• Dynamic labels for:
• POC
• Previous POC
• VAH
• VAL
Alerts Included
• Price Crossed POC
• Price Crossed VAH
• Price Crossed VAL
• POC Shifted Higher
• POC Shifted Lower
• Price Entered Value Area
• Price Exited Value Area
Potential Use Cases
• Identify historical high participation zones
• Locate support and resistance areas
• Monitor value migration over time
• Track changing market acceptance
• Identify developing imbalance areas
• Observe POC movement between periods
• Use extended POC levels as potential reaction zones
• Add confluence to existing systems
• Study auction behavior and market structure
Interpretation
POC (Point of Control)
Represents the price level where the highest concentration of volume occurred during the selected period.
VAH (Value Area High)
Represents the upper boundary of the selected value area where the majority of trading activity occurred.
VAL (Value Area Low)
Represents the lower boundary of the selected value area.
Previous POC
Displays prior dominant participation levels for historical context.
Extended POC
Extends POC levels forward until price revisits or crosses through them, potentially highlighting important market interaction zones.
Extended Value Area Field
Projects the previous period's value area into future price action for additional context regarding acceptance and rejection zones.
About TrendGenY Indicators
TrendGenY indicators are built from market experience, creative concepts, and a constant pursuit of unique perspectives. Rather than following conventional ideas, the focus is on uncovering alternative insights and viewing market behavior through different angles to reveal information that traditional tools may overlook and help traders build a more meaningful edge in the market. Indicator

Indicator

Indicator

Hurst Fractal Regime Atlas [JOAT]Hurst Fractal Regime Atlas
Introduction
Hurst Fractal Regime Atlas estimates persistence and mean-reversion regimes using Hurst approximation, fractal dimension, variance ratio, phase coherence, and tension.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Hurst Approximation
Rescaled-range behavior estimates whether price is persistent, random-like, or mean-reverting.
2. Fractal Dimension
The Hurst estimate is converted into a roughness measure using dimension logic.
3. Multi-Horizon Coherence
Micro, meso, and macro Hurst readings are compared for agreement.
4. Adaptive Rails
ATR, volatility cluster, and Hurst distance expand or contract the fractal field.
fractalDimension = 2.0 - hurstBlend
Features
Hurst and fractal dimension estimates
Persistence, reversion, and mixed regimes
Coherence and tension scoring
Adaptive fractal rails
Breakout, mean, fade, and unstable events
Input Parameters
Fractal and short horizon windows
ATR length
Persistence and mean-reversion gates
Cooldown
Rails, candles, and HUD toggles
How to Use This Script
Use the HUD regime first. Persistence supports continuation interpretation; reversion supports fading extremes; high tension warns of disagreement.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
HFA is original in combining Hurst approximation, variance ratio, coherence, tension, and adaptive rails.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades Indicator

Daily Weekly Monthly Levels with VWAP Day bolofsig Short description: PDH/PDL + PWH/PWL + PMH/PML structural levels + session VWAP + day-type stage classifier
(BASING/ADVANCING/DECLINING/TOPPING/TRANSITIONING) with staged entry alerts.
Full description:
Comprehensive intraday trading framework that combines four institutional concepts on one chart:
1. Multi-timeframe structural levels — auto-rendered each session:
- Daily: PDH (Prior Day High), PDL (Prior Day Low)
- Weekly: PWH (Prior Week High), PWL (Prior Week Low)
- Monthly: PMH (Prior Month High), PML (Prior Month Low)
2. Anchored session VWAP — volume-weighted average price from session open, with slope context (rising / flat / falling) for regime read.
3. Day-type stage classifier — automatically tags each session as one of five regimes:
- STAGE 1: BASING — inside range + VWAP flat = wait, no edge
- STAGE 2: ADVANCING — above PDH + VWAP rising = trend day long
- STAGE 3: TOPPING — above PDH but VWAP rolling = trim longs
- STAGE 4: DECLINING — below PDL + VWAP falling = trend day short
- TRANSITIONING — no clean regime = half-size, sweeps only
4. Staged entry alerts — high-conviction triggers fire on level interactions:
- Reclaim: staged_pdl_reclaim, staged_pwl_reclaim, staged_pml_reclaim (price wicks below level, closes back above)
- Held: staged_pdh_held, staged_pwh_held, staged_pmh_held (price tests level as support from above, bounces)
- Break: staged_pdh_break, staged_pwh_break, staged_pmh_break (decisive close through resistance)
Each alert payload includes:
- Confluence count — number of timeframe levels stacked within 1% of the entry price (1 = single level, 2-3 = institutional confluence zone)
- Volume ratio — fire-bar volume / 20-bar average (1.0 = average, 1.5+ = elevated, 2.0+ = institutional)
- VWAP slope % — directional bias of session VWAP
- Stage — current day-type classifier
These extras let you filter low-quality setups (e.g., skip alerts with volume_ratio < 1.0 or stage = BASING) or weight conviction
(confluence ≥ 2 = higher-tier setup).
Designed to work at any intraday timeframe (5m, 10m, 15m, 1h) — all level + stage data is pulled from daily/weekly/monthly bars so behavior
is consistent regardless of chart resolution.
How to use: Apply to chart, enable the level toggles you want (Inputs tab — separate switches for daily/weekly/monthly), set PulseWire
alerts on the staged condition you want to trade (e.g., "staged_pdl_reclaim BUY"). Use the day-type stage tag in the chart corner for
instant regime context — don't trade longs during DECLINING, don't chase breakouts during BASING.
Best pairing: combine with the "Anchored VWAP Monthly" indicator for the full HTF + intraday institutional framework.
vwap support-resistance intraday day-trading prior-day-high prior-day-low stage-analysis multi-timeframe Indicator

Fibonacci Retracement Statistics by VolProfexFIBONACCI RETRACEMENT STATISTICS BY VOLPROFEX
=============================================
DESCRIPTION
-----------
Fibonacci Retracement Statistics is an analysis tool that
automatically detects price swings, tracks retracements within each trend,
and calculates how often price retraces to various Fibonacci levels. The
indicator labels every completed swing with its swing number and deepest
fib level reached (e.g. "▲ #12 78.6%"), and displays a statistics table
showing the count and percentage of swings reaching each level.
All visual elements (trend boxes, fib lines, retracement boxes, labels, and
the statistics table) are drawn only on the last chart bar, keeping the
indicator performant during real-time scrolling. Retracement labels update
in real time so you always see the current value for the active swing.
HOW IT WORKS
------------
1. SWING DETECTION (ATR-Deviation ZigZag)
A volatility-adaptive ZigZag engine finds pivot highs and lows. A pivot
is confirmed when price moves against the current leg by at least
ATR(period) × deviation multiplier. A minimum swing size filter discards
insignificant wiggles. A spike filter rejects reversals triggered by
bars with extreme wick-to-body ratios.
2. HIGHER-TIMEFRAME (HTF) CONTEXT (optional)
When enabled, the indicator loads data from a higher timeframe (default: 1h)
and runs the same ZigZag engine on it. Completed HTF swings are drawn as
translucent boxes on the chart. Local swings are filtered to only count
when their direction matches the HTF swing they fall inside. This removes
counter-trend noise within the larger structure.
A separate gate ("Exclude Retracements outside HTF swing") further filters
retracement contributions: only retracements where both the trend leg and
the counter-trend leg fall inside the same completed HTF box are counted
in statistics and drawn on the chart.
3. TREND & RETRACEMENT TRACKING
Alternating pivot types (high → low → high → ...) create directional
trends. For each unfinalised trend, the indicator tracks the extreme
retracement price bar by bar. When the trend completes, the retracement
percentage is calculated using the actual counter-trend leg. This value is
then compared against each enabled Fibonacci level.
4. FIBONACCI LEVEL COUNTING
A cumulative counting system tallies how many trends have retraced to
each enabled level. Levels available include: 23.6%, 38.2%, 50.0%, 61.8%,
78.6%, 88.6%, 100.0%, 127.2%, 138.2%, 150.0%, 161.8%, plus up to 5
custom levels (0–500%). The statistics table is split into UP and DOWN
sections, each with its own Level / Count / Percent columns.
5. INTRADAY TIME WINDOW (optional)
On intraday charts, you can set a session window (e.g. 09:30–16:00) to
restrict which swings are analysed. Choose between "Pivot Confirmed Inside"
(the confirming bar's timestamp must fall in the window) or "Full Cycle
Inside" (both the pivot start and confirmation must fall in the window).
A visual box overlay can be enabled to highlight the active window.
6. SPIKE FILTER
Optionally discard ZigZag reversals triggered by bars where the upper or
lower wick exceeds the body by a user-defined ratio. This helps avoid
false pivot signals from sudden, low-liquidity spikes.
SETTINGS REFERENCE (defaults optimised for BTCUSDT, 5m chart, 1h HTF)
---------------------------------------------------------------------
── SWING ENGINE ──
- ATR Period: 14
Period for ATR calculations. Shared by local ZigZag and HTF swing detection.
- ZigZag Deviation Multiplier (ATR ×): 3.0
Pivot confirmed when price reverses by ATR × this value.
- Min Swing Size (ATR multiple): 0.8
Legs smaller than ATR × this are discarded. Set 0 to disable.
── HTF CONTEXT ──
- Use Higher Timeframe Swing Context: ON
When enabled, local swings are counted only when their direction matches the
current HTF swing bias.
- HTF Timeframe: 60
Higher timeframe for context. Must be higher than the chart timeframe.
- HTF Swing Deviation (ATR ×): 3.5
ATR multiplier for HTF pivot reversals.
- HTF Min Swing Size (ATR ×): 1.5
Minimum leg size for HTF swings. Set 0 to disable.
- Exclude Retracements outside HTF swing: ON
When enabled, only retracements fully contained within a completed HTF swing
box contribute to statistics and visual output.
- Show HTF Swings: ON
Draws HTF major swing boxes on the chart (Blue = upswing, Red = downswing).
- HTF Bull Color / HTF Bear Color: Blue (50% transp) / Red (50% transp)
── FIBONACCI LEVELS ──
- Levels enabled by default: 23.6%, 38.2%, 50.0%, 61.8%, 78.6%, 100.0%,
138.2%, 161.8%
- 5 custom level slots, each 0.0–500.0%. Set to 0.0 to disable. Default: all 0.0
── FILTERS ──
- Trend Direction: Both
Options: Both / Uptrends Only / Downtrends Only
- Use Intraday Time Window: OFF
When ON, applies a daily clock window on intraday charts.
- Window Session: 0930-1600
- Window Mode: Pivot Confirmed Inside
Options: Pivot Confirmed Inside / Full Cycle Inside
- Window Timezone: Exchange (uses the symbol's exchange timezone)
- Show Time Window Box: OFF
Visual box highlighting the active intraday window.
- Enable Spike Filter: ON
Discard reversals triggered by spike bars.
- Max Wick-to-Body Ratio: 4.0
Threshold for spike detection (wick ≥ this × body).
── DISPLAY ──
- Show Trend Boxes: ON (Border Width: 1)
Bullish: Teal / Bearish: Maroon
- Show Fib Lines: ON (Width: 1, Style: Dashed, Color: Gray at 60% transp)
- Show Fib Labels: ON (Position: Right, Vertical: Center, Size: Small, Color: White)
- Show Retracement Boxes: ON (Color: Orange at 40% transp)
- Show Retracement Labels: ON (Position: Center, Vertical: Below, Size: Small, Color: Yellow)
- Max Trends Drawn: 50 (1–500)
── TABLE ──
- Table Position: Top Right
- Font Size: Small
VISUAL OUTPUT
-------------
1. Trend Boxes: Translucent coloured boxes spanning each completed swing leg.
2. Fib Lines & Labels: Dashed (or solid/dotted) lines at each Fibonacci level
with optional percentage labels on every completed swing.
3. Retracement Boxes: Overlay boxes on the counter-trend leg with a connecting
diagonal line, colour-coded by trend direction.
4. Retracement Labels: Labels on each retracement showing:
- Arrow direction (▲ = uptrend, ▼ = downtrend)
- Filtered swing number
- Deepest Fibonacci level reached
5. HTF Swing Boxes: Larger translucent boxes showing higher-timeframe swing
structure (blue = up, red = down).
6. Statistics Table: A table in one of four corners displaying:
- Level | Count | Percent for uptrends (teal header)
- Level | Count | Percent for downtrends (maroon header) Indicator

AlgoStorm Institutional Key Levels (IKL)AlgoStorm Institutional Key Levels (IKL)
For US Index Futures and DAX.
An institutional-grade structural mapping tool built on actual Auction Market Theory (AMT) to track the true liquidity and volume nodes across centralized futures markets.
The retail trading industry has heavily distorted the word "institutional," convincing traders that algorithms are hunting their stop-losses at random pivot highs. The reality is far more objective. Real institutions, hedge funds, and market makers rely on definitive, centralized exchange volume, liquidity depth, and execution algorithms (VWAP/TWAP) to scale into positions without causing market impact.
The AlgoStorm Institutional Key Levels (IKL) indicator maps the precise mathematical benchmarks that dictate this capital flow. Designed for markets with centralized volume (CME, Eurex), it plots highly accurate session opens, Opening Ranges, Initial Balances, and Value Areas, stripping away retail noise to provide a professional framework for your intraday bias.
Technical Specifications & Architecture
Supported Markets: Universal application for centralized futures markets including US Indices (ES, NQ, YM, RTY) and European Indices (DAX/FDAX, FDXM).
Supported Timeframes: Designed specifically for 2-minute through 30-minute charts . (Note: Due to the historical buffers required for multi-session mapping, Pine Script will reject timeframes below 2-minutes).
Timezone Mastery: Flawlessly handles Daylight Saving Time (DST) transitions natively. US Futures are bound strictly to America/New_York , while DAX/Eurex Futures are strictly bound to Europe/Berlin .
Fixed-Pool Drawing Engine: Most level indicators suffer from memory bloat and chart lag due to constant object creation and garbage collection limits. The IKL utilizes a highly optimized "fixed-pool" architecture. Lines and labels are generated only once on the first bar and recycled dynamically.
Smart Label Stagger: Features a forward-pass algorithm that detects and pushes overlapping labels apart (user-adjustable separation), ensuring your chart remains pristine regardless of price compression.
US Futures Mapping (ES / NQ / YM / RTY)
All inputs trigger based on standard America/New_York session times.
Globex Structure: Previous Day High/Low (Full 18:00–17:00 session) and Overnight High/Low (18:00 to 09:30 ET).
RTH Anchors: Previous Day Close (PDC) locked exactly at the 16:00 ET cash close, and the RTH Open (09:30 ET) held all day.
Gap Fill Zone: Automatically draws an asynchronous highlight box between the PDC and current RTH open if an unfilled gap of more than 2 ticks exists.
Auction Metrics: 15-minute Opening Range (09:30–09:45 ET) and the standard Initial Balance (09:30–10:30 ET) with optional 100%, 150%, and 200% IB extension bands.
Eurex / DAX Futures Mapping (FDAX / FDXM)
A complete, standalone module built for the complex, multi-open nature of European futures. Based on Europe/Berlin time.
Asian / Pre-London Phase: Tracks Eurex overnight high/low from 01:00 CET until Frankfurt liquidity arrives at 08:00 CET.
Euro / Frankfurt Session: Plots the 08:00 CET Open and the 30-minute Euro Opening Range (08:00–08:30 CET).
Xetra Cash Session: Plots the definitive Xetra Open (09:00 CET), Xetra OPR (09:00–09:30 CET), and the Previous Xetra Close (17:30 CET) which acts as the DAX equivalent to the US PDC.
US Open Impact: Captures the 15:30 CET open and 30-minute OPR, marking the massive liquidity injection when US equity markets open.
Execution & Volume Mechanics
Algorithmic VWAPs: Plots the exact Daily and Session VWAP bands used by institutional execution desks to grade their fills. Features a full Globex Daily VWAP (resets 18:00 ET), a localized NY VWAP (resets 09:30 ET), and a dedicated Xetra VWAP (resets 09:00 CET).
Custom Value Area Engine: Features a built-in, manual array-based Volume Profile engine. It calculates the Point of Control (POC) and Value Area High/Low (VAH/VAL) for both RTH and Xetra sessions independently, bypassing standard Pine Script volume limitations. Users can customize the Value Area % and price-row tick size.
Indicator

Indicator

Indicator

Fibonacci Time Window [forexobroker]Fibonacci Time Window projects expected reversal-time windows by taking the bar-distance between the last two confirmed swing pivots as a base cycle and extending it forward by Fibonacci ratios. The unique angle is that it works on the time axis rather than the price axis: signals only arm when price is inside a projected Fib time window and a reclaim-EMA cross aligns with the trend.
🔶 ALGORITHM
1. Detect confirmed swing pivots with ta.pivothigh / ta.pivotlow over the pivot length (lag of pivot-length bars by construction, so non-repainting).
2. Base cycle = bar-distance between the two most recent confirmed pivots.
3. Project three forward time targets from the latest pivot bar: pivot bar + round(base cycle x ratio) for Fib Ratio 1 (1.0), Fib Ratio 2 (1.618), and Fib Ratio 3 (2.618).
4. A time window is open when the current bar is within Window Tolerance bars of any of the three projected targets.
5. Directional bias inside a window comes from price vs the trend EMA (above = up, below = down).
6. Entry timing: while in a window and aligned with the trend direction, a close crossover (long) or crossunder (short) of the reclaim EMA fires the signal. Cooldown, position-lock, and bar-close confirmation apply.
🔶 SIGNAL LOGIC
- Buy: in-session AND price inside a projected Fib time window AND trend direction = up AND close crosses over the reclaim EMA AND position not already long AND cooldown elapsed AND barstate.isconfirmed (then position locks long).
- Sell: in-session AND price inside a projected Fib time window AND trend direction = down AND close crosses under the reclaim EMA AND position not already short AND cooldown elapsed AND barstate.isconfirmed (then position locks short).
- Only fires while price is inside one of the three projected Fibonacci time windows.
🔶 INPUTS
- Time Cycle group: bars each side to confirm swing pivots that set the base cycle; default Pivot Length 8.
- Fib ratios: three time-projection multipliers of the base cycle; defaults Fib Ratio 1 1.0, Fib Ratio 2 1.618, Fib Ratio 3 2.618.
- Window tolerance: bars of slack around each projected time target; default Window Tolerance 2.
- Trend EMA: defines directional bias inside a window; default Trend EMA 34.
- Volatility reference: ATR length for window-line height and dashboard; default ATR Length 14.
- Signal Logic group: entry reclaim EMA and cooldown; default Entry Reclaim EMA 9.
- Cooldown: minimum bars between signals; default Cooldown Bars 5.
- Filters group: optional session restriction and session window; default Restrict to Session off.
- Visual group: time-window lines, dashboard, 3-layer glow, buy/sell colors, dashboard background.
🔶 ALERTS
FTW Buy, FTW Sell, FTW Any Signal, FTW Window Open, FTW Window Close, FTW Window 1, FTW Window 1.618, FTW Window 2.618, FTW New Pivot Hi, FTW New Pivot Lo, FTW EMA Up, FTW EMA Down, FTW Webhook JSON.
🔶 LIMITATIONS
- Swing pivots are confirmed with a lag of Pivot Length bars, so the base cycle and projected windows update only after that confirmation delay.
- The script needs at least two confirmed pivots before any time window can be projected, so early bars are a warm-up "warming up" state.
- Fibonacci time windows quantise to integer bars via rounding, so projected targets snap to whole-bar positions.
- Time-cycle projection is a heuristic timing aid, not a forecast; a window marks elevated reversal odds, not a guaranteed turn.
- Default pivot and ratio settings are tuned for liquid instruments; entries confirm on bar close, adding one-bar lag versus intrabar price.
Indicator

Indicator

Indicator

Orion Regression Field [JOAT]Orion Regression Field
Introduction
Orion Regression Field builds a weighted regression valuation field with standard error bands, curvature options, compression detection, and reprice signals.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Weighted Regression
Recent bars can receive more influence while still preserving a full model window.
2. Standard Error Bands
Inner and outer bands show statistical distance from the modeled path.
3. Curvature and Confidence
Optional curvature and R2-style confidence control when the field is considered reliable.
4. Pinch and Reprice
Compression and outer-band reactions create filtered reprice events.
mid = weightedRegression(close, len); band = standardError * multiplier
Features
Weighted regression midline
Inner and outer SEE bands
Optional curvature
Pinch shading and projection field
Filtered reprice labels
Input Parameters
Regression window and projection bars
Curvature toggle and weight floor
Minimum R2 confidence
Inner and outer band multipliers
Pinch ratio and cooldown
How to Use This Script
Use the field as statistical fair-value context. Outer band interaction means stretch, not automatic reversal.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Orion is original in combining weighted regression, curvature, standard error fields, compression context, and filtered reprice logic.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
Indicator

Indicator
