Quantura - Liquidity Sweep & Run LevelsIntroduction
“Quantura – Liquidity Sweep & Run Levels” is a structural price-action indicator designed to automatically detect swing-based liquidity zones and visualize potential sweep and run events. It helps traders identify areas where liquidity has likely been taken (sweep) or released (run), improving precision in market structure analysis and timing of entries or exits.
Originality & Value
This tool translates institutional liquidity concepts into an automated visual framework. Instead of simply marking highs and lows, it dynamically monitors swing points, tracks their breaches, and identifies subsequent reactions. The indicator is built to highlight the liquidity dynamics that often precede reversals or continuations.
Its originality lies in:
Automatic identification and tracking of swing highs and lows.
Real-time detection of broken levels and liquidity sweeps.
Distinction between “Run” and “Sweep” modes for different market behaviors.
Persistent historical visualization of liquidity levels using clean line structures.
Configurable signal markers for bullish and bearish sweep confirmations.
Functionality & Core Logic
Detects swing highs and lows using a user-defined Swing Length parameter.
Stores and updates all swing levels dynamically with arrays for efficient memory handling.
Draws horizontal lines from each detected swing point to visualize potential liquidity zones.
Monitors when price breaks a swing level and marks that event as “broken.”
Generates signals when the market either sweeps above/below or runs away from those levels, depending on the chosen mode.
Provides optional visual signal markers (“▲” for bullish sweeps, “▼” for bearish sweeps).
Parameters & Customization
Mode: Choose between “Sweep” (detects liquidity grabs) or “Run” (detects breakout continuations).
Swing Length: Sets the sensitivity for detecting swing highs/lows. A higher value focuses on larger structures, while smaller values detect micro liquidity points.
Bullish Color / Bearish Color: Customize color themes for sweep/run lines and signal markers.
Signals: Enables or disables visual up/down markers for confirmed events.
Visualization & Display
Horizontal lines represent potential liquidity levels (unbroken swing highs/lows).
Once broken, lines automatically stop extending, marking the moment liquidity is taken.
Depending on the selected mode:
“Sweep” mode identifies false breaks or stop-hunt behavior.
“Run” mode highlights breakouts that continue the trend.
Colored arrows indicate the direction and type of liquidity reaction.
Clean, non-intrusive visualization suitable for overlaying on price charts.
Use Cases
Detect liquidity sweeps before major reversals.
Identify breakout continuations after liquidity runs.
Combine with Supply/Demand or FVG indicators for multi-layered confirmation.
Validate liquidity bias in algorithmic or discretionary strategies.
Analyze market manipulation patterns and institutional stop-hunting behavior.
Limitations & Recommendations
This indicator identifies structural behavior but does not guarantee trade direction or profitability.
Works best on liquid markets with clear swing structures (e.g., crypto, forex, indices).
Signal interpretation should be combined with confluence tools such as volume, order flow, or structure-based filters.
Excessively small swing settings may cause over-signaling in volatile markets.
Markets & Timeframes
Optimized for all major asset classes — including crypto, Forex, indices, and equities — and for intraday to higher-timeframe structural analysis (5-minute up to daily charts).
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Compliance Note
This description fully complies with TradingView’s Script Publishing Rules and House Rules . It avoids performance claims, provides transparency on methodology, and clearly describes indicator behavior and limitations.
תמיכה והתנגדות
ZynAlgo S&R ProZynAlgo S&R Pro identifies confirmed swing highs and swing lows, marks them on the chart, and draws single horizontal liquidity lines that extend from each confirmed swing until the next swing of the same type occurs. The tool can optionally recolor candles based on whether the current close is above or below the previous close. It also exposes alert conditions for new swing points and for when price reaches the most recent buy-side or sell-side liquidity line.
Important: This is a visual analysis tool. It does not open, manage, or close positions. It is provided for educational and informational purposes only.
How it works (under the hood)
Swing detection (confirmed):
The script uses ta.pivothigh/ta.pivotlow with symmetric left/right bars defined by Left bar & Right bar. A swing is considered only after the bar is confirmed.
Swing markers:
When enabled, confirmed swing highs/lows are marked with small circles above/below bars. The offset equals the left/right length to align with the confirmed pivot location.
Liquidity lines:
On each swing high, the script ends (anchors) the previous buy-side line at the pivot’s bar, then creates a new dotted/dashed/solid horizontal line at that swing price and extends it forward.
On each swing low, it does the same for sell-side lines.
Between swing events, the most recent buy-side and sell-side lines continue extending to the current bar.
Alerts:
Swing High / Swing Low Created — fires on confirmation of a new swing.
Buy Side Liquidity Raid — when price crosses over the most recent swing-high line.
Sell Side Liquidity Raid — when price crosses under the most recent swing-low line.
Optional candle coloring:
If enabled, candles can be recolored by comparing current close to the previous close, with independent toggles for body, borders, and wicks.
Inputs & recommended tooltips (copy-friendly)
Swing High/Low Setting
Left bar & Right bar (len_l)
Tooltip: “Bars to the left/right required to confirm a pivot. Larger values = fewer but stronger swing points (default: 20).”
Show Swing High Swing Low (flg_shsl)
Tooltip: “Plot small circles at confirmed swing highs (red) and swing lows (blue).”
(Note: i_labelcolor_price is present but unused in visible drawings—safe to ignore or reserve for future use.)
Liquidity Pools Settings
Show Liquidity Pools (flg_lq)
Tooltip: “Draw a horizontal line at each confirmed swing. The line extends forward until the next swing of the same type appears.”
Line Width (i_width)
Tooltip: “Thickness of liquidity lines (1–6).”
Line Style (i_linestyle)
Tooltip: “Choose solid, dashed, or dotted style for liquidity lines.”
Buy Side Liquidity Color (i_linecolor_bs)
Tooltip: “Color for swing-high liquidity lines (default: red).”
Sell Side Liquidity Color (i_linecolor_ss)
Tooltip: “Color for swing-low liquidity lines (default: blue).”
Candles
Color bars based on previous close (use_prev_close)
Tooltip: “If enabled, candle colors are based on whether close > previous close (Up) or not (Down).”
Up Color / Down Color
Tooltip: “Colors used for up vs. down determination.”
Body / Borders / Wick (apply toggles)
Tooltip: “Choose which candle parts to recolor.”
Alerts available (names as shown in the Create Alert dialog)
Swing High
Triggers when a new swing high is confirmed. Select this condition to be notified about newly formed swing highs.
Swing Low
Triggers when a new swing low is confirmed.
Buy Side Liquidity Raid
Triggers when price crosses above the most recent swing-high liquidity line (crossover(high, LSH)).
Sell Side Liquidity Raid
Triggers when price crosses below the most recent swing-low liquidity line (crossunder(low, LSL)).
Quick start (suggested workflow)
Add to chart: Apply ZynAlgo S&R Pro to your symbol and timeframe.
Choose sensitivity: Adjust Left bar & Right bar. Higher values focus on more significant swing points; lower values react faster.
Toggle visuals:
Enable Show Swing High Swing Low to see swing markers.
Enable Show Liquidity Pools to draw/extend liquidity lines. Pick the line style, width, and colors you prefer.
(Optional) Candle colors: Turn on Color bars based on previous close and choose which parts to color.
Set alerts:
Open Create Alert → Condition: ZynAlgo S&R Pro → choose Swing High, Swing Low, Buy Side Liquidity Raid, or Sell Side Liquidity Raid as needed.
Practical notes & limitations
Confirmed swings only: Pivots are plotted after confirmation (i.e., once the required left/right bars are complete). This avoids repainting the pivot location.
One active line per side: Only the most recent buy-side and sell-side liquidity lines extend to the right; prior lines are ended when a new swing of the same side appears.
Timeframes & instruments: Parameter sensitivity can vary across markets/timeframes. Consider tuning Left bar & Right bar to match volatility.
No orders are placed: This indicator does not execute trades or manage positions.
Compliance & fair-use guidance
No performance promises: This tool does not guarantee profitable results and should not be described as “signals,” “guaranteed,” “best,” or similar claims. It is an analysis aid that visualizes historical swing points, liquidity levels, and optional candle coloring.
Educational intent: Use it to support your chart review and alerting workflow; combine with your own judgment and risk controls.
Alerts are informational: Alerts reflect the conditions described above and do not constitute financial advice.
Change log (summary of core features)
Swing detection with configurable left/right bars; optional swing markers.
Auto-extending buy-side/sell-side liquidity lines with customizable style/width/colors.
Four alert conditions (new swing highs/lows and liquidity raids).
Optional candle recoloring with separate toggles for body/borders/wicks.
Dynamic Line Management
Unlike static support/resistance tools, ZynAlgo S&R Pro automatically manages the lifecycle of each liquidity line — removing outdated levels the moment new structure forms.
This ensures the chart always reflects the most relevant active zones.
Structure + Liquidity Integration
By combining price structure (swing points) with liquidity visualization, it bridges the gap between classic S&R and modern liquidity-based interpretation — a fusion rarely found in lightweight indicators.
Noise-Free Design
The script plots only the most essential elements: confirmed swings, active liquidity lines, and optional candle color context.
It avoids overlapping labels, text clutter, or unnecessary metrics — ideal for traders who prefer clarity and precision.
Non-Repainting Logic
All pivots are confirmed only after the required right-side bars are closed, ensuring all swing points and lines remain fixed once plotted.
This gives confidence in backtesting and visual analysis without misleading signals.
Lightweight & Efficient
Despite tracking multiple dynamic lines, the algorithm is optimized for performance (using arrays and efficient bar updates), making it suitable for both high- and low-timeframe analysis.
Adaptable Across Market Types
Equally applicable to forex, crypto, indices, and commodities, the algorithm’s sensitivity parameter lets users adjust to volatility differences between instruments.
Purely Analytical
The tool does not provide trade signals or predictions.
Its design supports price-action interpretation, liquidity mapping, and structure confirmation — helping traders read context rather than react to noise.
🔶 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by ZynAlgo are purely for informational & educational purposes only. Past performance does not guarantee future results.
Smart Liquidity & OTE Analysis Tool # Smart Liquidity & OTE Analysis Tool
## OVERVIEW
This indicator is designed for traders who utilize institutional trading concepts, specifically liquidity sweeps and optimal trade entry (OTE) zones, combined with session-based market structure analysis. It identifies potential market manipulation points where stop losses are likely clustered, and highlights high-probability entry zones based on Fibonacci retracements.
The tool combines four main analytical components that work synergistically to identify trading opportunities aligned with smart money behavior.
---
## CORE CONCEPTS & METHODOLOGY
### 1. TRADING SESSIONS ANALYSIS
**What it does:**
The indicator tracks three major forex trading sessions with customizable time zones:
- **Asian Session** (Default: 01:00-13:00 UTC+4) - Typically characterized by range-bound price action
- **London Session** (Default: 11:00-20:00 UTC+4) - High volatility period with increased institutional activity
- **New York Session** (Default: 17:00-00:00 UTC+4) - Overlaps with London creating peak liquidity
**How it works:**
- Automatically highlights active sessions with colored background boxes
- Draws session high/low lines which often act as intraday support/resistance
- Identifies session overlaps (e.g., London-NY overlap) where volatility and liquidity are highest
- Color-codes the price bars during overlaps to alert traders to increased opportunity periods
- Displays real-time session status (🟢 Open / 🔴 Closed) for quick reference
**Trading Application:**
Session highs and lows frequently become liquidity targets. The indicator helps traders anticipate when price might sweep these levels before continuing in the original direction. Session overlaps are prime times for major moves as multiple institutional players are active simultaneously.
---
### 2. EXTERNAL LIQUIDITY SWEEPS
**What it does:**
Identifies when price "sweeps" or breaks beyond significant swing highs and lows where stop losses are typically clustered. These sweeps often precede reversals or continuations after liquidity is collected.
**How it works:**
- Scans the previous 20 bars (configurable) to identify swing high and low points
- Marks these levels as "buyside liquidity" (above highs) or "sellside liquidity" (below lows)
- Monitors price action using three detection methods:
* **Wick Break:** Any candle wick extending beyond the liquidity level
* **Close Break:** Candle body closing beyond the level (stronger confirmation)
* **Full Retrace:** Price breaks the level then closes back inside the range (classic liquidity grab)
- Uses an ATR-based buffer to avoid false signals from minor price spikes
- Confirms sweeps only after a configurable number of confirmation bars to reduce repainting
**The Logic Behind It:**
Institutional traders need liquidity to fill large orders. Stop losses clustered above swing highs and below swing lows provide this liquidity. When these levels are swept, it often indicates smart money is entering positions in the opposite direction, causing reversals.
**Visual Representation:**
- Blue horizontal lines mark buyside liquidity zones (above price)
- Gray horizontal lines mark sellside liquidity zones (below price)
- Labels indicate when liquidity has been swept (✓) or remains active
- Historical zones are maintained for context (configurable display limit)
---
### 3. INTERNAL LIQUIDITY DETECTION
**What it does:**
Identifies equal highs (EQH) and equal lows (EQL) within recent price action - levels that have been tested multiple times without breaking. These represent internal liquidity pools that price often revisits before making larger moves.
**How it works:**
- Examines the most recent 8 bars (configurable) for price levels that occur multiple times
- Uses an ATR-based threshold (default 0.1% of ATR) to determine if highs or lows are "equal"
- Requires minimum 3 occurrences (configurable) of the same level to qualify as internal liquidity
- Tracks both the creation and sweeping of these internal levels
- Differentiates between wick breaks and close breaks for sweep confirmation
**The Concept:**
Unlike external liquidity at swing points, internal liquidity represents recent stop clusters and pending orders within the current price structure. Identifying these levels helps traders anticipate short-term price targets and potential reversal points before larger directional moves.
**Why This Matters:**
Price often needs to clear internal liquidity before making sustained moves to external liquidity levels. This creates a "roadmap" of where price is likely to go in sequence, improving trade timing.
**Visual Representation:**
- Cyan lines mark internal buyside liquidity (equal highs)
- Orange lines mark internal sellside liquidity (equal lows)
- Dashed or solid lines based on user preference
- Labels show when internal levels are swept
---
### 4. OPTIMAL TRADE ENTRY (OTE) ZONES
**What it does:**
Calculates and displays Fibonacci retracement zones (0.618-0.786) from recent swing points, representing "discount" or "premium" areas where institutional traders often enter positions after a liquidity sweep or structure break.
**How it works:**
- Identifies swing highs and lows using a 10-bar lookback period (configurable)
- Calculates three key Fibonacci levels:
* **0.618** - The "golden ratio" retracement (most significant)
* **0.705** - Mid-point between 0.618 and 0.786
* **0.786** - Deep retracement level (square root of 0.618)
- Optionally requires a structure break before displaying OTE zones
- Dynamically extends zones as new price action develops
- Tracks whether price has entered the zone (✅) or exited without filling (❌)
- Displays up to 2 most recent zones (configurable) to avoid chart clutter
**The Methodology:**
OTE zones represent areas where price is at a "discount" (for longs) or "premium" (for shorts) relative to the recent swing. After a liquidity sweep or structure break, institutional traders often wait for retracements into these zones before entering, as it offers better risk-to-reward ratios.
**Combining with Liquidity:**
The most powerful setups occur when:
1. External liquidity is swept
2. Price retraces into an OTE zone
3. Internal liquidity is present as a target
This confluence suggests smart money activity and high-probability trade opportunities.
**Visual Representation:**
- Shaded blue zone between 0.618 and 0.786 levels
- Three horizontal lines showing key Fibonacci levels with different colors/styles
- Labels (🎯) indicate bullish or bearish OTE zones
- Entry (✅) and exit (❌) status for each zone
---
## WHY THESE FEATURES WORK TOGETHER
This indicator combines these four components because they represent different stages of institutional trading behavior:
1. **Session Timing** - Identifies WHEN institutional activity is highest
2. **Liquidity Sweeps** - Shows WHERE smart money is collecting liquidity
3. **OTE Zones** - Highlights WHERE institutional entries likely occur after sweeps
4. **Internal Liquidity** - Provides SHORT-TERM targets for profit-taking or add-ons
Rather than using each concept in isolation, this integration creates a complete market structure framework. For example:
- A buyside liquidity sweep during London open →
- Followed by a retrace into a bullish OTE zone →
- With internal sellside liquidity as the initial target
This sequence represents a complete high-probability trade setup aligned with smart money principles.
---
## ANTI-REPAINTING FEATURES
**The Repainting Problem:**
Many indicators that identify patterns on historical data repaint their signals when live trading, showing signals that weren't actually there in real-time. This creates a false sense of accuracy.
**Our Solution:**
- **Confirmation Bars Setting:** Signals only appear after X bars have confirmed the pattern (default: 2 bars)
- **Marked Confirmation:** Labels show "C" when using confirmed signals
- **Trade-off:** More confirmation = less repainting but slightly delayed signals
- **User Control:** Traders can toggle between real-time signals (faster but may repaint) and confirmed signals (delayed but reliable)
---
## KEY CUSTOMIZATION OPTIONS
### Master Controls
- Toggle each major feature on/off independently
- Combine only the features relevant to your trading style
### Display Settings
- Adjust lookback periods for each component
- Control number of historical zones displayed
- Customize colors, line styles, and transparency
- Show/hide labels and session names
- Configure text sizes for different screen setups
### Detection Sensitivity
- **Sweep Detection:** Choose between wick breaks, close breaks, or full retraces
- **ATR Buffer:** Add distance requirements to confirm sweeps (reduces false signals)
- **Equal Level Threshold:** Adjust how close levels must be to qualify as "equal"
- **Confirmation Bars:** Balance between signal speed and reliability
### Alert System
- Session open/close notifications
- Liquidity sweep alerts
- OTE zone entry alerts
- Configurable alert frequency and types
---
## HOW TO USE THIS INDICATOR
### Basic Setup
1. Add the indicator to your chart (works on all timeframes, though 5M-1H recommended for intraday)
2. Enable the features you want to use via Master Controls
3. Adjust colors and transparency to match your chart preferences
4. Configure alert preferences if using notifications
### Trading Workflow
**Step 1: Identify the Session**
- Determine which trading session is active or approaching
- Note session highs/lows as potential liquidity targets
- Be especially alert during session overlaps
**Step 2: Watch for Liquidity Sweeps**
- Monitor external liquidity lines (swing highs/lows)
- When price sweeps liquidity, anticipate a potential reversal
- Stronger sweeps (close breaks + full retraces) are more significant
**Step 3: Wait for OTE Retracement**
- After a sweep, wait for price to retrace into the OTE zone (0.618-0.786)
- Bullish OTE after sellside sweep = potential long
- Bearish OTE after buyside sweep = potential short
**Step 4: Use Internal Liquidity as Targets**
- Look for internal liquidity in the direction of your trade
- These serve as initial profit targets
- External liquidity serves as extended targets
**Step 5: Manage Confirmation Settings**
- For live trading, use confirmed signals (2+ confirmation bars)
- For backtesting or analysis, you may use real-time signals
- Note that confirmed signals appear with "C" marking
### Example Trade Scenarios
**Bullish Setup:**
1. London session opens (increased volume)
2. Price sweeps sellside liquidity below Asian low
3. Price retraces into bullish OTE zone (0.618-0.786 of the sweep move)
4. Target internal buyside liquidity, then external buyside liquidity
**Bearish Setup:**
1. NY session overlap with London (peak liquidity)
2. Price sweeps buyside liquidity above recent high
3. Price retraces into bearish OTE zone
4. Target internal sellside liquidity, then session lows
---
## BEST PRACTICES
### What This Indicator Does Well
✓ Identifies high-probability institutional trading zones
✓ Provides clear visual roadmap of likely price targets
✓ Reduces chart clutter with configurable history limits
✓ Works across multiple timeframes and instruments
✓ Minimizes repainting with confirmation settings
### What This Indicator Doesn't Do
✗ Does not provide entry/exit arrows (intentional - requires trader discretion)
✗ Does not guarantee winning trades (no indicator does)
✗ Does not work in isolation (combine with price action/market context)
✗ Does not replace risk management (always use stop losses)
### Recommended Complementary Analysis
- Price action patterns (engulfing candles, pinbars at OTE zones)
- Volume profile or footprint charts for order flow confirmation
- Higher timeframe trend context (don't fade strong trends)
- Economic calendar awareness (avoid major news events)
---
## TECHNICAL NOTES
### Performance Optimization
- Uses max_bars_back limitation to reduce memory usage
- Automatic cleanup of old zones to prevent slowdown
- Efficient array management with configurable display limits
- Suitable for both intraday and swing trading timeframes
### Timeframe Recommendations
- **1-5 Minute:** Scalping with tight internal liquidity targets
- **15-30 Minute:** Intraday trading with session-based setups
- **1-4 Hour:** Swing trading with multi-session analysis
- **Daily:** Position trading using weekly liquidity levels
### Instrument Compatibility
Works on all liquid instruments:
- Forex pairs (optimal due to clear sessions)
- Stock index futures (ES, NQ, etc.)
- Cryptocurrency (24/7 markets - use custom session times)
- Individual stocks (less pronounced session effects)
---
## EDUCATIONAL RESOURCES
To better understand the concepts used in this indicator:
**Liquidity Concepts:**
- Study institutional order flow and stop loss hunting
- Learn about market microstructure and liquidity provision
- Understand the difference between retail and institutional trading
**Fibonacci/OTE:**
- Research Fibonacci retracements in trending markets
- Study the mathematical significance of the golden ratio (0.618)
- Practice identifying retracement entries on historical charts
**Session Trading:**
- Analyze volume profiles during different forex sessions
- Study typical price behavior during session overlaps
- Understand timezone conversions for your local trading hours
---
## VERSION HISTORY & UPDATES
This script represents a complete integration of multiple smart money concepts into a single, cohesive tool. Future updates will be published using the Update feature rather than creating separate scripts for minor variations.
---
## DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice or trading recommendations. All trading involves risk, and past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
The concepts presented here (liquidity sweeps, OTE zones, session analysis) are widely discussed trading theories. This indicator is an interpretation and visualization of these concepts, not a guarantee of their effectiveness.
---
## SETTINGS SUMMARY
**Master Controls:** Enable/disable each major feature independently
**Repainting Controls:** Adjust confirmation requirements for signals
**Trading Sessions:** Customize session times, colors, and display options
**External Liquidity:** Configure detection sensitivity and visual styling
**Internal Liquidity:** Adjust lookback periods and threshold sensitivity
**OTE Zones:** Select which Fibonacci levels to display and entry requirements
**Alerts:** Configure notifications for sessions, sweeps, and entries
---
## SUPPORT & FEEDBACK
If you find this indicator helpful, please leave a like and comment with your feedback. For questions about specific settings or concepts, refer to the tooltips in the indicator settings panel - each parameter includes a detailed explanation.
Remember: The best indicator is the one you understand and can apply consistently within your trading plan. Take time to practice with this tool on demo accounts before risking real capital.
dO / wO / mO + MA 50/200 + PrevDay H/L Description
This indicator plots key reference levels used by professional traders:
Daily Open (dO)
Weekly Open (wO)
Monthly Open (mO)
Previous Day High (pdH) and Previous Day Low (pdL)
Moving Averages: 50 & 200 SMA
Each level is drawn as a clean dotted white line with a fixed label directly on the price chart.
All levels can be individually toggled on or off via checkboxes in the settings panel.
The pdH/pdL lines start exactly from the candles that created them, providing clear structure for breakout, retracement, and liquidity analysis.
The 50/200 SMA are included for long-term trend context.
This tool is designed for traders who rely on multi-timeframe structure and precision levels for both intraday and swing strategies.
Features
Toggle visibility for dO, wO, mO, pdH, and pdL
Accurate placement of previous day levels
Lightweight and responsive
Clean minimal visual design
Supports any symbol and timeframe
Usage Notes
Perfect for confluence-based trading:
Combine pdH/pdL with session opens to identify key liquidity zones
Use SMA 50/200 for directional bias
Works on crypto, forex, indices, and equities
Breakout Boxes [ChartPrime]⯁ OVERVIEW
The Breakout Boxes indicator identifies key structural levels by detecting and aligning two consecutive pivots — forming confirmation zones where potential breakouts are most likely to occur. Once two pivots align within a defined ATR range, the indicator constructs a Breakout Box around that area, tracking volume distribution and breakout strength. When price breaks above or below these boxes, breakout labels (⯁ BreakUp / BreakDn) are displayed to confirm trend continuation.
⯁ KEY FEATURES
Pivot-Based Detection: Uses a customizable pivot length to identify market swing highs and lows.
Two-Pivot Alignment Logic: A breakout box is only created when two pivot highs or lows form near the same level, confirming structural alignment and increasing breakout reliability.
Dynamic Box Generation: Builds upper and lower boxes once pivot alignment is confirmed, adapting automatically to new structures.
Volume Distribution Analysis: Each box measures total traded volume and separates it into bullish and bearish components, showing buy/sell percentages inside the range.
The volume data is calculated in real time as long as the box remains active and unbroken, allowing traders to monitor live accumulation or distribution before a breakout occurs.
Breakout Confirmation Signals: Labels appear when price decisively breaks above the upper box (⯁ BreakUp) or below the lower one (⯁ BreakDn).
Adaptive ATR Scaling: Box size dynamically adjusts to volatility, maintaining consistent proportions across assets and timeframes.
Color-Coded Visualization: Upper (bearish) boxes use pink tones; lower (bullish) boxes use green, both with transparent fill for volume clarity.
Automatic Box Resetting: Previous boxes close when a new pivot pair forms, ensuring only the most relevant structure is active.
⯁ USAGE
Watch for Two Pivot Alignments — the indicator only activates when structural confluence exists, reducing false breakout signals.
Upper Boxes represent resistance formed by two aligned swing highs; a breakout above indicates potential bullish continuation.
Lower Boxes represent support formed by two aligned swing lows; a breakdown below indicates bearish continuation.
Analyze the Volume Ratio inside each box — higher buy volume in upper boxes supports bullish breakouts, while higher sell volume in lower boxes supports bearish moves.
Use this tool alongside trend indicators or higher timeframe context to confirm the direction of breakouts.
⯁ CONCLUSION
The Breakout Boxes indicator refines breakout analysis by requiring two aligned pivots to validate structural zones. By combining pivot confluence with volume distribution and adaptive ATR scaling, it provides a precise, data-backed visualization of breakout strength and direction — a powerful tool for structure-based trading confirmation.
ScalpMaster – Breaker BlocksIdeal for scalpers📈and intraday traders who rely on breaker-block reactions and market-structure shifts to refine entries and exits.
Add it to your chart, enable alerts for Signal UP and Signal DN, and combine with your own bias or higher-timeframe analysis.
✅ Automatic breaker-block detection (+BB / –BB)
✅ Real-time signal UP / signal DN
✅ Market-structure swing and PD Array visualization
✅ Optional take-profit targets (R:R zones)
✅ Alert conditions for every signal event
✅ Works on any timeframe & asset
Dynamic S/R Zones (Verified Pivots)Dynamic S/R Zones V1.2
Overview
Dynamic S/R Zones V1.2 is a Pine v6 structure visualizer that highlights nearby Support/Resistance zones from confirmed swing pivots on the current chart and an optional higher timeframe (HTF). It can also plot simple Fibonacci guide levels (33% / 50% / 66%) between the most recent swing points. All HTF requests use lookahead_off to avoid forward-looking data, and S/R anchors are derived from verified pivots to minimize repainting. Optional “touch-verified” coloring flips a level’s display once price trades through it.
This tool is an illustrative S/R map for chart review and education.
How it works
Verified Pivots (Non-Repainting):
• Minor S/R uses ta.pivothigh/ta.pivotlow with a symmetric lookback (“Pivot Strength”).
• Lines anchor only on confirmed pivots, so once drawn they remain stable.
• A de-dup buffer filters out levels that are too close together.
HTF Major Zones:
• HTF OHLC is requested via request.security(..., lookahead=barmerge.lookahead_off).
• The same pivot logic runs on the HTF series; lines appear after the HTF bar closes.
• Major lines can be shown alongside (or instead of) minor lines.
Touch-Verified Coloring (optional):
• When a level is touched (high ≥ level ≥ low), it flips from neutral to a side color:
– Support (price above) ≈ green; Resistance (price below) ≈ red.
• The verification state is persistent for that line.
Fibonacci Guides (optional):
• Draws 33% / 50% / 66% between the last opposing swing high/low.
• Verification/coloring modes:
Pivot-Based: uses the most recent swing direction.
HTF Trend-Based: uses a fast/slow EMA comparison on a user-selected HTF.
Bounce/Reject Mode: color on touch regardless of trend interpretation.
• One arrow per bar (optional) indicates a newly verified fib touch.
What it displays
• Minor S/R lines from current-TF verified pivots (non-repainting anchors).
• Major S/R lines from HTF pivots (confirmed on HTF close).
• Optional labels that state level type, price, HTF tag, and Verified/Unverified status.
• Optional Fibonacci guide lines with labels, plus single-arrow confirmations.
• Coloring that reflects touch verification and current side (support/resistance).
Why it’s original
• Focuses on confirmed structure (minor + HTF) with de-duplication for clarity.
• Offers hybrid fib verification (pivot-based, HTF-trend-based, or bounce/reject) to let users study structure from multiple perspectives without asserting signals.
• Maintains persistent verification per level and avoids lookahead on HTF for stable, review-friendly visuals.
• Provides a compact workflow for scanning: minor structure, HTF context, then fib context.
Configuration & usage notes
• Pivot Strength: Higher values = stricter confirmation (fewer lines, more stable).
• Lookback Range: Prunes older lines; increase for broader context.
• HTF for Major S/R: Daily/4H/Weekly etc.; lines confirm on that timeframe’s close.
• Min Distance Between Levels: Helps reduce clutter from nearby duplicates.
• Touch-Verified Coloring: Enable for quick support/resistance side cues.
• Fibs: Choose coloring mode (Pivot-Based, HTF Trend-Based, or Bounce/Reject).
• HTF Trend TF / EMAs: Only affect coloring when using HTF trend mode for fibs.
• Performance: Labels and line counts can be tuned down on very long histories.
Limitations & assumptions
• Pivot detection depends on chart timeframe, liquidity, and chosen pivot length.
• HTF lines update after the HTF bar closes (by design, to avoid lookahead).
• Optional Realtime pivots for fibs (if enabled) are provisional and can shift until a swing verifies.
• Coloring and arrows are descriptive—they do not imply entries, exits, or probabilities.
Legal Disclaimer
These tools visualize calculations on historical data for charting and educational use only. They are not signals, recommendations, or promises of future results. Markets involve risk, and past results do not guarantee future outcomes. Provided “as is,” without warranties. Consider consulting a qualified professional before making decisions.
R Dominant Range [CRT] by Sergi SernaR Dominant Range identifies the most influential R range located to the left of the current price action. It highlights the dominant zone that still impacts market behavior, helping traders understand which range is controlling the current structure.
xontrades1uae Iiquidity Money | by Bu-Rashid
This indicator detects potential institutional exit points and reversal zones using a powerful confluence model combining:
Volume spike analysis (institutional activity)
CVD trend flips (smart money flow reversal)
Price–CVD divergence (hidden accumulation/distribution)
Liquidity sweep detection (stop-run exhaustion)
When these elements align, the indicator highlights possible Exit Flow zones, signaling where smart capital may be closing or reversing positions.
It’s optimized for XAU/USD (Gold) and NAS100 (Nasdaq) on 5-minute and 15-minute charts, with customizable strictness for traders who prefer early or confirmed signals.
Recommended use:
Apply as a confirmation layer alongside your main strategy to identify exhaustion points and institutional exits before trend reversals.
— Developed and engineered by Bu-Rashid (XonTrades1UAE)
LucciThis indicator identifies trade setups based on session liquidity levels and price structure analysis during New York trading sessions.
Unlike basic support/resistance indicators, this system tracks untested session extremes and monitors their interaction with price. It combines break-and-retest mechanics with bounce detection at key liquidity zones, providing multiple entry methodologies within a single framework.
METHODOLOGY:
The system maps high/low points from each trading session (Asia: 6PM-3AM, London: 3AM-8AM, NY: 8AM-5PM EST) and monitors price behavior around these levels. It identifies two primary setup types: momentum continuation after level breaks and reversal bounces at untested extremes. Visual differentiation shows which levels remain untested (darker) versus swept levels (lighter).
SETUP IDENTIFICATION:
Break & Retest Signals:
- Detects breaks of NY Open range (15-minute candle at 8:00 AM EST)
- Waits minimum bars after break before validating retest
- Triggers when price returns to level within tolerance zone
Bounce Signals:
- Identifies approaches to untested session highs/lows
- Optional wick confirmation for reversal validation
- Signals when price rejects from liquidity zone
CONFIGURATION OPTIONS:
Entry Parameters:
- Min Bars After Break: 1-10 (delay before retest valid)
- Retest Tolerance: 0.1-10 points (precision of level test)
- Bounce Zone: 0.5-5 points (distance from level)
- Wick Confirmation: On/off reversal filter
Risk Management:
- Risk Reward Options: 1:3, 1:5, or Custom (1:1 to 1:10)
- Stop Loss: Configurable in points
- Max Daily Signals: 1-5 trade limiter
- Trading Hours: Customizable active window
Visual Elements:
- Session Levels: Orange (Asian), Yellow (London), Blue (NY)
- Signal Markers: Triangles (B&R), Diamonds (Bounce)
- TP/SL Lines: Automatic calculation and display
- Info Table: Shows bias, untested levels, daily signals
OPTIMAL USAGE:
Trading Windows:
- 9:30-11:00 AM EST: Primary trading window
- First touch of untested levels: Highest probability
- 15-minute timeframe: Recommended for futures
- Volume filter: Optional quality enhancement
Signal Prioritization:
- Untested levels provide stronger reactions
- Multiple confirmations increase probability
- Respect market structure and session context
- Combine with volume for filtering
TECHNICAL SPECIFICATIONS:
- Multi-timeframe: Uses 15-minute data for NY Open
- Session-based: Resets levels at session transitions
- Alert system: Detailed messages with levels
- Position tracking: Manages active trades visually
IMPORTANT NOTES:
This tool maps liquidity zones based on session extremes and price structure. No trading system guarantees profits. Combine with market context and proper risk management. Designed for active intraday trading on liquid instruments.
The indicator provides objective level identification while requiring trader discretion for optimal results.
RSI Multi-Timeframe S/R - MehtaMulti-Timeframe Dynamic Support & Resistance Indicator
This tool automatically detects key support and resistance levels across multiple timeframes — including 1-Day, 15-Minute, and 5-Minute charts — using a refined momentum-based algorithm with trend and volume confirmation.
It’s designed to help traders quickly identify confluence zones where intraday and higher-timeframe structures align, improving timing and risk management.
Key Features
Detects dynamic support and resistance zones with a built-in strength filter.
Uses multi-timeframe confirmation to reduce false levels.
Integrates volume-based reliability checks.
Automatically updates only the latest active levels to keep charts clean.
Includes a touch counter panel that tracks how often price interacts with each level (a proxy for zone strength).
Color & Structure Guide
🟩 Support Zones: Indicate potential accumulation areas.
🔴 Resistance Zones: Indicate potential supply or reaction areas.
Solid lines = Higher timeframe (stronger zones)
Dotted lines = Lower timeframe (shorter-term zones)
Best Use
Combine with your price-action or volume analysis to confirm reactions.
Particularly useful in spotting multi-timeframe overlaps — where the strongest reactions tend to occur.
Touch Counter: A handy table on the chart tracks how many times the price has tested each level, helping you gauge its strength.
Combine with Your Strategy: This indicator works best when combined with your existing price action analysis, candlestick patterns, or other confirmation indicators.
STRONG DISCLAIMER & RISK WARNING
PLEASE READ THIS CAREFULLY BEFORE USING THE INDICATOR.
No Financial Advice: This indicator is a technical analysis tool for educational and informational purposes only. It is NOT financial, investment, or trading advice. The creator of this script is not a registered financial advisor.
Not a Guarantee: Past performance is not indicative of future results. The signals and levels generated by this indicator are based on historical data and mathematical formulas and are not a guarantee of future price movement. There is a high risk of loss in trading.
Use at Your Own Risk: You are solely responsible for any trading decisions you make and the resulting profits or losses. Always conduct your own due diligence and consult with a qualified financial professional before engaging in any trade.
Backtest First: It is highly recommended to backtest this indicator and understand its behavior in different market conditions (trending, ranging, volatile) before using it with real capital.
Lagging Nature: Like most technical indicators, this tool is lagging. It reflects past and current market data, which may not accurately predict future price action.
By using this indicator, you acknowledge that you understand and accept these risks entirely.
Feel free to leave feedback, report bugs, or suggest improvements in the comments below!
Happy Trading!
Malama's Heat MapOverview
Malama's Heat Map is an overlay indicator that visualizes historical liquidity as a dynamic heatmap aligned with the price chart, using volume as a proxy to map activity across time (X-axis) and price levels (Y-axis). It constructs a grid of up to 5000 cells via a matrix, distributing bar volume into discrete price bins to highlight concentration zones, creating a color-graded visualization from cool (low activity) to hot (high liquidity). This aids in identifying "Type II" fair value areas, support/resistance from past volume clusters, or potential imbalances without order book access. Built for v6 compatibility with efficiency in mind—computations run solely on the last bar, includes object limit enforcement, and offers two intra-bar volume distribution methods for flexible approximation.
Core Mechanics
The indicator generates a trailing heatmap through binning, accumulation, and box-based rendering:
Grid Setup: Configurable lookback (bars back, default 100) sets horizontal time span; bins (price divisions, default 50) define vertical resolution, limited to 5000 total cells to prevent errors. Bin height dynamically = max(mintick, (lookback high - low) / bins).
Y-Axis Stabilization: Anchors boundaries to the prior bar's high/low (if available) for a flicker-free view during live bar updates. All historical bar data (high/low/close/volume) is clipped to these bounds.
Volume Distribution Proxy:
Even: Divides bar volume equally across spanned bins (straightforward uniform spread).
POC Weighted (Inverse): Treats bar close as POC proxy; applies inverse distance weighting (1/(|bin - POC bin| + 1), normalized) to emphasize volume near the estimated control point, simulating clustered intra-bar trading.
Matrix Building: On last bar only, loops backward over lookback bars (newest right-aligned). For each, computes low/high bin indices, distributes volume per selected method into the matrix (columns=time, rows=price bins from low to high).
Scaling & Palette: Extracts max matrix value for relative normalization (0-1); maps to a 5-tier stepped color scheme (user-customizable: blue 90% transp. low → red 50% transp. high) for non-linear intensity.
Rendering: Clears old boxes, then iterates matrix to draw only non-zero cells as thin boxes: X spans one bar width (left=historical index from bar_index, right=next bar), Y fills bin height. Borderless for seamless heatmap effect.
The result is a right-leaning, chart-scrolling visualization emphasizing recent liquidity buildup.
Why This Adds Value & Originality
While session-based volume profiles exist, this heatmap captures ongoing multi-bar liquidity evolution ("Type II" style), revealing horizontal value areas or gaps dynamically. Originality shines in the custom inverse-weighting for POC realism (no ta.* dependencies), matrix-driven persistence for quick redraws, and stabilization to eliminate repaints—issues plaguing similar scripts. v6 adaptations (e.g., custom clamp, matrix recreation on input change) ensure broad compatibility without bloat. It condenses complex liquidity scanning into one tool: spot red "hot" bands as magnets, blue voids as FVGs. Unlike generic heatmaps, the proxy options and limit-aware design scale across timeframes/assets (e.g., forex vs. crypto), reducing the need for layered indicators.
How to Use
Setup: Apply as overlay. Defaults suit ~4-day 1H view; tune lookback/bins (e.g., 50x100 for intraday fine-detail, but watch 5000 cap—errors auto-flag excesses). Select "POC Weighted" for nuanced clustering, "Even" for simplicity. Customize palette (e.g., desaturate for dark themes).
Reading the Heatmap:
X-Axis (Time): Left=older (fainter context), right=recent focus; tracks evolving liquidity trails.
Y-Axis (Price): Bottom=range low, top=high; vertical density shows price-level attraction.
Colors: Faint blue (sparse volume, possible inefficiencies) → vivid red (dense activity, likely SR). Horizontal streaks = sustained value zones.
Trading Insights: Price wicking into red? Anticipate fills/reversals. Blue gaps post-break? Targets for retraces. Ideal on 5M–Daily; layer with candlesticks off for purity.
Example: In BTCUSD 4H, a yellow-red band at $60K from prior consolidation → treat as dynamic support for longs on dips.
Tips
Balance settings: High bins = sharper verticals but cap lookback (e.g., 80x60=4800 cells). Test on volatile pairs first.
"POC Weighted" excels in ranging markets; switch to "Even" for trending (avoids close-bias skew).
For deeper analysis, screenshot/export or pair with divergence tools; add manual alerts via box counts if extended.
Efficiency: Last-bar only keeps it snappy; refresh on input tweaks.
Limitations & Disclaimer
Visualization is historical/proxy-based—lagging by one bar, no forward projection or tick-level precision (close-as-POC is estimate). Clipping may trim outlier wicks; low-volume bars dilute globally. Stepped colors are relative (max scales per redraw), potentially compressing extremes. Exceeds 5000 cells? Runtime error halts—no fallback resize. Not real liquidity (volume ≠ depth); best as visual aid, not quantitative. Updates post-close only. Backtest zones on specific symbols—correlation ≠ causation. Not advice; trade responsibly. Ideas in comments!
Multi-timeframe Pivot PointThis indicator is a lightweight indicator designed to display higher timeframe pivot levels on your chart.
It helps traders quickly identify key support and resistance zones derived from higher timeframes (such as daily or weekly pivots) while analyzing lower timeframes (e.g., 15m or 1h charts).
Calculation Logic
This indicator uses the classic pivot point formula, calculated from high, low, and close values:
PP = (High + Low + Close) / 3
R1 = 2 * PP - Low
S1 = 2 * PP - High
R2 = PP + (High - Low)
S2 = PP - (High - Low)
R3 = R1 + (High - Low)
S3 = S1 - (High - Low)
Additionally, it includes breakout levels:
HBOP = PP + PP + (High - Low) - Low
LBOP = PP + PP - (High - Low) - High
Premium/Discount Zones with Confirmation Signals📌 Indicator Description: Premium/Discount Zones with Confirmed Signals
This indicator identifies dynamic Premium, Discount, and Equilibrium zones based on recent swing highs and lows, helping traders visualize where price is considered expensive, cheap, or fair value. It’s designed for Smart Money Concepts (SMC), ICT-style trading, and anyone who values precision in zone-based analysis.
🔍 Key Features
Swing-Based Zones: Automatically detects swing highs/lows over a customizable lookback period (default: 48 bars — equivalent to 2 days on a 1-hour chart).
Premium & Discount Levels: Define overbought and oversold zones using percentage inputs (default: 25%).
Equilibrium Band (middle): Highlights the no-trade value zone with adjustable width (default: 5%).
Signal Engine: Generates trade signals based on two styles:
Bounce: Reversal signals when price reacts to a zone and confirms direction.
Breakout: Continuation signals when price breaks through a zone with momentum.
Trade Type Selector: Choose between Bounce, Breakout, or Both from the input menu.
Signal Filtering: Limits signals to one per direction at a time to reduce noise.
Visual Styling: Toggle between colored or monochrome themes for clean charting.
🧠 How It Works
Buy signals appear when price confirms strength from the discount zone or breaks above the premium zone.
Sell signals appear when price confirms weakness from the premium zone or breaks below the discount zone.
All signals include a built-in 3-bar confirmation delay to reduce false triggers.
🎯 Ideal For
Traders using SMC, ICT, or price action strategies
Zone-based scalping, swing trading, or intraday setups
Visualizing market structure and value areas with clarity
I hope you find this useful — and wish you Happy Trades!
Smart SuperTrend v.1 [TradeMindsetAI]
✅ 🚀 Smart Super Trend v.1 🚀 is an advanced Pine Script indicator that combines real pivot points with ATR-based dynamic bands to create a highly responsive Super Trend system — but smarter, using a weighted Adaptive Pivot Center for adaptive trend detection.
✅ Key Features:
• Detects pivot highs/lows with customizable period
• Builds a dynamic Adaptive Pivot Center from confirmed pivots (weighted averaging)
• Calculates upper/lower bands using ATR × Factor for volatility adaptation
• Generates clean Buy/Sell signals on trend flips with optional labels
• Plots Support/Resistance from last pivot levels (optional)
• Optional Adaptive Pivot Center visualization for deeper trend insight
• Fully customizable: ATR period, factor, pivot sensitivity, visuals
✅ Ideal for scalpers, swing traders & algo developers across crypto, forex, stocks.
✅ Note: Works best after 50+ bars for pivot stabilization.
✅ Recommended Settings (Optimized & Tested):
`Pivot Point Period: 2` | `ATR Factor: 3.0` | `ATR Period: 10` → Best for 1H–4H (All Markets)
`Pivot Point Period: 3` | `ATR Factor: 3.0` | `ATR Period: 14` → Best for Daily & Long-Term Trends
`Pivot Point Period: 1` | `ATR Factor: 2.5` | `ATR Period: 10` → Best for 15M & Scalping
🎯 Built for traders who want SuperTrend + Pivot Intelligence = Unbreakable Edge.
⭐ Like & Follow for more elite tools!
#supertrend #pivot #atr #trendfollowing #crypto #forex #tradingview
✅ اندیکاتور 🚀 Smart SuperTrend v.1 🚀 با ترکیب پیوتهای واقعی و باندهای دینامیک ATR، یک سوپرترند هوشمند و تطبیقپذیر ارائه میدهد — اما با یک خط مرکزی تطبیقی پیوت
(Adaptive Pivot Center) برای تشخیص روند دقیقتر.
✅ ویژگیهای کلیدی:
• شناسایی پیوتهای کف و سقف با دوره قابل تنظیم
• ساخت خط مرکزی تطبیقی پیوت بر اساس پیوتهای تأییدشده (میانگین وزنی)
• محاسبه باندهای بالا / پایین با ATR × ضریب برای تطبیق با نوسانات
• تولید سیگنالهای خرید / فروش تمیز در لحظه تغییر روند + برچسب اختیاری
• نمایش سطوح حمایت / مقاومت از آخرین پیوتها (اختیاری)
• نمایش خط مرکزی تطبیقی پیوت برای تحلیل عمیقتر روند (اختیاری)
• کاملاً قابل تنظیم: دوره ATR، ضریب، حساسیت پیوت، ظاهر
✅ مناسب برای اسکالپرها، سوئینگ تریدرها و توسعهدهندگان الگو در کریپتو، فارکس، سهام.
✅ نکته: پس از ۵۰ کندل برای تثبیت پیوتها بهترین عملکرد را دارد.
✅ تنظیمات پیشنهادی بهینه (تستشده):
`Pivot Point Period: 2` | `ATR Factor: 3.0` | `ATR Period: 10` → مناسب برای 1 و 4 ساعته (تمام بازارها)
`Pivot Point Period: 3` | `ATR Factor: 3.0` | `ATR Period: 14` → مناسب رای روند روزانه و بلندمدت
`Pivot Point Period: 1` | `ATR Factor: 2.5` | `ATR Period: 10` → مناسب برای ۱۵ دقیقه و اسکالپینگ
🎯 برای معاملهگرانی که سوپرترند + پیوت هوشمند = برتری غیرقابل شکست میخواهند.
⭐ لایک و فالو کنید تا ابزارهای حرفهای بیشتری ببینید!
#سوپرترند #پیوت #ای_تی_آر #دنبال_روند #کریپتو #فارکس #تریدینگ_ویو
KVS-FF-AA-2-FibThis indicator combines an EMA (Exponential Moving Average) cloud with advanced Fibonacci levels. It displays EMA's from three different timeframes (Daily, Weekly, Monthly) to help you track primary trends across various periods. It also generates a dynamic cloud for a user-defined timeframe.
The integrated Fibonacci tool offers four different calculation modes: Static, Dynamic, ATH/ATL, and Price. Additionally, you can select from four Fibonacci level types: Standard, Percentage, FF-AA, and FF-AA-2. This tool automatically determines the trend direction and plots the Fibonacci levels on either a logarithmic or linear scale.
Advanced Psychological Levels with Dynamic Spacing═══════════════════════════════════════
ADVANCED PSYCHOLOGICAL LEVELS WITH DYNAMIC SPACING
═══════════════════════════════════════
A comprehensive psychological price level indicator that automatically identifies and displays round number levels across multiple timeframes. Features dynamic ATR-based spacing, smart crypto detection, distance tracking, and customizable alert system.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This indicator automatically draws psychological price levels (round numbers) that often act as support and resistance:
- Dynamic ATR-Based Spacing - Adapts level spacing to market volatility
- Multiple Level Types - Major (250 pip), Standard (100 pip), Mid, and Intraday levels
- Smart Asset Detection - Automatically adjusts for Forex, Crypto, Indices, and CFDs
- Crypto Price Adaptation - Intelligent level spacing based on cryptocurrency price magnitude
- Distance Information Table - Real-time percentage distance to nearest levels
- Combined Level Labels - Clear identification when multiple level types coincide
- Performance Optimized - Configurable visible range and label limits
- Comprehensive Alerts - Notifications when price crosses any level type
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
PSYCHOLOGICAL LEVELS CONCEPT:
Psychological levels are round numbers where traders tend to place orders, creating natural support and resistance zones. These include:
- Forex: 1.0000, 1.0100, 1.0050 (pips)
- Crypto: $100, $1,000, $10,000 (whole numbers)
- Indices: 10,000, 10,500, 11,000 (points)
Why They Matter:
- Traders naturally gravitate to round numbers
- Stop losses cluster at these levels
- Take profit orders concentrate here
- Institutional algorithmic trading often targets these levels
DYNAMIC ATR-BASED SPACING:
Traditional Method:
- Fixed spacing regardless of volatility
- May be too tight in volatile markets
- May be too wide in quiet markets
Dynamic Method (Recommended):
- Uses ATR (Average True Range) to measure volatility
- Automatically adjusts level spacing
- Tighter levels in low volatility
- Wider levels in high volatility
Calculation:
1. Calculate ATR over specified period (default: 14)
2. Multiply by ATR multiplier (default: 2.0)
3. Round to nearest psychological level
4. Generate levels at dynamic intervals
Benefits:
- Adapts to market conditions
- More relevant levels in all volatility regimes
- Reduces clutter in trending markets
- Provides more detail in ranging markets
LEVEL TYPES:
Major Levels (250 pip/point):
- Highest significance
- Primary support/resistance zones
- Color: Red (default)
- Style: Solid lines
- Spacing: 2.5x standard step
Standard Levels (100 pip/point):
- Secondary importance
- Common psychological barriers
- Color: Blue (default)
- Style: Dashed lines
- Spacing: Standard step
Mid Levels (50% between major):
- Optional intermediate levels
- Halfway between major levels
- Color: Gray (default)
- Style: Dotted lines
- Usage: Additional confluence points
Intraday Levels (sub-100 pip):
- For intraday traders
- Fine-grained precision
- Color: Yellow (default)
- Style: Dotted lines
- Only shown on intraday timeframes
SMART ASSET DETECTION:
Forex Pairs:
- Detects major currency pairs automatically
- Uses pip-based calculations
- Standard: 100 pips (0.0100)
- Major: 250 pips (0.0250)
- Intraday: 20, 50, 80 pip subdivisions
Cryptocurrencies:
- Automatic price magnitude detection
- Adaptive spacing based on price:
* Under $0.10: Levels at $0.01, $0.05
* $0.10-$1: Levels at $0.10, $0.50
* $1-$10: Levels at $1, $5
* $10-$100: Levels at $10, $50
* $100-$1,000: Levels at $100, $500
* $1,000-$10,000: Levels at $1,000, $5,000
* Over $10,000: Levels at $5,000, $10,000
Indices & CFDs:
- Fixed point-based system
- Major: 500 point intervals (with 250 sub-levels)
- Standard: 100 point intervals
- Suitable for stock indices like SPX, NASDAQ
COMBINED LEVEL LABELS:
When multiple level types coincide at the same price:
- Single line drawn (highest priority color)
- Combined label shows all types
- Priority: Major > Standard > Mid > Intraday
Example Label Formats:
- "1.1000 Major" - Major level only
- "1.1000 Std + Major" - Both standard and major
- "50000 Intra + Mid + Std" - Three levels coincide
Benefits:
- Cleaner chart appearance
- Clear identification of confluence
- Reduced visual clutter
- Easy to spot high-importance levels
DISTANCE INFORMATION TABLE:
Real-time tracking of nearest levels:
Table Contents:
- Nearest major level above (price and % distance)
- Nearest standard level above (price and % distance)
- Nearest standard level below (price and % distance)
Display:
- Top right corner (configurable)
- Color-coded by level type
- Real-time percentage calculations
- Helpful for position management
Usage:
- Identify proximity to key levels
- Set realistic profit targets
- Gauge potential move magnitude
- Monitor approaching resistance/support
ALERT SYSTEM:
Comprehensive crossing alerts:
Alert Types:
- Major Level Crosses
- Standard Level Crosses
- Intraday Level Crosses
Alert Modes:
- First Cross Only: Alert once when level is crossed
- All Crosses: Alert every time level is crossed
Alert Information:
- Level type crossed
- Specific price level
- Direction (above/below)
- One alert per bar to prevent spam
Configuration:
- Enable/disable by level type
- Choose alert frequency
- Customize for your trading style
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
INITIAL SETUP:
General Settings:
1. Enable "Use Dynamic ATR-Based Spacing" (recommended)
2. Set ATR Period (14 is standard)
3. Adjust ATR Multiplier (2.0 is balanced)
Visibility Settings:
1. Set Visible Range % (10% recommended for clarity)
2. Adjust Label Offset for readability
3. Configure performance limits if needed
Level Selection:
1. Enable/disable level types based on trading style
2. Adjust line counts for each type
3. Choose line styles and colors for visibility
TRADING STRATEGIES:
Breakout Trading:
1. Wait for price to approach major or standard level
2. Monitor for consolidation near level
3. Enter on confirmed break above/beyond level
4. Stop loss just beyond the broken level
5. Target: Next major or standard level
Rejection Trading:
1. Identify major psychological level
2. Wait for price to test the level
3. Look for rejection signals (wicks, bearish/bullish candles)
4. Enter in direction of rejection
5. Stop beyond the level
6. Target: Previous level or mid-level
Range Trading:
1. Identify range between two major levels
2. Buy at lower psychological level
3. Sell at upper psychological level
4. Use standard and mid-levels for position management
5. Exit if major level breaks with volume
Confluence Trading:
1. Look for combined levels (Std + Major)
2. These represent high-probability zones
3. Use as primary support/resistance
4. Increase position size at confluence
5. Expect stronger reactions at these levels
Session-Based Trading:
1. Note opening level at session start (Asian/London/NY)
2. Trade breakouts of major levels during high-volume sessions
3. London/NY sessions: More likely to break levels
4. Asian session: More likely to respect levels (range trading)
RISK MANAGEMENT WITH PSYCHOLOGICAL LEVELS:
Stop Loss Placement:
- Place stops just beyond psychological levels
- Add buffer (5-10 pips for forex)
- Avoid exact round numbers (stop hunting risk)
- Use previous major level as maximum stop
Take Profit Strategy:
- First target: Next standard level (partial profit)
- Second target: Next major level (remaining position)
- Trail stops to breakeven at first target
- Use distance table to calculate risk/reward
Position Sizing:
- Larger positions at major levels (higher probability)
- Smaller positions at intraday levels (lower probability)
- Scale in at standard levels between major levels
- Reduce size when multiple levels are close together
TIMEFRAME CONSIDERATIONS:
Higher Timeframes (4H, Daily, Weekly):
- Focus on Major and Standard levels only
- Disable Intraday and Mid levels
- Wider level spacing expected
- Use for swing trading and position trading
Lower Timeframes (5m, 15m, 1H):
- Enable all level types
- Use Intraday levels for precision
- Tighter level spacing acceptable
- Good for day trading and scalping
Multi-Timeframe Approach:
- Identify major levels on Daily/4H charts
- Refine entries using 15m/1H intraday levels
- Trade in direction of higher timeframe bias
- Use lower timeframe levels for position management
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
GENERAL SETTINGS:
Dynamic ATR-Based Spacing:
- Enabled: Recommended for most markets
- Disabled: Fixed psychological levels
- ATR Period: 14 (standard), 10 (responsive), 20 (smooth)
- ATR Multiplier: 1.0-5.0 (2.0 is balanced)
VISIBILITY SETTINGS:
Visible Range %:
- 5%: Very tight range, minimal clutter
- 10%: Balanced view (recommended)
- 20%: Wide range, more context
- 50%: Maximum range, all levels visible
Label Offset:
- 10-20 bars: Close to current price
- 30-50 bars: Moderate distance
- 50-100 bars: Far from price action
Performance Limits:
- Max Historical Bars: Reduce if indicator loads slowly
- Max Labels: Reduce for cleaner chart (20-30 recommended)
LEVEL CUSTOMIZATION:
Line Count:
- Lower (1-3): Cleaner chart, fewer levels
- Medium (4-6): Balanced view
- Higher (7-10): More context, busier chart
Line Styles:
- Solid: High importance, easy to see
- Dashed: Medium importance, clear but subtle
- Dotted: Low importance, minimal visual weight
Colors:
- Use contrasting colors for different level types
- Red/Blue/Yellow default works well
- Adjust based on chart background and personal preference
DISTANCE TABLE:
Position:
- Top Right: Doesn't interfere with price action
- Top Left: Good for right-side price scale
- Bottom positions: Less common but available
Colors:
- Default (white text, dark background) works for most charts
- Match your chart theme for consistency
- Ensure text is readable against background
ALERT CONFIGURATION:
Alert by Level Type:
- Major: Most important, fewer false signals
- Standard: Balance of frequency and importance
- Intraday: Many signals, best for active traders
Alert Frequency:
- First Cross Only: Cleaner, less noise (recommended for swing trading)
- All Crosses: Every touch, good for scalping
Alert Setup in TradingView:
1. Configure desired alert types in indicator settings
2. Right-click chart → Add Alert
3. Select this indicator
4. Choose "Any alert() function call"
5. Set delivery method (mobile, email, webhook)
───────────────────────────────────────
ASSET-SPECIFIC TIPS
───────────────────────────────────────
FOREX (EUR/USD, GBP/USD, etc.):
- Major levels at x.x000, x.x500
- Standard levels at x.xx00
- Intraday levels at 20/50/80 pips
- Most effective during London/NY sessions
- Watch for "figure" levels (1.0000, 1.1000)
CRYPTOCURRENCIES (BTC, ETH, etc.):
- Enable dynamic spacing for volatile markets
- Levels adjust automatically based on price
- Watch major $1,000 increments for BTC
- $100 levels important for ETH
- Smaller caps: Use standard levels
- High volatility: Increase ATR multiplier to 3.0
STOCK INDICES (SPX, NASDAQ, etc.):
- 100-point levels most important
- 500-point levels for major S/R
- 50-point mid-levels for refinement
- Watch end-of-day for level reactions
- Futures often lead spot on level breaks
GOLD/COMMODITIES:
- Major levels at $50 increments ($1,900, $1,950)
- Standard levels at $10 increments
- Very reactive to psychological levels
- Watch for false breaks during low volume
- Best reactions during active trading hours
───────────────────────────────────────
BEST PRACTICES
───────────────────────────────────────
Chart Setup:
- Use clean price action charts
- Avoid too many indicators
- Ensure psychological levels are clearly visible
- Match colors to your chart theme
Level Selection:
- Start with Major and Standard levels only
- Add Mid and Intraday as needed
- Less is more - avoid chart clutter
- Adjust based on timeframe
Combining with Other Tools:
- Volume profile for confluence
- Trendlines intersecting psychological levels
- Moving averages near round numbers
- Fibonacci levels coinciding with psychological levels
Common Mistakes to Avoid:
- Trading every level touch (be selective)
- Ignoring volume confirmation
- Setting stops exactly at levels (stop hunting)
- Forgetting to adjust for different assets
- Over-relying on levels without price action confirmation
Performance Optimization:
- Reduce visible range for faster loading
- Lower max historical bars on lower timeframes
- Limit labels to 30-50 for clarity
- Disable unused level types
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator identifies psychological price levels based on round numbers that tend to act as support and resistance. The methodology includes:
- Round number detection algorithms
- ATR-based dynamic spacing calculations
- Asset-specific level determination
- Distance percentage calculations
Psychological levels are a recognized concept in technical analysis, studied by traders and institutions. However, they do not guarantee price reactions and should be used as part of a comprehensive trading strategy including proper risk management, volume analysis, and price action confirmation.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Psychological levels can act as support or resistance but price reactions are not guaranteed. Dynamic spacing may generate different levels in different market conditions. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results.
───────────────────────────────────────
CREDITS & ATTRIBUTION
───────────────────────────────────────
Original Concept: Sonar Lab
Opening Range Breakout with Multi-Timeframe Liquidity]═══════════════════════════════════════
OPENING RANGE BREAKOUT WITH MULTI-TIMEFRAME LIQUIDITY
═══════════════════════════════════════
A professional Opening Range Breakout (ORB) indicator enhanced with multi-timeframe liquidity detection, trading session visualization, volume analysis, and trend confirmation tools. Designed for intraday trading with comprehensive alert system.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This indicator combines multiple trading concepts:
- Opening Range Breakout (ORB) - Customizable time period detection with automatic high/low identification
- Multi-Timeframe Liquidity - HTF (Higher Timeframe) and LTF (Lower Timeframe) key level detection
- Trading Sessions - Tokyo, London, New York, and Sydney session visualization
- Volume Analysis - Volume spike detection and strength measurement
- Multi-Timeframe Confirmation - Trend bias from higher timeframes
- EMA Integration - Trend filter and dynamic support/resistance
- Smart Alerts - Quality-filtered breakout notifications
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
OPENING RANGE BREAKOUT (ORB):
Concept:
The Opening Range is a period at the start of a trading session where price establishes an initial high and low. Breakouts beyond this range often indicate the direction of the day's trend.
Detection Method:
- Default: 15-minute opening range (configurable)
- Custom Range: Set specific session times with timezone support
- Automatically identifies ORH (Opening Range High) and ORL (Opening Range Low)
- Tracks ORB mid-point for reference
Range Establishment:
1. Session starts (or custom time begins)
2. Tracks highest high and lowest low during the period
3. Range confirmed at end of opening period
4. Levels extend throughout the session
Breakout Detection:
- Bullish Breakout: Close above ORH
- Bearish Breakout: Close below ORL
- Mid-point acts as bias indicator
Visual Display:
- Shaded box during range formation
- Horizontal lines for ORH, ORL, and mid-point
- Labels showing level values
- Color-coded fills based on selected method
Fill Color Methods:
1. Session Comparison:
- Green: Current OR mid > Previous OR mid
- Red: Current OR mid < Previous OR mid
- Gray: Equal or first session
- Shows day-over-day momentum
2. Breakout Direction (Recommended):
- Green: Price currently above ORH (bullish breakout)
- Red: Price currently below ORL (bearish breakout)
- Gray: Price inside range (no breakout)
- Real-time breakout status
MULTI-TIMEFRAME LIQUIDITY:
Two-Tier System for comprehensive level identification:
HTF (Higher Timeframe) Key Liquidity:
- Default: 4H timeframe (configurable to Daily, Weekly)
- Identifies major institutional levels
- Uses pivot detection with adjustable parameters
- Suitable for swing highs/lows where large orders rest
LTF (Lower Timeframe) Key Liquidity:
- Default: 1H timeframe (configurable)
- Provides precision entry/exit levels
- Finer granularity for intraday trading
- Captures minor swing points
Calculation Method:
- Pivot high/low detection algorithm
- Configurable left bars (lookback) and right bars (confirmation)
- Timeframe multiplier for accurate multi-timeframe detection
- Automatic level extension
Mitigation System:
- Tracks when levels are swept (broken)
- Configurable mitigation type: Wick or Close-based
- Option to remove or show mitigated levels
- Display limit prevents chart clutter
Asset-Specific Optimization:
The indicator includes quick reference settings for different assets:
- Major Forex (EUR/USD, GBP/USD): Default settings optimal
- Crypto (BTC/ETH): Left=12, Right=4, Display=7
- Gold: HTF=1D, Left=20
TRADING SESSIONS:
Four Major Sessions with Full Customization:
Tokyo Session:
- Default: 04:00-13:00 UTC+4
- Asian trading hours
- Often sets daily range
London Session:
- Default: 11:00-20:00 UTC+4
- Highest liquidity period
- Major institutional activity
New York Session:
- Default: 16:00-01:00 UTC+4
- US market hours
- High-impact news events
Sydney Session:
- Default: 01:00-10:00 UTC+4
- Earliest Asian activity
- Lower volatility
Session Features:
- Shaded background boxes
- Session name labels
- Optional open/close lines
- Session high/low tracking with colored lines
- Each session has independent color settings
- Fully customizable times and timezones
VOLUME ANALYSIS:
Volume-Based Trade Confirmation:
Volume MA:
- Configurable period (default: 20)
- Establishes average volume baseline
- Used for spike detection
Volume Spike Detection:
- Identifies when volume exceeds MA * multiplier
- Default: 1.5x average volume
- Confirms breakout strength
Volume Strength Measurement:
- Calculates current volume as percentage of average
- Shows relative volume intensity
- Used in alert quality filtering
High Volume Bars:
- Identifies bars above 50th percentile
- Additional confirmation layer
- Indicates institutional participation
MULTI-TIMEFRAME CONFIRMATION:
Trend Bias from Higher Timeframes:
HTF 1 (Trend):
- Default: 1H timeframe
- Uses EMA to determine intermediate trend
- Compares current timeframe EMA to HTF EMA
HTF 2 (Bias):
- Default: 4H timeframe
- Uses 50 EMA for longer-term bias
- Confirms overall market direction
Bias Classifications:
- Bullish Bias: HTF close > HTF 50 EMA AND Current EMA > HTF1 EMA
- Bearish Bias: HTF close < HTF 50 EMA AND Current EMA < HTF1 EMA
- Neutral Bias: Mixed signals between timeframes
EMA Stack Analysis:
- Compares EMA alignment across timeframes
- +1: Bullish stack (lower TF EMA > higher TF EMA)
- -1: Bearish stack (lower TF EMA < higher TF EMA)
- 0: Neutral/crossed
Usage:
- Filters false breakouts
- Confirms trend direction
- Improves trade quality
EMA INTEGRATION:
Dynamic EMA for Trend Reference:
Features:
- Configurable period (default: 20)
- Customizable color and width
- Acts as dynamic support/resistance
- Trend filter for ORB trades
Application:
- Above EMA: Favor long breakouts
- Below EMA: Favor short breakouts
- EMA cross: Potential trend change
- Distance from EMA: Momentum gauge
SMART ALERT SYSTEM:
Quality-Filtered Breakout Notifications:
Alert Types:
1. Standard ORB Breakout
2. High Quality ORB Breakout
Quality Criteria:
- Volume Confirmation: Volume > 1.2x average
- MTF Confirmation: Bias aligned with breakout direction
Standard Alert:
- Basic breakout detection
- Price crosses ORH or ORL
- Icon: 🚀 (bullish) or 🔻 (bearish)
High Quality Alert:
- Both volume AND MTF confirmed
- Stronger probability setup
- Icon: 🚀⭐ (bullish) or 🔻⭐ (bearish)
Alert Information Includes:
- Alert quality rating
- Breakout level and current price
- Volume strength percentage (if enabled)
- MTF bias status (if enabled)
- Recommended action
One Alert Per Bar:
- Prevents alert spam
- Uses flag system to track sent alerts
- Resets on new ORB session
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
OPENING RANGE SETUP:
Basic Configuration:
1. Select time period for opening range (default: 15 minutes)
2. Choose fill color method (Breakout Direction recommended)
3. Enable historical data display if needed
Custom Range (Advanced):
1. Enable Custom Range toggle
2. Set specific session time (e.g., 0930-0945)
3. Select appropriate timezone
4. Useful for specific market opens (NYSE, LSE, etc.)
LIQUIDITY LEVELS SETUP:
Quick Configuration by Asset:
- Forex: Use default settings (Left=15, Right=5)
- Crypto: Set Left=12, Right=4, Display=7
- Gold: Set HTF=1D, Left=20
HTF Liquidity:
- Purpose: Major support/resistance levels
- Recommended: 4H for day trading, 1D for swing trading
- Use as profit targets or reversal zones
LTF Liquidity:
- Purpose: Entry/exit refinement
- Recommended: 1H for day trading, 4H for swing trading
- Use for position management
Mitigation Settings:
- Wick-based: More sensitive (default)
- Close-based: More conservative
- Remove or Show mitigated levels based on preference
TRADING SESSIONS SETUP:
Enable/Disable Sessions:
- Master toggle for all sessions
- Individual session controls
- Show/hide session names
Session High/Low Lines:
- Enable to see session extremes
- Each session has custom colors
- Useful for range trading
Customization:
- Adjust session times for your broker
- Set timezone to match your location
- Customize colors for visibility
VOLUME ANALYSIS SETUP:
Enable Volume Analysis:
1. Toggle on Volume Analysis
2. Set MA length (20 recommended)
3. Adjust spike multiplier (1.5 typical)
Usage:
- Confirm breakouts with volume
- Identify climactic moves
- Filter false signals
MULTI-TIMEFRAME SETUP:
HTF Selection:
- HTF 1 (Trend): 1H for day trading, 4H for swing
- HTF 2 (Bias): 4H for day trading, 1D for swing
Interpretation:
- Trade only with bias alignment
- Neutral bias: Be cautious
- Bias changes: Potential reversals
EMA SETUP:
Configuration:
- Period: 20 for responsive, 50 for smoother
- Color: Choose contrasting color
- Width: 1-2 for visibility
Usage:
- Filter trades: Long above, Short below
- Dynamic support/resistance reference
- Trend confirmation
ALERT SETUP:
TradingView Alert Creation:
1. Enable alerts in indicator settings
2. Enable ORB Breakout Alerts
3. Right-click chart → Add Alert
4. Select this indicator
5. Choose "Any alert() function call"
6. Configure delivery method (mobile, email, webhook)
Alert Filtering:
- All alerts include quality rating
- High Quality alerts = Volume + MTF confirmed
- Standard alerts = Basic breakout only
───────────────────────────────────────
TRADING STRATEGIES
───────────────────────────────────────
CLASSIC ORB STRATEGY:
Setup:
1. Wait for opening range to complete
2. Price breaks and closes above ORH or below ORL
3. Volume > average (if enabled)
4. MTF bias aligned (if enabled)
Entry:
- Bullish: Buy on break above ORH
- Bearish: Sell on break below ORL
- Consider retest entries for better risk/reward
Stop Loss:
- Bullish: Below ORL or range mid-point
- Bearish: Above ORH or range mid-point
- Adjust based on volatility
Targets:
- Initial: Range width extension (ORH + range width)
- Secondary: HTF liquidity levels
- Final: Session high/low or major support/resistance
ORB + LIQUIDITY CONFLUENCE:
Enhanced Setup:
1. Opening range established
2. HTF liquidity level near or beyond ORH/ORL
3. Breakout occurs with volume
4. Price targets the liquidity level
Entry:
- Enter on ORB breakout
- Target the HTF liquidity level
- Use LTF liquidity for position management
Management:
- Partial profits at ORB + range width
- Move stop to breakeven at LTF liquidity
- Final exit at HTF liquidity sweep
ORB REJECTION STRATEGY (Counter-Trend):
Setup:
1. Price breaks above ORH or below ORL
2. Weak volume (below average)
3. MTF bias opposite to breakout
4. Price closes back inside range
Entry:
- Failed bullish break: Short below ORH
- Failed bearish break: Long above ORL
Stop Loss:
- Beyond the failed breakout level
- Or beyond session extreme
Target:
- Opposite end of opening range
- Range mid-point for partial profit
SESSION-BASED ORB TRADING:
Tokyo Session:
- Typically narrower ranges
- Good for range trading
- Wait for London open breakout
London Session:
- Highest volume and volatility
- Strong ORB setups
- Major liquidity sweeps common
New York Session:
- Strong trending moves
- News-driven volatility
- Good for momentum trades
Sydney Session:
- Quieter conditions
- Suitable for range strategies
- Sets up Tokyo session
EMA-FILTERED ORB:
Rules:
- Only take bullish breaks if price > EMA
- Only take bearish breaks if price < EMA
- Ignore counter-trend breaks
Benefits:
- Reduces false signals
- Aligns with larger trend
- Improves win rate
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
OPENING RANGE SETTINGS:
Time Period:
- 15 min: Standard for most markets
- 30 min: Wider range, fewer breakouts
- 60 min: For slower markets or swing trades
Custom Range:
- Use for specific market opens
- NYSE: 0930-1000 EST
- LSE: 0800-0830 GMT
- Set timezone to match exchange
Historical Display:
- Enable: See all previous session data
- Disable: Cleaner chart, current session only
LIQUIDITY SETTINGS:
Left Bars (5-30):
- Lower: More frequent, sensitive levels
- Higher: Fewer, more significant levels
- Recommended: 15 for most markets
Right Bars (1-25):
- Confirmation period
- Higher: More reliable, less frequent
- Recommended: 5 for balance
Display Limit (1-20):
- Number of active levels shown
- Higher: More context, busier chart
- Recommended: 7 for clarity
Extension Options:
- Short: Levels visible near formation
- Current: Extended to current bar (recommended)
- Max: Extended indefinitely
VOLUME SETTINGS:
MA Length (5-50):
- Shorter: More responsive to spikes
- Longer: Smoother baseline
- Recommended: 20 for balance
Spike Multiplier (1.0-3.0):
- Lower: More sensitive spike detection
- Higher: Only extreme spikes
- Recommended: 1.5 for day trading
MULTI-TIMEFRAME SETTINGS:
HTF 1 (Trend):
- 5m chart: Use 15m or 1H
- 15m chart: Use 1H or 4H
- 1H chart: Use 4H or 1D
HTF 2 (Bias):
- One level higher than HTF 1
- Provides longer-term context
- Don't use same as HTF 1
EMA SETTINGS:
Length:
- 20: Responsive, more signals
- 50: Smoother, stronger filter
- 200: Long-term trend only
Style:
- Choose contrasting color
- Width 1-2 for visibility
- Match your trading style
───────────────────────────────────────
BEST PRACTICES
───────────────────────────────────────
Chart Timeframe Selection:
- ORB Trading: Use 5m or 15m charts
- Session Review: Use 1H or 4H charts
- Swing Trading: Use 1H or 4H charts
Quality Over Quantity:
- Wait for high-quality alerts (volume + MTF)
- Avoid trading every breakout
- Focus on confluence setups
Risk Management:
- Position size based on range width
- Wider ranges = smaller positions
- Use stop losses always
- Take partial profits at targets
Market Conditions:
- Best results in trending markets
- Reduce position size in choppy conditions
- Consider session overlaps for volatility
- Avoid trading near major news if inexperienced
Continuous Improvement:
- Track win rate by session
- Note which confluence factors work best
- Adjust settings based on market volatility
- Review performance weekly
───────────────────────────────────────
PERFORMANCE OPTIMIZATION
───────────────────────────────────────
This indicator is optimized with:
- max_bars_back declarations for efficient processing
- Conditional calculations based on enabled features
- Proper memory management for drawing objects
- Minimal recalculation on each bar
Best Practices:
- Disable unused features (sessions, MTF, volume)
- Limit historical display to reduce rendering
- Use appropriate timeframe for your strategy
- Clear old drawing objects periodically
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator combines established trading concepts:
- Opening Range Breakout theory (price action)
- Liquidity level detection (pivot analysis)
- Session-based trading (time-of-day patterns)
- Volume analysis (confirmation technique)
- Multi-timeframe analysis (trend alignment)
All calculations use standard technical analysis methods:
- Pivot high/low detection algorithms
- Moving averages for trend and volume
- Session time filtering
- Timeframe security functions
The indicator identifies potential trading setups but does not predict future price movements. Success requires proper application within a complete trading strategy including risk management, position sizing, and market context.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Opening Range Breakout trading involves substantial risk. The alert system and quality filters are designed to identify potential setups but do not guarantee profitability. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results. Trading intraday breakouts requires experience and discipline.
───────────────────────────────────────
CREDITS & ATTRIBUTION
───────────────────────────────────────
ORIGINAL SOURCE:
This indicator builds upon concepts from LuxAlgo's-ORB
Advanced Smart Trading Suite with OTE═══════════════════════════════════════
ADVANCED SMART TRADING SUITE WITH OPTIMAL TRADE ENTRY
═══════════════════════════════════════
A comprehensive institutional trading system combining multiple advanced concepts including multi-timeframe liquidity analysis, order blocks, fair value gaps, and optimal trade entry zones. Features optional anti-repainting controls for confirmed signal generation.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This all-in-one trading suite provides:
- Multi-Timeframe Liquidity Detection - HTF (Higher Timeframe), LTF (Lower Timeframe), and current timeframe liquidity sweep identification
- Order Blocks - Institutional accumulation/distribution zones with enhanced detection
- Fair Value Gaps (FVG) - Price imbalance detection
- Inverse Fair Value Gaps (iFVG) - Counter-trend imbalance zones
- Optimal Trade Entry (OTE) Zones - Fibonacci retracement-based entry zones (0.618-0.786)
- Trading Sessions - Asian, London, and New York session visualization
- Anti-Repainting Controls - Optional confirmed signals with adjustable confirmation bars
- Comprehensive Alert System - Notifications for all major events
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
ANTI-REPAINTING SYSTEM:
This indicator includes optional anti-repainting controls that fundamentally change how signals are generated:
Confirmed Mode (Recommended):
- Signals wait for confirmation bars before appearing
- No repainting - what you see is final
- Adjustable confirmation period (1-5 bars)
- Slight lag in signal generation
- Better for backtesting and systematic trading
Live Mode:
- Signals appear immediately as patterns develop
- May repaint as new bars form
- Faster signal generation
- Better for discretionary real-time trading
The confirmation system affects all features: liquidity sweeps, order blocks, FVGs, and OTE zones.
LIQUIDITY SWEEP DETECTION:
Three-Tier System:
1. Current Timeframe Liquidity:
- Detects swing highs/lows on chart timeframe
- Configurable lookback and confirmation periods
- Session-tagged for context (Asian/London/NY)
2. HTF (Higher Timeframe) Key Liquidity:
- Default: 4H timeframe (configurable to Daily/Weekly)
- Strength-based filtering using ATR multipliers
- Distance-based clustering prevention
- Only strongest levels displayed (top 1-10)
- Labels show timeframe and strength rating
3. LTF (Lower Timeframe) Key Liquidity:
- Default: 1H timeframe (configurable)
- Precision entry/exit levels
- Strength-based ranking
- Distance filtering to avoid clutter
Sweep Detection Methods:
- Wick Break: Any wick beyond the level
- Close Break: Close price beyond the level
- Full Retrace: Break and close back inside (stop hunt detection)
Buffer System:
- Configurable ATR-based buffer for sweep confirmation
- Prevents false positives from minor price fluctuations
ORDER BLOCKS (Enhanced):
Detection Methodology:
- Identifies the last opposing candle before significant structure break
- Bullish OB: Last red candle before bullish break
- Bearish OB: Last green candle before bearish break
Enhanced Filters:
1. Size Filter:
- Minimum order block size (ATR-based)
- Ensures significant zones only
2. Volume Filter:
- Requires above-average volume (configurable multiplier)
- Confirms institutional participation
3. Imbalance Filter:
- Requires strong directional move after OB formation
- Validates true institutional activity
Violation Detection:
- Wick-based: Any wick through the zone
- Close-based: Close price through the zone
- Automatic removal of broken order blocks
FAIR VALUE GAPS (FVG):
Bullish FVG: Gap between candle 3 low and candle 1 high (three-bar pattern)
Bearish FVG: Gap between candle 3 high and candle 1 low
Requirements:
- Minimum gap size (ATR-based)
- Clear price imbalance
- No overlap between the three candles
Fill Detection:
- Configurable fill threshold (default 50%)
- Tracks partial and complete fills
- Removes filled gaps to keep chart clean
INVERSE FAIR VALUE GAPS (iFVG):
What are iFVGs:
- Counter-trend FVGs that form after original FVG is filled
- Indicate potential reversal or continuation failure
- Form within specific timeframe after original FVG
Detection Rules:
- Must occur after a FVG is filled
- Must form within 20 bars of original FVG
- Minimum size requirement (ATR-based)
- Opposite direction to original FVG
Visual Distinction:
- Dashed border boxes
- Different color scheme from regular FVGs
- Combined labels when FVG and iFVG overlap
OPTIMAL TRADE ENTRY (OTE) ZONES:
Based on Fibonacci retracement principles used by institutional traders:
Concept:
After a structure break (swing high/low violation), price often retraces to specific Fibonacci levels before continuing. The OTE zone (0.618 to 0.786) represents the optimal entry area.
Bullish OTE Formation:
1. Swing low is formed
2. Structure breaks above previous swing high (bullish structure break)
3. Price retraces into 0.618-0.786 Fibonacci zone
4. Entry signal when price enters and holds in OTE zone
Bearish OTE Formation:
1. Swing high is formed
2. Structure breaks below previous swing low (bearish structure break)
3. Price retraces into 0.618-0.786 Fibonacci zone
4. Entry signal when price enters and holds in OTE zone
Key Fibonacci Levels:
- 0.618 (Golden ratio - primary target)
- 0.705 (Square root of 0.5 - institutional level)
- 0.786 (Square root of 0.618 - deep retracement)
Structure Break Requirement:
- Optional setting to require confirmed structure break
- Prevents premature OTE zone identification
- Ensures proper swing structure is established
Entry/Exit Tracking:
- Green checkmark: Price entered OTE zone validly
- Red X: Price exited OTE zone (stop or target)
- Real-time status monitoring
TRADING SESSIONS:
Displays three major trading sessions with full customization:
Asian Session (Tokyo + Sydney):
- Default: 01:00-13:00 UTC+4
- Typically lower volatility
- Sets up key levels for London open
London Session:
- Default: 11:00-20:00 UTC+4
- Highest liquidity period
- Major institutional moves
New York Session:
- Default: 16:00-01:00 UTC+4
- US market hours
- High impact news events
Features:
- Real-time status indicators (🟢 Open / 🔴 Closed)
- Session high/low tracking
- Overlap detection and highlighting
- Historical session display (0-30 days)
- Customizable colors and borders
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
MASTER CONTROLS:
Enable/disable major features independently:
- Trading Sessions
- Liquidity Sweeps (Current TF)
- HTF Liquidity Sweeps
- LTF Liquidity Sweeps
- Order Blocks
- Fair Value Gaps
- Inverse Fair Value Gaps
- Optimal Trade Entry Zones
ANTI-REPAINTING SETUP:
For Backtesting/Systematic Trading:
1. Enable "Use Confirmed Signals"
2. Set Confirmation Bars to 2-3
3. All signals will wait for confirmation
4. No repainting will occur
For Real-Time Discretionary Trading:
1. Disable "Use Confirmed Signals"
2. Signals appear immediately
3. Be aware signals may adjust with new bars
MULTI-TIMEFRAME LIQUIDITY STRATEGY:
Top-Down Analysis:
1. Identify HTF liquidity levels (4H/Daily) for major targets
2. Find LTF liquidity levels (1H) for entry refinement
3. Wait for HTF liquidity sweep (liquidity grab)
4. Enter on LTF order block in direction of HTF sweep
5. Target next HTF or LTF liquidity level
Liquidity Sweep Trading:
1. HTF liquidity sweep = major institutional move
2. Look for immediate reversal or continuation
3. Use order blocks for entry timing
4. Place stops beyond the swept liquidity
SESSION-BASED TRADING:
Asian Session Strategy:
1. Identify Asian session high/low
2. Wait for London or NY session to open
3. Trade breakouts of Asian range
4. Target previous day's highs/lows
London/NY Session Strategy:
1. Watch for liquidity sweeps at session open
2. Enter on order block confirmation
3. Use OTE zones for retracement entries
4. Target session high/low or HTF liquidity
OTE ZONE TRADING:
Setup Identification:
1. Wait for clear swing high/low formation
2. Confirm structure break in intended direction
3. Monitor for price retracement to 0.618-0.786 zone
4. Enter when price enters OTE zone with confirmation
Entry Rules:
- Bullish: Long when price enters OTE zone from above
- Bearish: Short when price enters OTE zone from below
- Stop loss: Beyond 0.786 level or swing extreme
- Target: Previous swing high/low or HTF liquidity
Exit Management:
- Indicator tracks when price exits OTE zone
- Red X indicates position should be managed/closed
- Use order blocks or FVGs for partial profit targets
FAIR VALUE GAP STRATEGY:
FVG Entry Method:
1. Wait for FVG formation
2. Monitor for price return to FVG
3. Enter on first touch of FVG zone
4. Stop beyond FVG boundary
5. Target: Fill of FVG or next liquidity level
iFVG Reversal Strategy:
1. Original FVG is filled
2. iFVG forms in opposite direction
3. Indicates failed move or reversal
4. Enter on iFVG confirmation
5. Target: Opposite end of range or next structure
Combined FVG + iFVG:
- When both overlap, indicator combines labels
- Represents high-probability reversal zone
- Use with order blocks for confirmation
ORDER BLOCK STRATEGY:
Entry Approach:
1. Wait for order block formation after structure break
2. Enter on first return to order block
3. Place stop beyond order block boundary
4. Target: Next order block or liquidity level
Confirmation Layers:
- Order block + FVG = strong confluence
- Order block + Liquidity sweep = institutional setup
- Order block + OTE zone = optimal entry
- Order block + Session open = high probability
Volume Analysis:
- Wider colored section = stronger institutional interest
- Use volume bars to confirm order block strength
- Higher volume order blocks = more reliable
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
LIQUIDITY SETTINGS:
Lookback: 5-30 bars
- Lower = more frequent, sensitive levels
- Higher = fewer, more significant levels
- Recommended: 15 for intraday, 20-25 for swing
Sweep Detection Type:
- Wick Break: Most sensitive
- Close Break: More conservative
- Full Retrace: Stop hunt detection
Sweep Buffer: 0-1.0 ATR
- Adds distance requirement for sweep confirmation
- Prevents false positives
- Recommended: 0.1 for most markets
HTF/LTF LIQUIDITY:
HTF Timeframe Selection:
- Swing trading: 1D or 1W
- Day trading: 4H or 1D
- Scalping: 1H or 4H
LTF Timeframe Selection:
- Swing trading: 4H or 1D
- Day trading: 1H or 4H
- Scalping: 15m or 1H
Strength Filters:
- Min Pivot Strength: Higher = fewer, stronger levels
- Min Distance: Higher = less clustering
- Recommended: 2.0 ATR for HTF, 1.5 ATR for LTF
ORDER BLOCK SETTINGS:
Swing Length: 5-20
- Controls sensitivity of structure break detection
- Lower = more order blocks, faster signals
- Higher = fewer order blocks, stronger signals
- Recommended: 8-10 for most timeframes
Enhancement Filters:
- Min Size: 0.5-1.5 ATR typical
- Volume Multiplier: 1.2-2.0 typical
- Imbalance: Enable for strongest signals only
OTE SETTINGS:
Swing Length: 5-50
- Controls OTE zone formation sensitivity
- Lower = more frequent, smaller moves
- Higher = fewer, larger trend moves
- Recommended: 10-15 for intraday
Require Structure Break:
- Enabled: Only shows OTE after confirmed break
- Disabled: Shows potential OTE zones earlier
- Recommended: Enable for higher probability setups
FVG SETTINGS:
Min FVG Size: 0.1-2.0 ATR
- Lower = more gaps detected
- Higher = only significant gaps
- Recommended: 0.5 ATR for most markets
Fill Threshold: 0.1-1.0
- Determines when gap is considered "filled"
- 0.5 = 50% fill required
- Higher = more conservative
iFVG Min Size: 0.1-2.0 ATR
- Typically smaller than regular FVG
- Recommended: 0.3 ATR
ALERT SYSTEM:
Available Alerts:
- Liquidity Sweeps (Current TF)
- HTF Liquidity Sweeps
- LTF Liquidity Sweeps
- Session Changes (Open/Close)
- OTE Entry Signals
Alert Setup:
1. Enable alerts in settings
2. Select specific alert types
3. Create TradingView alert using "Any alert() function call"
4. Configure delivery method (mobile, email, webhook)
Alert Messages Include:
- Event type and direction
- Confirmation status (if using confirmed mode)
- Price level
- Timeframe (for liquidity sweeps)
───────────────────────────────────────
RECOMMENDED CONFIGURATIONS
───────────────────────────────────────
For Day Trading (15m-1H charts):
- HTF Liquidity: 4H
- LTF Liquidity: 1H
- Liquidity Lookback: 15
- Order Block Swing Length: 8
- OTE Swing Length: 10
- Confirmed Signals: Enabled, 2 bars
For Swing Trading (4H-1D charts):
- HTF Liquidity: 1D or 1W
- LTF Liquidity: 4H
- Liquidity Lookback: 20
- Order Block Swing Length: 10
- OTE Swing Length: 15
- Confirmed Signals: Enabled, 2-3 bars
For Scalping (5m-15m charts):
- HTF Liquidity: 1H or 4H
- LTF Liquidity: 15m or 1H
- Liquidity Lookback: 10-12
- Order Block Swing Length: 6-8
- OTE Swing Length: 8
- Confirmed Signals: Optional
───────────────────────────────────────
PERFORMANCE OPTIMIZATION
───────────────────────────────────────
This indicator is optimized with:
- max_bars_back declarations for efficient lookback
- Automatic memory cleanup every 10 bars
- Conditional execution based on enabled features
- Drawing object limits to prevent performance degradation
Memory Management:
- Old liquidity zones automatically removed
- Filled FVGs/iFVGs cleaned up
- Exited OTE zones removed
- Mitigated order blocks deleted
Best Practices:
- Enable only needed features
- Use appropriate timeframe combinations
- Don't display excessive historical sessions
- Monitor drawing object counts on lower timeframes
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator combines multiple institutional trading concepts:
- Liquidity theory (where orders accumulate)
- Order flow analysis (institutional footprints)
- Price imbalance detection (FVGs)
- Fibonacci retracement theory (OTE zones)
- Session-based trading (time-of-day patterns)
All calculations use standard technical analysis methods:
- Pivot high/low detection
- ATR-based normalization
- Volume analysis
- Fibonacci ratios
- Time-based filtering
The indicator identifies potential setups but does not predict future price movements. Success depends on proper application within a complete trading plan including risk management, position sizing, and market context analysis.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Trading involves substantial risk of loss. The anti-repainting features provide confirmed signals but do not guarantee profitability. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results.
Key Liquidity Advanced Multi-Timeframe Suite═══════════════════════════════════════
KEY LIQUIDITY ADVANCED MULTI-TIMEFRAME SUITE
═══════════════════════════════════════
A professional-grade indicator focused on identifying institutional liquidity levels across multiple timeframes, combined with order flow analysis and market structure tools.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This tool specializes in multi-timeframe liquidity analysis with the following components:
- Multi-Timeframe Liquidity Levels - Track swing highs/lows on HTF (Higher Timeframe), LTF (Lower Timeframe), and CTF (Current Timeframe)
- Order Blocks - Identify institutional accumulation and distribution zones
- Premium/Discount Zones - Show price distribution relative to swing ranges
- Market Structure Breaks - Highlight significant trend changes
- Trading Sessions - Display major market session boundaries (Optional)
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
MULTI-TIMEFRAME LIQUIDITY SYSTEM:
The indicator uses a three-tier liquidity detection system:
1. HTF (Higher Timeframe) Liquidity:
- Default: 4H timeframe (configurable to Daily, Weekly)
- Identifies major institutional levels
- Uses pivot detection with adjustable left/right bar parameters
- Color-coded: Green for highs, Red for lows
2. LTF (Lower Timeframe) Liquidity:
- Default: 1H timeframe (configurable)
- Provides precision entry/exit levels
- Color-coded: Blue for highs, Orange for lows
3. CTF (Current Timeframe) Liquidity:
- Optional feature for chart timeframe levels
- Color-coded: Purple for highs, Pink for lows
Calculation Method:
- Uses standard pivot high/low detection algorithm
- Configurable sensitivity via left bars (lookback) and right bars (confirmation)
- Levels automatically removed when price sweeps through them (mitigation)
- Optional display of mitigated levels with reduced opacity
ORDER BLOCKS:
Detection Logic:
- Bullish OB: Last bearish candle before significant bullish move
- Bearish OB: Last bullish candle before significant bearish move
- Uses swing length parameter to identify structural breaks
- Strength visualization showing buying vs selling pressure
Visual Elements:
- Split-colored boxes showing institutional sentiment
- Upper half: Bullish strength (teal)
- Lower half: Bearish strength (red)
- Labels positioned at center with institutional markers
Violation Detection:
- Configurable: Wick-based or Close-based
- Automatically removes broken order blocks
- Optional overlap hiding to keep chart clean
PREMIUM/DISCOUNT ZONES:
Zone Structure:
- Premium Zone: Upper 5% of swing range (institutional selling area)
- Equilibrium: Middle 5% representing fair value
- Discount Zone: Lower 5% of swing range (institutional buying area)
The zones dynamically update based on trailing swing extremes and adapt to current market structure.
MARKET STRUCTURE BREAKS (MSB):
Identifies when price breaks through significant swing points:
- Bearish MSB: Price closes below swing low
- Bullish MSB: Price closes above swing high
- Labels appear only on trend direction changes
- Horizontal lines extend from break point
TRADING SESSIONS (Optional):
Displays time-based session boxes for:
- Asian Session (Tokyo + Sydney combined)
- London Session
- New York Session
Features:
- Customizable session times and time zones
- Session high/low tracking
- Overlap detection showing when multiple sessions are active
- Fully configurable colors and display options
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
MASTER TOGGLE CONTROLS:
Use these to enable/disable major features:
- Key Liquidity Levels (Main feature)
- Premium/Discount Zones
- Order Blocks
- Market Structure Breaks
- Trading Sessions
MULTI-TIMEFRAME LIQUIDITY STRATEGY:
Conservative Approach:
1. Wait for HTF liquidity sweep (4H or Daily level)
2. Look for LTF confirmation (1H level hold)
3. Enter when order block forms at discount (bullish) or premium (bearish)
Aggressive Approach:
1. Trade LTF liquidity sweeps in direction of HTF trend
2. Use order blocks for entry refinement
3. Target next LTF or HTF liquidity level
Range Trading:
1. Identify premium and discount zones
2. Buy at discount, sell at premium
3. Use equilibrium as profit target or re-entry
ORDER BLOCK TRADING:
Entry Method:
1. Wait for order block formation (after structure break)
2. Enter on first return to order block zone
3. Place stop beyond the order block
Strength Analysis:
- Wider bullish section = stronger institutional buying
- Wider bearish section = more selling pressure
- Use this to gauge conviction
Violation:
- Order block broken = setup invalidated
- Look for next order block in continuation
MARKET STRUCTURE TRADING:
MSB signals potential trend change:
- Bearish MSB + Bearish OB = short opportunity
- Bullish MSB + Bullish OB = long opportunity
- Wait for retest of broken level for confirmation
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
KEY LIQUIDITY SETTINGS:
Pivot Detection:
- Left Bars (Default: 15): Lookback period for pivot identification
- Right Bars (Default: 5): Confirmation period
- Higher values = fewer, more significant levels
- Lower values = more frequent, sensitive levels
Timeframe Selection:
- HTF: Recommended 4H, 1D, or 1W for swing trading
- LTF: Recommended 1H or 4H for day trading
- CTF: Use for scalping on current chart timeframe
Display Options:
- Display Limit: Maximum number of levels shown per timeframe
- Extension: Short/Current/Max - how far lines extend
- Line Width: Visual prominence (1-5)
- Text Size: Label size adjustment
Mitigation:
- Remove: Delete levels when swept (cleaner chart)
- Show: Keep swept levels visible with reduced opacity
ORDER BLOCKS SETTINGS:
Core Parameters:
- Swing Length (Default: 8): Sensitivity for structure detection
- Show Last X (Default: 4): Number of active blocks displayed
- Violation Check: Choose Wick or Close-based invalidation
- Hide Overlap: Remove overlapping blocks for clarity
PREMIUM/DISCOUNT ZONES:
- Swing Detection Length (Default: 50): Range calculation period
- Longer period = broader zones, more stable
- Shorter period = tighter zones, more reactive
TRADING SESSIONS:
Time Configuration:
- Adjust session times for your timezone
- Use IANA timezone database format recommended
- Days to Show: Historical session display (0-10)
Visualization:
- Session boxes with colored backgrounds
- Optional high/low lines within each session
- Optional open/close lines
- Overlap highlighting when sessions coincide
───────────────────────────────────────
ALERT SYSTEM
───────────────────────────────────────
Available Alerts:
- HTF High Liquidity Hit
- HTF Low Liquidity Hit
Alert Configuration:
1. Enable HTF Liquidity Alerts in settings
2. Select specific alert types (High/Low)
3. Create TradingView alert with "Any alert() function call"
4. Alerts fire once per bar when liquidity is swept
Alert Message Format:
- Event type and description
- Timeframe information
- Current price
- Timestamp
───────────────────────────────────────
RECOMMENDED TIMEFRAME COMBINATIONS
───────────────────────────────────────
Swing Trading:
- Chart: 4H or 1D
- HTF Liquidity: 1D or 1W
- LTF Liquidity: 4H or 1D
Day Trading:
- Chart: 15m or 1H
- HTF Liquidity: 4H or 1D
- LTF Liquidity: 1H or 4H
Scalping:
- Chart: 5m or 15m
- HTF Liquidity: 1H or 4H
- LTF Liquidity: 15m or 1H
- Enable CTF Liquidity
───────────────────────────────────────
PERFORMANCE NOTES
───────────────────────────────────────
This indicator is optimized for performance:
- Uses max_bars_back declarations to limit lookback
- Conditional execution based on toggle settings
- Efficient array management for drawing objects
- Recommended for intraday timeframes only
- Sessions feature requires intraday timeframes
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator identifies areas where institutional orders may be positioned based on historical price action. It uses standard technical analysis techniques:
- Pivot point detection for liquidity levels
- Swing analysis for market structure
- Volume-weighted order block strength
- Time-based session filtering
The indicator does not predict future price movements. Always combine with your own analysis, risk management, and trading plan.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Past performance does not guarantee future results. Trading involves substantial risk of loss. Always conduct your own due diligence and never risk more than you can afford to lose.
Advanced Liquidity Trading Suite═══════════════════════════════════════
ADVANCED LIQUIDITY TRADING SUITE
═══════════════════════════════════════
A comprehensive institutional trading indicator that identifies key market structure elements used by professional traders.
───────────────────────────────────────
WHAT THIS INDICATOR DOES
───────────────────────────────────────
This tool visualizes multiple institutional trading concepts on a single chart:
- Multi-Timeframe Liquidity Levels - Identifies swing highs/lows where institutional orders may be resting
- Order Blocks - Highlights the last opposing candle before significant price moves
- Dynamic Trendlines - Automatically draws support/resistance channels based on pivot points
- Premium/Discount Zones - Displays price distribution zones relative to swing ranges
- Trading Sessions - Shows Asian, London, and New York session boundaries with their key levels
- Market Structure Breaks - Identifies when price breaks through significant swing points
───────────────────────────────────────
HOW IT WORKS
───────────────────────────────────────
LIQUIDITY LEVELS:
- Uses pivot high/low detection with configurable left/right bar parameters
- Operates on multiple timeframes (HTF for major levels, LTF for precision entries)
- Levels are removed when price sweeps through them (configurable)
- Detection method: Standard pivot point algorithm with customizable sensitivity
ORDER BLOCKS:
- Identifies the last bearish candle before a bullish move (bullish OB)
- Identifies the last bullish candle before a bearish move (bearish OB)
- Uses swing length detection to find institutional accumulation/distribution zones
- Color-coded strength indicators show buying vs selling pressure within each block
- Violation detection using either wick or close-based invalidation
DYNAMIC TRENDLINES:
- Automatically connects pivot points to form trend channels
- Creates parallel channel lines at configurable spacing
- Breaks are detected when price closes through the channel
- Optional gradient fills for visual clarity
PREMIUM/DISCOUNT ZONES:
- Calculates equilibrium price based on swing range
- Premium zone: Upper 50% of range (institutional selling area)
- Discount zone: Lower 50% of range (institutional buying area)
- Equilibrium: Middle zone representing fair value
TRADING SESSIONS:
- Displays time-based session boxes for major market hours
- Tracks session high/low levels
- Shows session overlaps when multiple markets are active
- Fully customizable session times and time zones
───────────────────────────────────────
HOW TO USE
───────────────────────────────────────
SETUP:
1. Enable desired features using the Master Toggle Controls
2. Adjust timeframes for HTF (4H/Daily) and LTF (1H/4H) liquidity
3. Configure colors and display preferences
4. Set up alerts for key events
TRADING APPLICATIONS:
For Trend Trading:
- Use HTF liquidity levels as major support/resistance
- Wait for LTF liquidity sweeps to enter in trend direction
- Monitor dynamic trendlines for trend confirmation
For Reversal Trading:
- Watch for liquidity sweeps beyond HTF levels
- Look for order block formation after sweep
- Enter when price returns to the order block
For Range Trading:
- Trade between premium and discount zones
- Use equilibrium as profit target
- Monitor session highs/lows for intraday ranges
RISK MANAGEMENT:
- Place stops beyond liquidity levels
- Use order blocks for entry refinement
- Exit at premium zones in uptrends, discount zones in downtrends
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
Master Controls: Toggle features on/off globally
Liquidity Settings:
- Left/Right Bars: Adjust pivot sensitivity
- Display Limit: Number of levels shown
- Mitigation: Remove or show swept levels
- Extension: How far lines extend
Order Blocks:
- Swing Length: Detection sensitivity
- Show Last X: Number of active blocks
- Violation Type: Wick or close-based
- Hide Overlap: Manage overlapping blocks
Trendlines:
- Period: Pivot lookback
- Channel Padding: Distance between lines
- Gradient Fills: Visual enhancement
- Show History: Keep broken trendlines
Sessions:
- Time Settings: Customize session hours
- Time Zone: Adjust for your location
- Days to Show: Historical session display
- High/Low Lines: Session range markers
───────────────────────────────────────
ALERTS
───────────────────────────────────────
Available alert conditions:
- HTF Liquidity Hit (High/Low)
- Order Block Formation (Bullish/Bearish)
- Order Block Violation
- Trendline Formation
- Trendline Break
Configure alerts per your trading strategy requirements.
───────────────────────────────────────
EDUCATIONAL NOTE
───────────────────────────────────────
This indicator is based on institutional order flow concepts. It does not predict future price movements but rather identifies areas where significant market participants may be positioned. Always combine with your own analysis and proper risk management.
The indicator uses standard technical analysis methods (pivot detection, swing analysis, session time filtering) combined into a unified visualization tool.
───────────────────────────────────────
DISCLAIMER
───────────────────────────────────────
This indicator is for educational purposes. Past performance does not guarantee future results. Always conduct your own analysis and manage risk appropriately.
Swing LevelsThe Swing Levels indicator automatically detects and plots recent swing highs and lows on the chart, turning them into dynamic support and resistance levels.
Each new swing point creates a horizontal line that extends forward in time until price “fills” (touches or breaks) that level. Once a level is filled, it can either disappear or remain visible — depending on your settings.
You can enable alerts to be notified whenever price fills a swing high (breaks resistance) or a swing low (breaks support).
A lookback filter allows limiting how far back in history swing levels are drawn, helping keep the chart clean and efficient.
Main benefits:
• Automatically tracks key market structure turning points
• Helps visualize support and resistance zones in real time
• Optional alerts for breakout confirmations
• Fully customizable colors, line styles, and management behavior
• Works on any timeframe or market
In short:
Swing Levels gives you a clear and automated view of where price has recently reversed — powerful zones where liquidity and reactions often occur again.
Сreated with vibecoding using ChatGPT and Claude.
Custom Two Sessions H/L/50% LevelsTrack high/low/midpoint levels across two customizable time sessions. Perfect for monitoring H4 blocks, session ranges, or any custom time periods as reference levels for lower timeframe trading.
What This Indicator Does:
Tracks and projects High, Low, and 50% Midpoint levels for two fully customizable time sessions. Unlike fixed-session indicators, you define EXACTLY when each session starts and ends.
Key Features:
• Two independent sessions with custom start/end times (hour and minute)
• High/Low/50% midpoint tracking for each session
• Visual session boxes showing calculation periods
• Horizontal lines projecting levels into the future
• Historical session levels remain visible for reference
• Works on any chart timeframe (M1, M5, M15, H1, H4, etc.)
• Full visual customization (colors, line styles, widths)
• DST timezone support
Common Use Cases:
H4 Candle Tracking - Set sessions to 4-hour blocks (e.g., 6-10am, 10am-2pm) to track individual H4 highs/lows
H1 Candle Tracking - 1-hour blocks for scalping reference levels
Session Trading - ETH vs RTH, London vs NY, Asian session, etc.
Custom Time Periods - Any time range you want to monitor
How to Use:
The indicator identifies key price levels from higher timeframe periods. Use previous session H/L/50% as reference levels for:
Identifying sweep and reclaim setups
Lower timeframe structural flip confirmations
Support/resistance zones for entries
Delivery targets after breaks of structure
Settings:
Configure each session's start/end times independently. The indicator automatically triggers at the first bar crossing into your specified time, making it compatible with all chart timeframes.






















