Master Candle# Master Candle Indicator
## Overview
The Master Candle Indicator identifies and highlights significant price consolidation patterns where multiple candles trade within the high-low range of a single "master" candle. This technical analysis tool helps traders spot potential breakout zones and key support/resistance levels.
## What is a Master Candle?
A Master Candle is a candlestick that contains 4 or more subsequent candles completely within its high-low range. These formations often indicate:
- Market consolidation phases
- Potential breakout areas
- Strong support and resistance levels
- Areas of price compression before significant moves
## Features
✅ **Automatic Detection**: Scans historical data to identify Master Candle patterns
✅ **Visual Highlighting**: Draws colored boxes around detected Master Candles
✅ **Customizable Parameters**: Adjust minimum candles required (2-20)
✅ **Candle Counter**: Shows exact number of candles contained within each Master Candle
✅ **Performance Optimized**: Efficient lookback system with memory management
✅ **Clean Interface**: Non-intrusive visual design that doesn't clutter charts
## How to Use
1. Add the indicator to your chart
2. Adjust the "Minimum candles inside" parameter (default: 4)
3. Set the lookback period for historical scanning (default: 50)
4. Master Candles will be automatically highlighted with colored boxes
5. Use these levels as potential support/resistance zones for your trading strategy
## Settings
- **Minimum candles inside**: Set how many candles must be contained (2-20)
- **Lookback period**: How far back to scan for patterns (10-200 bars)
## Educational Purpose
This indicator is designed for educational and analysis purposes. It helps traders:
- Understand market consolidation patterns
- Identify potential breakout zones
- Recognize key support and resistance areas
- Improve market structure analysis skills
## Technical Details
- Compatible with all timeframes
- Works on any trading instrument
- Optimized for performance with automatic memory management
- Uses historical data analysis for pattern detection
## Important Notes
- This indicator is for educational and analytical purposes only
- Past patterns do not guarantee future results
- Always combine with other analysis tools
- Practice proper risk management in your trading
- Not financial advice - for educational use only
Formacje wykresów
Mohammad - Micro-Segments 2Mohammad - Auto Trendlines - Dynamic Support & Resistance
This indicator automatically identifies and draws trendlines by connecting pivot highs and pivot lows, similar to how a professional trader would manually draw them on a chart. Each pivot point is used only once to maintain clean, non-overlapping lines.
Key Features:
Automatically detects and connects pivot points to form trendlines
Distinguishes between resistance lines (connecting highs, drawn from top) and support lines (connecting lows, drawn from bottom)
Each pivot/wick is used for maximum one trendline, preventing messy overlapping
Color-coded: Black for resistance lines (bearish), Blue for support lines (bullish)
Support lines can be toggled on/off (hidden by default for cleaner charts)
Parameters:
Minimum/Maximum Length: Controls the range of bars to search for trendline connections (5-40 bars default)
Pivot Strength: Determines how prominent a high/low must be to qualify as a pivot point
Line Extension: Projects trendlines forward into the future
Tolerance: Flexibility for validating price touches on the trendline
Maximum Lines: Limits the number of visible trendlines to prevent chart clutter
How It Works:
The indicator scans historical price data to identify significant pivot points (local highs and lows). It then connects these pivots with trendlines following these rules:
Resistance lines connect pivot highs where the recent high is lower than the older high (descending)
Support lines connect pivot lows where the recent low is higher than the older low (ascending)
Lines must have intermediate price touches to be considered valid
Each pivot can only be used once, ensuring clean, logical trendline placement
Use Cases:
Identify key support and resistance levels automatically
Spot trend continuations and potential reversal points
Save time by eliminating manual trendline drawing
Maintain consistency in technical analysis
The indicator updates every 5 bars and on the last bar to ensure current relevance while maintaining performance.
Simultaneous 1m, 5m, 15m 200 EMAShows 1m, 5m and 15m 200 EMA. Helpful to have a bigger perspective when doing day trading.
Ludvig Indicator PROThe Ludvig Indicator is designed to identify high-probability breakout setups by combining trend, volume, volatility, and relative strength filters. It helps you enter stocks (or ETFs/crypto) when institutional money is likely flowing in, while avoiding false breakouts and weak trends.
🔑 Core Features
Zero-Lag EMA (ZLEMA)
Faster, less lagging trend detection compared to traditional EMAs.
Used as the basis for dynamic ATR bands.
ATR Volatility Bands
Adaptive bands based on the Average True Range (ATR).
Define the zone where price must close outside to confirm trend strength.
Breakout Confirmation
Requires price to close above recent highs (lookback configurable).
Ensures signals are “true breakouts,” not just noise around moving averages.
Volume Filter (Relative Volume)
Validates breakouts with significantly higher volume than average.
Prevents low-liquidity signals from triggering.
Trend Strength (ADX)
Built-in ADX calculation ensures only strong, trending moves are considered.
Default filter: ADX ≥ 18 (configurable).
Relative Strength vs. Benchmark
Compares the asset’s momentum against a benchmark (default: SPY).
Only signals when the asset is outperforming the benchmark.
Useful for sector rotation and picking leaders instead of laggards.
Alerts & Signals
Breakout entries are marked with small green triangles.
Built-in alerts for automated notifications (TradingView alerts).
Sweep2Trade Pro [CHE]Sweep2Trade Pro \ — Liquidity Sweep → Trend → Confirmation
Sweep2Trade Pro \ helps you catch high-probability reversals or continuations that start with a liquidity sweep, align with the T3 trend, and finalize with a structure confirmation (BOS). It’s designed to reduce noise, time your entries, and keep you out of weak, chop-driven signals.
What’s a “sweep”?
A liquidity sweep happens when price briefly breaks a prior swing high/low (where many stops sit), triggers those stops, and then snaps back. This “stop-hunt” creates liquidity for bigger players and often precedes a sharp move in the opposite direction if the break fails, or fuels continuation if structure actually shifts.
What’s a BOS (Break of Structure)?
A BOS is a price action event where the market takes out a recent swing level in the trend’s direction, signaling continuation and confirming that structure has shifted (bullish BOS through a recent swing high, bearish BOS through a recent swing low).
How the indicator works (at a glance)
1. Regime Filter (T3 + R²)
T3 Moving Average: A smoother, faster-responding moving average that aims to reduce lag while filtering noise, so trend direction changes are clearer.
R² (Coefficient of Determination): Measures how “linear” the recent price path is (0→1). Higher values = stronger, cleaner trend; lower values = more chop. Used here to allow trades only when trend quality exceeds a user-set threshold.
2. Sweep Detection
Bullish sweep: price pokes below a prior swing low and closes back above it.
Bearish sweep: price pokes above a prior swing high and closes back below it.
Lookback length is configurable.
3. Sequence Lock (built-in FSM)
The script manages state in phases so you don’t jump the gun:
Phase 1: Sweep detected → wait for T3 to turn in the corresponding direction.
Phase 2: T3 direction confirmed → show “SWEEP OK” and wait for final confirmation.
Trade Signal: Only fires if confirmation arrives before a timeout.
4. Confirmation Layer
BOS via wick or close (you choose),
Strong close toward the signal (top/bottom quartile of the candle),
Optional “close above/below T3” condition.
These checks help avoid weak sweeps that immediately fade.
5. Alerts & Visuals
“SWEEP OK” markers show when the sweep + T3 direction align.
Final BUY/SELL arrows appear only when the confirmation layer passes.
Ready-made alert conditions for automation.
What you can do with it
Time reversals after sweeps: Enter when a stop-hunt fades and structure confirms.
Ride continuations: Use BOS with the T3 trend to pyramid or re-enter with structure on your side.
Filter chop: Let R² gate entries to periods with cleaner directional drift.
Automate: Use the included alerts with your platform or webhook setup.
Inputs (key settings)
Regime Filter
T3 Length / Volume Factor: Controls smoothness and responsiveness. Smaller length → faster, more sensitive; higher volume factor → smoother curve.
R² Lookback & Threshold: Length of the linear fit window and the minimum “trend quality” required. Higher thresholds mean fewer, cleaner signals.
Sweep / Sequence
Swing Lookback: How far back to define the “reference” high/low for sweeps.
Timeout: Maximum bars allowed between phases to keep signals fresh.
Restart timeout on Phase 2: Optional safety so entries don’t go stale.
Confirmation
BOS Lookback: Micro-pivot window for structure breaks.
Wick vs Close BOS: Conservative traders may prefer close.
Require close above/below T3: Tightens confirmation with trend alignment.
Practical guide (quick start)
1. Timeframe & markets: Works across majors, indices, and crypto. Start with 5m–1h intraday or 1h–4h swing; adjust R² threshold upward on noisier pairs.
2. Entry recipe (Long):
Bullish sweep of a prior low → T3 turns up → BOS/strong close.
Optional: enable “close above T3” for extra confirmation.
3. Entry recipe (Short): Mirror the above.
4. Stops: Common choices are just beyond the sweep wick (tighter) or past the BOS invalidation (safer).
5. Targets: Previous structural levels, measured move, or a T3 trail (exit when price closes back through T3).
6. Avoid low-quality contexts: If R² is very low, market is likely ranging erratically—skip or widen filters.
Tips & best practices
Context first: The same sweep means different things in a strong trend vs. flat regime; that’s why the T3+R² filter exists.
BOS choice: Wick-based BOS is earlier but noisier; close-based BOS is slower but cleaner. Tune per market.
Backtest -> Forward test: Validate settings per symbol/timeframe; then paper trade before going live.
Risk: Fixed fractional risk with asymmetric R\:R (e.g., 1:1.5–1:3) generally performs better than “all-in” discretionary sizing.
Behind the scenes (for the curious)
T3 is a multi-stage EMA construction that produces a smooth curve with reduced lag versus simple/standard EMAs.
R² is the square of correlation (0–1). Here it’s used as a moving gauge of how well price aligns to a linear path—our “trend quality” dial.
Stop-hunts / sweeps are a recognized microstructure phenomenon where clustered stops provide the liquidity that fuels the next move.
Disclaimer
No indicator guarantees profits. Sweep2Trade Pro \ is a decision aid; always combine with solid risk management and your own judgment. Backtest, forward test, and size responsibly.
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence 🚀
Happy trading
Chervolino
ORB EST (Lite)📊 NY Open ORB (9:30–9:45 EST)
This indicator plots the high, low, and midpoint of the New York Stock Exchange opening range (9:30–9:45 AM EST).
This is the lite version. For full access, contact me on Discord: stent.
Advanced Price Ranges ICTThis indicator automatically divides price into fixed ranges (configurable in points or pips) and plots important reference levels such as the high, low, 50% midpoint, and 25%/75% quarters. It is designed to help traders visualize structured price movement, spot confluence zones, and frame their trading bias around clean range-based levels.
🔹 Key Features
Custom Range Size: Define ranges in points (e.g., 100, 50, 25, 10) or in Forex pips.
Forex Mode: Automatically adapts pip size (0.0001 or 0.01 for JPY pairs).
Dynamic Anchoring: Price ranges automatically align to the current price, snapping into blocks.
Multiple Ranges: Option to extend visualization above and below the current active block for a complete grid.
Level Types:
High / Low of the range
50% midpoint
25% and 75% quarters
Custom Styling: Adjustable line colors and widths for each level type.
Labels: Optional right-edge labels showing level type and exact price.
Alerts: Built-in alerts for when price crosses the range high, low, or 50% midpoint.
🔹 Use Cases
Quickly map out 100/50/25/10 point structures like Zeussy’s advanced price range method.
Identify key reaction levels where liquidity is often built or swept.
Support ICT-style concepts like range-based bias, fair value gaps, and liquidity pools.
Works for indices, futures, crypto, and forex.
🔹 Customization
Range increments can be set to any size (default 100).
Toggle which levels are shown (High/Low, Midpoint, Quarters).
Adjustable line widths, colors, and label visibility.
Extend ranges above and below for broader market context.
Buy/Sell Volume VWAP with Liquidity and Price SensitivityBuy/Sell Volume VWAP with Liquidity & Price Sensitivity
A dual-VWAP overlay that separates buy-side vs sell-side pressure using lower-timeframe volume and recent price behavior. It shows two adaptive VWAP lines and a bias cloud to make trend and imbalance easy to see—no params fussing required.
What you’ll see
Buy VWAP (green) and Sell VWAP (red) plotted on the chart
Slope-aware coloring : brighter when that side is improving, darker when easing
Bias cloud: green when Buy > Sell, red when Sell > Buy
Optional last-value bubbles on the price scale for quick readouts
How it works
Looks inside each bar (lower timeframe, e.g., 1-second) to estimate buy vs sell pressure
Blends that pressure with recent price movement to keep the lines responsive but stable
Maintains separate VWAP tracks for buy-side and sell-side and resets daily or at a time you choose
How to use it
Trend & bias: When Buy VWAP stays above Sell VWAP (green cloud), buyers have the upper hand; the opposite (red cloud) favors sellers.
Conviction: A wider gap between the two lines often means a stronger imbalance.
Context: Use alongside structure (higher highs/lows, key levels) for confirmation—this is not a stand-alone signal.
Inputs
Timeframe: Lower-TF sampling (default 1S).
Reset Time: Defaults to 09:30 (session open); set to your market.
Appearance: Two-shade palettes for buy/sell, line width, last-value bubbles, and cloud opacity.
Tips
Works on most symbols and intraday timeframes; lower-TF sampling can be heavier on resources.
If the cloud flips frequently, consider viewing on a slightly higher chart timeframe for cleaner structure.
Disclaimer
For educational use only. Not investment advice. Test on replay/paper before live decisions.
High Timeframe Candle Overlay (Configurable)HTF Candle Overlay — Read Higher Timeframe on Lower Timeframe Charts
What it does
This indicator draws each selected Higher-Timeframe (HTF) candle directly on your lower-timeframe (LTF) chart. It shows a translucent range box (HTF high–low) and an inner body box (HTF open–close), so you can track how the bigger candle is forming while you analyze lower-timeframe structure, liquidity sweeps, and intrabar reactions.
Why it’s helpful
• See where the current HTF candle opened, where price sits inside its body, and how far wicks extend—without leaving your LTF chart.
• Combine HTF context (e.g., 1H/4H) with LTF execution (e.g., 1m–15m) to spot confluence, S/R flips, and failed breaks faster.
• The overlay is locked to the price scale and anchored by bar index, so it pans/zooms exactly with your chart (no drifting while dragging).
⸻
How it works (under the hood)
• Fetches HTF OHLC via request.security.
• When a new HTF bar starts, the previous HTF boxes are frozen at the true close.
• The current HTF bar updates intrabar (so you see live formation) and is clamped to the correct span.
• Horizontal anchoring uses bar index, and a hidden price plot binds the script to the main price scale for stable zoom/pan behavior.
⸻
Inputs
• High Timeframe (HTF): Default 1H (set any TF you like).
• Show High–Low Box: On/off.
• Show Body Box (Open–Close): On/off.
• Opacity for range/body boxes.
• Bull/Bear Colors and Outline + Width.
• Max HTF Candles to Keep: Auto-deletes older boxes to maintain performance.
⸻
Usage tips
• Popular combos: view 1H or 4H candles while trading 1–15m charts.
• Turn off the range box if you only want a clean HTF body overlay.
• Pair with your session/structure tools; this indicator is visual context only (no signals or alerts).
⸻
Notes & limitations
• Non-repainting for closed HTF bars: once an HTF candle closes, its boxes are fixed. The current/in-progress HTF bar updates until it closes (expected live behavior).
• Data alignment depends on your symbol’s feed and session settings. Heikin Ashi/renko/etc. may not match classic OHLC.
• Heavy history + many boxes can affect performance; reduce “Max HTF Candles to Keep” if needed.
⸻
Disclaimer
This script is for education and charting visualization only. It does not provide financial advice, trade signals, or performance guarantees. Always do your own research and manage risk.
DERF LUNUNA RSIRSI for my needs. I adjusted it for my own trading habits. If you are interested feel free to use it.
Clean Session Highs/Lows UKThis indicator was supposed to track the Sydney and Tokyo session highs and lows, but it doesn’t work. Lines either go vertical, don’t align with candles, or just vanish. Tried to code it in Pine Script v5, but apparently even GPT can’t get it right — so don’t bother expecting it to function properly. Basically, a complete waste of time.
EMA PRO (2–3 optional, VIPIN MTF + Alerts)This indicator plots up to 3 customizable EMAs with multi-timeframe support and alerts.
Features:
• Up to 3 EMAs (fully optional – show/hide individually)
• Custom length, timeframe, color, and line width for each EMA
• EMA1–EMA2 cloud fill with trend bias coloring
• Optional bar coloring based on EMA1 vs EMA2
• Alerts included for:
– Price crossing above/below EMA1
– EMA1 crossing above/below EMA2
How to Use:
• Scalping (1m–5m): EMA20 + EMA50, EMA200 for higher trend
• Intraday (15m–1H): EMA21 + EMA50 + EMA200
• Swing (4H–1D): EMA50 + EMA200
• Cloud turns green = bullish bias, red = bearish bias
• Use confluence with structure (BOS, CHoCH, OB/FVG) for best entries
⚠️ Disclaimer: This script is for educational and informational purposes only.
It is not financial advice. Always do your own research and practice proper risk management before trading.
Previous Day OHLCDescription:
This indicator projects the previous day’s High, Close, Open, and Low onto your current chart, with clean right-side labels and a “ghost candle” representing the previous day’s candle (bullish = green, bearish = red). It’s designed to make key intraday reference levels obvious at a glance and to add optional, power-user features (alerts, zones, distances, stats, session filters, higher-TF levels, etc.) without clutter.
Why traders use it:
• Previous Day High/Low often act as reaction levels (support/resistance, liquidity sweeps).
• Previous Day Open/Close help frame bias (gap context, ranging vs. trending behavior).
• The ghost candle is a visual “anchor” of yesterday’s structure next to today’s price.
Best suited for: intraday charts (e.g., 5m–1h) and day trading/short-term swing contexts. Works on any symbol.
Defaults:
• Gap from latest candle: 10 bars
• Ghost body width: 2 bars
• O/C nudge: 10 ticks
• Label colors (top→bottom): High = dark green, Close = light green, Open = light red, Low = dark red
• Most extras are toggleable; sensible defaults keep it clean.
How to read it quickly:
• Price retesting Previous Day High/Low → watch for rejection or acceptance.
• Price inside the Previous Day range → range-bound conditions until a break.
• Labels show live distance (Δ) if enabled—handy for risk/target sizing.
Disclaimer:
This script is for educational purposes only and not financial advice. Trading involves risk; do your own research and use appropriate risk management. Past performance does not guarantee future results. You are solely responsible for any decisions and outcomes when using this tool.
________________________________________
📦 Pro Preset (Recommended)
Enable these settings for a powerful out-of-the-box layout that balances clarity and depth of info:
• ✅ 1) Alerts: ON
• ✅ 2) Distances (Δ): ON
• ✅ 3) Zones: ON (zoneTicks = 10)
• ❌ 4) Weekly/Monthly OHLC: OFF (keep clean; enable manually for swing confluence)
• ✅ 5) Midpoint & ADR20%: ON
• ✅ 6) Ghost Candle: ON (opacity ~20–30%, auto place ON)
• ✅ 7) Auto-stack labels: ON (stackSpacingTicks = 80)
• ❌ 8) Session filter: OFF (disable to always see levels; enable if you trade only LON/NY)
• ✅ 9) Style preset: Minimal or Bold (user preference)
• ✅ 10) Stats Box: ON
• ✅ 11) Value format options: ON (decimals = 2 for FX, 1–0 for indices)
• ❌ 12) Replay freeze (DaysBack): OFF (enable only for backtesting)
📊 How this preset looks in practice
• Four main levels + ghost candle aligned 10 bars to the right.
• Labels are stacked in clean order (High → Close → Open → Low).
• Zones highlight reaction areas around each level.
• Δ (distance to price) is visible in each label for quick context.
• Stats box summarizes regime (Inside/Outside, gap %, ADR context).
• Alerts fire when price touches or crosses any PD level or enters a zone.
📄 Full documentation available here: docs.google.com
Shelf FVG Alert Multi TF 3 [FINAL]shelf best i have ever seen it. thats pattern shows zones where we can see impuls
Swing Averages & Next Swing Forecast Swing Averages & Next Swing Forecast
What it does:
Finds confirmed swing highs/lows, keeps only “significant” legs (default ≥ $0.10), then computes average up/down leg sizes and projects the next swing low and next swing high. Optionally runs calculations on a higher timeframe (HTF) while plotting on your current chart.
Renko WPR Color ChangerChanges color when williams percent R is between 0 and -20 or when between -80 and -100. Works with renko, HA and regular candles. Can change color.
SMC Yardımcısı - TR (Optimize v2.1)BOS (Break of Structure)
Labels when price closes above/below a previous swing high/low.
Shows continuation of the current trend.
CHOCH (Change of Character)
Appears when trend direction shifts (from bullish to bearish or vice versa).
Marks possible market reversals.
FVG (Fair Value Gap)
Highlights price imbalance zones (3-candle gaps).
These are often areas where price later returns to “fill” liquidity.
OTE (Optimal Trade Entry, 62–79% retracement)
Uses the last swing high and swing low.
Draws the Fibonacci retracement zone (62–79%), considered a common institutional entry area.
BSL (Buy Side Liquidity – Equal Highs)
Detects equal highs and plots them as liquidity pools.
Shows where buy-side liquidity/stop hunts may occur.
SSL (Sell Side Liquidity – Equal Lows)
Detects equal lows and plots them.
Indicates sell-side liquidity levels.
Inducement / Liquidity Sweep
If price wicks above BSL or below SSL but closes back inside, a “sweep” label is shown.BOS (Break of Structure – Yapı Kırılımı)
Mark Every 100 Candles Backmark every 100 candles from last to back. Show traders can regconize daily range ( 100 candles) to reduce noise when analyzing.
Mohammad - Auto Trendlines - Versión EstableMohammad - Auto Trendlines - Dynamic Support & Resistance
This indicator automatically identifies and draws trendlines by connecting pivot highs and pivot lows, similar to how a professional trader would manually draw them on a chart. Each pivot point is used only once to maintain clean, non-overlapping lines.
Key Features:
Automatically detects and connects pivot points to form trendlines
Distinguishes between resistance lines (connecting highs, drawn from top) and support lines (connecting lows, drawn from bottom)
Each pivot/wick is used for maximum one trendline, preventing messy overlapping
Color-coded: Black for resistance lines (bearish), Blue for support lines (bullish)
Support lines can be toggled on/off (hidden by default for cleaner charts)
Parameters:
Minimum/Maximum Length: Controls the range of bars to search for trendline connections (5-40 bars default)
Pivot Strength: Determines how prominent a high/low must be to qualify as a pivot point
Line Extension: Projects trendlines forward into the future
Tolerance: Flexibility for validating price touches on the trendline
Maximum Lines: Limits the number of visible trendlines to prevent chart clutter
How It Works:
The indicator scans historical price data to identify significant pivot points (local highs and lows). It then connects these pivots with trendlines following these rules:
Resistance lines connect pivot highs where the recent high is lower than the older high (descending)
Support lines connect pivot lows where the recent low is higher than the older low (ascending)
Lines must have intermediate price touches to be considered valid
Each pivot can only be used once, ensuring clean, logical trendline placement
Use Cases:
Identify key support and resistance levels automatically
Spot trend continuations and potential reversal points
Save time by eliminating manual trendline drawing
Maintain consistency in technical analysis
The indicator updates every 5 bars and on the last bar to ensure current relevance while maintaining performance.
IFVG by Toño# IFVG by Toño - Pine Script Indicator
## Overview
This Pine Script indicator identifies and visualizes **Fair Value Gaps (FVG)** and **Inverted Fair Value Gaps (IFVG)** on trading charts. It provides advanced analysis of price inefficiencies and their subsequent inversions when mitigated.
## Key Features
### 1. Fair Value Gap (FVG) Detection
- **Bullish FVG**: Detected when `low > high ` (gap between current low and high of 2 bars ago)
- **Bearish FVG**: Detected when `high < low ` (gap between current high and low of 2 bars ago)
- Visual representation using colored rectangles (green for bullish, red for bearish)
### 2. Inverted Fair Value Gap (IFVG) Creation
- **IFVG Formation**: When a FVG gets mitigated (price fills the gap with candle body), an IFVG is created
- **Color Inversion**: The IFVG takes the opposite color of the original FVG
- Mitigated bullish FVG → Creates red (bearish) IFVG
- Mitigated bearish FVG → Creates green (bullish) IFVG
- **Mitigation Logic**: Uses only candle body (not wicks) to determine when a FVG is filled
### 3. Customizable Display Options
- **Show Normal FVG**: Toggle visibility of regular Fair Value Gaps
- **Show IFVG**: Toggle visibility of Inverted Fair Value Gaps
- **Smart FVG Display**: Even when "Show Normal FVG" is disabled, FVGs that are part of IFVGs remain visible
- **Extension Control**: Option to extend FVGs until they are mitigated
### 4. IFVG Extension Methods
- **Full Cross Method**: IFVG remains active until price completely crosses through it (including wicks)
- **Number of Bars Method**: IFVG remains active for a specified number of bars (1-100)
### 5. Visual Mitigation Signals
- **Cross Markers**: Shows X-shaped markers when IFVGs are mitigated
- Green cross above bar: Bearish IFVG mitigated
- Red cross below bar: Bullish IFVG mitigated
### 6. Comprehensive Alert System
- **IFVG Formation Alerts**: Notifications when new IFVGs are created
- **IFVG Mitigation Alerts**: Notifications when IFVGs are filled/mitigated
- **Separate Controls**: Individual toggles for bullish and bearish IFVG alerts
## How It Works
### Step-by-Step Process:
1. **FVG Detection**: Script continuously scans for 3-bar patterns that create price gaps
2. **FVG Tracking**: Each FVG is stored with its coordinates, type, and status
3. **Mitigation Monitoring**: Script watches for candle bodies that fill the FVG
4. **IFVG Creation**: Upon mitigation, creates an IFVG with opposite polarity at the same location
5. **IFVG Management**: Tracks and extends IFVGs according to chosen method
6. **Visual Updates**: Dynamically updates colors and visibility based on user settings
## Use Cases
- **Support/Resistance Analysis**: IFVGs often act as strong support/resistance levels
- **Market Structure Understanding**: Helps identify how market inefficiencies get filled and reversed
- **Entry/Exit Timing**: Can be used to time entries around IFVG formations or mitigations
- **Confluence Analysis**: Combine with other technical analysis tools for stronger signals
## Configuration Parameters
- **Colors**: Customizable colors for bullish/bearish FVGs and IFVGs
- **Extension**: Choose how long to display gaps on the chart
- **Alerts**: Full control over notification preferences
- **Visual Clarity**: Options to show/hide different gap types for cleaner charts
## Technical Specifications
- **Pine Script Version**: 5
- **Overlay**: True (displays directly on price chart)
- **Max Boxes**: 500 (supports up to 500 simultaneous gaps)
- **Performance**: Optimized array management for smooth operation
This indicator is particularly valuable for traders who use **Smart Money Concepts (SMC)** and **Inner Circle Trader (ICT)** methodologies, as it provides clear visualization of how institutional order flow creates and fills market inefficiencies.
Offset Strike LinesOffset Strike Lines (OSL) is a tool designed to plot strike-based grid levels by offsetting one symbol against another. It compares two instruments (for example, futures vs. index) and projects evenly spaced horizontal lines above and below a calculated reference price. Each line is annotated with the adjusted counter-symbol price, making it easy to visualize relative levels across markets. Customization options include interval size, number of lines, text size, line and text colors — giving traders a clear, flexible framework for mapping out strike zones and price relationships.
ICT HTF Candles + CISD + FVG, by AlephxxiiICT HTF Candles + CISD + FVG
A practical, friendly overlay for ICT-style trading
This indicator gives you three things at once—right on your chart:
HTF Candles Panel (context):
Compact candles from higher timeframes (e.g., 5m, 15m, 1H, 4H, 1D, 1W) appear to the right of price so you always see the higher-timeframe story without switching charts. It includes labels, remaining time for the current HTF candle, and optional open/high/low/close reference lines.
CISD Levels (bias flips):
Automatically plots +CISD and -CISD lines. When price closes above +CISD, the indicator considers bullish delivery. When price closes below -CISD, it considers bearish delivery. An on-chart table (optional) shows the current bias at a glance.
FVG (Fair Value Gaps):
Highlights inefficiency zones (gaps) on your current timeframe and/or a selected higher timeframe. You can choose to mark a gap “filled” when price hits the midpoint (optional).
Quick start (2 minutes)
Add to chart and keep your normal trading timeframe (e.g., 1–5m).
In settings → HTF 1..6, pick the higher timeframes you want to see (e.g., 5m, 15m, 1H, 4H, 1D, 1W).
Turn on FVG (current, HTF or both).
Watch +CISD / -CISD lines and the Current State table.
Close above +CISD → Bullish bias
Close below -CISD → Bearish bias
Trade with the bias and use FVGs as areas to refine entries or targets.
How to read it (the simple way)
Bias (CISD):
Bullish once price closes above the active +CISD level.
Bearish once price closes below the active -CISD level.
The small table (if enabled) says Bullish or Bearish right now.
HTF panel:
Shows higher-timeframe candles next to your current chart.
Labels show the timeframe (e.g., 1H) and a countdown for the current candle.
Optional traces draw HTF Open/High/Low/Close levels—great “magnets” for price.
FVGs:
Shaded boxes = potential inefficiency areas.
If Midpoint Fill is on, a touch of the midline counts as filled.
You can display current TF, HTF, or both.
Suggested workflow (popular ICT-style intraday)
Define bias with CISD
Only look for longs if Bullish, shorts if Bearish.
Check HTF context
Are you trading into a large HTF FVG or key HTF O/H/L/C level? That can be a target or a headwind.
Refine entries with FVGs
On your entry TF (1–5m), use fresh FVGs in the direction of the bias. Avoid fading straight into big HTF imbalances.
Key settings you’ll actually use
HTF 1..6: toggle each strip, select timeframe, and how many candles to show.
Style & layout: adjust offset, spacing, and width of the right-side panels.
Labels & timers: show/hide HTF name and remaining time; place labels at Top/Bottom/Both.
Custom daily open (NY): set the 1D candle to start at Midnight, 08:30, or 09:30 (America/New_York).
Trace lines: optional HTF O/H/L/C lines (style, width, anchor TF).
FVG module (extra): choose Current TF / HTF / Both, enable Midpoint Fill, auto-delete on fill, and show timeframe labels.
CISD lines: customize color, style (solid/dotted/dashed), thickness, and forward extension.
Table: enable/disable and choose its position.
Alerts
When a CISD completes, the script fires an alert (e.g., “Bullish CISD Formed” or “Bearish CISD Formed”).
Tip: Set your TradingView alert once on the indicator, then choose the alert message you want to receive.
Notes & limitations (read me)
“VI” label: The “Volume Imbalance” option marks price imbalances (body non-overlap). It does not read volume data.
Timezone: Daily logic and timers use America/New_York, which aligns with US indices/equities and common ICT practice.
Performance: This tool draws many boxes/lines/labels. If your chart feels heavy, reduce the number of HTFs or candles shown, or narrow panel width.
Repainting: HTF panels are designed to avoid future leakage; FVG logic follows standard 3-bar checks. As usual, wait for candle closes for confirmations.
Level cleanup: If Keep old CISD levels is OFF (default), the script keeps only the current active CISD to reduce clutter.