Footprint OverlayFootprint Overlay
Visualize order flow at individual price levels with real-time Bid x Ask, Delta, or Total Volume data
Overview
Footprint Overlay is an order flow indicator that displays volume information at each price level within a candle, directly on your chart. Choose between Delta (buying pressure minus selling pressure), Bid x Ask (sell volume vs. buy volume), or Total Volume per level. This granular, level-by-level view reveals where institutional activity is concentrated, helping you identify key support and resistance zones based on actual order flow.
Key Features
Multiple Display Modes: Choose how you want to see the data:
Delta: Shows net buying or selling pressure at each level (Buy Volume - Sell Volume).
Bid x Ask: Displays sell volume vs. buy volume side-by-side (e.g., "150 x 230").
Total Volume: Shows the combined buy and sell volume at each level.
Native Footprint Support (v6): For supported symbols, enable TradingView's native footprint data for accurate bid/ask volume attribution.
Intrabar Delta Calculation: When native footprint data is unavailable, the indicator uses lower timeframe intrabar data to estimate delta at each price level using proprietary logic that considers candle body, wicks, and price action.
Adaptive Tick Sizing: Automatically calculates an appropriate tick size (row height) based on asset type (crypto, forex, futures, etc.) and chart timeframe. Manual override is also available.
Gradient Mode: Optionally scale box opacity relative to the maximum value in the candle, making it easy to spot the most significant levels at a glance.
Customizable Colors: Set distinct colors for bullish (positive delta) and bearish (negative delta) levels.
Value Filtering: Hide levels where the displayed value is below a specified magnitude to reduce noise.
Label Display: Show delta or volume values directly on each level with K/M formatting for readability.
How It Works
Level Creation: For each confirmed candle, the indicator divides the price range into multiple levels. The number and size of levels are determined by ATR or adaptive tick calculations.
Data Collection: If native footprint data is enabled, the indicator uses TradingView's footprint API to get accurate bid/ask volumes per row. Otherwise, it requests lower timeframe intrabar data (OHLCV) to analyze price action within the main candle.
Delta Calculation: For intrabar mode, delta is calculated using proprietary logic that considers body size, wicks, and price action characteristics. Volume is distributed proportionally across all price levels the intrabar crosses.
Visualization: Each price level is rendered as a colored box. The color indicates direction (bullish/bearish), and the text shows the value based on your selected display mode.
Use Cases
Support and Resistance Identification: Large delta or volume concentrations at specific price levels often indicate significant support or resistance zones where institutional traders are active.
Order Flow Analysis: Understand where buying and selling pressure is concentrated within each candle, helping identify potential reversal or continuation zones.
Entry and Exit Timing: Use footprint data to identify optimal entry and exit points based on actual order flow, not just price action.
Confirmation Tool: Combine with other technical analysis tools. For example, a strong bullish delta at a support level can confirm a potential bounce.
Settings
Display Mode: Choose between Delta, Bid x Ask, or Total Volume.
Show Delta Labels: Toggle to show/hide value labels on each level.
Gradient Mode: Scale box opacity relative to the max value in the candle.
Max Opacity: Control the maximum opacity for level boxes.
Font Size: Adjust the text size for labels.
Min Value to Show: Filter out levels with values below this magnitude.
Max Bars to Draw: Limit drawing to the last N bars to prevent object limits.
Bullish/Bearish Delta Color: Customize colors for bullish and bearish levels.
Text Color: Customize the text color for labels.
Use Footprint Data (v6): Enable TradingView's native footprint data for supported symbols.
Tick Size Mode: Choose between Auto or Manual tick sizing.
Tick Density Multiplier: Adjust the density of price levels.
Manual Footprint Ticks: Set a fixed tick size when in Manual mode.
Technical Notes
The indicator updates in real-time as new intrabar data comes in, providing a live view of order flow on the current candle.
Drawing is limited to the last N bars (configurable) to avoid exceeding TradingView's object limits.
Adaptive tick sizing considers asset type and timeframe for optimal granularity.
Native footprint mode provides the most accurate bid/ask attribution; intrabar mode is a best-effort estimate.
Level size in intrabar mode is calculated using ATR(14) divided by 10, adapting to current market volatility.
Candlestick analysis
Fractal - VA (Dynamic Wicks)This indicator, which we’ve developed as the Frectal - VA (Multi-Timeframe Visual Analytics), is designed for traders who utilize multi-timeframe analysis but want to keep their main chart clean of overlapping candles.
It functions as a Projected Dashboard, pulling price action from a higher timeframe (HTF) and rendering it as a set of dynamic, solid objects in the right-hand margin of your chart.
Core Philosophy
The "Frectal - VA" is built on the principle of Nested Structure. In professional trading, the "Value Area" or the "Fractal" of a higher timeframe often dictates the trend of the lower timeframe. By projecting these candles into the future (the right side of the chart), you can monitor HTF trend shifts, volatility, and candle closes without the HTF candles obscuring your current "live" price action.
Key Components
Decoupled Visualization: Unlike standard MTF indicators that overlay large boxes behind your current bars, this indicator creates a side-by-side comparison in the chart's whitespace.
Real-Time Data Streaming: It doesn't just show historical candles; the "lead" candle in the dashboard updates with every tick of the current price, showing you exactly how the higher timeframe candle is forming.
Dynamic Color Sync: The body, border, and wick of each projected candle are linked. If a 1-hour candle flips from bullish to bearish on a 5-minute chart, the entire dashboard object changes color instantly.
Customizable Offset: You control the "Drop" (Vertical Offset) and the "Margin" (Horizontal Offset). This allows you to tuck the indicator into a corner of your screen as a heads-up display (HUD).
Strategic Use Cases
Trend Confirmation: If you are trading a 1-minute "scalp" but the 15-minute dashboard shows a solid, large-bodied bearish candle, you are alerted to trade with the HTF momentum.
Volatility Monitoring: By observing the size of the wicks in the dashboard, you can see if the higher timeframe is experiencing "rejection" at certain levels, even if your local timeframe looks like a steady trend.
Visual Backtesting: Because it maintains a queue of the last
X
candles, you can see the immediate history of the HTF structure (e.g., a "Morning Star" pattern or "Engulfing" candles) at a glance.
Technical Specifications
Pine Script Version: v6 (latest standard).
Drawing Engine: Uses box and line arrays for high-performance rendering that doesn't lag the UI.
Memory Management: Automatically deletes old objects to stay within TradingView’s script limits, ensuring stability during long trading sessions.
Target Ladder Pro - MTF ATR + HIT ConfirmationTarget Ladder Pro is a volatility-based target framework that plots multi-timeframe ATR-derived upper and lower reference levels on the price chart and can optionally print HIT confirmations when a defined ATR target is reached.
This script is designed to provide structured volatility context (reach zones, range framing, and objective “target reached” tagging). It does not predict price direction, does not guarantee outcomes, and is not intended as a standalone signal generator.
What This Script Displays
1) Multi-Timeframe ATR Target Ladder (1H / 4H / 1D / 1W)
For each enabled timeframe, the script calculates ATR using higher-timeframe data via request.security() (no lookahead), then plots:
Upper level: Base + ATR × Multiplier
Lower level: Base − ATR × Multiplier
The “Base” can be set to:
the current chart price (for immediate relevance), or
the timeframe’s own close (for a strict MTF reference)
Each timeframe’s upper and lower levels are drawn as price-chart lines.
Last-Bar Target Balloons (per timeframe)
On the last bar, the script prints balloon labels for each timeframe’s upper and lower level. Horizontal x-offsets are configurable per timeframe to keep stacked labels readable.
2) ATR Target + Deviation Bands (Context Layer)
A separate ATR target module calculates a single ATR reference level for the current bar based on candle direction (up/down close relative to the prior close). It also optionally plots:
a mean line (moving average), and
up to four standard-deviation bands (mean ± N × deviation)
These bands provide statistical range context around price.
Target / HIT Labels (per bar)
When enabled:
a Target label marks the computed ATR target level
a HIT label appears when price reaches that target on the same bar (high/low touch rule)
An optional filter can require that the ATR target is inside the first deviation band before printing a HIT label, reducing HIT labels during extended conditions.
Label history can be limited to the most recent N labels or allowed to persist (with a safety cap).
How to Use
Enable the timeframes you want to display (e.g., 1H / 4H / 1D / 1W).
Adjust ATR length and multipliers per timeframe to match the asset’s volatility profile.
Choose whether MTF ladder levels are anchored to current price or the timeframe’s own close.
Use the ladder levels as volatility reach reference zones above and below price.
Use Target/HIT labels as objective “condition occurred” markers for review and journaling.
Notes and Limitations
ATR levels are volatility references, not forecasts or guarantees.
Targets may be reached frequently in high-volatility regimes and rarely in compressed markets.
HIT labels indicate that a defined volatility condition occurred; they do not imply reversal or continuation on their own.
This script is provided for informational and educational purposes only and does not constitute financial advice.
Litronix Liquidity BlocksLitronix Liquidity Blocks is a session-based market structure indicator designed to highlight high-liquidity periods where institutional activity is most likely to occur.
The indicator plots price-anchored liquidity blocks based on key intraday sessions, automatically capturing each session’s high and low range and displaying it directly on the chart. All blocks are fully synchronized with price and time, ensuring precise interaction when navigating the chart.
Included Liquidity Blocks:
Asian Block – Asian session range
EU Block – Frankfurt liquidity window
NY Kill Block – High-volatility manipulation window
NY Block – New York session range
Lunch Block – Low-liquidity consolidation period
Key Features:
Session-based liquidity ranges (High / Low)
Price-anchored blocks that move precisely with the chart
Fully customizable session times and colors
Optional session labels
Clean, non-repainting logic
Optimized for intraday and scalping strategies
Best Use Cases:
Liquidity sweeps and stop-hunt detection
ICT / Smart Money Concepts
Intraday bias and session transitions
Scalping and day trading
Litronix Liquidity Blocks is built for traders who focus on where liquidity is taken, not where price is going.
Fear Greed RangesFear Greed Ranges Indicator: A Practical Guide to Market Sentiment Analysis
Introduction: Understanding Market Psychology
The "Fear Greed Ranges" indicator is a specialized technical analysis tool designed to visualize market sentiment through the lens of the Relative Strength Index (RSI). Unlike traditional RSI displays that show only a line graph, this indicator transforms raw RSI data into intuitive, color-coded zones that immediately signal whether markets are driven by fear, greed, or balanced sentiment. By providing this visual context, it helps traders identify potential turning points and manage risk more effectively.
Rational Integration: Why RSI Forms the Core
The indicator's foundation rests on the well-established RSI oscillator, chosen for several compelling reasons. First, RSI has stood the test of time since its development by J. Welles Wilder Jr. in 1978, with decades of empirical validation across various asset classes. Second, its mathematical construction—comparing the magnitude of recent gains to recent losses—directly measures momentum, which often precedes price reversals at extremes. Third, RSI's bounded nature (0-100 range) makes it ideal for creating clearly defined zones without subjective interpretation.
The integration transforms this numerical oscillator into a spatial visualization system. Rather than simply reading RSI values, traders can immediately perceive market conditions through color psychology: red triggers caution, green suggests opportunity, and yellow indicates neutrality. This multi-sensory approach reduces cognitive load during fast-moving markets and helps overcome confirmation bias that might occur when interpreting raw numbers.
Component Synergy: How the System Works Together
The indicator comprises three interconnected layers that create a unified analytical framework:
Core Calculation Layer: The traditional RSI calculation processes price data using the specified period length (default 14 periods). This generates the fundamental sentiment metric that drives all subsequent visualizations. The RSI calculation serves as the "brain" of the indicator, continuously analyzing market momentum.
Sentiment Classification Layer: This layer applies threshold logic to categorize each RSI reading into one of three emotional states. Readings above 70 are classified as "Greed" (market potentially overbought), below 30 as "Fear" (market potentially oversold), and between 30-70 as "Neutral" (balanced market conditions). These thresholds are based on the conventional RSI interpretation framework that has been widely adopted in technical analysis.
Visual Translation Layer: The most innovative aspect transforms numerical classifications into immediate visual cues. The colored ribbon area creates a "sentiment atmosphere" around price action, while the background tint provides subtle contextual framing. Horizontal reference lines at 30, 50, and 70 offer precise anchoring points, and the floating label provides real-time status updates. These elements work in concert: the ribbon shows sentiment intensity, the background provides persistent context, and the reference lines offer precise measurement points.
Practical Application: How to Use the Indicator Effectively
For optimal results, traders should incorporate this tool into a comprehensive analysis framework:
Initial Setup: Apply the indicator to any financial chart (stocks, forex, cryptocurrencies, etc.) using the default 14-period setting for general purposes. For shorter timeframes, consider reducing the period to 10; for longer-term analysis, increase to 20-25 periods.
Signal Interpretation:
When the ribbon turns red and the background tints crimson, exercise caution with new long positions and consider profit-taking on existing holdings.
Green zones may indicate accumulation opportunities, particularly if accompanied by bullish divergence (price making lower lows while RSI makes higher lows).
Yellow areas suggest normal market fluctuation where trend-following strategies may be more appropriate than reversal anticipation.
Confirmation Protocol: Always wait for additional confirmation before acting on extreme readings. For greed zone signals, look for bearish candlestick patterns, resistance at key price levels, or decreasing volume. For fear zone signals, watch for bullish reversal patterns, support levels holding, or increasing volume on down moves.
Timeframe Harmony: Analyze multiple timeframes simultaneously. A greed signal on a daily chart carries more weight than one on a 15-minute chart. Look for alignment across timeframes for higher-probability setups.
Alert Utilization: Enable the built-in alert system to receive notifications when sentiment zones change, ensuring you never miss potential opportunities or risk scenarios.
Original Contribution: What Sets This Indicator Apart
While RSI indicators are ubiquitous, the "Fear Greed Ranges" implementation offers several distinctive advantages:
Cognitive Efficiency: By converting numerical data into immediate visual perception, the indicator reduces the mental processing required to assess market conditions. Traders can glance at a chart and instantly understand the sentiment landscape without calculating or interpreting raw values.
Contextual Persistence: The colored background maintains a subtle but constant reminder of the prevailing sentiment, preventing the common pitfall of overlooking extreme conditions that might develop gradually.
Dual-Layer Communication: The system operates on both conscious (reference lines, labels) and subconscious (color psychology) levels, engaging multiple cognitive pathways for more reliable signal recognition.
Integrated Risk Framework: By explicitly naming emotional extremes ("Fear" and "Greed"), the indicator constantly reminds traders of the psychological forces driving markets, encouraging more disciplined decision-making.
Important Considerations and Limitations
No technical indicator guarantees future performance, and this tool should form only one component of a comprehensive trading strategy. Several critical factors require attention:
Market Context Matters: During strong trending markets, RSI can remain in extreme zones for extended periods without immediate reversal. In such conditions, the indicator signals strength rather than imminent reversal.
Volatility Adjustments: Highly volatile instruments may generate frequent zone changes that could lead to overtrading if not filtered appropriately.
Complementary Tools: This indicator works best when combined with price action analysis, volume studies, support/resistance levels, and fundamental factors where applicable.
Personal Adaptation: Traders should backtest the indicator on their preferred markets and timeframes to understand its characteristics before live implementation, potentially adjusting the RSI period or zone thresholds to match specific instrument behaviors.
The "Fear Greed Ranges" indicator serves as a visual translator of market psychology, converting mathematical momentum readings into intuitive emotional landscapes. By making RSI interpretation more immediate and accessible, it helps traders maintain objectivity during emotionally charged market conditions and supports more disciplined execution of their trading strategies. Remember that successful trading involves risk management, continuous learning, and adapting tools to your individual approach—this indicator provides one lens through which to view the markets, not a complete trading system in itself.
2026 Model2026 Model
OVERVIEW
This Pine Script indicator is a comprehensive trading tool designed for identifying key market structure patterns, session-based trading opportunities, and higher timeframe context. It combines multiple trading concepts including Fair Value Gaps (FVGs), Turtle Soup patterns, Smart Money Technique (SMT) divergence, and session-based analysis.
CORE FEATURES
1. SESSION/KILLZONE DETECTION
What It Does:
- Identifies and highlights major trading sessions based on New York time (EDT/EST)
- Displays session labels that change color: light green for the current session, grey for past sessions
- Shows background shading for active sessions
Sessions Tracked:
- Asia Session: 8:00 PM - 12:00 AM NY time
- London AM: 2:00 AM - 5:00 AM NY time
- NY AM: 9:30 AM - 11:00 AM NY time
- NY PM: 1:30 PM - 4:00 PM NY time
How It Works:
- Uses timezone conversion to check if current time falls within each session range
- Creates labels at the start of each session
- Updates label colors every bar to highlight the active session
- Labels are positioned at a consistent Y-level (aligned with HTF boundary lines)
Killzone Status:
- Active during 1:00 AM - 12:59 PM NY time
- Displayed in the dashboard table
2. DAILY BIAS CALCULATION
What It Does:
- Determines market bias based on the relationship between the last two completed daily candles
- Only calculates on weekdays (Monday-Friday) for traditional markets
- Works 24/7 for crypto markets
Bias Logic:
- Bullish:
* Previous day's high exceeded the day before's high AND close was above previous day's high
* OR previous day's low was below the day before's low BUT close recovered above the day before's low
- Bearish:
* Previous day's low was below the day before's low AND close was below previous day's low
* OR previous day's high exceeded the day before's high BUT close fell below the day before's high
How It Works:
- Compares wicks and closes of the last two completed daily candles
- Persists the last weekday bias on weekends
- Displayed in the dashboard table
3. FAIR VALUE GAPS (FVGs)
What It Does:
- Identifies price gaps where liquidity was skipped
- Draws boxes on the chart showing potential retracement zones
- Uses adaptive thresholds that adjust to market volatility
FVG Types:
- Bullish FVG: Gap between candle 1's low and candle 2's high (price jumped up)
- Bearish FVG: Gap between candle 1's high and candle 2's low (price jumped down)
Threshold Modes:
1. ATR-based (Default): Automatically adapts to asset volatility
- Calculates threshold as: (ATR / Close Price) × 100 × Multiplier
- More sensitive for volatile assets, less sensitive for stable ones
2. Auto: Uses cumulative average of price changes
3. Manual: Fixed percentage threshold (e.g., 0.01%)
How It Works:
- Only detects FVGs on confirmed (closed) bars
- Requires the middle candle's percentage change to exceed the threshold
- Extends FVG boxes 15 bars forward
- Limits to 50 FVG boxes to prevent memory issues
Settings:
- Threshold multiplier (default: 1.0) - lower = more FVGs detected
- Minimum threshold override - ensures minimum quality
- ATR length for volatility calculation
4. HIGHER TIMEFRAME (HTF) CANDLE OVERLAY
What It Does:
- Displays the last 3-5 completed HTF candles on the right side of the chart
- Shows HTF context without cluttering the main chart
- Supports 1H, 4H, Daily, Weekly, and Monthly timeframes
Features:
- Candle Display: Shows completed HTF candles with proper wicks and bodies
- Boundary Lines: Optional vertical lines on the main chart marking HTF candle boundaries
- Labels: Optional time/day/month labels under each candle
- SMT Integration: Draws SMT lines connecting swing points on the overlay candles
- Turtle Soup Integration: Shows TS levels as horizontal lines on overlay candles
How It Works:
- Fetches HTF data using request.security() with lookahead_off to get only confirmed candles
- Positions candles to the right of the current chart using future bar indices
- Calculates boundary high/low from all visible candles for consistent line heights
- Only displays when chart timeframe ≤ HTF timeframe
Settings:
- HTF timeframe selection (1H, 4H, 1D, 1W, 1M)
- Number of candles to display (3, 4, or 5)
- Toggle boundary lines and labels
5. TURTLE SOUP PATTERN DETECTION
What It Does:
- Identifies false breakouts followed by reversals
- Draws horizontal lines at the price level that was broken and then reversed
- Works on multiple timeframes (15min, 1H, 4H)
Pattern Definition:
- Bullish Turtle Soup:
* Candle breaks below previous candle's low (wick goes lower)
* BUT closes above the previous candle's low
* Indicates a false breakdown, potential reversal up
- Bearish Turtle Soup:
* Candle breaks above previous candle's high (wick goes higher)
* BUT closes below the previous candle's high
* Indicates a false breakout, potential reversal down
Threshold System:
- ATR-based (Default): Adapts to volatility
- Converts ATR to PIPs: (ATR × Multiplier) / Pip Size
- Only triggers if the initial candle meets minimum size requirement
- Fixed PIPs: Uses a fixed minimum candle size in PIPs
How It Works:
- Checks patterns when HTF candles complete
- Finds the exact swing high/low time within the HTF candle (on lower timeframes)
- Finds when price broke through that level in the reversal candle
- Draws horizontal line from swing point to break point
- Tracks patterns for HTF overlay display
Settings:
- Timeframe selection (15min, 1H, 4H)
- Threshold mode (Fixed PIPs or ATR-based)
- ATR multiplier (default: 0.4)
- Minimum PIPs (for fixed mode)
6. SMART MONEY TECHNIQUE (SMT) / DIVERGENCE
What It Does:
- Detects divergence between correlated trading pairs
- Draws lines connecting swing points when one pair shows Turtle Soup but the other doesn't
- Only works on 4H timeframe and lower
SMT Logic:
- Bullish SMT:
* Correlated pair has bullish Turtle Soup (reversed upward)
* Current pair does NOT have bullish Turtle Soup
* Current pair stayed within previous candle's range (true divergence)
* Draws line connecting swing lows
- Bearish SMT:
* Correlated pair has bearish Turtle Soup (reversed downward)
* Current pair does NOT have bearish Turtle Soup
* Current pair stayed within previous candle's range (true divergence)
* Draws line connecting swing highs
Correlated Pairs:
- ES ↔ NQ (futures)
- SPX ↔ YM (indices)
- BTC ↔ ETH (crypto)
- GBPUSD ↔ EURUSD (forex)
- XAU ↔ XAG (metals)
How It Works:
- Fetches 4H Turtle Soup status for both current and correlated pair
- Checks if current pair showed true divergence (stayed in range)
- On lower timeframes, finds actual swing points within 4H candles
- Draws line connecting the two swing points
- Only triggers on new 4H bar close to avoid duplicates
- Displays on both main chart and HTF overlay
Settings:
- Toggle SMT display on/off
7. DASHBOARD TABLE
What It Does:
- Displays key market information in a table at the bottom-right corner
- Updates in real-time as market conditions change
Information Shown:
1. Killzone: Y/N - Whether currently in active trading hours (1 AM - 12:59 PM NY)
2. Daily Bias: Bullish/Bearish/N/A - Market direction from daily candle analysis
3. 4H Turtle Soup: Bullish/Bearish/No - Most recent 4H TS pattern (within last 5 candles)
4. 4H SMT: Bullish/Bearish/No - Most recent 4H SMT divergence (within last 5 candles)
How It Works:
- Checks arrays of TS and SMT occurrences
- Finds the most recent pattern within the last 5 completed 4H candles
- Updates only on the last bar to optimize performance
HOW IT ALL WORKS TOGETHER
Workflow Example:
1. Session Context: The indicator identifies you're in NY AM session (9:30-11 AM), highlights it in green
2. Daily Bias: Shows "Bullish" from yesterday's price action
3. HTF Overlay: Displays last 5 completed 4H candles on the right, showing higher timeframe structure
4. Turtle Soup: Detects a bearish TS on 4H - price broke above previous high but closed below it
5. SMT: If correlated pair (e.g., NQ) had bullish TS but current pair (ES) didn't, draws SMT line
6. FVGs: Identifies gaps in price that may get filled
7. Dashboard: Summarizes all this information in one place
Key Design Principles:
1. Adaptive Thresholds: Both FVG and Turtle Soup use ATR-based thresholds that adjust to volatility
2. Multi-Timeframe: Works across different chart timeframes while maintaining HTF context
3. Visual Clarity: Current session highlighted in green, past sessions in grey
4. Memory Management: Limits arrays to prevent performance issues
5. Confirmed Data Only: Uses lookahead_off to ensure only completed candles are analyzed
Best Practices for Use:
1. Timeframe Selection: Use lower timeframes (5m, 15m) for entries, but always check HTF overlay for context
2. Session Awareness: Trade during active killzones when liquidity is highest
3. Daily Bias: Align trades with daily bias for higher probability
4. Turtle Soup: Look for TS patterns at key support/resistance levels
5. SMT Divergence: Use SMT to identify when one pair is leading/diverging from correlated pair
6. FVG Fills: Watch for price to return and fill FVG gaps
TECHNICAL DETAILS
Performance Optimizations:
- Limits arrays to 50 elements (FVGs, TS, SMT)
- Only updates dashboard on last bar
- Clears and redraws HTF overlay each bar to prevent duplicates
- Uses efficient time-based lookups for swing point detection
Timezone Handling:
- All sessions use New York time (America/New_York)
- Handles EDT/EST automatically
- Daily bias uses exchange timezone for daily candles
Symbol Support:
- Works with forex, futures, stocks, crypto
- Automatically detects JPY pairs for correct pip calculation (0.01 vs 0.0001)
- Handles 24/7 markets (crypto) vs traditional market hours
SETTINGS SUMMARY
Display Settings:
- Show FVGs
- Show HTF Candle Overlay
- Show Session Times
- Turtle Soup Threshold Mode (Fixed PIPs / ATR-based)
- Turtle Soup ATR Multiplier
- ATR Length
FVG Settings:
- FVG Threshold Mode (Auto / Manual / ATR-based)
- FVG Threshold Multiplier
- FVG Manual Threshold (%)
- Minimum Threshold Override (%)
- FVG ATR Length
HTF Candle Overlay:
- HTF Overlay Timeframe (1H, 4H, 1D, 1W, 1M)
- Number of Candles (3, 4, 5)
- Show HTF Candle Boundaries
- Show HTF Candle Labels
HTF Turtle Soup Settings:
- Show HTF Turtle Soup
- Turtle Soup Timeframe (15, 60, 240)
- Lookback Candles
SMT Settings:
- Show SMT
This indicator is designed to provide a comprehensive view of market structure, combining multiple trading concepts into a unified tool for better trading decisions.
PPAO - Propagator Price Action Oscillator
How PPAO works in one cycle (what it does every candle)
PPAO has 3 moving parts that run every bar:
1) It measures new candle pressure (the “push”)
This is the forcing term.
Return (ret): did price go up or down from last close?
Body: did the candle close above or below its open?
CLV: did the candle close near the high or near the low of its range?
With Option B, the “price action push” is directional:
Body is positive on bullish candles, negative on bearish candles.
CLV is:
near +1 if the candle closes near the high (buying strength),
near -1 if it closes near the low (selling strength).
So a candle that closes weak (near the low) pushes PPAO downward even if the candle range is large.
2) It decides how much to remember vs forget (the “friction”)
This is damping / decay.
High volatility (noisy market) → forget faster
Low volatility (cleaner market) → remember longer
So PPAO adapts: in chop it won’t hold bias for long; in smooth trends it will.
3) It updates a hidden “momentum engine” (state)
Internally it keeps two numbers (p and q) that store the market’s impulse with memory.
Every candle:
it shrinks the old state (decay),
rotates it a bit (momentum/volatility creates oscillation),
then adds the candle push (forcing).
Finally, it converts that hidden state into a 0–100 line:
> 50 means the state is aligned bullish,
< 50 means it’s aligned bearish.
The image below will give you an example of a deep analysis using the Propagator Price Action Oscillator (PPAO).
PPAO below 30
What that means mechanically
Below 30 = bearish impulse extreme.
It happens when the recent candles are consistently “bearish pressure” according to the forcing inputs:
returns are negative and/or
candles close weak inside their range (CLV negative) and/or
bodies are bearish (close < open)
Also, if volatility is elevated, damping can make this flip faster and stay extreme during a strong impulse.
What it means behaviorally
PPAO < 30 is not “prediction.” It is diagnosis:
“Recent candle pressure has been strongly bearish.”
This can show up in two common market contexts:
Continuation context
Price is breaking structure down, and candles keep closing weak → PPAO stays < 30.
Distribution / hidden weakness context (important)
Price may look stable or near a high, but candles are repeatedly closing poorly inside their ranges (negative CLV).
That makes PPAO drop under 30 even if price hasn’t collapsed yet.
That second case is exactly why Option B (Body + CLV) is useful: it can flag weak closes / selling absorption earlier than “price-only” oscillators.
PPAO above 70
What that means mechanically
Above 70 = bullish impulse extreme.
It occurs when the forcing inputs are strongly positive:
returns are positive and/or
candles close strong inside their range (CLV positive) and/or
bodies are bullish (close > open)
If volatility is not exploding, damping won’t erase the accumulated bullish state quickly, so PPAO can stay above 70 during sustained buying pressure.
What it means behaviorally
Again: not a prophecy, but an impulse read:
“Recent candle pressure has been strongly bullish.”
Two common contexts:
Trend continuation
Price is pushing higher and closes are strong → PPAO remains > 70.
Exhaustion risk
If price is hitting major resistance/liquidity and you start seeing weaker closes (CLV drops) while PPAO stops making new highs → that’s where reversals begin to appear.
The key takeaway using both images
PPAO extremes are best understood as:
Below 30: “Sellers are currently dominating candle pressure.”
Above 70: “Buyers are currently dominating candle pressure.”
Whether that dominance leads to continuation or reversal depends on what price does next (structure + where you are on the chart). PPAO is measuring pressure, not guaranteeing outcome.
USDJPY Timing Composite (5-Component)Overview
A sophisticated multi-component oscillator designed specifically for intraday USDJPY trading. This indicator combines five key market drivers to provide high-probability timing signals by isolating true USD strength and JPY weakness from noise.
Components & Methodology
The indicator uses z-score normalization (default 20-period lookback) to make five distinct market signals comparable and combines them into a single composite reading:
Primary USD Strength Signals (60%):
-EURUSD (30%) - Inverted EUR/USD measures USD strength against the Euro
USDCHF (30%) - USD strength against the Swiss Franc
Yield Differential (25%):
US02Y (25%) - 2-Year Treasury yield captures Fed policy expectations and carry trade dynamics
JPY Weakness Confirmation (15%):
CHFJPY (7.5%) - CHF/JPY cross isolates JPY-specific weakness
EURJPY (7.5%) - EUR/JPY cross provides additional JPY context
Key Features
✅ Multi-Source Validation - Separates real USD strength from currency-specific noise
✅ JPY Context Filter - Confirms whether moves are driven by USD strength, JPY weakness, or both
✅ Alignment Indicator - Visual dots show when 4+ components agree (high-confidence setups)
✅ Mean-Reversion Zones - Overbought/oversold thresholds at ±1.5 standard deviations
✅ Clean Visualization - Candle-based display (no wicks) for easy interpretation
How to Use
Basic Signals:
Green candles = Bullish USDJPY pressure (USD strengthening / JPY weakening)
Red candles = Bearish USDJPY pressure (USD weakening / JPY strengthening)
Above +1.5 = Overbought zone → look for mean-reversion shorts
Below -1.5 = Oversold zone → look for mean-reversion longs
High-Confidence Setups (Alignment Dots):
Lime dot at top = 4+ components bullish → strong long bias
Magenta dot at bottom = 4+ components bearish → strong short bias
No dots = Mixed signals → reduce position size or wait for clarity
Divergence Trading:
USDJPY makes new high but composite doesn't confirm → potential reversal down
USDJPY makes new low but composite doesn't confirm → potential reversal up
Best Practices
Timeframes: 5-minute to 15-minute charts for intraday trading
Session Focus: London and New York overlap (peak liquidity)
Pair With: Support/resistance levels, volume profile, or session highs/lows
Risk Management: Use alignment indicator to size positions (larger size when dots present)
Weight Adjustments:
Fed data days (CPI, NFP, FOMC): Increase US02Y weight to 30-35%
Pure FX sessions: Increase -EURUSD/USDCHF weights to 35% each
Risk-off events: Monitor CHFJPY/EURJPY for safe-haven JPY flows
Technical Details
Calculation Method: Z-score normalization with configurable lookback period
Default Weights: -EURUSD 30% | USDCHF 30% | US02Y 25% | CHFJPY 7.5% | EURJPY 7.5%
Extreme Threshold: ±1.5 standard deviations (adjustable)
Alignment Trigger: 4 out of 5 components in agreement
Customizable Parameters:
Z-score lookback period (default: 20)
Individual component weights
Extreme threshold levels
Alignment indicator on/off
Advantages Over Simple Indicators
Unlike single-pair or DXY-based indicators, this composite:
Filters false signals - USD strength confirmed by two independent FX pairs
Identifies source of moves - Separates USD dynamics from JPY-specific flows
Reduces noise - JPY crosses prevent misreading EUR/CHF weakness as USD strength
Adapts to regimes - Adjustable weights for different market conditions
Suggested Complementary Analysis
Price action at key technical levels
Session opening ranges
Economic calendar (especially Fed events)
Correlation with US equity markets during risk-off periods
Intermarket analysis with JGB yields for JPY policy context
Disclaimer
This indicator is a technical analysis tool and does not guarantee profitable trades. Always use proper risk management, consider fundamental factors, and backtest any strategy before live trading. Past performance does not indicate future results.
HOANO A.I PRO [B2]Link indicator : t.me
------------------------------------
HOANO A.I PRO is a special upgrade compared to the previous HOANO A.I PRO version.
HOANO A.I PRO is a custom-built indicator developed by an individual. eloped exclusively for private (invite-only) use. It is designed specifically for analysis and testing purposes
This indicator is not intended for public distribution and may only be applied to charts with the author’s explicit permission. No guarantees or assurances of profit are provided. The indicator is offered “as is” and is intended solely for educational and reference purposes.
If you would like to request access, please contact the author directly
TTC Open Lines v1This liquidity-based key level indicator displays previous highs and lows from the daily, weekly, monthly, quarterly, and yearly charts. These price levels serve as important reference points in the trading of any market or financial instrument.
They also represent high-probability reaction zones, making them ideal areas to look for trades using simple confirmation patterns.
Each level plays a crucial role in determining whether the market is likely to continue its current trend or reverse direction. I like to think of these levels as two magnets — they can either attract price or push it away.
You might wonder how two opposing behaviors can both be useful. The key is to remain directionally neutral and develop your own set of rules to identify when price is more likely to react by being drawn toward these areas or rejected from them.
I have my own rules for this, and you can develop a framework that fits your own trading style as well.
Super Crooks - Breakers█ OVERVIEW
This indicator plots bullish and bearish breaker formations. When price is moving quickly, it can be difficult to mark out breaker formations across multiple timeframes. This indicator simplifies that process by marking these out automatically -- ultimately making the formations easily visible.
█ CONCEPTS
Adds L, H, LL, HH swing point labels to show bullish breaker formations
Adds H, L, HH, LL swing point labels to show bearish breaker formations
█ HOW TO USE
Add the Super Crooks Breakers indicator to your TradingView charts
Open the indicator's settings and select your preferred configurations
Watch your charts to see the indicator plot breaker formations
█ FEATURES
Visuals are drawn in real time (after candle closure) on your selected timeframe
Breaker formations can be configured to be plotted based on candle wick (high/low) price or candle close price
Configuration options (swing lengths, show/hide setups)
Aggressive Buyers & SellersShows indicators of aggressive sellers and buyers, so when you are looking at the chart closer then you will be able to make short time trade based off the indicators tell.
Paulo - Volume Scalp AutoIndicator Name:
Paulo – Volume Scalp Auto (Crypto)
Description:
This indicator was developed for aggressive crypto scalping, with a focus on 1-minute charts and highly volatile altcoins.
It combines volume analysis, price action, and ATR-based volatility, automatically adjusting signal sensitivity depending on whether the market is in a normal or volatile regime.
The script detects relevant volume spikes relative to the moving average, helping filter out weak entries and highlighting potential short-term participation of large market players.
When volatility increases, the indicator automatically raises the volume threshold, reducing false signals that are common in fast-moving altcoins.
Key features:
• Automatic Normal vs. Volatile mode
• Dynamic volatility detection
• Visual buy and sell signals
• Native TradingView alerts
• Optimized for 1-minute crypto scalping
Disclaimer: This indicator is a decision-support tool only and does not constitute financial advice. Always use proper risk management.
Pivot Scannerpivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alertspivot scanner based on pivots ema and ai alerts
ORB 369 - Opening Range Breakout The ORB 369 is a professional-grade momentum indicator designed to capture the volatility of the New York market open. While many Opening Range Breakout (ORB) scripts simply draw lines, this script integrates time-segmented price action with Supply and Demand (S/D) theory to filter out "fakeouts" and identify high-probability institutional entries.
💡 The Core Concept: Why 3-6-9?
The strategy is rooted in the "Market Open Volatility" principle. The first 15 minutes (9:30–9:45 AM EST) represent the period where institutional orders are processed and "price discovery" is most aggressive.
The Range: We define the 15-minute high and low as the "Battlefield."
The 369 Logic: This script focuses on the 3rd 5-minute candle of the session (completing the 15m range) and monitors the subsequent 5m and 15m cycles for a definitive trend shift.
🛠️ How It Works
The script utilizes Pine Script v6 high-precision time-tracking and state-handling to ensure accuracy even on historical data.
1. Dynamic Session Anchoring
Unlike static indicators, this script uses America/New_York timezone anchoring. It identifies the Opening Range (OR) regardless of your local time, ensuring you are aligned with the NYSE floor traders.
2. Supply & Demand Detection
The script doesn't just look at the high/low; it analyzes the micro-structure within that 15-minute window.
It identifies unmitigated zones (areas where price moved so fast it left "imbalances").
If a breakout occurs but price immediately hits an internal S/D zone, it warns the trader of a potential "Look Above and Fail" scenario.
3. Breakout Confirmation (5m Logic)
A common mistake is entering on a "wick." This script uses Closing Logic:
Bullish Signal: A 5-minute candle must close entirely above the 15m High.
Bearish Signal: A 5-minute candle must close entirely below the 15m Low.
The script then repaints the candle body (defaulting to Blue/Red) to provide an instant visual cue that the "Breakout is Confirmed."
📈 How to Use It
Wait for the Box: At 9:45 AM EST, the script will automatically lock in the High, Low, and Midpoint (Mean) of the range.
Monitor the Midpoint: The Midpoint acts as the "Line in the Sand." If a breakout occurs but price stays near the Midpoint, the trend is weak. If price stays in the upper half of the range, the Bullish bias is stronger.
The Entry: Wait for the Candle Color Change. A blue candle above the range suggests a long entry; a red candle below suggests a short.
Supply/Demand Zones: If the script highlights a "Demand Zone" at the bottom of the range and price bounces off it before breaking the top, this provides a "double-confluence" setup.
⚙️ Technical Features
Customizable Aesthetics: Use the Settings menu to change the breakout colors (Green/Blue/Red) to match your personal chart theme.
Smart Tooltips: Hover over the inputs in the settings to see detailed explanations of what each parameter does.
Alert Ready: Built-in alerts for "Bullish Breakout" and "Bearish Breakout" that can be sent directly to your phone or desktop via TradingView.
Pivot Points AvancadoOlá Amigos,
Indicador Pivot Points com Cruzamento de Médias Móveis
Fabricio Nicolau
Previous High & LowPrevious High & Low plots key reference levels from higher timeframes directly on your chart to help you spot liquidity targets, support/resistance, and reaction zones faster.
What it shows:
PDH / PDL (Previous Day High & Low): yesterday’s high and low, extended to the end of the current day (works on all timeframes, including low TF).
H-2 / H-3 (1H levels): the high/low from the previous-previous hour (H-2) and an optional extra set (H-3) for additional intraday context. These lines are limited up to the current candle.
H4-1 / H4-2 (4H levels): the high/low of the previous 4-hour candle (H4-1) and the previous-previous 4-hour candle (H4-2), also limited up to the current candle.
Customization:
Toggle each group on/off (PDH/PDL, H-2, H-3, H4-1, H4-2)
Fully style lines (color, width, solid/dashed/dotted)
Optional labels for each level
How to use:
Use these levels as “areas of interest” for breakouts, pullbacks, stop runs/liquidity sweeps, and mean-reversion reactions—especially around PDH/PDL and prior 4H/1H extremes.
Custom Trading Strategy (1H)Overview: This indicator is a technical tool designed for the 1-Hour timeframe (1H).
It combines Trend following with Momentum to filter false signals.
The strategy only triggers a signal when three classic indicators align perfectly.
How it Works? The script plots a green "N" label when the following 4 conditions are met simultaneously:
MACD: Both MACD Line and Signal Line must be above Zero (Bullish Territory).
MACD Crossover: A bullish crossover occurred either on the current bar or the previous bar.
SMA: Simple Moving Average (5) crosses over SMA (20).
RSI: Relative Strength Index is above 50 (Positive Momentum).
Features:
Clean Chart: Calculates SMAs and Stop Loss levels in the background without cluttering the chart with lines.
Only the signal label "N" is displayed.
Filtering: Filters out weak signals by requiring RSI > 50 and MACD > 0 confirmation.
FVG SMC Real Combat ProOverview
FVG SMC Real Combat Pro is a professional-grade trading indicator specifically optimized for high-volatility assets like Gold (XAU) and Silver (XAG). By integrating Fair Value Gaps (FVG) with Smart Money Concepts (SMC) and Multi-Timeframe (MTF) Trend Filtering, this tool identifies high-probability institutional order flow zones.
Key Capabilities
Asset-Specific Logic: Pre-configured EMA and ATR filters tailored for the unique volatility of Silver and Gold.
MTF Trend Alignment: Automatically syncs with the 1H timeframe to ensure your entries are always aligned with the higher-timeframe narrative.
Dynamic Zone Management: Draws FVG boxes in real-time. Zones that are mitigated or breached are automatically marked as "INVALID" to keep your charts clutter-free.
Professional Dashboard: A sleek, real-time UI provides:
Current Bias: Bullish, Bearish, or Neutral.
Entry Points: Aggressive (Edge) and Conservative (Consequent Encroachment/Midpoint).
Smart SL/TP: Automated risk-reward calculations based on ATR and swing structures.
How to Use
Check the Bias: Look for the "🚀 BULLISH" or "📉 BEARISH" status on the dashboard.
Monitor the Zone: Wait for the price to retrace into the highlighted FVG box (Status: "🔥 IN ZONE").
Execute: Utilize the provided CE (50% Midpoint) for optimized entries and follow the Stop Loss levels for disciplined risk management.
核心概述
FVG SMC Real Combat Pro 是一款專為黃金 (XAU) 與 白銀 (XAG) 等高波動資產設計的專業級指標。本工具結合了價格行為中的合理價值缺口 (FVG) 與 聰明錢概念 (SMC),並導入多時框 (MTF) 趨勢過濾,旨在捕捉機構級別的訂單流區間。
核心功能
商品專屬邏輯: 針對金、銀不同的波動率,內建優化過的 EMA 趨勢長度與 ATR 缺口判定參數。
MTF 趨勢對齊: 自動串接 1 小時圖表趨勢,確保您的操作始終與大週期方向一致。
動態區間管理: 即時繪製 FVG 區間。當區間被突破或回測完成時,系統會自動標註為「失效」,保持圖表簡潔清晰。
專業數據面板: 提供直觀的實時 UI:
Bias (建議方向): 顯示看多、看空或觀望。
精準點位: 提供激進進場位與保守進場位 (CE/中軸)。
智慧止損盈: 基於 ATR 與波動結構自動計算科學的止損與目標價 (TP1/TP2)。
操作指南
確認方向: 觀察面板中的方向標籤(🚀 看多 / 📉 看空)。
等待回測: 等待價格回調至 FVG 區間(面板狀態顯示「🔥 區間內」)。
執行計畫: 參考面板給出的 CE (中軸) 或 Entry (邊緣) 進行操作,並嚴格執行建議的 Stop Loss 點位。
重要聲明 (Disclaimer)
Non-Repainting: This indicator does NOT repaint. All signals are calculated based on closed candles. (本指標絕不重繪,所有訊號基於收盤價計算。)
Risk Warning: Past performance is not indicative of future results. Trading involves significant risk. (過去績效不代表未來獲利,交易存在風險。)
ICT Internal Levels [Amaan] 🔷 OVERVIEW
The ICT Internal Levels is a comprehensive institutional analysis suite designed to bridge the gap between subjective price action and objective algorithmic logic. This script automates the detection of core ICT pillars—Liquidity, Time, and Displacement—into a single, high-performance interface.
🧠 The Core Engine
Unlike standard support/resistance indicators, this script uses a dynamic state-tracking system to identify institutional interest zones. It manages historical levels using memory-efficient User-Defined Types (UDTs) and arrays, ensuring that only the most relevant "unswept" liquidity remains on your chart.
🛠 Key Features
• Auto IFVG Checklist: A real-time confluence engine that "grades" market conditions from C to A+ by cross-verifying Liquidity Sweeps, Midnight Open Bias, and HTF Delivery.
• SMT Divergence Engine: A dual-mode detector (Adjacent & Structural) that identifies cracks in correlation between correlated assets (e.g., NQ/ES) with built-in dynamic invalidation.
• Algorithmic Macros: Six fully customizable time-anchored sessions (New York local time) that highlight the specific "killzones" where institutional volatility is highest.
• Internal Liquidity Scanner: A multi-timeframe scanner for Equal Highs (EQH) and Equal Lows (EQL) that identifies the "Draw on Liquidity" across 1m to 15m charts.
• Institutional Bias Framework: Automatically anchors the Midnight Opening Price to determine Daily Equilibrium (Discount vs. Premium arrays).
📈 Why Use This Script?
This tool is built for the "Smarter Trader." It removes the guesswork from ICT concepts by providing:
1. Objectivity: Know exactly when a setup has enough confluence via the automated Checklist.
2. Clarity: Clear visual distinction between Major and Minor liquidity levels.
3. Risk Management: Automated "Breakeven" logic prompts you when the stop-run phase is likely complete.
📝 Technical Implementation
This version is optimized for speed and accuracy. It features zero repainting on the checklist and SMT components by utilizing closed-candle verification. The UI is fully customizable, allowing you to tailor the dashboard to your specific trading style.
🟢 Advanced BSL & SSL Liquidity Engine
The core of this script is a sophisticated tracking system for Buyside Liquidity (BSL) and Sellside Liquidity (SSL). In institutional trading (ICT), these aren't just highs and lows; they are "Liquidity Pools" where retail stop-losses (buy/sell stops) are clustered, acting as magnets for the market algorithm.
1. The Logic of "Parent Swings"
Unlike basic indicators that mark every fractal high/low, this script uses a Swing Strength filter. It only identifies levels after they have been confirmed by a specific number of bars on either side (lookback/lookforward). This ensures the levels represent significant structural points where true "Smart Money" liquidity resides.
2. Major vs. Minor Classification (The Volatility Filter)
The script includes an intelligent classification system based on the Major Level Threshold %:
• The Calculation: Once a pivot is formed, the script measures the displacement away from that level.
• The Depth: If price expands by more than \bm{X\%} (e.g., 0.5%) after forming a high, it is labeled a "Major BSL".
This tells the trader that this level protected a significant move, making the liquidity sitting above it even more valuable to the algorithm.
3. Proximity Logic: Relatively Equal Highs/Lows (REQH/REQL)
The script features an internal "Proximity Scan." It automatically evaluates the distance between active liquidity levels:
• Logic: If two BSL levels are within a defined price threshold (\bm{REQ\_THRESHOLD}), the script identifies them as Relatively Equal Highs.
• Trading Insight: In ICT concepts, equal highs/lows are "engineered liquidity." The market is much more likely to run through these levels aggressively because there is a double layer of stops resting there.
4. Automated Level Management & Mitigation
To prevent "chart clutter," the script uses Custom Types and Arrays to manage levels dynamically:
• Mitigation (The Purge): As soon as price trades through a level, it is considered "mitigated" or "purged."
• Traded-Through Memory: You can toggle a setting to keep these levels visible. If enabled, the script stops extending the line and reduces its opacity (e.g., to 25%), leaving a "ghost level" on the chart. These often act as S/R Flips or support/resistance zones in future sessions.
📝 Logic behind it
• Methodology: The script utilizes the method keyword in Pine Script v6 to create clean, object-oriented code for level deletion and updates.
• Performance: By using array.unshift() and array.remove(), the script maintains a FIFO (First-In-First-Out) queue. This ensures that even on high-volatility days, the script never exceeds the 500-line drawing limit, maintaining smooth chart performance.
• Coordinate Precision: Lines are pinned using bar_index , ensuring that the line starts at the exact wick peak, providing pixel-perfect accuracy for liquidity analysis.
🟢 Institutional Macro Sessions
In the ICT methodology, Time is the primary filter. Price levels only become significant when they are reached at specific times of the day. This script automates the detection of Algorithmic Macros—tight 20-to-30-minute windows where the "Interbank Price Delivery Algorithm" (IPDA) is programmed to execute specific volatility injections.
1. Algorithmic Directives
During these highlighted windows, the market is not moving randomly. The algorithm is usually "called" to perform one of three tasks:
• Liquidity Purge: A quick run to stop out retail traders at a previous High (BSL) or Low (SSL).
• Rebalancing: Returning to a Fair Value Gap (FVG) or "Imbalance" to seek equilibrium.
• Expansion: Moving rapidly from an internal range toward a higher-timeframe target.
2. The 6 Tracked Macros
Your script identifies the most vital institutional windows for the New York session:
• AM Macro 1 (08:50 – 09:10): Often used for "Setting the Stage" or manipulation before the Equities Open.
• AM Macro 2 (09:50 – 10:10): A high-probability execution window often coinciding with the "Silver Bullet" setup.
• AM Macro 3 (10:50 – 11:10): Frequently marks the "Trend Continuation" or the start of a midday reversal.
• Lunch Macro (11:50 – 12:10): Algorithmic rebalancing before the PM session.
• PM Macro (13:10 – 13:40): The kick-off for the afternoon trend and London Close volatility.
• Last Hour Macro (15:15 – 15:45): The final algorithmic rebalancing before the New York "MOC" (Market On Close) orders.
3. Behind the Logic: Timezone Synchronization
A major technical challenge in Pine Script is ensuring time-boxes align correctly regardless of the user's local clock
• The Solution: This script utilizes a Timezone Shift parameter combined with the timestamp() function.
• Logic: It anchors the calculation to the chart’s syminfo.timezone and then offsets it to match New York Local Time.
This ensures that even if you are trading from London, Tokyo, or Dubai, the "09:50 Macro" will always plot exactly when the New York algorithms become active.
🟢 Multi-Timeframe Liquidity Scanner (EQH/EQL)
One of the most powerful features of V2 is the Stable Deep Scan Logic. Unlike basic fractal indicators, this script doesn't just mark any two similar peaks; it performs a rigorous historical audit of the price action.
The "Unswept" Logic
The table is powered by a custom function, check_liquidity_deep(), which executes a two-stage verification:
1. Detection: It scans a lookback window (default 300 bars) to find price points that are mathematically equal.
2. Verification: Once a level is found, the script runs a secondary loop to ensure that no intervening candle has breached (swept) that level. If a higher high has occurred between the level formation and the current bar, the level is discarded as "invalid/purged."
Data Visualization
The scanner requests this deep-scan data via request.security() for the 1m, 2m, 3m, 4m, 5m, and 15m timeframes simultaneously.
• EQH (Green/Red): Indicates a "Ceiling" of liquidity waiting to be raided.
• EQL (Red/Green): Indicates a "Floor" of sell-side liquidity.
• Both: Alerts the trader to a "bracketed" market, often preceding a high-volatility expansion.
• Memory Management: By using var array structures for SMT lines and labels, the script avoids the "Maximum Objects" limit often hit by lower-quality scripts.
• Optimization: The check_liquidity_deep function is designed to only trigger its heaviest calculations on the barstate.islast, ensuring your chart remains fluid and responsive even with multiple timeframes active.
• Coordinate Precision: The script uses xloc.bar_time for Macro lines to ensure they remain pinned to the correct NYC time regardless of the user's local computer clock or daylight savings shifts.
🟢 The Auto IFVG Checklist
The Auto IFVG Checklist in this script is a real-time confluence engine. It doesn't just display labels; it executes complex multi-timeframe scans and state-checks to verify if an institutional setup is currently active.
1. 🛡️ Liq Sweep (Liquidity Sweep)
Code Logic: high > high and close < high (for Bearish) or low < low and close > low (for Bullish).
• How it works: Your code identifies "Wick Manipulations." It flags a sweep when price breaches a previous candle's extremity but fails to hold that level on the close.
• Persistence: It uses swept_p with a ta.barssince lookback of 5 bars, meaning the "fuel" from the sweep remains valid for 5 candles after it occurs.
2. ⚡ Momentum (Midnight Open Bias)Orderflow Code Logic: midnightOpen = na anchored at hour == 0 and minute == 0.
• How it works: The script establishes a "True Day Open."
• IOF Bullish: Price is currently below Midnight Open (accumulating in a discount).
• IOF Bearish: Price is currently above Midnight Open (distributing in a premium).
• The Checklist Role: The Momentum check confirms if you are trading on the correct side of the "Power of 3" (Accumulation/Manipulation/Distribution).
3. 🎯 Clear DOL (Draw on Liquidity)
Code Logic: iof_bullish ? close < ta.vwap : close > ta.vwap.
• How it works: It uses VWAP (Volume Weighted Average Price) as the standard for algorithmic equilibrium.
• The Objective: If the bias is bullish, the script looks for price to be below VWAP, indicating the "Draw" is toward a higher premium or internal liquidity pool. It ensures the trade has room to "breathe" before hitting equilibrium.
4. 🔄 HTF iFVG (Higher Timeframe Inversion FVG)
Code Logic: f_scan_tf(tf) using request.security.
• How it works: This is the most complex part of the indicator. It scans the 1m, 2m, 3m, 4m, and 5m timeframes for "Inversion."
• The "Inversion" Event: It checks if price has closed completely through a Fair Value Gap (inv_b or inv_s). In your script, if a gap on any of these five timeframes is inverted, it signals a high-probability "Change in State of Delivery."
5. 🚢 HTF Delivery (Higher Timeframe Narrative)
Code Logic: f_scan_tf scanning 15m, 30m, 1H, and 4H.
• How it works: The script checks if price is currently interacting with an institutional zone on much higher timeframes.
• Priority: It uses a hierarchical "if-else" chain. If a 4H zone is found, it overrides the 1H; if a 1H is found, it overrides the 15m. This ensures the Checklist always displays the most significant timeframe currently "delivering" price.
6. ⚖️ Breakeven (The Risk-Off Trigger)
Code Logic: beR = ta.barssince(swept) < 10.
• How it works: This is a time-based risk management filter.
• The Logic: If a Liquidity Sweep occurred within the last 10 bars and the trade is moving, the script flags "Breakeven." It alerts the trader that the "Stop Run" phase should be over, and it is time to move the stop loss to the entry to ensure a risk-free trade.
📊 The Mathematical Rating System
The final "RATING" cell in the table is the result of a weighted boolean check:
• A+: Requires all 5 confluences (Sweep, Momentum, iFVG, Delivery, and DOL).
• A: Requires Sweep, Momentum, iFVG, and DOL.
• B+: Only requires the intraday pillars (Sweep, Momentum, and iFVG).
• C: Only requires an iFVG presence.
🟢 SMT Divergence Engine
The SMT engine in this script acts as a "crack in correlation" detector. It monitors the relationship between current chart and a Comparison Symbol (e.g., NQ vs. ES) to identify institutional accumulation or distribution that isn't visible on a single chart.
1. Dual-Mode Detection
This feature implements two distinct types of SMT to capture both aggressive and structural shifts:
• Adjacent Wick SMT: This is "Micro-SMT." It compares the current candle's wick to the previous candle's wick. If the main symbol makes a Higher High but the correlated symbol does not, it flags an immediate divergence.
• Structural Pivot SMT: This is "Macro-SMT." It uses three different lookback lengths (Primary, Secondary, and Tertiary) to find divergences across major market swings.
2. Dynamic Invalidation Logic (The "Mended Crack")
A common issue with SMT indicators is that they stay on the chart forever. Your code solves this with a Reference Price Check:
• The Logic: When a divergence is found, the script stores the correlated symbol’s high/low in an array (adj_up_comp_refs).
• The Invalidation: If the correlated symbol eventually "catches up" and breaks that stored reference price, the "crack" is considered mended. The script then executes a while loop to purge the lines and labels from the chart automatically.
3. Advanced Memory Management (Array-Based)
This allows the script to track multiple concurrent SMTs. If three different divergences happen in a row, the script can display and manage all of them independently without hitting TradingView's drawing limits or "forgetting" old levels.
4. Triple-Length Pivot Analysis
By using three different pivot lengths (3, 5, and 8), the SMT engine filters "Market Noise":
• Tertiary (3): For scalpers looking for quick entries.
• Primary (5): For standard intraday trend changes.
• Secondary (8): For major structural shifts and daily bias reversals.
5. Algorithmic Correlation Mapping
The script uses fixnan(ta.pivothigh(...)) to ensure that the SMT lines are pinned exactly to the historical pivots, even if the comparison symbol has gaps in its data. This ensures that the "slope" of the SMT line is mathematically accurate, providing a clear visual of the divergence.
⚒️How to use ICT Internal Levels
Step 1: Establish the "Daily Anchor" (Midnight Open)
Before looking for trades, identify your bias using the Midnight Opening Price.
• Look at the Momentum section of your Checklist.
• If the script says "BULL" (price is below Midnight Open), you are in a Discount and should only look for Longs.
• If it says "BEAR" (price is above Midnight Open), you are in a Premium and should only look for Shorts.
Step 2: Identify the "Draw" (EQH/EQL & BSL/SSL)
Now, find out where the market is likely to go.
• The Scanner: Check the Multi-TF EQH/EQL Table. If you see "EQH" across multiple timeframes (1m, 5m, 15m), that is a high-probability Draw on Liquidity (DOL).
• The Levels: Look for the Major BSL/SSL lines. These are your "Targets." The market will likely seek these pools of money before reversing.
Step 3: Wait for the "Time Window" (Macros)
Don't trade in the "dead zones." Wait for price to enter a Macro Session (the highlighted vertical zones).
• Institutional volatility is most consistent during these windows (e.g., 09:50–10:10 AM).
• The Goal: You want to see price reach your "Draw" (from Step 2) during this time window.
Step 4: Confirm the "Crack" (SMT Divergence)
As price approaches a BSL or SSL level within a Macro window, look for an SMT label.
• If the asset you are trading (e.g., NQ) sweeps a high, but the comparison symbol (e.g., ES) does not, the SMT engine will plot a line.
• This confirms that "Smart Money" is actively distributing, and a reversal is imminent.
Step 5: The "Entry Signal" (HTF iFVG)
Wait for the Change in State of Delivery.
• Look for an iFVG (Inversion Fair Value Gap) to form on the 1m or 5m chart.
• When price closes through a gap, the HTF IFVG item on your Checklist will turn green. This is your "Green Light" to enter the market.
Step 6: Final Audit (The Checklist Grade)
Before clicking "Buy" or "Sell," look at the RATING in the bottom corner of the checklist.
• A+ / A: Execute with full confidence. All pillars (Time, Price, SMT, and HTF) are aligned.
• B+: High probability, but perhaps you are trading outside of a Macro or against the HTF Delivery. Use smaller risk.
• C: Avoid this setup; it is likely a trap or a low-probability scalp.
Step 7: Risk Management (Breakeven)
Once you are in the trade:
• Monitor the Breakeven status on the checklist.
• Once it switches to "YES" (usually after 10 bars or a significant move), move your Stop Loss to your entry price. You now have a "Risk-Free" trade.
⚠️ Risk Disclaimer
The ICT Internal Levels V2 is an educational tool for market analysis and does not provide financial advice or guaranteed "buy/sell" signals. Trading involves significant risk, and you may lose some or all of your invested capital.
No Guarantees: Past performance does not guarantee future results. While this script uses advanced logic to identify confluences, all market analysis involves probability, not certainty.
User Responsibility: The author is not liable for any financial losses resulting from the use of this indicator. You are solely responsible for your trading decisions and should always use proper risk management. Use this script to supplement your own manual analysis—never rely on an indicator alone for execution.
Auto Decision Box LITEAuto Decision Box LITE
Simple educational indicator that visualizes consolidation "decision boxes" on a higher timeframe after impulse moves.
Features:
- Draws orange high/low box lines with fill based on ATR impulse and balance bars
- Optional RTH session filter (9–11 AM ET by default)
- Basic crossover/crossunder labels when price breaks the box (green up / red down)
- Daily disclaimer label
This is a structure-only tool — no signals, no filters, no trading logic. Use it to manually identify potential zones on stocks, futures, forex, etc.
For educational purposes only. Not financial advice. Always do your own research and manage risk.
BlockfinderThis script will help solve the problem of finding buy or sell levels, the calibration parameters are adjusted for intraday trading. If you have any questions, write in private messages, I will help you figure it out and set it up.
External Market Structure from BBCits a external market structure from bbc for highs and lows for trend analysis






















