Filtered Fractals (2-Stage + Alerts)Filtered Fractals
Overview
This indicator is an advanced evolution of the classic Fractal logic (like the WICK.ED or Bill Williams models). Standard fractals are often "noisy," marking every minor local peak or trough, which can lead to false signals in volatile markets.
This script solves the "noise" problem by introducing a Dual-Stage Filtering Process. Instead of displaying every fractal, it treats them as "candidates" and only confirms those that represent a dominant extremum relative to their neighboring fractals.
How It Works
The script operates in two distinct stages to ensure only the most significant structural pivot points are plotted:
Stage 1: Detection
The script identifies "Raw Fractals" based on your preferred sensitivity (Left/Right bars). By default, it uses a 5-bar lookback/lookforward, but these remain hidden from the chart initially.
Stage 2: Sliding Window Competition
The script monitors a rolling sequence of the last three identified fractals. It compares their prices to find the "True Extremum":
For Highs , it compares the 3 most recent fractal peaks.
For Lows , it compares the 3 most recent fractal troughs.
The Point System: Every time a fractal is the "winner" (the highest high or lowest low) within its 3-fractal window, it receives a confirmation point.
The Priority Rule: In cases where two fractals have the exact same price, the script gives priority to the earlier one (the "left" peak), reducing late entries.
Visual Confirmation
A fractal is only plotted on your chart once it achieves two confirmations . This means it has proven to be a significant price extreme compared to both its predecessor and its successor.
Key Features
Noise Reduction: Eliminates "crowded" fractals, leaving only the structural backbone of the trend.
Non-Repainting Logic: The script only processes confirmed closed bars. The current developing candle will never trigger a false fractal or a premature alert.
Smart Alerts: Built-in alert() functionality. You can set a single alert to notify you the exact moment a Bullish or Bearish fractal is confirmed.
Customizable Sensitivity: Adjust the Left/Right Bars in the settings to fit your specific timeframe (e.g., higher values for macro trends, lower for scalping).
How to use
Support/Resistance: Use these filtered fractals to draw more reliable S/R zones.
Stop Loss Placement: Ideal for trailing stops behind truly significant swing points.
Trend Confirmation: A series of higher-high filtered fractals provides a much cleaner view of an uptrend than standard indicators.
פרקטל
ICT SMC Complete System 🔼🔽 Swing Points (Triangle Markers)
text
▼ Red Triangle = Swing High (Resistance)
▲ Green Triangle = Swing Low (Support)
📊 Liquidity Levels (Dotted Lines)
text
Red Dotted Line = BSL (Buy Side Liquidity) - Upar
Green Dotted Line = SSL (Sell Side Liquidity) - Neeche
⚡ Sweep/Grab Labels
text
"SWEEP 🔼" = Price ne low toda aur wapas aa gaya (Bullish)
"SWEEP 🔽" = Price ne high toda aur wapas aa gaya (Bearish)
"GRAB ⚡" = Long wick se liquidity li (Strong signal)
📦 Boxes (Zones)
text
Green Box = Bullish FVG / Bullish Order Block
Red Box = Bearish FVG / Bearish Order Block
Orange Box = OTE Zone (Best entry area)
🏷️ Entry Signals
text
"LONG" Green Label = Buy Signal
"SHORT" Red Label = Sell Signal
Step 3: Trade Kaise Lena Hai
✅ LONG (BUY) Trade Setup:
text
1. SSL Sweep hona chahiye (Green "SWEEP 🔼" label)
2. MSS▲ label aana chahiye (Bullish structure shift)
3. Price DISCOUNT zone mein ho (Green background)
4. Dashboard mein Long Score 25+ ho
5. "LONG" signal aaye tab BUY karo
Example:
text
Entry: Jab "LONG" label aaye
Stop Loss: Red dashed line (SL)
TP1: First green dotted line (1.5R)
TP2: Second dotted line (2.5R)
TP3: Third dotted line (4R)
✅ SHORT (SELL) Trade Setup:
text
1. BSL Sweep hona chahiye (Red "SWEEP 🔽" label)
2. MSS▼ label aana chahiye (Bearish structure shift)
3. Price PREMIUM zone mein ho (Red background)
4. Dashboard mein Short Score 25+ ho
5. "SHORT" signal aaye tab SELL karo
Step 4: Dashboard Samjho
Dashboard (Top Right corner) mein yeh info milegi:
Field Meaning
Long Score Buy kitna strong hai (30+ = A+)
Short Score Sell kitna strong hai (30+ = A+)
Bias Market direction (Bullish/Bearish)
Zone Premium (sell area) / Discount (buy area)
Kill Zone London/NY session active hai ya nahi
FVG Fair Value Gap present hai ya nahi
Order Block OB present hai ya nahi
SIGNAL Current signal kya hai
Step 5: Best Settings
Scalping (1-5 min timeframe):
text
Swing Length: 3
Min Score: 20
TP1: 1.0R
TP2: 1.5R
TP3: 2.0R
Intraday (15-30 min timeframe):
text
Swing Length: 5
Min Score: 25
TP1: 1.5R
TP2: 2.5R
TP3: 4.0R
Swing Trading (1H-4H timeframe):
text
Swing Length: 10
Min Score: 30
TP1: 2.0R
TP2: 3.0R
TP3: 5.0R
Step 6: Settings Change Karna
Chart par indicator ke naam par click karo
⚙️ Settings icon dabao
Apne hisaab se change karo:
text
Show Dashboard: ON/OFF
Show FVG: ON/OFF
Show Order Blocks: ON/OFF
Min Score for Entry: 20-30
TP Ratios: Apne risk ke hisaab se
🎯 Quick Trading Rules
LONG Entry Checklist:
SSL Swept ✓
MSS Bullish ✓
Discount Zone ✓
Score 25+ ✓
Kill Zone Active ✓ (optional)
FVG/OB present ✓ (bonus)
SHORT Entry Checklist:
BSL Swept ✓
MSS Bearish ✓
Premium Zone ✓
Score 25+ ✓
Kill Zone Active ✓ (optional)
FVG/OB present ✓ (bonus)
⚠️ Important Tips
Kill Zone mein trade karo - London (2-5 EST) ya NY (7-10 EST)
Score 25+ wait karo - Kam score par trade mat lo
Sweep ke baad entry lo - Sweep = Smart money ne liquidity li
SL strictly follow karo - Jo red line hai wahi SL
TP1 par partial profit book karo - Risk free karo trade
📱 Alerts Set Karna
Chart par Right Click karo
"Add Alert" select karo
Condition mein select karo:
"Long Entry" - Buy signal ke liye
"Short Entry" - Sell signal ke liye
"BSL Swept" - Liquidity sweep ke liye
"SSL Swept" - Liquidity sweep ke liye
Phone par notification aayegi jab signal aaye!
Macro FVG with Quarter Theory & CE AlertsStarting with Python, target, starting with script now, but I made this FvVG identifier. It will. Create the favorite group as it. Occurs. Just moving up it would be green, if it's moving down it would be red and if it's mitigated but turn dark black.
INDICADOR PRO🧪 How to Use It Effectively (Forex & Crypto)
✔️ Ideal for:
EURUSD, GBPUSD, USDJPY
BTC, ETH (best during London + New York sessions)
✔️ Recommended:
Disable the Asia session for crypto if the market is noisy
Backtest for at least 3–6 months
Use PDH/PDL as a strong filter
Session Liquidity SignalsThis indicator is called SLF VT and it analyzes market liquidity across major sessions
It defines three specific time windows which are Asia London and New York
During these times it draws colored boxes to mark the session High and Low
When a session ends the indicator extends dashed lines from the High and Low prices
These lines represent liquidity vectors where stop losses might be located
The core logic is designed to detect a Trap pattern
A Bullish Trap happens when price sweeps below a previous session Low but closes back above it
A Bearish Trap happens when price sweeps above a previous session High but closes back below it
The code calculates the Wick Ratio to ensure the reversal is sharp and valid
If a trap is confirmed the indicator plots a text label on the chart and can trigger an alert
HTF Candle Panel (3 Closed + 1 Live) v4High Time Frame Candle Mapping Display
- Automatically selects the correct higher timeframe (HTF) based on the chart timeframe
- Displays previous 3 completed HTF candles + 1 developing HTF candle
- Renders them as candles on the right side of the chart
- Updates dynamically as you change timeframes
- This is a true overlay candle panel, not just OHLC labels.
- Exact HTF OHLC — price aligns perfectly with the actual HTF chart.
Works (dynamically) on these time frames only.
Chart Timeframe // Higher Timeframe Shown
1 second - 1 minute
15 seconds - 5 minutes
1 minute - 15 minutes
3 minutes - 30 minutes
5 minutes - 1 hour
15 minutes - 4 hours
30 minutes - 4 hours
1 hour - Daily
4 hours - Weekly
NOTE: Premium TradingView needed for "Seconds" charting
Level to level Multi-TF + ATRLevel to level Multi-Timeframe + ATR/ADR Daily Progress
This indicator is a complete multi-timeframe market structure and volatility toolkit, designed primarily for active forex traders.
It combines Williams Fractals on five higher timeframes (Weekly, Daily, H4, H1, M5) with a live ATR/ADR dashboard, allowing you to see at a glance how much of the typical daily move has already been completed and how much “room” the market realistically has left to run.
Fractals are drawn as arrows and colored zones that clearly mark swing highs and lows, supply/demand pockets, and key reaction areas. These zones can be used as dynamic support/resistance, liquidity pools, and target/stop regions. The multi‑TF design lets you read higher‑timeframe structure while executing on lower timeframes, which is ideal for scalping and intraday trading.
The built‑in volatility table shows:
ATR Progress (%) with green / yellow / red status to indicate whether the current session is still developing, mature, or potentially exhausted.
Daily ATR & ADR values in pips, so you always know the typical and current range of the day.
Done / Left range, highlighting how many pips have already been travelled from low to high, and how many are statistically left.
ATR and ADR projection lines are also plotted from the daily open, giving you clear intraday reference levels for take profit, stop placement, and expected session extremes.
This tool works especially well when combined with Smart Money Concepts (SMC) such as:
Break of Structure (BOS) and Change of Character (CHoCH) using fractal highs/lows.
Liquidity grabs and stop hunts around fractal zones.
Order blocks and fair value gaps that overlap with higher‑TF fractals and ATR/ADR levels.
Use it on majors like EUR/USD, GBP/USD, XAU/USD or indices, on anything from fast M1–M5 scalping to H1–H4 swing trading. All colors, timeframes, sensitivities and volatility settings are fully customizable so you can adapt it to your own style and template.
LANZ Origins🔷 LANZ Origins – Multi-Framework Liquidity, Structure & Risk Management Overlay
LANZ Origins is a multi-tool TradingView indicator designed to provide session context, liquidity mapping, imbalance visualization, higher-timeframe candle projection, and a fixed-SL lot size calculator.
It includes:
Risk & Lot Size Panel (up to 5 accounts):
Calculates lot size using a fixed Stop Loss in pips and a standard pip value assumption ($10 per pip per 1.0 lot). For each enabled account, it displays the estimated lots and dollar risk based on account capital and risk %. The panel is fully customizable (colors, text size, visibility).
Session Backgrounds (New York time):
Colors the chart by time blocks: Day Division, No Action Zone, Killzone, and Hold Session, helping traders visually segment the trading day.
Asian Range Liquidity Box (19:00–02:00 NY):
Draws a dynamic box tracking the session high/low, plus an optional midline (50%) with optional label. The script correctly handles sessions that cross midnight.
Imbalance Detector:
Detects and draws Fair Value Gaps (FVG), Opening Gaps (OG), and Volume Imbalances (VI) with adjustable filters (min width by points/%/ATR and extension). Optionally shows a dashboard summarizing frequency and fill rate.
ICT HTF Candles Overlay:
Projects selected higher-timeframe candles to the right of price (e.g., 30m enabled by default), with optional labels, remaining time, trace lines (O/C/H/L) and internal imbalance highlights for those HTF candle sets.
30m ZigZag projected to all timeframes:
Computes ZigZag pivots from the 30-minute timeframe and draws them on any chart timeframe, including an optional live extending leg.
LANZ Origins does not execute trades and does not generate buy/sell entries. It is a visual framework for analysis, context, and risk planning.
ReversePulse Strategy (Invite-only)This strategy combines a higher-timeframe bias with multi-timeframe POI levels and a rule-based entry workflow.
Concept
Bias / trend filter: Supertrend from a selectable higher timeframe (HTF).
Supertrend line above price = short bias, below price = long bias.
POI levels: Fractal levels from a selectable timeframe (MTF). Levels are tracked until the first break.
Reversal logic:
Long setups are only activated after a break down of a fractal low (liquidity sweep).
Short setups are only activated after a break up of a fractal high.
Entry: Once a setup is active, entries are triggered by Trigger (Fractal) and/or Attempted (both optional, priority selectable). Setups expire after a configurable number of bars (expiry).
Management: Take-profit via RR multiple, optional break-even after a configurable RR threshold.
DD Feather (optional): After a defined drawdown threshold, the strategy reduces risk per trade. Reset mode and base (Equity/Start Capital) are configurable.
Filters
Trading days (Mon–Fri) and a trading session window are configurable.
Visuals / Dashboard
Optional SL/TP lines, RR boxes and RR lines.
A status overlay shows bias, setup status, signal status, session status, and timeframe timers.
Disclaimer
This script is provided for analysis and testing purposes only and is not financial advice. Results may vary depending on symbol, broker data, and settings.
vorgestern
Versionshinweise
This strategy combines a higher-timeframe bias with multi-timeframe POI levels and a rule-based entry workflow.
Concept
Bias / trend filter: Supertrend from a selectable higher timeframe (HTF).
Supertrend line above price = short bias, below price = long bias.
POI levels: Fractal levels from a selectable timeframe (MTF). Levels are tracked until the first break.
Reversal logic:
Long setups are only activated after a break down of a fractal low (liquidity sweep).
Short setups are only activated after a break up of a fractal high.
Entry: Once a setup is active, entries are triggered by Trigger (Fractal) and/or Attempted (both optional, priority selectable). Setups expire after a configurable number of bars (expiry).
Management: Take-profit via RR multiple, optional break-even after a configurable RR threshold.
DD Feather (optional): After a defined drawdown threshold, the strategy reduces risk per trade. Reset mode and base (Equity/Start Capital) are configurable.
Filters
Trading days (Mon–Fri) and a trading session window are configurable.
Visuals / Dashboard
Optional SL/TP lines, RR boxes and RR lines.
A status overlay shows bias, setup status, signal status, session status, and timeframe timers.
Disclaimer
This script is provided for analysis and testing purposes only and is not financial advice. Results may vary depending on symbol, broker data, and settings.
FVG Nexus IFVG Break FrameworkThis strategy implements an IFVG (Inverted Fair Value Gap) framework using a structured multi-timeframe approach.
Concept:
The script identifies Fair Value Gaps (FVGs) on a higher timeframe (HTF) to define market context. Instead of trading the initial FVG reaction, it waits for a confirmed invalidation of that HTF gap. Only after this invalidation occurs does the strategy search for a confirming Fair Value Gap on the lower timeframe (LTF) in the direction of the break.
This creates a two-step logic:
1) Detect HTF Fair Value Gap and wait for price to interact with it.
2) After invalidation of the HTF zone, enter only on a newly formed LTF Fair Value Gap aligned with the break direction.
Key Characteristics:
– Invalidation-based logic (IFVG), not standard FVG continuation
– Strict multi-timeframe structure (HTF context, LTF execution)
– Rule-based entries and exits without discretionary input
– Designed for backtesting, alerts, and automated execution
– Optional session filtering and risk-controlled trade management
How to Use:
Apply the strategy on the lower timeframe specified in the settings. Select a higher timeframe for contextual structure. Trades are only triggered after a confirmed HTF invalidation followed by a valid LTF Fair Value Gap.
This script is intended as a structured trading methodology for studying market behavior and systematic execution. It does not provide financial advice.
Smart Money Concepts (SMC) - Maqdsi 📊 Smart Money Concepts (SMC) Minor – Complete Indicator Guide
🎯 Overview
This is a professional Smart Money Concepts (SMC) indicator, specifically designed for TradingView using Pine Script v5.
The indicator focuses exclusively on Minor Market Structure after removing Major IDM, resulting in clearer, cleaner, and more precise institutional market analysis.
🏗️ Core Components
1️⃣ Market Structure
CHOCH (Change of Character)
Definition:
A structural shift indicating a potential trend reversal.
Display:
Dashed line
Red for Uptrend, Turquoise for Downtrend
Label displayed above or below the line based on direction
BOS (Break of Structure)
Definition:
A structural break confirming trend continuation.
Display:
Solid line
Turquoise for Uptrend, Red for Downtrend
Dynamic label that moves with price
IDM (Inducement – Minor)
Definition:
A liquidity inducement zone where price breaks a minor high/low to trap traders before reversal.
Display:
Dotted line
Black for both directions
Only Minor IDM is displayed (Major IDM removed)
Live Structure
Real-time structure lines that move with current price
Labels display "LIVE CHOCH / BOS / IDM" with price
Each element can be enabled or disabled independently
2️⃣ Order Blocks (OB)
Order Block Types
A. Decisional Order Block (IDM-OB) 🔵
Last Order Block before CHOCH
Color:
Light Blue (Live)
Dark Blue (Historical)
Importance: Very High – Institutional decision zone
B. SMT Order Block (Smart Money Trap) 🟠
Order Blocks between Decisional and Extreme OB
Color:
Light Orange (Live)
Dark Orange (Historical)
Importance: Medium to High
C. Extreme Order Block (Ext-OB) 🟣
Oldest Order Block in range (furthest point)
Color:
Light Fuchsia (Live)
Dark Fuchsia (Historical)
Importance: Strongest Support/Resistance zone
Order Block Features
✅ Dynamic extension until broken
✅ Color change to gray when mitigated
✅ Optional auto-hide after break
✅ Live Order Blocks protected from auto-hide
3️⃣ Fair Value Gaps (FVG)
Definition:
Price imbalances representing inefficiencies in the market.
Display:
Semi-transparent orange boxes
Displayed only when linked to a structured Order Block
Centered label: “FVG”
Features:
Automatically extends with its Order Block
Automatically hides if the linked Order Block is hidden
4️⃣ Special Candle Types
SCOB (Strong Change of Behavior) ⚡
A powerful candle signaling a shift in market behavior.
Coloring:
Blue for Bullish
Orange for Bearish
ISB (Inside Bar) 🟪
Candle fully contained within the previous candle’s range
Displayed in semi-transparent purple
OSB (Outside Bar) 🔷
Candle that fully engulfs the previous candle
Blue for Bullish, Orange for Bearish
5️⃣ Confirmed Highs & Lows
Small circles marking confirmed swing points
🔴 Red for Highs
🟢 Green for Lows
Purpose: Identifying confirmed reversal points
6️⃣ Premium & Discount Zones
Logic:
Uptrend:
Premium: Upper range (50%–100%)
Discount: Lower range (0%–50%)
Downtrend:
Discount: Upper range
Premium: Lower range
Usage:
Buy from Discount in an Uptrend
Sell from Premium in a Downtrend
7️⃣ OTE Fibonacci Levels (Optimal Trade Entry)
Displayed Levels:
1.000 – Highest/Lowest point (CHOCH)
0.786 – First entry zone
0.705 – OTE Zone
0.618 – Golden Fibonacci level
0.000 – Starting point (Live BOS)
Features:
✅ Dynamic extension from CHOCH to current time
✅ Price-accurate labels
✅ Thicker line for OTE (0.705)
✅ Automatically updates with Live BOS
8️⃣ PDH / PDL (Previous Day High & Low)
Horizontal lines displaying previous day’s high and low
🔴 PDH – Red
🟢 PDL – Green
Extend 20 candles forward
Labels display “PDH / PDL” with price
Mizan v15: Micro-Structure ProjectionTitle: Mizan v15: Micro-Structure Projection (The Truth Behind Candles)
Description:
"Candles do not fall from the sky." A 15-minute candle is not just a block of price; it is the result of a war fought in the 1-minute and 5-minute trenches. Standard indicators only show you the result. Mizan Micro-Structure Projection shows you the cause.
This indicator uses a "Weighted Micro-Pressure" algorithm to analyze the internal tension of the market across 1m, 5m, and 15m timeframes simultaneously. It projects the hidden energy onto your current chart.
KEY FEATURES:
1. The Tension Dashboard: A real-time panel in the corner shows the hierarchy of pressure.
1m (The Root): The trigger. Where the move starts.
5m (The Body): The momentum.
15m (The Peak): The trend. If the 1m tension is maxed out, the 15m candle will eventually obey.
2. Dynamic Candle Painting: The indicator repaints the candle colors based on pressure, not just price close.
Cyan (Blue): "Bullish Fuel" is loaded. Even if the candle is red, the internal mechanics are ready to explode up.
Orange: "Bearish Fuel" is loaded. The market is overextended on micro-timeframes and ready to drop.
3. The "Loaded Doji" Detector (Yellow 'X'): A Doji is usually seen as "indecision." Mizan disagrees. If a Doji appears while micro-pressure is extremely high or low, it is not indecision; it is a TRAP.
A Yellow X above a Doji means: "The surface is calm, but the micro-structure is screaming." This is often a reversal signal before a kinetic shock.
HOW TO USE:
Look for Divergence: If price is going UP, but the candles turn ORANGE, the micro-structure is collapsing. Prepare for a short.
Watch the 1m Row: The bottom row of the dashboard is your "early warning system."
Loaded Doji: If you see a Yellow X, do not trade the breakout immediately. Check the Dashboard color. That is the true direction.
Developed by the Mizan Philosophy. Decoding the architecture of price
SA ZoneEngine Bias Filtered (3m + 1H Gate) FINAL FIX✅ AUTHOR’S INSTRUCTIONS (COPY / PASTE)
SA ZoneEngine Bias Filtered is a market-structure bias and confirmation tool designed for futures and options traders using smaller intraday timeframes.
This script evaluates short-term price structure, pullback behavior, and higher-timeframe alignment to highlight directional bias only.
It does not provide trade entries, exits, targets, or financial advice.
🔐 Access Instructions (Invite-Only)
This is a private, invite-only script.
To request access:
👉 Purchase here:
trianchor.gumroad.com
After purchase, you must provide your TradingView username to receive access. PRODUCT INFO
SA ZoneEngine Bias Filtered (3m + 1H Gate) is a structure-aligned bias and permission indicator built for traders operating on smaller intraday timeframes who want cleaner context before acting.
This tool helps futures and options traders determine when short-term price action is structurally supported—and when it’s not—by enforcing:
Lower-timeframe pullback structure
Trend alignment using a fast/slow SMA model
Optional 1-Hour higher-timeframe trend gate
Zone-based acceptance before bias is assigned
It is designed for scalping-style workflows, but it does not provide trade instructions or predictions.
Its job is to filter noise and reduce forced decisions.
Neutral output is intentional.
SAMIR-Pattern Detector: (Debug Mode)fractal pattern to descover movment action then apply fibo on the pattern
Liquidity Sweep IndicatorLiquidity Sweep Indicator
A clean and lightweight indicator to visualize liquidity sweeps on lower and higher timeframes.
Display LTF and HTF sweeps independently or together
Custom timeframes, strength, colors, and styles for each timeframe
Smart HTF alignment to avoid large visual gaps
Open liquidity levels automatically update once swept
Designed for Smart Money Concepts and liquidity-based trading, with a strong focus on clarity and minimal chart clutter.
TWR of Bill WilliamsThis indicator was taken from the book “Trading Chaos Pt 1” by Bill Williams.
TWR contains 3 Moving Averages
Ripple - MA with 5 bars length
Wave - MA with 13 bars length
Tide - MA with 34 bars length
According to Bill Williams, you should take only a long position if the Ripple(5 bars length) is higher than Wave(13) and Tide(34).
Also, you should take only a short position, if the Ripple (the fastest MA) is lower than Wave MA and Tide MA(slowest MA).
This indicator is also used if you want to fill in the Profitunity Trading Partner table.
Kotobcap Market Regimes.Kotobcap Market Regimes — Description
This indicator identifies market bias (Bull / Bear) using a mechanical structure break approach and tracks how often that bias was “correct” historically.
What it plots
Bias background:
Teal = Bull regime
Red = Bear regime
Pivot dots: swing highs/lows based on the selected swing length (3 / 5 / 9 / custom).
Shift dots (black): the candles where a regime shifts from Bull→Bear or Bear→Bull.
Break-level line (optional): a horizontal line from the pivot level to the shift candle (pivot-based shifts only).
Engulf diamonds (optional): when Engulf mode is set to WARNING, large ADR-filtered engulf candles are marked.
How bias is calculated (core logic)
The script finds confirmed swing pivots (pivot highs and pivot lows).
A Bull shift occurs when price closes above the most recent pivot high.
A Bear shift occurs when price closes below the most recent pivot low.
Bias stays the same until the next opposite shift.
Engulfing option (ADR20 filter)
Engulfing uses the daily ADR20 to filter only “large” candles:
A candle qualifies if its range is greater than engMult × ADR20.
If Engulf mode is:
OFF: ignored
WARNING: plotted as diamonds only (does not change bias)
EARLY SHIFT: can trigger a regime shift earlier than a pivot break
Performance statistics (shift-to-shift regimes)
A regime is the period between two shifts (shift → next shift).
A regime is counted as correct if price moved in the direction of the bias by the time the next shift happened.
The dashboard shows:
Hit (Regime): total correct regimes ÷ total regimes
(regime-weighted accuracy)
Hit (YearAvg): average of each year’s hit rate
(each year weighted equally; includes current year YTD if it has completed regimes)
Hit (MedianYr): median of yearly hit rates
(outlier-resistant “typical year” accuracy)
Hit (YTD only): current year only (shows n/a until at least one regime ends this year)
Reg/Yr + Regimes: how frequently regimes flip and the sample size
YearsTotal / WithData / Missing: coverage and how many years had enough data to score
Excl bars: % of candles excluded due to start date and/or flat-candle filtering
Data filters
Start Date: limits analysis to newer data (useful when older data is unreliable).
Ignore flat candles: excludes zero-range / flat candles from calculations.
Elliott Wave Pattern AnalyzerElliott Wave Pattern Analyzer
Overview
This indicator automatically detects Elliott Wave impulse patterns and diagonal formations on your chart. It analyzes price structure based on classic Elliott Wave rules and displays wave counts with confidence scores, Fibonacci projections, and invalidation levels.
Why I Built This
After reading Glenn Neely's book on Elliott Wave theory, I wanted to put my learning into practice by building something tangible. There's no better way to understand a concept than trying to code it!
I'll be honest – corrective wave patterns (zigzags, flats, triangles, combinations) were simply too complex for me to implement reliably. So instead, I focused on what I could manage: impulse waves and diagonal patterns. Maybe someday I'll tackle the corrections, but for now, this is my humble contribution.
The retracement visualization style was inspired by LuxAlgo's elegant approach – credit where credit is due!
How It Works
1. Wave Detection
The indicator uses pivot points to identify potential 5-wave structures:
WaveRuleWave 2Cannot retrace more than 100% of Wave 1Wave 3Cannot be the shortest among Waves 1, 3, 5Wave 4Should not overlap Wave 1 territory (impulse)Wave 5Completes the motive structure
2. Pattern Types
Impulse Waves
Classic 5-wave motive structure
Wave 3 typically extends (≥1.618 of Wave 1)
Strict mode enforces all Elliott rules
Diagonal Patterns
Ending diagonal (wedge-shaped)
Waves progressively contract
Lines 1-3 and 2-4 converge to an apex
Often signals trend exhaustion
3. Confidence Scoring
Each pattern receives a confidence score (0-100%) based on:
Fibonacci ratio adherence
Wave proportion relationships
Rule compliance
Structural clarity
Only patterns exceeding your threshold (default: 60%) are displayed.
4. Fibonacci Projections
After Wave 5 completion, the indicator projects potential retracement levels:
0.382, 0.500, 0.618, 0.786 of the entire impulse
5. Extension Channel
Connects Wave 0 origin to the retracement low, projecting:
0.618, 1.000, 1.272, 1.618 extensions
Optional extended levels: 2.000, 2.618, 4.236
6. Invalidation Levels
Shows the price level where the wave count becomes invalid – helping you know when your analysis is wrong.
Settings Explained
Impulse Wave Settings
Pivot Length: Sensitivity of wave detection (recommended: 5, 7, 14)
Strict Mode: Enforce all classic Elliott rules
Min Wave 3 Extension: Minimum ratio for Wave 3 (default: 1.618)
Diagonal Wave Settings
Allow Wave 4-1 Overlap: Required for valid diagonals
Extend Trendline: Project diagonal boundaries forward
Projection Settings
Fibonacci Levels: Customize retracement targets
Extension Bars: How far projections extend on chart
Pattern Management
Max Patterns: Limit displayed patterns to reduce clutter
Pattern Lifetime: Auto-remove old patterns after X bars
Use Cases
Trend Trading: Enter on Wave 3 or Wave 5 breakouts
Reversal Spotting: Diagonal completion often signals reversals
Target Setting: Use Fibonacci extensions for take-profit levels
Risk Management: Invalidation levels provide clear stop-loss references
Notes
This indicator uses pivot detection and may repaint – signals are confirmed after the specified pivot length
Designed for educational and analytical purposes, not as a signal generator
Elliott Wave analysis is subjective – this is my algorithmic interpretation
Works best on liquid markets with clear trend structure
Not financial advice – always do your own research
Re-publishing Notice
This indicator was previously blocked due to some house rule violations on my part. I've recently had time to review and fix those issues, and I'm now re-publishing a compliant version. Thanks for your patience!
Feedback Welcome
I'm still learning Elliott Wave theory myself, so if you spot any issues or have suggestions for improvement, please leave a comment. Let's learn together!
Happy trading! 📈
SMTSMT Divergence (Smart Money Technique Divergence) is a powerful trading concept within the Smart Money Concept (SMC) and Inner Circle Trader (ICT) methodologies.
This concept was popularized by the Inner Circle Trader (ICT) and has become an essential tool for traders looking to identify institutional positioning and smart money footprints in the market. By recognizing these divergences, retail traders can gain insights into potential market manipulation and align their trades with institutional order flow.






















