Consolidation zones + BreakoutThis Pine Script v6 indicator is designed to detect consolidation zones and mark breakout entries (long or short) when price exits those zones.
Indicator purpose
Identify periods where price moves in a tight range for several consecutive bars (consolidation).
Highlight those zones on the chart with a yellow shaded area between the local high and low.
Mark potential LONG and SHORT entries when price breaks out of a consolidation zone.
Core consolidation logic
The indicator measures whether the market is “compressed” by comparing the price range of recent bars with volatility measured via ATR:
It computes the highest high and lowest low of the last lookback bars:
rangeHigh = ta.highest(high, lookback)
rangeLow = ta.lowest(low, lookback)
It calculates the current range:
rng = rangeHigh - rangeLow
It calculates ATR over atrLen bars as a volatility benchmark:
atrVal = ta.atr(atrLen)
It defines a compressed range (base consolidation) when the range is smaller than a multiple of ATR:
baseConso = rng < atrVal * atrMult
Here, atrMult controls how tight the range must be. Lower values (0.8–1.0) require strong compression; higher values (1.5–2.0) are more permissive.
Minimum bars in consolidation
To avoid calling a very short pause a consolidation, the script enforces a minimum duration:
It uses ta.barssince(not baseConso) to count how many bars have passed since the last time the consolidation condition was false.
If that count is greater than or equal to minBars, the market is considered to be in consolidation:
text
isConsolidating = ta.barssince(not baseConso) >= minBars
This prevents 2–3 sideways bars from being treated as a full consolidation zone. The minBars input lets you adapt the duration to your timeframe and trading style.
Plotting the consolidation zone
When isConsolidating is true, the script shades the consolidation area:
It plots two invisible series for the zone’s high and low:
text
pHigh = plot(rangeHigh, display = display.none)
pLow = plot(rangeLow, display = display.none)
It creates a yellow semi‑transparent fill between those lines only while in consolidation:
text
fillColor = isConsolidating ? color.new(#ffeb3b, 80) : color.new(#ffeb3b, 100)
fill(pHigh, pLow, color = fillColor, title = "Consolidation Zone")
Outside consolidation, the color becomes almost fully transparent so the shaded zone disappears. This keeps the chart clean and focuses attention on the actual ranges.
Breakout detection (LONG / SHORT)
The script then looks for breakouts when price leaves a consolidation zone:
It checks if the previous bar was inside consolidation:
wasConso = isConsolidating
A bullish breakout (LONG) occurs when:
The current bar is no longer in consolidation (not isConsolidating).
The previous bar was in consolidation (wasConso).
The close breaks above the previous consolidation high (close > rangeHigh ):
text
breakLong = not isConsolidating and wasConso and close > rangeHigh
A bearish breakout (SHORT) occurs when:
The current bar is no longer in consolidation.
The previous bar was in consolidation.
The close breaks below the previous consolidation low (close < rangeLow ):
text
breakShort = not isConsolidating and wasConso and close < rangeLow
On each breakout, a label is drawn at the breakout bar:
text
if breakLong
label.new(bar_index, low, "LONG",
style = label.style_label_up,
textcolor = color.white,
color = color.new(color.teal, 0),
size = size.tiny)
if breakShort
label.new(bar_index, high, "SHORT",
style = label.style_label_down,
textcolor = color.white,
color = color.new(color.red, 0),
size = size.tiny)
These labels highlight where price transitions from sideways action to a potential directional move.
User inputs and tuning
lookback (Bars for range)
Number of bars used to compute the consolidation high/low. Higher values produce wider, less frequent zones; lower values detect shorter consolidations.
minBars (Minimum bars in consolidation)
Minimum number of consecutive bars that must meet the compression condition. On 15‑minute charts, values between 6 and 12 often work, but this depends on the asset.
atrLen and atrMult
Control how strict the compression rule is.
atrLen: ATR period.
atrMult: maximum allowed range as a multiple of ATR.
Increasing atrMult finds more zones; decreasing it makes the filter stricter.
showText
Optional helper label with a short description, useful when sharing the script with other users on the TradingView community.
Practical usage
Apply the indicator to your preferred timeframe (for example, 15‑minute crypto charts).
Tweak lookback, minBars, and atrMult until the yellow zones match the consolidations you would mark manually.
Use the LONG and SHORT labels as areas of interest for studying range breakouts and building your own entry/exit rules, always combining them with risk management and a complete trading strategy.
This way, the script turns a visual concept—sideways consolidation followed by breakout—into a systematic, testable signal in Pine Script v6.
樞軸點和水平
V1PRO Harmonic ScannerENGLISH (read first)
V1PRO Harmonic Scanner is an invite-only indicator that scans price action for harmonic XABCD structures across multiple sensitivity levels and visualizes potential reversal zones (PRZ) directly on the chart. It is built for discretionary traders who want a clean, configurable workflow plus structured alert output.
Core features
• Multi-scanner engine: up to 10 independent scanners with adjustable pivot level/depth and per-scanner tolerance factor.
• Harmonic pattern families supported (toggle each): Gartley, Bat, Butterfly, Crab, Deep Crab, Alternate Bat, Shark, Cypher.
• Quality scoring & filtering: xScore-based ranking to prioritize higher-quality candidates and reduce chart noise (with advanced scoring options).
• PRZ engine: selectable PRZ calculation modes, wick/close hit logic, optional freeze after hit, and configurable PRZ visibility (fill/lines).
• Visual control: global slot colors, line widths, label sizing, tag offsets, optional xScore color effect on pattern visuals, and transparency controls.
• Alerts (non-spam): “Detected” and “PRZ Hit” events, global + per-scanner inclusion, optional “Max N per bar” limiter, and output as Text or JSON (template-based).
How it works (high-level)
The script builds candidates from confirmed pivot structure, validates harmonic relationships within user-defined tolerances, derives a PRZ area, and then manages the on-chart visualization and alert output. Signals appear after pivots are confirmed (this can introduce natural delay versus real-time price).
Quick start
1) Add the script and begin with defaults.
2) Use the global History / maxPattern / xScore filter to control chart density and performance.
3) Choose your PRZ mode and hit trigger (Wick vs Close).
4) Enable/disable scanners or adjust their pivot level/depth to match your preferred sensitivity.
5) Fine-tune pattern toggles and tolerances if needed.
Alert setup
Create a TradingView alert on this indicator and select “Any alert() function call”. The script emits consolidated alerts once per bar close and can output either human-readable text or structured JSON for automation.
Notes & limitations
• This is a pattern/zone visualization and alerting tool — not financial advice and not a guarantee of results.
• Pivot confirmation can delay when patterns appear; reduce history/scanners if you need lighter performance.
• Debug/backtest tools (if enabled) are research aids and use simplified assumptions.
Auto Fib Precision [Fresh Zone Scanner]Auto Fib Precision
Are you tired of messy charts cluttered with too many Fibonacci lines? Auto Fib Precision is a professional-grade indicator designed for traders who value clarity, precision, and "Fresh Zones" (Untouched Levels).
Unlike standard tools that spam your chart with every possible retracement, this indicator focuses on one single high-probability level per swing and automatically cleans up the chart as price moves. It is designed to help you identify institutional entry points without the noise.
🚀 The Killer Feature: Smart Auto-Cleanup (Fresh Zones)
This tool thinks like a Smart Money trader. It features a sophisticated Mitigation Logic that automatically deletes lines once they are no longer valid.
The Concept: Only "Fresh" (Untouched) zones are statistically significant. A level that has already been tested often offers a lower probability of a bounce. How it works: As soon as the price hits a level (based on your settings), the line disappears. The Result: Your chart remains incredibly clean. If you see a line, it means the setup is active and waiting for you.
✨ Key Features
Single Level Focus: Defaults to 0.786 (The Harmonic "Sweet Spot"). Fully customizable to 0.618, 0.886, or any level you prefer.
Smart Visualization: Includes "Ghost Lines" (dashed) extending to the right so you never miss a zone, and Solid Badges for price labels to ensure readability over candles.
Market Structure Map: Optional overlay of the ZigZag path and Pivot Points to visualize the structure used for calculation.
⚙️ Settings & Customization
1. Algorithm Pivot Lookback (Default: 3): Determines sensitivity. Increase for larger swings. Logarithmic Calculation: Enable this if analyzing assets on Log-Scale charts.
2. Mitigation (The Cleanup Logic) Hide Mitigated Zones: Keeps the chart clean by removing old levels. Mitigation Trigger: - Wick (Touch) : Deletes immediately on touch. - Close (Confirmed Break): Deletes only if a candle closes beyond the level.
3. Visuals Tolerance: Define a % tolerance (e.g., 0.1%) to delete lines that were "front-run" or nearly missed.
🎯 How to Trade with Auto Fib Precision
Identify the Trend: Use the indicator to see recent Highs and Lows. Wait for the Pullback: - Green Lines (Support): Dip into a fresh green line after a confirmed swing high. - Red Lines (Resistance): Rally into a fresh red line after a confirmed swing low. Execution: Since the indicator only shows valid levels, place alerts/orders at the displayed badges.
Disclaimer: This tool is for educational purposes only. Always manage your risk.
Pivot Breakout Strategy (Break of Structure + Risk Management)DESCRIPTION
This strategy is a pivot-based breakout system designed for $BINANCE:JUPUSDT. It identifies pivot highs and pivot lows using a configurable lookback period, then enters trades when price breaks through these pivot levels. The strategy includes flexible risk management with two exit methods: automatic SL/TP orders or manual position management with trailing stops and breakeven protection.
Core concept
Pivot detection : Identifies pivot highs (PH) and pivot lows (PL) using a configurable period (default: 18 bars).
Breakout entries : Enters long when price breaks above a pivot high; enters short when price breaks below a pivot low.
Signal flip : Automatically closes opposite positions when a new signal appears, allowing for quick reversals.
Visual markers : Draws neon-style lines and labels ("BoS PH" / "BoS PL") to mark pivot breakouts on the chart.
Entry signals
Long entry : Price breaks above a confirmed pivot high (PH).
Short entry : Price breaks below a confirmed pivot low (PL).
Exit methods (choose one)
Method 1: Automatic SL/TP (default): Uses strategy.exit() with fixed stop loss and take profit levels. Orders are placed automatically when entry occurs.
Method 2: Manual management : Uses strategy.close() with optional trailing stop and breakeven protection. Provides more control but requires manual exit logic.
Risk management
Long positions : Default SL 3.5%, TP 4.5% (configurable).
Short positions : Default SL 2.0%, TP 3.5% (configurable).
Trailing stop (optional, Method 2 only): Trails from the best price since entry.
Breakeven stop (optional, Method 2 only): Moves stop loss to breakeven after a profit trigger.
How to use
Apply to $BINANCE:JUPUSDT. The strategy works on any timeframe, but pivot period may need adjustment for different timeframes.
Choose your preferred exit method in the settings:
Use Automatic SL/TP for simpler, hands-off trading.
Use Manual management if you want trailing stops and breakeven protection.
Adjust pivot length based on market volatility: shorter periods catch more signals but may be noisier; longer periods are more selective.
Enable/disable long or short strategies independently based on market conditions.
Key inputs snapshot
Pivot Detection:
Length: 18 bars
Risk (Long):
SL: 3.5%, TP: 4.5%
Risk (Short):
SL: 2.0%, TP: 3.5%
Optional (Method 2 only):
Trailing Stop: 1.5%
Breakeven Trigger: 1.5%
Breakeven Offset: 0.1%
Visual features
Neon-style lines mark pivot breakouts with glow effects.
Labels show "BoS PH" (Break of Structure Pivot High) and "BoS PL" (Break of Structure Pivot Low).
Customizable colors for bull and bear signals.
Educational use only. This is not financial advice. Pivot-based strategies can generate frequent signals; always validate with forward testing and consider transaction costs. The strategy automatically flips positions on opposite signals, which may result in higher trade frequency.
Market Regime Detector (Free) - OptionsHUB🟦🟥🟩 OPTIONSHUB · REGIME PLAYBOOK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⭐ TradingView: OptionsHUB (follow our profile and add the script to favorites)
🌐 Website: optionshub.pro (research, updates, ecosystem)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚦 What This Indicator Is
Market Regime Detector (Free) is a market state classifier that assigns every bar to one of three regimes:
🟩 TREND — directional market with structural momentum
🟦 RANGE — sideways / mean-reverting market
🟥 VOLATILE — elevated volatility, higher risk environment
✨ The indicator is based on price and internal volatility .
____________________________________________________________________________
🧠 How It Works
The detector combines two core market dimensions:
1. 📏 Efficiency Ratio (ER) — how efficient price movement is
o high ER → price moves with direction and intent (trend)
o low ER → price oscillates without efficiency (range)
2. 🌪️ Normalized ATR (% of price) — how intense volatility is
o high nATR → unstable / explosive conditions → VOLATILE
o normal nATR → regime decided by ER
🧩 Decision priority :
🟥 Volatile (volatility first) → otherwise 🟩 Trend or 🟦 Range.
____________________________________________________________________________
🎛️ Visualization: How to Read It on the Chart
Choose Display Mode depending on your workflow:
🎨 1) Background Mode
✅ The chart background is colored by regime :
• 🟩 Trend — green background
• 🟦 Range — blue/neutral background
• 🟥 Volatile — red/orange background
📌 Always Show Background Hint
• enabled ✅ → a persistent label shows the current regime
• disabled ⛔ → labels appear only when the regime changes
🧾 2) Status Mode
A compact status panel appears in the top-right corner:
• TREND / RANGE / VOLATILE
• a short contextual description
💡 The chart itself remains visually clean and uncluttered.
____________________________________________________________________________
🧭 Regime Interpretation
🟩 TREND — “Directional Edge Regime”
Best suited for:
• trend-following strategies
• breakouts, pullbacks, trailing logic
Trading logic:
✅ trade in the dominant direction
✅ use continuation setups
⛔ avoid aggressive mean-reversion
____________________________________________________________________________
🟦 RANGE — “Mean Reversion Regime”
Best suited for:
• range trading
• support/resistance reactions
• fade-the-move strategies
Trading logic:
✅ trade boundaries and equilibrium
✅ faster exits, tighter expectations
⛔ breakout systems tend to underperform
____________________________________________________________________________
🟥 VOLATILE — “Risk Expansion Regime”
Not “bad” — just different rules.
Trading logic:
✅ reduce position size
✅ widen risk assumptions
✅ trade only high-quality setups
⛔ avoid tight stops and over-trading
____________________________________________________________________________
⚙️ Settings Explained
🧩 Calculation Mode
• On close ✅ (recommended) — regime confirmed on bar close
• Intrabar ⚡ — faster updates, more noise
📏 ER Length
• higher → smoother, more stable regimes
• lower → faster detection, more flips
🌪️ ATR Length
• higher → calmer volatility assessment
• lower → faster volatility spike detection
🧽 Smoothing Length
• smooths ER and nATR
• 1 → no smoothing (very sensitive)
• 3–5 → balanced and practical
🟩 ER Enter / Exit Trend
• Enter → threshold to classify TREND
• Exit → lower threshold to leave TREND
➡️ creates hysteresis and reduces regime flipping
🟥 nATR Enter / Exit Volatile
• Enter → volatility expansion
• Exit → volatility normalization
✅ Confirmation Bars
• number of closed bars required to confirm a regime change
• 1–2 → faster but noisier
• 3–5 → more reliable (default = 3)
🎚️ Background Transparency
• controls how subtle or strong the background coloring is
____________________________________________________________________________
🧰 Quick Recommended Setups
🟦 Default / Universal (recommended):
✅ On close · ER 20 · ATR 14 · Smooth 3 · Confirm 3 · Trend 0.35 · Vol 2.0
⚡ Scalping / Fast Markets:
• ER 14–18
• Smooth 1–2
• Confirm 1–2
• Lower Volatile threshold (≈1.6–1.8)
🧱 Swing / Position Trading:
• ER 30–40
• Smooth 4–6
• Confirm 4–5
• Higher Volatile threshold (≈2.3–2.8)
____________________________________________________________________________
🧬 About Pro Versions (What Comes Next)
In OptionsHUB Pro editions , this detector becomes a full regime engine:
🧩 Multi-Timeframe Regime Matrix
🔁 Regime Shift Detection with strength scoring
📊 Probability of Continuation (regime persistence)
🛠️ Auto-Adaptation for strategies and overlays
🔔 Regime-Based Alerts
📌 The Free version gives you clarity and structure .
📌 Pro versions give you context, probability, and execution depth .
____________________________________________________________________________
⚠️ Important Note
🧾 This indicator is a market context tool , not a signal generator.
It helps you choose the right type of strategy for the current market .
🚫 It is not financial advice .
🟦🟥🟩 OPTIONSHUB · REGIME PLAYBOOK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⭐ TradingView: OptionsHUB — following the profile helps us ship updates faster
🌐 Website: optionshub.pro — ecosystem, options, research, and advanced versions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OptionsHUB · Market Signal Engineering Lab
200 EMA Scalping 1 Minute (Only Nifty 1 Min Scalping)Only for scalping in 1 minute timeframe in Nifty 50.
SMR CloseGuard TriggerThis indicator is designed for traders who want high‑quality breakout signals that trigger only after a candle fully closes beyond a specified price level, rather than reacting prematurely when price merely touches or wicks into the zone.
Unlike traditional alert methods that fire the moment price hits a level, this tool waits for confirmed candle closes, reducing noise, false breakouts, and wick‑based traps.
🔹 Buy Logic
A Buy Signal is generated only when:
• The candle closes above the user‑defined price level
• Not just a wick or intrabar spike
• Ensuring the breakout is confirmed and validated by closing strength
🔹 Sell Logic
A Sell Signal is generated only when:
• The candle closes below the user‑defined price level
• Again, no alerts from intrabar touches
• Only confirmed downside breaks trigger signals
🔹 Why This Matters
This approach filters out:
• Fakeouts
• Liquidity grabs
• Wick‑based manipulation
• Premature entries
HTF Flip Close Levels, Daily Weekly Monthly TASHTF Flip Close Levels (D/W/M) — Support & Resistance Tool
This indicator automatically plots Daily, Weekly, and Monthly support & resistance levels based on higher-timeframe candle close behaviour.
🔹 What this tool does
The script detects HTF momentum flips using closed candles only:
Support is created when:
A red candle is followed by a green candle
The level is drawn at the close of the red candle
Resistance is created when:
A green candle is followed by a red candle
The level is drawn at the close of the green candle
This creates objective, rule-based horizontal levels derived purely from price behavior, not indicators.
🔹 Features
✅ Plots Daily, Weekly, and Monthly levels simultaneously
✅ Works on any timeframe (1m, 5m, 1H, Daily, Weekly, etc.)
✅ Keeps full historical levels, not just the most recent ones
✅ Optional auto-hide tapped levels (when price touches them)
✅ Tap detection:
Wick touch
or Close cross/touch
✅ Levels are always based on HTF candle closes, never wicks
✅ Designed to stay consistent across timeframe changes
🔹 How to use it (IMPORTANT)
This indicator:
❌ Does NOT predict market direction
❌ Does NOT generate buy/sell signals
❌ Does NOT tell you when to enter or exit
It is a context & confluence tool.
You should use these levels together with:
Market structure
Trend analysis
Volume / orderflow / CVD
Your own entry model
Your own risk management
Think of these levels as areas of interest, not automatic trade signals.
🔹 Best use cases
Confluence with:
Local support/resistance
VWAP / Anchored VWAP
Range highs/lows
Liquidity zones
Reversal or continuation patterns
Identifying:
HTF reaction zones
Decision points
Areas where other traders are likely watching
⚠️ Disclaimer
This indicator is a technical analysis tool only.
It is NOT financial advice.
It does NOT guarantee profits.
All trading decisions and risk are your responsibility.
Use it as part of a complete trading system, not as a standalone strategy.
Engulfing Breakout StructureEngulfing Breakout Structure (EBS)
" Identify High-Probability Market Structures, Not Just Patterns. "
The E ngulfing Breakout Structure (EBS) is a professional-grade analysis tool designed to filter market noise and identify the true origins of significant price movements. While standard Engulfing patterns occur frequently, many lead to "fakeouts" within a range. EBS solves this by treating an engulfing candle as a potential "structure" that is only validated once a decisive Break-away occurs.
How it Works: The EBS Logic
Unlike traditional indicators that plot signals immediately, EBS follows a strict confirmation process:
Structure Formation (Invisible): The script internally tracks "Candidate" engulfing candles.
Break-away Validation: The structure is only drawn on the chart after price aggressively breaks out of the engulfing range, accompanied by a Fair Value Gap (FVG).
Historical Anchoring: Once confirmed, the block is plotted back to its origin, highlighting the exact zone where the market imbalance was created.
Key Features
Break-away Filter: Eliminates low-probability signals by ensuring price has left the "zone of indecision."
Dynamic Structure Plotting: Automatically draws the supply/demand blocks that acted as the catalyst for the breakout.
Smart FVG Integration: Detects and highlights the gaps created during the breakout, providing additional confluence for entry.
EBS Break-away Confirmed: Triggered the moment a new structure is validated by a decisive price breakout. This alert signals that a new supply or demand zone has been established.
EBS Structure Tested (Mitigation): Triggered when price returns to touch a previously confirmed EBS block. This "Mitigation" often presents the highest risk-to-reward entry opportunity as it tests the origin of the breakout.
Trading Strategy
The Breakout (Aggressive): Enter as soon as the EBS block and FVG appear, following the momentum.
The Retest (Conservative): Wait for price to return and "mitigate" the EBS block. This retest of a confirmed breakout structure is a classic institutional entry pattern.
Axiom Engine [v10] Axiom Engine
is an institutional-style trading framework designed to filter market conditions and standardize execution quality across FX, metals, indices, and crypto.
Core logic (high level)
HTF alignment using EMA structure (trend authority)
Market regime filter using ADX (trend vs range conditions)
Momentum validation via RSI + divergence logic
Volatility awareness using ATR for adaptive thresholds
Execution locks (structure → trigger → confirmation) to avoid late or low-quality entries
Trade validity / expiry system to prevent stale setups
Visual tools
Clear on-chart bias + quality grading
Optional projected levels (multi-timeframe style)
Optional context/structure visuals (clean, minimal clutter)
🧪 Early Access — Feedback Welcome
This is a new indicator, and I’m currently collecting feedback before releasing the premium version.
If you test Axiom Engine, feel free to share your thoughts on clarity, performance, and improvements.
📩 Contact
Feedback & inquiries: AxiomEnginePro@gmail.com
cephxs / Opening Prices + True Opens [Pro +]TRUE OPENS
One concept. Five cycles. Zero complexity.
THE CONCEPT
True Opens are simple: the opening price of Q2 in any cycle . Based on Quarterly Theory.
That's it.
Every cycle divides into quarters. Q1 sets the range. Q2 establishes the True Open—the price institutions reference for the remainder of the cycle. Q3 and Q4 play out relative to that anchor.
This indicator plots True Opens across five nested cycles, from micro to monthly. No signals, no oscillators, no noise—just clean price levels that matter.
Credit: The True Open concept was developed and shared publicly by Daye . This indicator is an implementation of that framework.
THE FIVE CYCLES
Micro TO: ~22.5-minute quarters (64 sessions/day). Ultra-short-term reference for scalpers.
90m TO: Four macro sessions—Asia, London, NY, PM. Each session's Q2 (the second 90 minutes) gives you Asia TO, London TO, NY TO, and PM TO.
Daily TO: 6-hour quarters (18:00-00:00, 00:00-06:00, 06:00-12:00, 12:00-18:00 ET). The "True Day" is midnight—the opening price of the 00:00-06:00 session.
Weekly TO: Monday = Q1, Tuesday = Q2 (True Week), Wednesday = Q3, Thursday = Q4. The "True Week" is Tuesday's daily open.
Monthly TO: Week 1 = Q1, Week 2 = Q2 (True Month), Week 3 = Q3, Week 4 = Q4 (+ distortion days 29-31). The "True Month" is the Monday open of the second trading week.
HOW TO USE
Add to chart: Enable the cycles relevant to your timeframe. Auto mode handles visibility—lower timeframes see more granular TOs, higher timeframes see only the larger cycles.
Watch price relative to TO: Price above TO = bullish bias for that cycle. Price below = bearish bias. Simple.
Layer multiple cycles: When micro, 90m, and daily TOs align on the same side, you have confluence across timeframes.
Use as magnets: Price often returns to True Opens before continuing. They act as equilibrium points within cycles.
Frame your trades: Know which cycle you're trading. Scalping? Reference the micro TO. Swing trading? The weekly TO is your anchor.
WHAT MAKES THIS SIMPLE
Auto Mode: The indicator automatically shows only the TOs relevant to your chart timeframe—no manual configuration needed
Clean Labels: Each TO is labeled by session (Asia TO, London TO, True Day, True Week, True Month)
Visual Clarity: Dashed lines while Q2 is active, solid lines once confirmed. You always know which TOs are still forming.
No Clutter: Historical TOs auto-cleanup by default. Only the current cycle's TO is shown unless you want history.
INPUTS
Master Toggles
Show Micro/90m/Daily/Weekly/Monthly TO: Enable or disable each cycle independently
Show 8:30 Open: Plots the 8:30 ET open (economic news reference)
Show 9:30 Open: Plots the equity market open (RTH reference)
Display Mode
Auto: Uses sensible TF ranges per cycle (recommended)
Custom: Define your own TF visibility ranges for each cycle
Label Preset
Auto: Session-specific labels (Asia TO, London TO, True Day, etc.)
Custom Names: Use your own text for each level
Time: Shows the bar time (HH:mm) when the TO was captured
Line Style
Auto: Dashed while Q2 is active, solid after Q2 closes
Custom: Choose solid, dashed, or dotted for all lines
Colors
Customizable colors for each cycle level
Separate colors for 8:30 and 9:30 opens
Settings
Active Line Bar Offset: How far the line extends past current bar
Show Historical True Opens: Keep all TOs visible instead of auto-cleanup
KEY FEATURES
Five Nested Cycles: Micro, 90m, Daily, Weekly, Monthly—all using the same Q2 principle
Auto TF Visibility: Each cycle appears only on appropriate timeframes
Trading Day Detection: Works correctly for futures, forex, and crypto with different session opens
DST-Aware: Uses America/Toronto timezone for automatic daylight saving adjustments
Crypto Support: Monthly TO correctly uses Monday's open for 24/7 markets
8:30 & 9:30 Opens: Bonus levels for news and equity open references
BEST PRACTICES
Start with Auto mode—it's tuned for the most common use cases
On 1-5m charts, focus on 90m TOs (Asia, London, NY, PM)
On 15m-1H charts, the Daily TO (True Day) becomes your primary reference
On 4H+ charts, Weekly and Monthly TOs provide swing trade anchors
True Opens work best when combined with other ICT concepts (liquidity, FVGs, order blocks)
DISCLAIMER
This indicator is for educational purposes only and does not constitute financial advice. True Opens provide context, not signals—always use proper risk management and confirm with your own analysis. Past performance does not guarantee future results.
CREDITS
True Open concept by Daye (TraderDaye), publicly shared on social media. Implementation by cephxs.
Made with ❤️ by cephxs
SMC Study: Buy & Sell Traps (Pro) - Levels OnlySMC Study: Buy & Sell Traps (Pro) — Levels Only
SMC Study: Buy & Sell Traps (Pro) — Levels Only is a Smart Money Concepts (SMC) based indicator designed to display key Support & Resistance levels on the chart. It helps traders identify important price zones where liquidity and market reactions are likely.
How it works:
- Pivot Highs are plotted as Resistance levels (red lines).
- Pivot Lows are plotted as Support levels (blue lines).
- Levels are filtered by ATR buffer, candle body strength, and optional volume confirmation.
- Lines automatically extend and update as new pivots form.
- No buy/sell signals, arrows, or alerts; clean structural levels only.
How to use:
- Use the levels as key reaction zones for potential entries.
- Support lines can indicate potential bullish bounces.
- Resistance lines can indicate potential bearish reversals.
- Combine with price action, market structure, and higher timeframe analysis.
- Suitable for all timeframes and markets.
Visuals:
- Blue horizontal lines: Support
- Red horizontal lines: Resistance
- Solid, dashed, or dotted lines (customizable)
- Lines extend dynamically with price movement
Important Notes:
- This indicator is for analysis only and does not generate trading signals.
- Proper risk management is required before taking any trades.
- Best used in conjunction with price action and structural analysis.
License:
Creative Commons BY-NC 4.0 (Open Source)
Free to use, modify, and share with attribution. Commercial use prohibited.
Disclaimer:
Educational purposes only. Trading involves risk.
cephxs + fadi / HTF PSPHTF PSP - PRECISION SWING POINTS
Detect divergence-based Precision Swing Points (PSPs) across multiple higher timeframes with automatic correlated asset detection.
WHAT'S NEW (vs Original HTF Candles)
This indicator builds on @fadizeidan's excellent ICT HTF Candles foundation with significant new functionality, depending on who you ask of course:
✨ PSP Divergence Detection: Automatically identifies Precision Swing Points where price diverges from correlated assets—the original has no divergence analysis
✨ Auto Asset Correlation: Uses AssetCorrelationUtils library to detect and pair correlated assets (ES↔NQ↔DXY, BTC↔ETH, Gold↔Silver, etc.)—no manual setup required
✨ Multi-Asset Comparison: Tracks up to 3 correlated assets simultaneously with divergence relationships between all pairs
✨ Dynamic Asset Reordering: When you switch charts, the indicator automatically reorders assets so your chart is always primary
✨ Inverse Correlation Support: Properly handles inversely correlated assets like DXY (bullish DXY = bearish signal for risk assets)
✨ HTF Sweep Detection: New sweep line feature highlights when HTF candles take out previous highs/lows and close back inside. One of my followers asked me for this, there you go anon.
🔧 Streamlined to 3 HTFs: Focused design with 3 HTF slots (vs 6) for cleaner charts and better performance
The original remains excellent for pure HTF candle visualization. This version adds institutional flow analysis through divergence detection.
WHAT IT DOES
This indicator displays Higher Timeframe (HTF) candles to the right of your chart and highlights Precision Swing Points—pivots where price diverges from correlated assets. When ES makes a new high but NQ doesn't follow, or gold pushes higher while DXY fails to confirm, you're looking at institutional repositioning.
PSPs mark these moments on your HTF candles, giving you a clean visual signal for potential reversals.
HOW IT WORKS
Divergence Detection
The indicator compares price action between your chart and up to two correlated assets. A divergence occurs when one asset makes a directional move (bullish/bearish candle) while a correlated asset moves the opposite direction.
Three divergence relationships are tracked:
Primary vs Secondary (e.g., ES vs NQ)
Primary vs Tertiary (e.g., ES vs DXY)
Secondary vs Tertiary (e.g., NQ vs DXY)
PSP Confirmation
A candle is marked as a PSP when:
A divergence exists between correlated assets
A swing pivot forms (high > previous high AND high > next high, or vice versa for lows)
This dual confirmation filters noise and highlights only meaningful institutional activity.
Automatic Asset Detection
In Auto mode, the indicator uses the AssetCorrelationUtils library to detect your chart's asset class and automatically select the most relevant correlated pairs:
Indices: ES ↔ NQ ↔ DXY, YM ↔ ES ↔ NQ
Forex: EURUSD ↔ DXY ↔ GBPUSD, USDJPY ↔ DXY ↔ US10Y
Crypto: BTC ↔ ETH ↔ DXY
Metals: Gold ↔ Silver ↔ DXY
Energy: CL (Oil) ↔ NG ↔ DXY
HTF Sweep Detection
Sweeps are detected when an HTF candle (C2) takes out the high or low of the previous candle (C1) and then closes back inside. This marks liquidity grabs on the higher timeframe.
HOW TO USE
Enable HTF timeframes: Select 1-3 higher timeframes relevant to your trading style (e.g., 30m, 90m, 4H for intraday traders)
Watch for PSP candles: When a candle body color changes to the divergence color, a PSP has formed
Note the direction: Bullish divergence (your asset bullish while correlated asset bearish) suggests upside; bearish divergence suggests downside
Combine with LTF structure: Use PSPs as bias, then look for entry on lower timeframes (CHoCH, FVG, etc.)
Sweeps confirm liquidity: A sweep followed by a PSP is a strong reversal signal
INPUTS
HTF Selection
HTF 1/2/3: Enable/disable each HTF slot with timeframe and candle count
Custom Daily Open: Use Midnight, 8:30, or 9:30 ET as daily candle open
Styling
Body/Border/Wick Colors: Customize bullish and bearish candle appearance
Padding/Buffer/HTF Buffer: Control spacing between candles and timeframe groups
Labels
HTF Label: Show timeframe name above/below candles
Remaining Time: Countdown to candle close
Label Position: Top, Bottom, or Both
Label Alignment: Align across timeframes or follow individual candles
Interval Value: Show interval details on candles
Imbalance
Fair Value Gap: Highlight FVGs on HTF candles
Volume Imbalance: Highlight VIs on HTF candles
HTF Sweeps: Show sweep lines when C2 takes out C1's high/low
Trace
Trace Lines: Draw lines from HTF candle OHLC levels back to chart price
Anchor: Anchor to first or last timeframe
PSP Divergence Detection
Precise Mode: Only highlight pivots on current asset (stricter confirmation)
Divergence Body Colors: Custom colors for bullish/bearish divergence candles
Asset Selection
Correlation Preset: Auto (library-detected) or Manual
Manual Assets 1/2/3: Specify custom correlated assets
Invert Asset 3: Flip the bullish/bearish interpretation for inverse correlations (e.g., DXY)
KEY FEATURES
Multi-HTF Display: Up to 3 higher timeframes displayed simultaneously
Auto Asset Detection: Automatically finds relevant correlated assets for your chart
Dynamic Reordering: When you switch charts, assets reorder so the chart is always primary
Inverse Correlation Support: Properly handles DXY and other inversely correlated assets
HTF Sweep Detection: Highlights liquidity grabs on higher timeframes
FVG/VI Detection: Fair Value Gaps and Volume Imbalances on HTF candles
Remaining Time Counter: Know exactly when the next HTF candle closes
BEST PRACTICES
Use PSPs as directional bias, not direct entries—wait for LTF confirmation
A PSP at a key level (previous day high, weekly open) carries more weight
Multiple PSPs across different HTFs pointing the same direction = stronger signal
Sweeps that fail to hold (sweep + PSP) often mark significant reversals
In Auto mode, trust the library's asset selection—it's been tuned for common correlations
DISCLAIMER
This indicator is for educational purposes only and does not constitute financial advice. Divergences and PSPs do not guarantee reversals—always use proper risk management and confirm signals with your own analysis. Past performance does not guarantee future results.
CREDITS
Original HTF candle plotting concept by @fadizeidan. PSP divergence detection and asset correlation logic by cephxs & fstarcapital. Uses the AssetCorrelationUtils library by fstarcapital.
Open Sourced For all.
Enjoy.
Made with ❤️ by cephxs + fadi
Auto-Zones (Fixed / Anchored Range)Title:
Auto-Zones (Fixed / Anchored Range) – Customizable Price Level Visualization
Description:
The Auto-Zones (Fixed / Anchored Range) indicator automatically plots key price levels based on a user-defined time range. It provides traders with a clear visual representation of average prices or fractions within a fixed or anchored range, helping to identify support, resistance, and potential breakout areas.
Key Features:
• Flexible Range Modes:
‣ Fixed Range – Plot averages only between a specific start and end date/time.
‣ Anchored – Plot averages from a start date/time extending indefinitely.
• Multiple Measurement Options:
‣ Loopback – Calculates averages over a set number of bars.
‣ Fraction – Divides the range into equal fractions for detailed zone mapping.
• Price Source Selection:
‣ Choose from Open, Close, High, Low, Midpoint, or High & Low for customized analysis.
• Automatic Zone Plotting:
‣ Lines are plotted at calculated averages or fractional levels, extended to the right for continuous reference.
• Fully Customizable Style:
‣ Line color and width are adjustable to suit chart preferences.
Inputs & Settings:
• Start/End Date & Time – Define the range for averaging or anchoring.
• Range Mode – Fixed or Anchored.
• Measurement Mode – Loopback bars or fractional divisions.
• Loopback Length – Number of bars for Loopback mode.
• Fractions – Number of levels for Fraction mode.
• Price Source – Determines which price data to use.
• Line Color & Width – Visual customization options.
Usage:
This indicator helps traders:
• Visualize key price levels for support/resistance analysis.
• Identify average price areas within a custom time range.
• Use fixed or anchored ranges for intraday, swing, or long-term analysis.
• Quickly see fractional zones for precise entry or exit planning.
Technical Notes:
• Anchored ranges extend indefinitely from the start date; adjust the start date to reset levels.
• Loopback mode averages only complete bar sets; fractional mode divides the total range into equal parts.
• Works best on standard OHLC charts; ensure proper date/time inputs for accurate plotting.
ICT NWOG/NDOG (Bandz)ICT NWOG/NDOG (Bandz) Description
This indicator draws New Week Open Gaps (NWOG) and New Day Open Gaps in ETH (NDOG ETH see) as clean “gap boxes” made from 3 lines:
Top line (gap high)
Bottom line (gap low)
C.E. line (the midpoint, 50% of the gap)
Each gap can also have a filled background, and an optional label that shows the gap type and the date.
What it plots
NWOG
Creates a new NWOG when the market transitions into Sunday
Tracks the gap between the prior close and the new open
Keeps multiple weeks on the chart (you choose the max count)
NDOG ETH
Creates a new NDOG at the start of each new trading day (ETH)
Only draws when there is actually a gap (open != prior close)
Keeps multiple days on the chart (you choose the max count)
Main upgrades in this Bandz version
1) Extension buffer that works on every timeframe
A “buffer bars” setting extends the gap lines and labels past the current candle
It is timeframe-aware, so it stays consistent on 1m, 5m, 15m, 1h, etc.
No more weird short extensions when you change timeframes
2) Cleaner redraw behavior
Gaps update smoothly as new candles print
Current gap vs older gaps can use different colors so you instantly see what matters
3) Smarter “Extend Gaps” options
You can pick how many gaps show at once:
Always: show all stored gaps
Above and below only: only show the closest gap above price and below price
Any that is near current price: only show gaps near price using an ATR-based distance filter
4) Optional Event Horizon
If enabled, it draws a line between the closest gap above and below price (when valid)
Helps visualize the “middle area” between nearby gaps
Customization
For both NWOG and NDOG you can control:
Line color (current vs older)
Line style (solid, dashed, dotted)
Line width
C.E. (midpoint) style and width
Background fill on/off + transparency
Labels on/off + label size, text color, background color
Maximum number of gaps stored on chart
Notes
Built for intraday charts
Uses a consistent time-based extension so visuals don’t break when you switch chart timeframes
Designed to stay clean, readable, and not clutter the chart
ICT Killzones (Bandz)ICT Killzones (Bandz) — Description
This indicator draws ICT-style killzones and key intraday levels to keep your chart clean and consistent.
What it shows
Killzone boxes for:
Asia
London
Pre-Market
NY Opening Range
NY Lunch
Each box tracks the session high/low while the session is active.
Killzone pivots
Session High / Low pivot lines
Optional midpoint line
Optional pivot labels (with optional price display)
Option to stop midpoints once price trades through them
Day / Week / Month levels
Previous Day High / Low
Previous Week High / Low
Previous Month High / Low
Optional Day / Week / Month Open lines
EQ (Equilibrium) levels
These are the 50% levels between the previous high and low:
Daily EQ
Weekly EQ
Monthly EQ
Yearly Open
Draws the Yearly Open level automatically when a new year starts.
Cleaner chart (Label Merge)
To reduce clutter on the right side of the chart:
Automatically combines labels when multiple levels are close together
Designed for D/W/M highs/lows, opens, EQ levels, and opening price lines
Keeps the merged label on the rightmost label spot so it stays aligned
Uses a stable base price so merged labels don’t drift over time
Notes
Works best on intraday charts.
Uses a timeframe limit, so drawings won’t show above your selected limit.
Includes a right buffer setting to push labels/line ends to the right for readability.
Bandz HTF Candles (PSP+SMT+T-Spot+CISD)Bandz HTF Candles (PSP + SMT + T-Spot + CISD)
This indicator is a Higher Timeframe (HTF) candle overlay that draws live HTF candles on your chart and integrates PSP triad mismatch, SMT divergence, T-Spot zones, CISD breaks, projection levels, and PFVGs into a single HTF framework.
It is designed for index trading, with primary intent for MNQ, while comparing relative behavior against MES and MYM.
The goal of this tool is to provide clear HTF context on a lower-timeframe chart by showing how correlated markets behave relative to one another while an HTF candle is forming.
What this indicator helps visualize
The structure and direction of the current HTF candle in real time
Where the HTF candle opened (via optional open trace line)
When MNQ, MES, and MYM are not aligned in HTF polarity (PSP)
When MNQ sweeps a prior HTF high or low while MES and/or MYM fail to confirm (SMT)
Where HTF-based T-Spot zones form and optionally extend forward
When a CISD-style break occurs and where projected expansion levels may appear
Where the first HTF FVG (PFVG) presents during a new HTF cycle
Core: HTF Candle Overlay
HTF candle rendering
Draws a row of HTF candles to the right of price (template style)
Candle bodies and wicks update in real time until the HTF candle closes
Optional vertical HTF start line
Optional HTF label and remaining-time label
HTF selection
Auto mode selects an HTF based on the current chart timeframe
Custom mode allows a fixed HTF (e.g., 1H, 4H, 1D, 1W)
Visual context inside HTF candles
Log-based midpoint guide lines
Template sweep visualization (HTF high/low raid with close back inside)
HTF Fair Value Gaps (FVG) and Volume Imbalances (VI)
FVG: imbalance between candle 1 and candle 3
VI: imbalance between candle 1 and candle 2 using body relationships
Open Trace Line
When enabled, a dotted line extends from the HTF candle open to the candle template, making the HTF open level visible without changing chart zoom.
PSP (Triad Mismatch)
Definition
PSP represents a polarity mismatch between three correlated instruments:
Chart symbol (intended for MNQ)
MES
MYM
A PSP condition occurs when the HTF candle polarity (bullish, bearish, or doji) is not aligned across the three instruments.
Detection logic
Polarity is determined by HTF open vs HTF close
If MNQ polarity differs from MES or MYM, the candle may qualify as PSP
Optional Turtle Soup filter
When enabled, PSP is only highlighted if MNQ also performs a prior-HTF high or low raid, helping reduce noise and focus on sweep-based context.
Display
PSP is displayed by tinting the HTF candle body:
Bullish PSP color
Bearish PSP color
Doji PSP color
Opacity is user-controlled.
SMT (HTF Divergence)
Definition
SMT (Smart Money Technique) divergence is identified when MNQ sweeps a prior HTF high or low while MES and/or MYM fail to confirm the same move.
Bearish SMT (took high)
MNQ takes a prior HTF swing high
MES and/or MYM do not take their corresponding high
Bullish SMT (took low)
MNQ takes a prior HTF swing low
MES and/or MYM do not take their corresponding low
Controls
Users can adjust SMT strictness using:
HTF lookback length
Minimum sweep distance (ticks)
Reference-level deduplication
Optional close-back-inside requirement
Optional requirement for both MES and MYM divergence
Optional persistence of SMTs
Display
A line connects the reference HTF level to the sweep level
Labels indicate which market diverged: MES, MYM, or MES/MYM
Labels are auto-positioned away from price for clarity
T-Spot Boxes
Definition
T-Spot is an HTF box system designed to highlight specific sweep, close, and midpoint-based HTF behaviors.
Features
Detects bullish and bearish T-Spot patterns
Optional directional bias filter (Bullish, Bearish, or Both)
Optional extension of the most recent box to the current bar
Optional “latest only” mode to reduce chart clutter
Display
T-Spots are drawn as translucent boxes:
Bullish T-Spot color
Bearish T-Spot color
CISD + Projections
CISD detection
When applicable (within the script logic), CISD-style breaks are detected using short candle sequences.
Detection can optionally use candle bodies instead of wicks.
Projection levels
When enabled, projected expansion levels are drawn from the CISD range.
Common projection ratios such as 0.5, 1.0, 1.5, and 2.0 can be configured and optionally extended forward.
PFVG (First Presented FVG)
PFVG highlights the first HTF Fair Value Gap that forms during a new HTF candle cycle.
Options include:
Showing or hiding PFVGs
Limiting the number of displayed PFVGs
Showing all or only the most recent PFVG
Extending the most recent PFVG until the HTF window ends
Best use
Recommended symbol: MNQ (with MES and MYM comparisons)
Recommended setup: Lower-timeframe chart with a higher HTF selected
Designed as a context and structure tool, not a signal generator
To reduce visual clutter:
Disable VI or FVG if not needed
Hide HTF sweep lines
Enable “show only latest T-Spot”
Reduce max display counts
Notes and disclaimers
This is a visual and structural analysis tool, not an automated trading strategy.
HTF candles, PSP, SMT, and related visuals may update while the HTF candle is still forming and finalize only after HTF close.
Always validate observations using your own execution model, session context, and risk management.
Credits and originality
This script builds upon prior higher-timeframe candle visualization concepts originally explored by Fadi (HTF candles), TradrKeo (GxT profiling concepts), and Cephxs.
The implementation here is original and significantly expanded. It integrates real-time HTF candle construction with multi-symbol SMT divergence, PSP triad mismatch, T-Spot logic, CISD break detection with projections, and PFVG identification into a single, unified framework. The logic, integration, and behavior of these components are custom and purpose-built for this script.
Daily & Weekly Levels (Sticky + Individual Alerts)🚀 Sticky Levels: PDH/PDL & Weekly High/Low
💡 Overview
This lightweight Pine Script v6 utility is designed for high-frequency traders and scalpers who require key Daily and Weekly levels without cluttering their price action. Optimized for speed and clarity, it ensures your most important S/R zones are always exactly where you need them.
🌟 Key Features
📌 Sticky Right Alignment – Labels are anchored to the right price scale using a customizable offset. They stay perfectly visible on mobile devices (Android/iOS) regardless of zoom level or scrolling.
⚡ Performance Optimized – Specifically built for low timeframes (15s, 1m, 5m). By using barstate.islast and tuple-based request.security calls, it ensures zero lag and minimal resource usage.
📅 Daily Levels – Instantly plot Previous Day High (PDH) and Previous Day Low (PDL).
🗓️ Weekly Levels – Monitor Previous Week High (PWH), Previous Week Low (PWL), and Current Weekly Open (WO).
🔔 Individual Alert Management – Granular control over notifications. You can manually enable/disable alerts for each specific level to avoid "alert fatigue."
💎 Clean Visuals – Uses elegant dashed lines and non-intrusive labels with an optional price display for pinpoint accuracy.
🛠️ How to Customize Your Setup
1. Visibility & Visuals
Toggle Levels: Turn each level on or off independently in the settings.
Label Offset: Adjust the "3cm" margin by changing the bar offset to fit your screen perfectly.
Price Toggle: Show or hide exact price values next to the labels.
2. Individual Alert Toggles In the settings menu, you will find a 🔔 icon next to each level. You can manually choose which specific levels should trigger a notification:
Enable PDH alerts for breakout trades.
Keep Weekly Open alerts off if you only use it as a visual bias.
Focus only on what matters for your strategy!
❓ Why use this script?
Standard horizontal lines often disappear when you scroll back in time or clutter the immediate price action on lower timeframes. This script solves that by keeping labels fixed at the right margin, providing a professional trading interface similar to high-end institutional platforms. Whether you are at your desk or trading on the go, your key levels remain clear and "sticky."
🚦 Quick Setup Guide
Add to Chart: Save the script and add it to your favorite symbols.
Configure: Open settings and check the "Alert" box for your desired levels.
Create Alert: Press Alt+A, set Condition to this indicator, and select "Any alert() function call".
Trade: Receive precise, non-spammy notifications directly to your phone or desktop.
cephxs / New X Opening Gaps [Pro +]NWOG & NDOG - OPENING GAPS
Smart Gap Detection with Intelligent Filtering
Visualizes New Week Opening Gaps (NWOGs) and New Day Opening Gaps (NDOGs) with built-in intelligence to show you only what matters. No more cluttered charts with gaps from 3 months ago that price will never revisit.
THE PROBLEM WITH GAP INDICATORS
Most gap indicators dump every single gap on your chart and call it a day. You end up with 50 boxes cluttering your screen, half of which are miles away from current price and the other half are so tiny they're basically noise.
This one's different and I explain why below.
SMART FILTERING (THE GOOD STUFF)
Two filters work together to keep your chart clean:
Size Filter: Uses ATR-based detection to filter out insignificant gaps, dynamic with less volatile time periods
- Filter None: Show everything (if you really want chaos)
- Filter Insignificant: Hide the micro-gaps that don't matter
- Juicy Gaps Only: Only show gaps worth paying attention to
Distance Filter: Only displays gaps within range of current price
- Really Close: 0.5 ATR - tight focus on immediate levels
- Balanced: 1 ATR - sweet spot for most traders
- Slightly Far: 3 ATR - wider view for swing traders
Cleanup Interval: Controls how quickly out-of-range gaps disappear
- Immediately: Gaps hide/show every bar as price moves
- 5 / 15 / 30 Minutes: Gaps only update visibility at interval boundaries - reduces visual noise during choppy price action
The magic: gaps appear and disappear as price moves toward or away from them. Old gaps that price has left behind fade out, and gaps that become relevant fade back in. Use delayed cleanup intervals if you want gaps to "stick around" a bit longer before disappearing.
GAP TYPES EXPLAINED
New Week Opening Gaps (NWOGs):
The gap between Friday's close and Monday's open. These form over the weekend when markets are closed and often act as significant support/resistance.
Two classifications:
Void Gaps: Gap direction aligns with Friday's candle direction (continuation)
Overlap Gaps: Gap direction conflicts with Friday's candle (potential reversal)
New Day Opening Gaps (NDOGs):
The gap between one day's close and the next day's open. Smaller but frequent - useful for intraday traders looking for fill targets.
FEATURES
Automatic Week/Day Detection: Handles forex (17:00 ET open) and futures (18:00 ET open) correctly
DST-Aware: Uses New York timezone with automatic daylight saving adjustments
50% Equilibrium Line: Marks the midpoint of each gap - key level for entries
Days Ago Labels: Shows how old each gap is at a glance
Extension Modes: Choose between live-extending boxes or fixed-width boxes
Separate Color Schemes: Different colors for void vs overlap NWOGs, bullish vs bearish NDOGs
INPUTS
NWOG Display
Show NWOGs: Master toggle
Extension Mode: "Extend Live" or "Extend to Week Close"
Maximum NWOGs: Limit displayed gaps (1-50)
Show Void/Overlap Gaps: Toggle each type independently
Show NWOG Labels: Toggle gap labels
NDOG Display
Show NDOGs: Master toggle
Extension Mode: "Extend Live" or "Extend to Day Close"
Maximum NDOGs: Limit displayed gaps (1-50)
Show NDOG Labels: Toggle gap labels
Filter Settings
Size Filter: Filter None / Filter Insignificant / Juicy Gaps Only
Only Show Near Price: Enable/disable distance filtering
Distance Filter: Really Close / Balanced / Slightly Far
Cleanup Interval: Immediately / 5 Minutes / 15 Minutes / 30 Minutes - controls how often gaps update visibility
ATR Period: Period for ATR calculation (default: 14)
Right Edge Offset: How many bars ahead boxes extend
Styling
Box Transparency: Fill and border opacity
Midline Style: Solid / Dotted / Dashed
Label Style: Simple ("NWOG, 5d ago") or Descriptive ("NWOG (Void Bull), 5d ago")
Label Size: Tiny / Small / Normal / Large
RECOMMENDED SETTINGS
For intraday (1m-15m):
Size Filter: Filter Insignificant
Distance Filter: Really Close or Balanced
Show NDOGs: On
Maximum NDOGs: 5-10
For swing trading (1H-4H):
Size Filter: Juicy Gaps Only
Distance Filter: Balanced or Slightly Far
Show NWOGs: On
Maximum NWOGs: 10-20
TIMEFRAME NOTES
Works on daily timeframe and below. Above daily, the indicator disables itself since NWOG/NDOG gap detection requires daily open/close data.
ASSET SUPPORT
Automatically handles different market open times:
Forex: Week opens Sunday 17:00 ET, closes Friday 17:00 ET
Futures: Week opens Sunday 18:00 ET, closes Friday 16:15 ET
Stocks/Other: Uses session-based detection
FAQ
Why do gaps appear and disappear?
That's the distance filter working. As price moves, gaps that were far away become relevant and appear. Gaps that price leaves behind disappear. This keeps your chart focused on actionable levels.
What's the difference between void and overlap gaps?
Void gaps continue Friday's direction (trend continuation). Overlap gaps conflict with Friday's direction (potential reversal setup). Different traders prefer different types.
Why can't I see any gaps?
Check your filter settings. "Juicy Gaps Only" with "Really Close" distance filter is very selective. Try "Filter Insignificant" with "Balanced" for more gaps.
DISCLAIMER
This indicator is for educational purposes only. Opening gaps are one tool among many - they don't guarantee fills or reversals. Always use proper risk management and never trade based on a single indicator. Past gap fills don't guarantee future performance. Do your own analysis.
CHANGELOG
Pro +: Added smart size/distance filtering, void/overlap classification, NDOG support, DST-aware timezone handling
Base: Initial NWOG visualization
Made with ❤️ by fstarlabs
MAFS Pro Trading System📌 Indicator Description
This indicator combines Support & Resistance levels, Fibonacci retracement levels, and Fair Value Gap (FVG) structures into a single visual framework to help identify key reaction, reversal, and continuation zones in the market.
🔹 Support & Resistance
Automatically detects significant price levels where the market previously reacted.
These levels can be used as reference points for potential entries, stop-loss, and take-profit areas.
🔹 Fibonacci Levels
Draws key Fibonacci ratios based on the selected price movement.
Useful for identifying retracement zones and trend continuation areas.
🔹 Fair Value Gap (FVG)
Highlights market imbalance areas as visual boxes on the chart.
These zones often act as liquidity targets where price may return to rebalance.
Can be used to anticipate potential reactions or continuations.
⚠️ Usage Notes
This indicator does not generate buy or sell signals and should be used as a decision-support tool.
For best results, it is recommended to use it together with trend analysis, multi-timeframe confirmation, and proper risk management.
Suitable for crypto, forex, indices, and other financial markets.
📉📈 Purpose:
To provide a clear, structured view of where price is likely to react, allowing traders to make more informed and disciplined decisions.
6/20 EMA with shade between6/20 EMA, I added a shaded area so they are easy to see despite whatever else you have on the chart. I use this for the 620 cross for entry and exit.
True Lifetime ATH Tracker [Replay Safe]Overview
This indicator is designed for traders who need a mathematically accurate, "bulletproof" level for the absolute highest price a ticker has ever reached in its history. Unlike standard ATH indicators that may fail to load older data or "cheat" by looking at future prices, this script uses a persistent global variable to track the high from the very first available bar of data.
Key Features
Bar Replay Compatible: This is the primary feature. The ATH level updates dynamically as you play through history. It does not "peek" into the future, making it the perfect tool for backtesting how price reacts when approaching or breaking historical records.
1-Minute Precision: Optimized for low timeframe (1m) execution, ensuring you see the exact moment a record-breaking "wick" is touched.
Visual Alert System: The on-screen table and chart background turn solid red the moment the current price is at or above the Lifetime ATH.
Extended Price Line: Features a right-extended level line with an "ATH" label that sticks to the price axis for maximum visibility.
How to Use
Table: Displays the current ATH value. Use the settings menu to change its size and position.
Red Background: When the chart background turns red, you are in "Uncharted Territory" (Price > ATH).
Customization: Fully adjustable colors for the level line, labels, and table to match your chart theme.
Technical Note
The script utilizes var persistent memory and math.max logic to ensure that once a high is established in the calculation, it is never lost, even if you refresh the chart or change timeframes.
Untested Wickless LevelsUntested Wickless Levels
Overview
Untested Wickless Levels is a specialized price-action tool designed to identify and track "Wickless Candles"—bars where the price opens or closes at the absolute high or low of the candle with zero (or negligible) wick.
In technical analysis, a wickless candle often represents strong, institutional conviction. When a level is created without a wick and remains "untested" (price has not yet returned to pierce that specific coordinate), it often acts as a significant magnet for future price action or a zone of hidden support/resistance.
How It Works
The indicator scans every candle for a "Shaved" top or bottom.
Resistance (No Upper Wick): Created when the high of the candle is equal to the Open or Close. This suggests aggressive selling or a "ceiling" that hasn't been contested yet.
Support (No Lower Wick): Created when the low of the candle is equal to the Open or Close. This suggests aggressive buying or a "floor."
Once a level is identified, the script draws a horizontal line that automatically extends until price action eventually "tests" or breaks the level. Once the level is breached, the line is removed to keep your chart clean and focused only on active, high-probability zones.
Key Features
Automatic Level Extension: Lines track across your chart indefinitely until they are mitigated by price.
Wick Tolerance Setting: Crypto and Forex markets often have "micro-wicks" due to spread. The Wick Tolerance input allows you to include levels that have a 1 or 2 tick margin of error.
Non-Repainting: Signals are confirmed on candle close, ensuring the levels you see are permanent until broken.
Clean Visuals: Fully customizable colors, line styles (Solid, Dashed, Dotted), and widths.
How to Use
Target/Magnet: Use untested wickless levels as potential targets for take-profits, as price frequently returns to "fill" these efficient moves.
S/R Zones: Treat long-standing untested lines as strong areas for potential reversals or entries.
Breakout Confirmation: If price approaches a wickless resistance and fails to break it, it confirms the strength of the original move.






















