ICT Anchored Market Structures with Validation [LuxAlgo]The ICT Anchored Market Structures with Validation indicator is an advanced iteration of the original Pure-Price-Action-Structures tool, designed for price action traders.
It systematically tracks and validates key price action structures, distinguishing between true structural shifts/breaks and short-term sweeps to enhance trend and reversal analysis. The indicator automatically highlights structural points, confirms breakouts, identifies sweeps, and provides clear visual cues for short-term, intermediate-term, and long-term market structures.
A distinctive feature of this indicator is its exclusive reliance on price patterns. It does not depend on any user-defined input, ensuring that its analysis remains robust, objective, and uninfluenced by user bias, making it an effective tool for understanding market dynamics.
🔶 USAGE
Market structure is a cornerstone of price action analysis. This script automatically detects real-time market structures across short-term, intermediate-term, and long-term levels, simplifying trend analysis for traders. It assists in identifying both trend reversals and continuations with greater clarity.
Market structure shifts and breaks help traders identify changes in trend direction. A shift signals a potential reversal, often occurring when a swing high or low is breached, suggesting a transition in trend. A break, on the other hand, confirms the continuation of an established trend, reinforcing the current direction. Recognizing these shifts and breaks allows traders to anticipate price movement with greater accuracy.
It’s important to note that while a CHoCH may signal a potential trend reversal and a BoS suggests a continuation of the prevailing trend, neither guarantees a complete reversal or continuation. In some cases, CHoCH and BoS levels may act as liquidity zones or areas of consolidation rather than indicating a clear shift or continuation in market direction. The indicator’s validation component helps confirm whether the detected CHoCH and BoS are true breakouts or merely liquidity sweeps.
🔶 DETAILS
🔹 Market Structures
Market structures are derived from price action analysis, focusing on identifying key levels and patterns in the market. Swing point detection, a fundamental concept in ICT trading methodologies and teachings, plays a central role in this approach.
Swing points are automatically identified based exclusively on market movements, without requiring any user-defined input.
🔹 Utilizing Swing Points
Swing points are not identified in real-time as they form. Short-term swing points may appear with a delay of up to one bar, while the identification of intermediate and long-term swing points is entirely dependent on subsequent market movements. Importantly, this detection process is not influenced by any user-defined input, relying solely on pure price action. As a result, swing points are generally not intended for real-time trading scenarios.
Instead, traders often analyze historical swing points to understand market trends and identify potential entry and exit opportunities. By examining swing highs and lows, traders can:
Recognize Trends: Swing highs and lows provide insight into trend direction. Higher swing highs and higher swing lows signify an uptrend, while lower swing highs and lower swing lows indicate a downtrend.
Identify Support and Resistance Levels: Swing highs often act as resistance levels, referred to as Buyside Liquidity Levels in ICT terminology, while swing lows function as support levels, also known as Sellside Liquidity Levels. Traders can leverage these levels to plan their trade entries and exits.
Spot Reversal Patterns: Swing points can form key reversal patterns, such as double tops or bottoms, head and shoulders, and triangles. Recognizing these patterns can indicate potential trend reversals, enabling traders to adjust their strategies effectively.
Set Stop Loss and Take Profit Levels: In ICT teachings, swing levels represent price points with expected clusters of buy or sell orders. Traders can target these liquidity levels/pools for position accumulation or distribution, using swing points to define stop loss and take profit levels in their trades.
Overall, swing points provide valuable information about market dynamics and can assist traders in making more informed trading decisions.
🔹 Logic of Validation
The validation process in this script determines whether a detected market structure shift or break represents a confirmed breakout or a sweep.
The breakout is confirmed when the close price is significantly outside the deviation range of the last detected structural price. This deviation range is defined by the 17-period Average True Range (ATR), which creates a buffer around the detected market structure shift or break.
A sweep occurs when the price breaches the structural level within the deviation range but does not confirm a breakout. In this case, the label is updated to 'SWEEP.'
A visual box is created to represent the price range where the breakout or sweep occurs. If the validation process continues, the box is updated. This box visually highlights the price range involved in a sweep, helping traders identify liquidity events on the chart.
🔶 SETTINGS
The settings for Short-Term, Intermediate-Term, and Long-Term Structures are organized into groups, allowing users to customize swing points, market structures, and visual styles for each.
🔹 Structures
Swings and Size: Enables or disables the display of swing highs and lows, assigns icons to represent the structures, and adjusts the size of the icons.
Market Structures: Toggles the visibility of market structure lines.
Market Structure Validation: Enable or disable validation to distinguish true breakouts from liquidity sweeps.
Market Structure Labels: Displays or hides labels indicating the type of market structure.
Line Style and Width: Allows customization of the style and width of the lines representing market structures.
Swing and Line Colors: Provides options to adjust the colors of swing icons, market structure lines, and labels for better visualization.
🔶 RELATED SCRIPTS
Pure-Price-Action-Structures.
Market-Structures-(Intrabar).
Ict
Williams x Briese Hybrid CoT Index
After studying the below CoT (Commitments of Traders) books from ICT's recommended library, I learned that both Larry Williams and Stephen Briese use the same formula for their CoT Index:
COT Index = ((Current Net Position - Lowest Net Position) / (Highest Net Position - Lowest Net Position)) * 100 using a 3-Year lookback period.
Books:
Trade Stocks and Commodities with the Insiders: Secrets of the COT Report by Larry Williams
The Commitments of Traders Bible: How To Profit from Insider Market Intelligence by Stephen Briese
Williams and Briese differ in their plotting of the CoT Index formula in the following ways:
Williams uses a line plot, with thresholds at 25% & 75%
Briese uses a histogram plot, with thresholds at 5% & 90%
I decided to make a "hybrid" indicator of their CoT Index by using Larry Williams' classic line plot instead of a histogram, but with Briese's stricter thresholds of 5% and 95%.
The code is a bit of a remix of the "ICT Commitment of Traders°" indicator by " toodegrees " and is meant for use in a new pane below a Weekly Chart.
You can complement your usage of this indicator with another indicator I've published as shown in the chart above: Briese CoT Movement Index, which you can find on my scripts page. For proper usage, refer to The Commitments of Traders Bible and Trade Stocks and Commodities with the Insiders
As it is, this indicator incorporates the ±40 point "surge" from the Briese CoT Movement Index indicator in the form of labels that are visible above a below the 100% and 0% levels. The green labels at the top indicate buying surges >=40 while the black labels at the bottom indicate selling surges <=-40. If you hover over these labels, you'll see the tooltip for the value of the Movement Index. Again, if you complement this Williams x Briese Hybrid CoT Index with the Briese CoT Movement Index, you'll see the labels from the index align with the points on the histogram which exceed the ±40 levels.
NOTE: This indicator only works with futures contracts, such as on the symbols/codes for:
DX1
6E1
6A1
6B1
6N1
6C1
6S1
6J1
6M1
6Z1
SI1
GC1
PA1
PL1
HG1
BTC1
ETH1
ES1
NQ1
NIY1
CL1
NG1
HO1
RB1
ZB1
ZS1
LE1
HE1
Usage:
Open this indicator in a new pane on a Weekly chart which has one of the listed futures contracts open. It provides insight on the net commercial CoT position, indexed from 0-100%, based on Briese's or Williams' standard 3-year lookback period. Can be used in conjunction with the "Briese CoT Movement Index" which I've published separately. Refer to the books listed above for detailed insight on the theory behind these indicators.
Additional Note, October 14, 2025: Back when I published this indicator originally in July 2025, PineCoders delisted it because my description was in violation of the house rules. Fans of my "Briese CoT Movement Index" have been reaching out, and thus I've decided to republish this indicator, refining the description as much as possible.
Also, please be aware that the CFTC has posted a special announcement on their website: "October 1, 2025: During the shutdown of the federal government, Commitments of Traders Reports will not be published. When the federal government operations return to normal, CFTC will resume publication of the Commitments of Traders in chronological order."
Until the CFTC begins publishing the CoT reports again, the indicator will display data only up to late September 2025.
Sessions, Killzones & Macros🌟 A Very Special Thanks
To ChatGPT and Copilot for helping me put this together 🙏💻✨
🚀 Session Script Release by AnandaDivine
KitBashed with love & light ✨
⚠️ Disclaimer:
I take no credit for the original scripts used in this compilation, nor any responsibility for how it's used. Modify and explore at your own discretion!
💡 Inspired by Legends:
📊 Sessions on the Chart – by Aurocks_AIF
🧠 ICT KillZones Macros – by TFlab
💧 Watermark FX – by AGFXTRADING
🎯 Features Included:
🕒 Sessions:
🕒 Asia
🕒 London
🕒 New York
🔫 KillZones:
🧬 CBDR (for those who use it)
🕒 Asia
🕒 London
🕒 New York
🧩 Macros:
🕰️ London 1 & 2
🌅 NY AM1, AM2, AM3
🍽️ NY Lunch
🌆 NY PM
🕛 NY Last Hour
💦 Watermark – Clean and minimal branding
🎨 Color Palette:
Optimized for light theme users – crisp, clean, and easy on the eyes.
🔮 Future Features (if requested):
🧱 Dark theme support
🕯️ Candle coloring based on session zones
🧘 Philosophy:
I kept it fast & light – no clutter, no bloat.
Feel free to customize or extend it however you like.
If you add something cool, please share it with me! 🙌
🧪 I tried adding day-of-week and separators, but it looked messy on higher timeframes. Maybe someone else can crack that cleanly.
ICT Killzones & MacrosICT Killzones & Macros (v1.1.5) — configurable ICT session windows + refined “macro” windows with live High/Low levels, optional extensions, next-window previews, and lightweight opening-price lines. Built to be clock-robust, timezone-aware, and performant on intraday charts.
Tip: All times are interpreted in your chosen IANA timezone (default: America/New_York) and auto-handle DST. You can rename, recolor, enable/disable, and retime every window.
What it plots
- Killzones (5) : Asia (19:00–02:00), London (02:00–05:00), NY AM (07:00–09:30), London Close (10:00–12:00), NY PM (13:30–16:00) — full-height boxes with optional header.
- Macros (8) (defaults tailored for common ICT “refined” windows): Asia-1 (18:00–21:00), Asia-2 (21:00–00:00), London-1 (01:00–04:00), AM-1 (09:45–10:15), AM-2 (10:45–11:15), Lunch (12:00–13:00), PM-1 (13:30–14:30), Power Hour (15:10–16:00).
- Live High/Low lines for the current Macro/Killzone window.
- Optional HL extension to the right until price crosses or the trading day rolls (style selectable).
- “Next” previews : earliest upcoming Macro and Killzone header; optional next-window background band.
- Opening Prices (3 lightweight time lines) : defaults 00:00, 08:30, 09:30 with right-edge labels, scoped to a session you choose (auto-cleans at session end).
- Key inputs & styling
- General : Timezone (IANA), “Sessions to show” (per window) to keep only the last N completed windows.
- Header : height (ticks), gap (ticks), fill opacity, border width/style, text size/color, toggle “Next Macro/Killzone” headers.
- Boxes : global fill opacity, global border width/style (used by both Macros & Killzones).
- High/Low : show HL, HL line style, extend on/off + extension style, optional extension labels.
- Opening Prices : enable Time 1/2/3, set HH:MM for each, session window, per-line colors, style (dotted/dashed/solid), width.
- Per-window controls : each Macro/Killzone has Enable, Session (HHMM-HHMM), Label, Fill color.
How to use (quick start)
- Set Timezone to your preference (default America/New_York).
- Toggle on the Macros and Killzones you trade. Adjust session times if needed.
- (Optional) Turn on Extend High/Low to project levels until crossed/day-roll.
- (Optional) Enable Next… headers to see the next upcoming window at a glance.
- (Optional) Configure Opening Prices (00:00 / 08:30 / 09:30 by default) and the session over which they appear.
Behavior & notes
- Time windows are computed by clock, not by guessing bar timestamps, making them robust across brokers and timeframes.
- With HL extension on, the current window’s levels extend until crossed or the end of the trading day (in your timezone). With it off, completed windows keep static HL markers (limited by “Sessions to show”).
- “Sessions to show” applies per Macro/Killzone to automatically prune older windows and keep charts snappy.
- Opening-price lines exist only within the chosen “Opening Prices Session” and are removed when it ends (keeps charts clean).
Defaults (color cues)
Killzones: Asia (blue), London (purple), NY AM (green), London Close (yellow), NY PM (orange).
Macros: neutral greys with Lunch and PM accents out of the box (all customizable).
Performance tips
- Reduce “Sessions to show” if you scroll far back in history.
- Disable “Next…” previews and/or extension labels on very slow machines.
- Narrow the “Opening Prices Session” window to exactly when you need those lines.
Changelog highlights
- v1.1.5 : Internal refinements and stability.
- v1.1.3 : Live High/Low lines for current windows + optional extension.
- v1.1.2 : Added “next Killzone” preview (to match “next Macro”).
- v1.1.0 : Defaults updated (5 KZ, 8 Macros). Removed “snap-to-killzone” behavior.
- v1.0.0 : Independent Macro vs. Killzone rendering; cleaner header logic.
- Known limitations
If your chart warns about drawings, trim “Sessions to show”.
If your broker session times differ from NY hours, adjust the sessions or change the indicator timezone.
Credits & intent
Inspired by ICT timing concepts; provided for education/mark-up, not financial advice.
Built to be flexible so you can mirror your personal playbook and journaling workflow.
Engulfing Failure & Overlap Zones [HASIB]🧭 Overview
Engulfing Failure & Overlap Zones is a smart price action–based indicator that detects failed engulfing patterns and overlapping zones where potential liquidity traps or reversal setups often occur.
It’s designed to visually highlight both bullish and bearish failed engulfing areas with clean labels and zone markings, making it ideal for traders who follow Smart Money Concepts (SMC) or price action–driven trading.
⚙️ Core Concept
Engulfing patterns are powerful reversal signals — but not all of them succeed.
This indicator identifies:
When a Buy Engulfing setup fails and overlaps with a Sell Engulfing zone, and
When a Sell Engulfing setup fails and overlaps with a Buy Engulfing zone.
These overlapping areas often represent liquidity grab zones, reversal points, or Smart Money manipulation levels.
🎯 Key Features
✅ Detects both Buy and Sell Engulfing Failures
✅ Highlights Overlapping (OL) zones with colored rectangles
✅ Marks Buy EG OL / Sell EG OL labels automatically
✅ Fully customizable visuals — colors, padding, and zone styles
✅ Optimized for both scalping and swing trading
✅ Works on any timeframe and any instrument
⚡ How It Helps
Identify liquidity traps before reversals happen
Visually see Smart Money overlap zones between opposing engulfing structures
Strengthen your entry timing and confirmation zones
Combine with your own SMC or ICT-based trading setups for higher accuracy
📊 Recommended Use
Use on higher timeframes (e.g., M15, H1, H4) to confirm major liquidity zones.
Use on lower timeframes (e.g., M1–M5) for precision entries inside the detected zones.
Combine with tools like Order Blocks, Break of Structure (BOS), or Fair Value Gaps (FVG).
🧠 Pro Tip
When a failed engulfing overlaps with an opposite engulfing zone, it often signals market maker intent to reverse price direction after liquidity has been taken. Watch these zones closely for strong reaction candles.
Khosro XAUUSD Strategy [TradingFinder] Trading Room Hunter Setup🔵 Introduction
The Trading Room Hunter (TRH) strategy is an analytical model based on the Smart Money Concept, developed by Khosro, an Iranian international trader based in Dubai. This approach is built upon a deep understanding of liquidity engineering, market structure shifts, and institutional order flow. Its core objective is to identify the so-called TRH Zone, the area where market liquidity gets trapped and institutional investors begin accumulating positions. Unlike traditional indicator-based methods, the TRH Zone focuses purely on price behavior and supply & demand dynamics to pinpoint the most precise reversal zones in the market.
Within Smart Money logic, every impulsive move in price results from the displacement or absorption of liquidity in a specific range. In the TRH model, the last pivot preceding the impulsive move (Origin Pivot) is defined as the Distal Line, and the Break Candle, which disrupts the market structure, forms the Proximal Line. The area between these two points defines the Trading Room Hunter Zone, a reaction zone where price, after creating a displacement or Break of Structure (BoS), often returns to fill an imbalance and provide a precision entry opportunity.
In essence, the TRH Zone is the region where smart money seeks re-entry after a liquidity sweep and a confirmed CHoCH or BoS. It frequently lies between supply/demand boundaries and fair value gaps (FVGs), forming one of the strongest decision-making frameworks within modern price-action theory. Due to its structural accuracy, the TRH setup can also function as a Set & Forget Setup, where the trader defines the zone, places a limit order, and lets the market naturally react, eliminating emotional decision-making and allowing for automated execution aligned with institutional logic.
🔵 How to Use
In the TRH strategy, entries are taken based on price returning to the area between the last impulsive pivot and the break candle. This range (the TRH Zone) represents the region where liquidity from the previous move remains concentrated. Before continuing its main direction, price often revisits this zone to fill imbalances or mitigate unfilled orders. The logic is simple: every explosive move originates from a point where large orders were executed, and TRH precisely highlights that institutional footprint.
🟣 Bullish Setup
When the market breaks a structural high after a strong bearish leg, liquidity shifts from sellers to buyers. The last bearish candle before the breakout marks the origin of the bullish move, and the zone between that candle and the break candle becomes the smart-money entry area. As price revisits this zone and signs of exhaustion in selling pressure appear, that’s the optimal point for a long position. Stop-loss is placed slightly below the origin pivot, and targets are set at the next supply zone or upper liquidity pool.
🟣 Bearish Setup
Conversely, when the market breaks a structural low after a sharp bullish leg, liquidity transitions from buyers to sellers. The last bullish candle before the drop is identified as the origin pivot, while the bearish break candle defines the lower boundary of the zone. The range between these two points forms the TRH Supply Zone, where late buyers are trapped and fresh institutional selling begins. As price retraces into this zone, short entries can be placed near the upper boundary, with stops above the pivot and targets toward the next liquidity pool below.
Because of its structural precision and clearly defined reaction behavior, TRH is one of the most effective Set & Forget setups in Smart Money trading. Simply mark the zone, place your order, and let the market do the rest.
🔵Setting
🟣 Spike Filter | Movement
Minimum Spike Bars : Defines the minimum number of consecutive candles required for a valid spike.
Movement Power : Enables or disables the momentum-based spike filter.
Movement Power Level : Sets the strength threshold; higher values filter out weaker moves and only detect strong spikes.
Pivot Period : Defines the lookback range used to detect swing highs and swing lows in market structure. A higher value smooths out smaller fluctuations and focuses on major pivots, while a lower value increases sensitivity and identifies minor turning points more frequently.
🟣 Position Management
Stop-Loss Threshold : Enables or disables the stop-loss threshold feature.
Stop-Loss Threshold Value : Defines the value of the stop-loss threshold for risk management.
Risk-Reward Ratio : Sets the desired risk-to-reward ratio (e.g., 1:1 or 1:2).
Wide Zone Filter : Filters out zones that exceed a defined width threshold, preventing detection of overly broad TRH areas.
🟣 Display Settings
Display Mode : Chooses between Setup (showing setups) or Signal (showing trade signals).
Show Entry Levels : Displays entry levels on the chart (buy/sell zones) when enabled
Only Display the Last Position : Displays only the most recent position on the chart when enabled.
Setup Width Drawing : Adjusts the visual width of the setup drawings on the chart for better visibility.
🔵 Conclusion
The TRH strategy is a precise structural model of liquidity flow that identifies zones where smart money is most likely to enter and where price is most likely to react. By combining the Origin Pivot and Break Candle, TRH isolates the key areas that drive institutional order flow. Without relying on indicators, it focuses purely on price structure, making it highly effective for both reactive entries and Set & Forget setups.
Ultimately, TRH creates a balance between market structure and liquidity flow, enabling traders to identify institutional decision zones on the chart with minimal risk and maximum clarity
ICT Turtle SoupICT Turtle Soup identifies classic “failed breakout” reversals after liquidity sweeps of recent highs/lows, then augments the setup with volume validation, market structure context, Kill Zone (session) filters, Order Blocks (OB), Fair Value Gaps (FVG), OTE (61.8–78.6%) zones, and optional risk targets (SL/TP 1:1, 1:2, 1:3). A compact dashboard summarizes current context (recent high/low, lookbacks, active session, structure state, mitigation counts).
What the Script Does
⦁ Detects Turtle Soup events: Price breaks a prior swing extreme and then quickly reverses back inside the range.
⦁ Grades signal quality: Factors include reversal speed, volume confirmation, breakout magnitude, and consecutive patterns.
⦁ Overlays market context: Trend/range classification (ADX / MA / ATR Bands / Combined), Kill Zones (Asian/London/NY), and time-of-day filters.
⦁ Marks IMB / mitigation zones: Draws Order Blocks and Fair Value Gaps, with optional live mitigation tracking and fading/removal on mitigation.
⦁ Shows OTE zones (61.8–78.6%) after confirmed reversals to highlight potential pullback entries.
⦁ Plots risk management guides: Optional SL buffer below/above reversal wick and TP bands at 1:1, 1:2, 1:3 R multiples.
⦁ Emits alerts on bullish/bearish Turtle Soup confirmations.
How It Works (Conceptual)
1. Liquidity Sweep & Breakout Check
⦁ Looks back over user-defined windows (single or multiple lookbacks: short/medium/long) to find the most recent swing high/low.
⦁ Flags a breakout when price pierces that swing (above for bearish, below for bullish).
⦁ Optional breakout bar volume check requires volume > avg(volume, N) × multiplier.
⦁ Optional swing age check requires the broken swing to be at least X bars old.
2. Reversal Confirmation
⦁ Within N bars after the sweep, validates a mean-reversion close back inside the prior range with a minimum wick/body ratio to confirm rejection.
⦁ Quality Score adds points for:
⦁ Speed: reversal within fast_reversal_bars;
⦁ Volume: breakout and/or reversal volume spike;
⦁ Series: previous consecutive signals;
⦁ Magnitude: sufficient sweep distance.
⦁ Optional high-quality filter only shows signals meeting a minimum score.
3. Context Filters (Optional)
⦁ Sessions/Kill Zones: Only allow signals in selected sessions (Asian/London/NY) with fully custom HHMM inputs.
⦁ Time Window: Restrict to specific hours (e.g., 08–12).
⦁ Market Structure: Classify Trending vs. Ranging (via ADX, MA separation/slope, ATR bands, or Combined). You can allow signals in trends, ranges, or both.
4. Smart Confluence Layers
⦁ Order Blocks: Finds likely OBs with structural validation (e.g., bearish up-candle prior to down move), imbalance score (body/range × volume factor), and extend-until-touched with mitigation % tracking.
⦁ Fair Value Gaps: Detects valid 3-bar gaps (bull/bear) with size threshold, supports touch / 50% / full mitigation logic, and can fade or remove after mitigation.
⦁ OTE Zones: After a reversal, projects the 61.8–78.6% retracement box from the actual swing range; offset scales to timeframe to avoid clutter.
5. Risk & Display
⦁ SL/TP guides: Optional wick-buffered SL and 1:1/1:2/1:3 TPs.
⦁ Dashboard: Recent high/low, active lookbacks, current session, structure label, and live counts of mitigated OBs/FVGs.
Signals & Visuals
⦁ Bullish Turtle Soup: Triangle up + label (🐢S/M/L/D + star rating).
⦁ Bearish Turtle Soup: Triangle down + label (🐢S/M/L/D + star rating).
⦁ Labels can show: quality stars, FAST/SLOW reversal, reversal & breakout volume tags, previous consecutive count, and last move %.
⦁ Lines/Boxes: OBs, FVGs, OTE zones, SL/TP bands, and optional breakout magnitude line.
Inputs (Key Groups)
⦁ Turtle Soup: Lookbacks (single or S/M/L), reversal bars, wick ratio, magnitude line, reversal speed, volume confirmation (multiplier/length), consecutive tracking.
⦁ Order Blocks: Show/validate structure, lookback, extend-until-touched, mitigation % threshold, colors.
⦁ Fair Value Gaps: Show, min size %, colors, mitigation mode (Touch/50%/Full), optional remove-on-mitigation.
⦁ Kill Zones/Sessions: Enable Asian/London/NY with custom HHMM, colors.
⦁ OTE: Show OTE (61.8–78.6%), color, timeframe-adaptive offsets.
⦁ Signal Filters: Filter by session, time window, market structure method (ADX/MA/ATR/Combined), thresholds (ADX, MA periods, ATR multiplier), trending/ranging allowances, structure label & offset.
⦁ SL/TP: SL buffer %, TP 1:1/1:2/1:3 toggles & colors.
⦁ Breakout Validation: Require breakout-bar volume, min swing age, volume label toggles.
⦁ Alerts: Enable/disable.
⦁ Dashboard: Position, text size, colors, border.
How to Use
1. Markets & Timeframes: Works on FX, crypto, indices, and futures. Start with M5–H1 for intraday and H1–H4 for swing; refine lookbacks per instrument volatility.
2. Core Flow:
⦁ Enable multiple lookbacks for robustness on mixed volatility.
⦁ Turn on validate_swing_significance to avoid micro sweeps.
⦁ Use validate_breakout_volume + use_volume_confirmation to filter weak pokes.
3. Context Choice:
⦁ In ranging environments, allow both sides; in trends, consider counter-trend only at HTF OB/FVG/OTE confluence.
⦁ Narrow to London/NY for higher activity if desired.
4. Entries/Stops/Targets:
⦁ Entry on confirmed label close or at OTE pullback post-signal.
⦁ SL: below/above reversal wick + sl_buffer%.
⦁ TP: scale at 1:1/1:2/1:3 or manage via OB/FVG/structure breaks.
5. Confluence: Prefer Turtle Soup that aligns with OB/FVG zones and Combined structure method for added reliability.
Alerts
⦁ “Bullish Turtle Soup detected” and “Bearish Turtle Soup detected” fire on confirmation.
⦁ Set to Once Per Bar (as coded) or adjust in the alert dialog per your workflow.
Notes & Tips
⦁ Multiple lookbacks (S/M/L) help capture both shallow and deep liquidity sweeps.
⦁ Use market structure label with offset to keep it readable on the right of price.
⦁ Mitigation tracking visually communicates when OB/FVG confluence is no longer valid.
⦁ Dashboard = fast situational awareness; keep it on during live trading.
Limitations & Disclaimer
⦁ This tool is educational and not financial advice. No profitability or win-rate is implied. Markets carry risk; manage position size and test thoroughly.
⦁ Signal quality depends on market regime, spreads, news, and data quality. Backtests/forward-tests may differ.
⦁ Visual objects are capped for performance; old items may auto-clean to keep charts responsive.
ICT Sessions With BOS [TradeWithRon]
WITH BOS
This version includes BOS with filter for each session.
NONE,FVG,CISD Filter preset
you can choose how many BOS per session, style etc.
ICT Sessions and killzones maps three intraday sessions on your chart (Asia, London, NY), tracks each session’s live high/low, draws optional session range boxes, and projects ICT OTE zones in real time—with granular styling, touch/mitigation logic, and alerting.
What it does
*Live Session high/low tracking.
Historical session lines:
When a session ends, its final High/Low are preserved as tracked lines (with optional labels) for a configurable number of recent sessions.
Session boxes (ranges):
Draws a shaded box from session start to end that expands with new highs/lows. Limit how many recent boxes remain on chart.
ICT OTE zones (live):
For the currently active session, projects user-defined Fibonacci OTE levels (e.g., 61.8%, 70.5%, 78.6) between the session’s running high and low. Zones update tick-by-tick and can show labels. You can retain a history of recent sessions’ OTE levels.
snapshot
Break visualization (mitigation):
Optionally color the bar when price breaks a stored session High/Low. You can:
Require a body close through the level (vs. any touch)
Auto-remove the line and/or label on touch/close
Use custom break colors per session and side (high/low)
Timestamps:
Add up to two recurring vertical timestamp markers (e.g., 08:00, 09:30), plus an opening horizontal marker (e.g., 09:30) with label that extends until the next occurrence.
Alerts:
Built-in alerts for:
Touch of Session 1/2/3 High/Low (Asia/London/NY)
Touch of OTE levels (per session)
Key inputs:
Time & Limits
Timezone (e.g., GMT-4)
Timeframe limit: hide all drawings on and above a specified TF
Sessions
Session windows (default):
Session 1 (Asia): 18:00–00:00
Session 2 (London): 00:00–06:00
Session 3 (NY): 08:00–12:00
How many to keep (lines/boxes)
Line width, colors, and label suffixes (“High”/“Low”)
Labels: toggle, text (“Asia”, “London”, “NY”), size, and colors
Boxes: toggle per session and background colors
ICT OTE Zones
Toggle per session (Asia/London/NY)
Levels (comma-separated %s, e.g., 61.8,70.5,78.6)
History: number of past sessions to retain
Opacity, line width/style, and label size
Custom label text per session (e.g., “Asia OTE”)
Break/Mitigation Behavior:
Enable Mitigated Candles (bar color on break)
Remove line on touch and/or remove label on touch
Require body close (vs. wick touch)
Custom break colors by session and side
Timestamps
Opening horizontal line (time, style, width, color, label text/size, drawing limit)
Two vertical timestamps (times, style, width, color, drawing limit)
Alerts
Master Enable Alerts
Per-session toggles for High/Low touches
OTE touch alerts
How it works (under the hood)
Detects session state via input.session() windows in the chosen timezone.
Live session High/Low lines and labels update in real time; on session end, final levels are stored with optional labels and tracked length.
OTE zones are live-computed from current session High↔Low and refreshed every bar; a compact rolling history is enforced.
Bar coloring reacts to break events (touch or body-close, per your setting) and uses session-specific colors when enabled.
Timestamp lines/labels are created on each occurrence and trimmed to a drawing limit for performance.
Tips:
To hide session lines but keep boxes, set line color opacity to 0.
Use Timeframe Limit to keep higher-TF charts clean.
Fine-tune OTE Levels and History to balance clarity and performance.
For stricter break logic, enable Require Body Close.
Note: The script reserves high limits for lines/labels/boxes to keep recent context visible while managing cleanup automatically. Adjust “Session Number” and “Number Of Boxes” to suit your workflow.
— © TradeWithRon
ICT Killzones & Macros (v1.1.3)ICT Killzones & Macros (v1.1.3)
Screenshots / GIFs
Overview
ICT Killzones & Macros highlights intraday “windows” many traders track:
Killzones (KZ): broader sessions (e.g., Asia, London, New York), rendered as price-action boxes with header labels and an optional “next” preview header.
Macros: smaller windows within or outside KZs, each with a live high/low box, an optional “next” preview header, plus optional chart-height background bands.
You’ll see:
Borderless price-action boxes that track the highest high and lowest low inside each window.
Header boxes above each window with centered labels.
“Next” preview headers for the earliest upcoming Macro and Killzone.
Optional backgrounds for the current Macro (live) and the next Macro (future window).
High/Low lines for the current window, with optional extensions that continue after the window ends until price crosses or the trading day rolls.
All times are interpreted in a configurable timezone (default America/New_York, DST-aware), while internal logic uses Unix time.
Features
5 Killzones & 8 Macros out of the box (fully configurable).
Session strings in HHMM-HHMM (supports cross-midnight, e.g., 1900-0200).
Next previews: shows the earliest upcoming enabled Macro/KZ (clock-robust).
Macro backgrounds:
Current macro → chart-height band from start to “now”.
Next macro → chart-height band from start to end (future).
High/Low lines:
Live H/L lines during the active window.
On close, optional extensions per side (Hi/Lo) stop on first touch or day roll; or static lines if extension is off.
Object hygiene:
Session retention cap so only the last N completed windows per Macro/KZ are kept.
Trim logic cleans boxes, headers, and any static lines.
Inputs (top-level)
Timezone (IANA, DST-aware): e.g., America/New_York (default).
Sessions to show (per window): Max number of completed windows retained for each Macro/KZ.
Header (global)
Header height (ticks)
Header gap (ticks)
Header border width / style
Header fill opacity
Header text size / color
Show next macro header (toggle)
Show next killzone header (toggle)
Macro Box (global)
Box fill opacity
Box border width / style
High/Low Lines
Show High/Low Lines (toggle)
High/Low Lines Style (Solid/Dashed/Dotted)
Extend High/Low (toggle)
Extend High/Low Style (Solid/Dashed/Dotted)
Killzones (KZ 1–5)
Each KZ has:
Label
Enable (toggle)
Session (HHMM-HHMM)
Fill color
Defaults (examples):
Asia — 1900-0200, blue
London — 0200-0500, purple
New York AM (pre-market) — 0700-0930, green
London Close — 1000-1200, yellow (disabled by default)
New York PM — 1330-1600, orange (disabled by default)
Macros (1–8)
Each Macro has:
Label
Enable (toggle)
Session (HHMM-HHMM)
Fill color (defaults to gray, except any you changed)
Defaults (examples):
AM-1 0945-1015, AM-2 1045-1115, Lunch 1200-1300 (orange), PM-1 1330-1430, PM-2 1510-1600.
How it works
Windows: When a bar enters a session, we start tracking hi/lo, draw a price-action box, and position a header box above it (gap + height in ticks).
Next previews: For each enabled set (Macros/KZs), we compute the next window by clock (handles cross-midnight) and draw a centered header at current price across the future window.
Backgrounds:
Current macro: a chart-height box from start index to current bar.
Next macro: a chart-height box from next start to next end using xloc.bar_time.
High/Low lines: Live H/L lines update during the window. On close:
If Extend is OFF → draw static H/L lines across the window width.
If Extend is ON → spawn independent Hi & Lo extension lines that advance bar-by-bar and stop at price cross or day roll (tz-aware).
Tips
Keep Sessions to show modest on low timeframes to limit objects.
Use a per-symbol template for your preferred Macro/KZ setup.
DJ/Bonds FX can be set to exchange timezones instead of NY if you prefer.
Known limitations
Extension stop logic uses bar high/low overlap; on very large bars it may halt on the same bar as close (by design).
On extremely long lookbacks with many enabled windows, you may hit max_boxes_count/max_lines_count.
Performance guidance
Use on 1–15m timeframes for the best visual granularity.
Reduce enabled windows and “Sessions to show” if you hit object limits.
Changelog (short)
v1.1.3 — High/Low lines + per-side extensions; static lines on window close when extension is off.
v1.1.2 — Next Killzone preview header (clock-robust).
v1.1.0 — Defaults: 5 Killzones & 8 Macros; removed snap-to-killzone.
v1.0.0 — Independent Macro & KZ rendering.
Fair Value Gaps by DGTFair Value Gaps
A refined, multi-timeframe Fair Value Gap (FVG) detection tool that brings institutional imbalance zones to life directly on your chart.
Designed for precision, it visualizes how price delivers into inefficiencies across chart, higher, and lower (intrabar) timeframes — offering a fluid, structural view of liquidity displacement and market flow.
The script continuously tracks unfilled, partially repaired, and fully resolved imbalances, revealing where liquidity inefficiencies concentrate and where price may seek rebalancing.
Overlapping zones naturally expose institutional footprints, potential liquidity targets, and key re-pricing regions within the broader market structure.
KEY FEATURES
⯌ Multi-Timeframe Detection
Detect and display FVGs from the current chart, higher timeframes (HTF), or lower timeframes (LTF)
⯌ Smart Fill Tracking
Automatic real-time monitoring of each FVG’s fill progress with live percentage updates
⯌ Custom Fill Logic
Choose your preferred definition of when a gap is considered filled: Any Touch
Midpoint Reached
Wick Sweep
Body Beyond
⯌ Dynamic Labels & Tooltips
Labels can be toggled on/off. Even when hidden, detailed tooltips remain available by hovering over the FVG midpoint.
⯌ Adaptive Lower-Timeframe Mode
When set to “Auto,” the script intelligently selects the optimal lower timeframe based on the chart resolution.
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Orderblocks & BreakersThis indicator identifies potential orderblocks and breakers based on recent swing highs and lows. It is built to offer a structured, customizable, and noise-controlled view of how price interacts with supply and demand levels.
The script applies pivot-based swing detection to identify swing highs and lows.
Bullish Orderblocks: The script Identifies and stores the last down candle before a swing high is breached and confirms and plots the orderblock with a market structure break (close above the swing high).
Bearish Orderblocks: The script Identifies and stores the last up candle before a swing low is breached and confirms and plots the orderblock with a market structure break (close below the swing low).
When price later closes through an existing orderblock, it is reclassified as a Breaker and recolored accordingly. (all colors can be changed in the settings)
What Makes It Different
Unlike most orderblock tools that simply mark every swing-based block, this version introduces:
1. Chop Control – automatically hides breakers that price repeatedly closes through (2 closes after the orderblock becomes a breaker), keeping only relevant zones visible.
2. Recent Block Filtering – limits how many of the recent orderblocks or breakers are displayed, preventing chart clutter.
3. Dynamic Updating – orderblocks automatically convert to breakers when price closes beyond them, with clear color changes.
These features make it easier to study cleaner price structure without manually managing old or invalid zones. The optional Chop Control filter can reduce overlapping or repeatedly invalidated zones to keep the chart clearer.
Customizable Parameters
- Swing detection length (shorter means more aggressive pivot detection, longer means less aggressive so less highs/lows detected)
- Number of recent blocks to display
- Visibility toggles for orderblocks or breakers
- Color and transparency controls for each type
Alerts
Alerts can be set to trigger when price tests any defined zone.
Purpose
This indicator is designed as a price structure visualization and study tool.
It may assist in understanding how price interacts with previously active regions, but it does not produce signals or trade recommendations.
FVG Volume Profile [ChartPrime]⯁ OVERVIEW
FVG Volume Profile is a smart volume analysis tool that identifies Fair Value Gaps (FVGs) and overlays a volume profile inside each gap using data from lower timeframes. The indicator automatically selects the best time resolution or allows for manual control, giving traders deeper insight into the volume structure within each imbalance. POC levels and total volumes gives a full microstructure view inside every FVG.
⯁ KEY FEATURES
Fair Value Gap Detection (Bullish & Bearish)
Detects price gaps where inefficiency exists using a 3-bar structure.
-Bullish Gaps: Low > High with confirming middle bar.
-Bearish Gaps: High < Low with confirming middle bar.
Only significant gaps (filtered by standard deviation) are plotted to avoid noise.
Multi-Timeframe Volume Profiling
Pulls granular candle and volume data from a lower timeframe —
In Auto Mode, uses a resolution ~10x lower than the current chart.
In Manual Mode, lets the user select a custom timeframe.
This ensures accurate intra-gap volume distribution.
Dynamic Volume Binning
Each FVG is divided into vertical volume bins based on the Resolution input.
Each bin displays relative volume intensity as a horizontal box, scaled by percentage of the max bin volume.
Point of Control (PoC) Line & Label
The bin with the maximum volume inside each FVG is marked with:
A horizontal line (PoC) extending from the left to right side.
A label showing the absolute volume of that bin.
Color-coded to match bullish or bearish FVGs.
Total Volume Label Inside FVG
Each FVG displays the total volume sum from its profile:
For bullish FVGs , shown in the bottom-right corner.
For bearish FVGs , shown in the top-right corner.
Auto-Removal of Invalid Gaps
If price fully closes the gap (crosses its bounds), the FVG, profile, and PoC are deleted automatically.
This keeps the chart clean and focused only on active zones.
Toggleable Volume Profile Display
User can show or hide the volume profiles within FVGs using the "Display" toggle under the "FVG Volume Profile" group.
Only the PoC and FVG boxes remain visible if toggled off.
Volume Resolution Customization
Control the number of bins used for each FVG profile.
Higher resolution = more bins and finer volume analysis. (default 15)
Auto Timeframe Validation Warning
If the selected lower timeframe isn’t actually lower than the chart's, the script shows a visible warning label prompting adjustment.
Helps prevent calculation errors.
⯁ USAGE
Use this tool to identify active imbalance zones (FVGs) with embedded volume context.
Look for PoC positioning inside gaps — near top may indicate absorption or reversal zones.
Combine with price action at the PoC level for precision entries.
Hide volume profile for a cleaner view while retaining key POC and FVG boxes.
Use resolution controls to zoom into fine-grained profiles inside large gaps.
Consider Auto mode for seamless multi-timeframe analysis, or switch to Manual for full control.
⯁ CONCLUSION
FVG Volume Profile transforms raw imbalance detection into actionable insight by embedding lower-timeframe volume structure inside each Fair Value Gap. With PoC highlights, total volume labels, and customizable bin resolution, this indicator is essential for traders who want to understand not just where the gap is — but what volume did inside it .
SMC Structures and Multi-Timeframe FVG PYSMC Structures and Multi-Timeframe FVG Indicator
Tip: For optimal performance, adjust the number of FVGs displayed per timeframe in the settings. On high-performance devices, up to 8 FVGs per timeframe can be used without issues. If you experience slowdowns, reduce to 3 or 4 FVGs per timeframe. If the chart flashes, disable indicators one by one to identify conflicts, or try using the TradingView Mobile or Windows App for a smoother experience.
Overview
This Pine Script indicator enhances market analysis by integrating Smart Money Concepts (SMC) with Fair Value Gaps (FVG) across multiple timeframes. It identifies trend continuations (Break of Structure, BOS) and trend reversals (Change of Character, CHoCH) while highlighting liquidity zones through FVG detection. The indicator includes eight customizable Moving Average (MA) curve templates, disabled by default, to complement SMC and FVG analysis. Its originality lies in combining multi-timeframe FVG detection with SMC structure analysis, providing traders with a cohesive tool to visualize price action patterns and liquidity zones efficiently.
Features and Functionality
1. Fair Value Gaps (FVG)
The indicator detects and displays bullish, bearish, and mitigated FVGs, representing liquidity zones where price inefficiencies occur. These gaps are dynamically updated based on price action:
Bullish FVG: Displayed in green when unmitigated, indicating potential upward liquidity zones.
Bearish FVG: Displayed in red when unmitigated, signaling potential downward liquidity zones.
Mitigated FVG: Shown in gray once the gap is partially filled by price action.
Fully Mitigated FVG: Automatically removed from the chart when the gap is fully filled, reducing visual clutter.
Users can customize the number of historical FVGs displayed via the settings, allowing focus on recent liquidity zones for targeted analysis.
2. SMC Structures
The indicator identifies key SMC price action patterns:
Break of Structure (BOS): Marked with gray lines, indicating trend continuation when price breaks a significant high or low.
Change of Character (CHoCH): Highlighted with yellow lines, signaling potential trend reversals when price fails to maintain the current structure.
High/Low Values: Blue lines denote the highest high and lowest low of the current structure, providing reference points for market context.
3. Multi-Timeframe FVG Analysis
A standout feature is the ability to analyze FVGs across multiple timeframes simultaneously. This allows traders to align higher-timeframe liquidity zones with lower-timeframe entries, improving trade precision. The indicator fetches FVG data from user-selected timeframes, displaying them cohesively on the chart.
4. Moving Average (MA) Templates
The indicator includes eight customizable MA curve templates in the Settings > Template section, disabled by default. These templates allow users to overlay MAs (e.g., SMA, EMA, WMA) to complement SMC and FVG analysis. Each template is pre-configured with different periods and types, enabling quick adaptation to various trading strategies, such as trend confirmation or dynamic support/resistance.
How It Works
The script processes price action to detect FVGs by analyzing three-candle patterns where a gap forms between the high/low of the first and third candles. Multi-timeframe data is retrieved using Pine Script’s request.security() function, ensuring accurate FVG plotting across user-defined timeframes. BOS and CHoCH are identified by tracking swing highs and lows, with logic to differentiate trend continuation from reversals. The MA templates are computed using standard Pine Script TA functions, with user inputs controlling visibility and parameters.
How to Use
Add to Chart: Apply the indicator to any TradingView chart.
Configure Settings:
FVG Settings: Adjust the number of historical FVGs to display (default: 10). Enable/disable specific FVG types (bullish, bearish, mitigated).
Timeframe Selection: Choose up to three timeframes for FVG analysis (e.g., 1H, 4H, 1D) to align with your trading strategy.
Structure Settings: Toggle BOS (gray lines) and CHoCH (yellow lines) visibility. Adjust sensitivity for structure detection if needed.
MA Templates: Enable MA curves via the Template section. Select from eight pre-configured MA types and periods to suit your analysis.
Interpret Signals:
Use green/red FVGs for potential entry points targeting liquidity zones.
Monitor gray lines (BOS) for trend continuation and yellow lines (CHoCH) for reversal signals.
Align multi-timeframe FVGs with BOS/CHoCH for high-probability setups.
Optionally, use MA curves for trend confirmation or dynamic levels.
Clean Chart Usage: The indicator is designed to work standalone. Ensure no conflicting scripts are applied unless explicitly needed for your strategy.
Why This Indicator Is Unique
Unlike standalone FVG or SMC indicators, this script combines both concepts with multi-timeframe analysis, offering a comprehensive view of market structure and liquidity. The addition of customizable MA templates enhances flexibility, while the dynamic removal of mitigated FVGs keeps the chart clean. This mashup is purposeful, as it integrates complementary tools to streamline decision-making for traders using SMC strategies.
Credits
This indicator builds on foundational SMC and FVG concepts from the TradingView community. Some open-source code was reused, and do performance enhancement as you guys can read the code. This type of indicators has inspiration was drawn from public domain SMC methodologies. All code is partly original with manual work on performance optimization in Pine Script.
Notes
Ensure your chart is clean (no unnecessary drawings or indicators) to maximize clarity.
The indicator is open-source, and traders are encouraged to review the code for deeper understanding.
For optimal use, test the indicator on a demo account to familiarize yourself with its signals.
ICT Daily Levels & Liquidity Zones [HatefBW]ICT Daily Levels & Liquidity Zones
This indicator automatically detects and plots the daily high and low levels for the current day and the two previous days.
Each level dynamically tracks the exact candle that created it, allowing traders to identify where short-term liquidity pools form across multiple timeframes.
What makes this tool unique:
• Three-day structure: Displays current, previous, and 2-day-old highs/lows for contextual price action.
• Dynamic mapping: On lower timeframes, each level aligns precisely with the candle that created the daily high or low.
• Full customization: Traders can toggle each day’s levels, colors, label size, and extension behavior independently.
• Adaptive logic: Lines automatically extend or stay fixed depending on the chosen setting, avoiding chart clutter.
This tool helps ICT traders and smart money practitioners visualize daily liquidity zones — potential areas of stop hunts or institutional targeting.
The script is originally coded by @HatefBW from scratch, with no reused or modified open-source code
FVG +Displcement/ATR/3thClosedBody [hatefbw]Overview
This indicator is a modified version of the LuxAlgo group’s FVG indicator. It now includes three advanced optional filters that help traders identify only the strongest and most reliable Fair Value Gaps (FVGs), aligned with Smart Money Concepts (SMC) and ICT methodology.
How it works
We’ve added the following new configurable options to the indicator:
✅ Confirm Third Closed Body
When enabled, ensures the third candle (right after the gap) closes beyond the wick of the second candle.
✔️ Adds extra validation to price direction and filters out weaker FVGs.
✅ Confirm Displacement Candle
Validates that the second candle (the one forming the FVG) is a strong displacement candle. This condition checks for:
📏 Large body relative to total range (customizable %, default: 70%)
📈 High volume above 20-period moving average
🔺 Break of Structure (BOS) in the direction of the FVG
Bullish FVG: breaks above recent highs
Bearish FVG: breaks below recent lows
✅ ATR-Based Validation (optional)
Adds an additional filter where the second candle’s body or range must exceed the ATR (default: ATR 14, configurable).
✔️ Further confirms that the displacement candle has significant market movement.
Usage
All features are 100% optional and can be toggled in the settings.
Use them to filter out weak FVGs and align trades with institutional-grade setups.
Timeframe LiquidityTimeframe Liquidity – Multi-Timeframe Highs & Lows by @archie_trades
Timeframe Liquidity automatically plots previous day, week, month, and year highs and lows — key liquidity zones used by smart money and price-action traders. These levels extend into the future and can automatically stop once price wicks through, showing clear liquidity sweeps and tested zones.
Perfect for traders using ICT concepts, liquidity theory, or market structure analysis. Instantly see where liquidity rests, where it’s been taken, and how price reacts at major support and resistance.
Features:
Auto-plots PDH/PDL, PWH/PWL, PMH/PML, PYH/PYL
Custom line styles, colors, and label sizes
Option to stop line on wick (liquidity sweep)
Smart timeframe visibility (hides same-TF levels)
Accurate UTC offset handling
Identify liquidity pools fast, trade cleaner charts, and track where smart money hunts liquidity.
Built for precision, clarity, and confluence.
DTC — Session KillzonesDTC — Session KillZones (ICT Kill-Zones)
Visual session mapping for higher-probability windows (New York, London, Tokyo/Asian, London Close). Anchored session ranges, labels, and optional dividers make it easy to spot session structure and historic range areas on any timeframe.
What it shows
Time-anchored session range boxes (High / Low per session) that stay locked to session candles.
Optional session name labels placed inside ranges.
Optional session transition markers (small plotshape markers at session start/end).
Optional daily divider line and weekday labels.
Timezone control: use exchange timezone or a custom UTC offset.
Key inputs
Enable/disable each session (A/B/C/D), set session name and session hours.
Toggle session range boxes, labels, and outlines.
Range area transparency control.
Choose whether to use Exchange timezone or a custom UTC offset.
Show/hide session dividers and daily divider.
Usage tips
To avoid rendering issues, pin the indicator to the right price scale in the indicator menu (Pin → Pinned to right scale). If the indicator is set to No scale (fullscreen) it may not render boxes/labels correctly.
Works well on all timeframes; ranges are calculated per-session based on bar timestamps.
If you want ranges to persist visually but reset stats each session, the indicator already stores last session high/low and draws boxes anchored by the session start time.
Limitations & notes
This indicator is a visual tool — not a signal generator. It does not open/close trades automatically.
Session ranges rely on bar timestamps — ensure your chart timezone is set correctly if comparing across exchanges.
Objects are created as chart drawings (boxes, labels) and may count toward TradingView's object limits on exceptionally active charts.
Disclaimer
This script is provided for educational and visual analysis purposes only. It is not financial, investment, or trading advice. Always use your own judgement and risk management. Past visual patterns do not guarantee future performance.
Version & support
Pine Script v5.
If you or users see missing boxes/labels, first confirm the indicator is pinned to a price scale (recommended: right scale). If problems persist, tell me the symbol and timeframe and I’ll help troubleshoot.
CISD & OB [BLAZ]Version 1.0 – Published October 2025: Initial release
1. Overview & Purpose
The CISD & OB indicator identifies and plots Order Blocks (OB) and Changes in State of Delivery (CISD) on price charts using a strict rule-based approach designed to highlight structural turning points and continuation zones in price action. It automatically detects these formations when price creates confirmed swing highs or lows, followed by opposing directional moves that break predefined structural levels.
Detection logic is consistently applied across all market conditions, allowing the indicator to identify areas where notable price reactions or liquidity shifts have occurred. These levels are plotted as horizontal lines on the chart and are updated in real time to reflect the latest structural developments, helping traders visualise potential reversal or continuation zones.
The methodology used in this indicator represents the author's specific approach to Order Block and CISD identification, incorporating custom criteria for swing validation and confirmation logic that differ from standard implementations. Detection operates entirely mechanically, without discretionary intervention, to ensure consistency and objectivity across use cases. This indicator functions on all standard timeframes and supports multiple asset classes, including Forex, Stocks, Cryptocurrencies, Futures, and Commodities.
The indicator is unique in its ability to apply detection logic to a custom timeframe, enabling multi-timeframe structural analysis without switching charts. Let’s begin by explaining key terminologies based on the author’s perception to aid in understanding the functionality of the indicator.
2. Order Block (OB)
An Order Block is identified when price creates a swing high or swing low followed by a directional move that closes beyond the open of the opposing candle(s) structure.
2.1. For bearish Order Blocks:
Price must form a confirmed swing high (higher than surrounding candles).
A subsequent bearish candle must close below the open of the bullish candle(s) that created the swing high.
2.2. For bullish Order Blocks:
Price must form a confirmed swing low (lower than surrounding candles).
A subsequent bullish candle must close above the open of the bearish candle(s) that created the swing low.
The indicator only validates Order Blocks where the structural formation meets minimum swing criteria and the confirming move demonstrates sufficient momentum beyond the identified level.
3. Change in State of Delivery (CISD)
A CISD occurs when a valid Order Block forms in the opposite direction to the previously confirmed Order Block, indicating a potential shift in market structure.
3.1. Formation criteria:
A bullish CISD forms when a valid bullish Order Block is detected after the most recent confirmed structure was a bearish Order Block.
A bearish CISD forms when a valid bearish Order Block is detected after the most recent confirmed structure was a bullish Order Block.
Each CISD represents the first opposing Order Block in a sequence, distinguishing it from continuation Order Blocks that follow in the same direction.
The indicator tracks the sequence of Order Block formations to automatically classify each new structure as either a CISD (directional change) or continuation Order Block based on the preceding confirmed structure.
4. Detection Logic & Visual Management
The indicator continuously scans price action in real time, validating only those patterns that meet predefined technical thresholds. Once a structure is confirmed, it is plotted as a horizontal line extending from the origin candle’s open to the confirming close.
To maintain chart clarity, the script integrates automatic display management, limiting the number of plotted lines according to user-defined settings. Independent styling options are available for bullish and bearish structures, including colour, width, and line thickness. CISD and OB structures are styled separately to provide a clear distinction between reversal and continuation events.
Developing structures appear as dotted potential horizontal lines until they are validated, at which point they transition to solid lines. The indicator also allows users to restrict visibility of plotted lines above a selected timeframe, ensuring that higher timeframe charts remain clean and readable.
If configuration settings conflict, such as incompatible timeframe or visibility filters, the indicator displays on-chart warning messages to guide users in adjusting their setup appropriately.
The indicator supports multi-timeframe plotting capability, allowing structures identified on higher timeframes to be visualised directly on the active lower timeframe chart. This feature allows traders to observe how market structures align across multiple timeframes, providing greater confirmation of overall trend direction, reinforcing analytical confidence through cross‑timeframe confluence, and ensuring short‑term decisions remain aligned with the prevailing market context.
Traders can configure alerts to receive notifications when new CISD or OB structures are confirmed. Alerts are fully customisable via the indicator input settings and can be defined by direction (bullish/bearish) and pattern type (OB or CISD).
5. Usage Instructions
5.1. Alert Setup:
Enable "Set Alert?" toggle in indicator settings.
Configure alert preferences for specific pattern types.
On the chart, click the three dots menu beside the indicator's name or press Alt + A.
Select "Add Alert" and click “Create” to activate the alert.
Alerts trigger when new patterns are confirmed.
5.2. Display Controls:
Use "Bullish Lines" and "Bearish Lines" toggles to show/hide patterns by direction.
Adjust line quantity settings (1-25) to control how many patterns display simultaneously.
Enable “Timeframe” to apply detection logic to a higher timeframe of choice, displaying CISD and OB patterns directly on the active chart.
5.3. Visibility Filter:
Use “Show below” to limit indicator visibility to specific timeframes. When enabled, the indicator hides automatically on any timeframe equal to or higher than the selected setting.
5.4. Appearance Customisation:
Toggle “CISD” or “OB” on/off to show or hide individual pattern types.
Modify colours and line widths independently for bullish and bearish structures.
The “Show potential line” option displays developing patterns as dotted horizontal lines until confirmed.
5.5. Warning Message:
Enable “Show warning messages” to display on‑chart guidance for conflicting or invalid configurations.
Choose the preferred message box position and colour styling for readability.
6. Protected Logic & Original Design
This indicator has been developed from the ground up using proprietary algorithms and a custom structural classification logic derived from original research into Order Block and CISD identification methods. The internal mechanics, including real-time pre-confirmation logic, multi-timeframe adaptation, directional classification sequencing, and automated display management, are not based on any publicly available script or third-party resource.
7. Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice, investment recommendations, or trading signals. All trading and investment decisions remain solely the responsibility of the user.
Trading financial instruments involves substantial risk of loss. Past performance of any trading methodology or indicator does not guarantee future results. Users should conduct their own research and consider consulting with qualified financial professionals before making trading decisions.
The indicator's pattern detection is based on technical analysis principles and should be used as part of a comprehensive trading approach. No trading tool can guarantee profitable outcomes or eliminate market risk.
By using this indicator, users acknowledge they understand these risks and accept full responsibility for their trading decisions and outcomes.
Automatic Sound Alerts @ m5, m15, H1 & H4This indicator sends an alert of your choice every 5min, 15min, 1hr & 4hr.
To set up distinct sounds:
1, Add the indicator to your chart.
2. Open TradingView → Alerts → Create Alert.
3. Choose Condition → 4 Hour Alert Triggered → assign your preferred sound.
4. Repeat for 1h, 15m, 5m, and custom alerts. Each can have a different sound.
No chart markers appear — popup + sound only.
Timebender 369 Time CalculatorOverview
The Timebender Digits indicator visualizes rhythmic price cycles by marking confirmed swing highs and lows with dynamically colored numerical stamps.
Each number is derived from the sum of the current candle’s hour and minute, reduced to a single digit (1–9), providing a visual “time signature” for each structural turn in market flow.
This is a structural-pivot model inspired by LuxAlgo’s swing logic, rebuilt from the ground up in Pine v6 using the Timebender Rulebook framework for flawless compilation and precision label anchoring.
Core Features
Dynamic Swing Detection:
Detects structural highs/lows using ta.pivothigh() and ta.pivotlow(), confirmed after the selected number of bars (len).
Digit Logic (1–9):
Converts the pivot candle’s timestamp into a reduced digit from 1–9, acting as a symbolic rhythm marker.
Phase-Based Coloring:
1-3 → Accumulation (Gray)
4-6 → Manipulation (Green)
7-9 → Distribution (Blue)
Floating or Fixed Labels:
Option to keep digits visually anchored above/below candles (yloc.abovebar/belowbar) or locked to price (yloc.price) with customizable ATR offset.
Clean Visuals:
Transparent background, no boxes, no tooltips — just crisp digits that scale smoothly with zoom.
Master Toggle:
Instantly hide/show all digits without removing the indicator.
Inputs & Customization
Show Digits on Chart: Enable/disable plotting.
Pivot Length: Number of bars used to confirm swings (default 21).
Float Above/Below Bars: Switch between floating or price-anchored mode.
ATR Offset Multiplier: Adjust spacing when price-anchored.
Digit Size: Tiny → Huge (default Large).
Color Controls: Customize the Accumulation, Manipulation, and Distribution color palette.
Use Cases
Visualize time-based rhythm in market structure.
Identify cyclical energy between accumulation, manipulation, and distribution phases.
Study how market timing aligns with structural swing formation.
ICT Essentials [LDT]ICT Essentials
Overview
ICT Essentials is an all-in-one trading utility built to create a natural and efficient workflow for ICT-based traders.
Every component has been designed to integrate seamlessly and update dynamically across timeframes.
The indicator focuses on clarity, performance and customization, allowing traders to tailor every part of their trading experience.
Equal Highs & Lows
This feature automatically detects and marks Equal Highs (EQH) and Equal Lows (EQL) with full control over visuals and behavior.
Users can customize line colors, widths, and styles, label size, color, background transparency and text offset.
The logic uses an optimized scanning and caching system that maintains smooth performance even on higher timeframes.
It provides a precise and adaptive way to identify structural liquidity points whilst keeping the chart clean and readable.
Killzones & Session Pivots
Plots the main trading sessions such as Asia, London and New York (AM, Lunch, PM) with full flexibility and styling options.
Each session can be enabled or disabled individually, with its own color, transparency and label preferences.
Session highs and lows are automatically tracked and plotted as pivots with extension modes like Until Mitigated or Past Mitigation.
This system gives traders the ability to organize market sessions exactly how they prefer whilst keeping the chart consistent and efficient.
Daily Pivots and Tier System
Alongside session pivots, the script tracks daily highs and lows to provide a broader structural view of price. These pivots are stored and displayed on the chart with their appearance updating automatically when price interacts with them.
The system includes a unique tier-based visibility filter that maintains a clean chart by preventing duplicate or overlapping pivots. Recent daily pivots are cached and compared to session pivots and when two levels fall within a defined proximity, the redundant one is automatically hidden. This creates a clear hierarchy of daily and session levels, keeping the most relevant structure visible whilst removing noise.
All aspects of the daily pivot system are fully customizable, including the number of tracked pivots, color, style settings and how mitigated levels are handled. The caching and filtering logic ensures smooth performance and a visually organized workspace even as the data updates in real time.
Key Times
Allows up to five custom key time markers such as the Midnight Open, 6:00 AM or 10:00 AM.
Each marker can be fully customized with its own text, color, line style and thickness.
This makes it simple to visualize key reaction points that align with each traders timing model.
Higher Timeframe Candles
Displays higher timeframe candles such as 1H, 4H or Daily directly on the active chart to provide context without switching views.
Users can customize body, wick and border colors, along with adding optional trace lines for the open, close, high and low and can also show the countdown timers for remaining candle time.
Adjustable spacing, positioning and label visibility makes the display blend naturally with any trading setup.
This module helps traders connect multiple timeframes visually in a clean and intuitive way.
Watermark
Adds a customizable watermark with title, subtitle and symbol or timeframe information.
Every element can be adjusted for color, size, transparency, alignment and position.
The result is a polished, professional chart layout that adapts to the user's personal style.
Optimization and Design
ICT Essentials is built for performance, using cached arrays and lightweight calculations to maintain responsiveness on all timeframes.
Each feature can be toggled individually to suit the traders focus or system performance.
The script delivers a fluid, customizable and highly optimized trading experience designed to feel natural and effortless in day-to-day use.
Credits
This script takes reference and inspiration from several open-source indicators:
Equal Highs and Lows by jzstur
ICT HTF Candles (fadi) by fadizeidan
ICT Killzones + Pivots EP by tradeforopp
AG FX - Watermark by AGFXTRADING
All components have been refactored, optimized and unified into a single framework for a smoother and more efficient workflow.