Fusion System | BUY/SELL + Auto FibonacciMariSakel – Fusion System | BUY / SELL Signals + Auto Fibonacci
Overview
MariSakel – Fusion System is a trend-following trading indicator that combines BUY / SELL signals, automatic Fibonacci levels, and Take Profit indications directly on the chart.
It is designed to help traders identify trend direction, entries, and exits without manual drawing.
BUY / SELL Signals
BUY signal appears when price shifts into a bullish trend and moves above the system’s dynamic trend line.
SELL signal appears when price shifts into a bearish trend and moves below the system’s dynamic trend line.
Signals are optimized to follow real trend changes, not random price noise.
Trend Visualization
Green candles indicate bullish market conditions
Red candles indicate bearish market conditions
This allows instant visual confirmation of the active trend, as shown in the chart.
Automatic Fibonacci Levels
The indicator automatically plots key Fibonacci retracement levels:
0.236 / 0.382 / 0.500 / 0.618 / 0.786 / 1.000
These levels act as:
Support & resistance zones
Potential take profit targets
Reaction areas for price continuation or pullbacks
No manual Fibonacci drawing is required.
Take Profit Signals
Take Profit labels appear when price reaches areas of:
extended movement
overbought or oversold conditions
These signals are meant for exiting or partially closing positions, not for opening new trades.
How to Use
Follow the active trend (green for long, red for short)
Enter trades only in the direction of the BUY or SELL signal
Use Fibonacci levels and Take Profit labels to manage exits
Markets & T
Works on Crypto, Forex
Suitable for all t (best performance on H1 and higher)
Göstergeler ve stratejiler
Divergence Detector with GradingIt detects divergences in real time and grades the divergence based on the probability of that divergence playing out. It will grade divergences with a higher grade if near major support and resistantance levels.
Multi Indicator Screener w/ Gates by DeepsageDeepsage Weighted Screener w/ Gates is a high-frequency, candle-by-candle market screening tool designed for precision entries on the 1-minute timeframe (Settings are adjustable to fit other timeframes).
The screener aggregates 31 weighted technical indicators across trend, momentum, volatility, trend strength, and volume to evaluate market conditions at every candle close and classify directional bias.
To improve signal quality, the system includes three independent gate indicators that act as a confirmation layer. These gates do not influence the score itself but instead approve or block trade entry signals, helping filter out low-quality conditions while still allowing exit signals to function normally.
All indicator parameters and gate conditions are fully adjustable, allowing the screener to be adapted to different instruments, volatility regimes, and execution styles.
Directional Movement Index + MTF TableHey guys, just sharing a modified DMI-ADX indicator. The main addition is the Multi-Timeframe functionality, which helps filter out noise by showing higher TF trends. Credits to TradingView for the original source code. Hope you find it useful!
ADX DMI SqueezeThis is my version of the ADX/DMI with added some added features.
J. Welles Wilder Jr. is the creator and originator of the Average Directional Movement Index (ADX) and the Directional Movement Index (DMI) so I encourage you to learn more about this indicator.
I like to scalp the NASDQ and I like taking breakouts above/blow the Bollinger Band (std def one) and or the BB 20 sma . I also use VWAP.
On the chart is my indicator VWAP BB MA which has Vwap and BB if your wanting a combination.
I like taking longs when price is above VWAP, shorts when below VWAP, doing this keeps you on the right side of the market.
You will need to work the settings of the ADX Squeeze to get the best of it for your style of trading. This indicator is just that, It indicates what price has done so, like all indicators it lags however, look at price first then the indicators might support your ideas.
As time evolves I’ll be maintain and doing updates.
ADX DMI Squeeze – How to Use
Overview
This indicator combines:
ADX / DMI → Measures trend strength and direction
ADX Squeeze Histogram → Shows when the trend is accelerating or “squeezing” for a breakout
Triangles → Highlight potential expansion points
Optional DI+ / DI− lines → Show bullish/bearish dominance
ADX Threshold Lines (15 / 20) → Help filter weak trends
Early ADX Acceleration Dots → Provide an early heads-up before a squeeze fires
It can be used standalone or alongside other trend tools like VWAP for better entry timing.
Entry Guidelines
Long Trades (Buy):
Histogram above 0
Green triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI+ > DI− confirms bullish strength
Short Trades (Sell):
Histogram above 0
Red triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI− > DI+ confirms bearish strength
Avoid trades if:
Histogram negative
Triangles appear but ADX below threshold or trend not confirmed by DI linesOptional Filters
Require ADX acceleration: Only shows signals when ADX is increasing → avoids late or false entries
Require VWAP slope: Only triggers signals in line with VWAP trend → improves confluence
Tips
Best on 30-min or higher timeframes for swing/short-term trend trades
Can be combined with VWAP, support/resistance, or Bollinger Bands
Use DI lines toggle if you want extra visual trend confirmation
Adjust DMI length (sensitivity) and ADX smoothing for your preferred timeframe
Interpretation
Histogram turning green above 0 + triangle → strong bullish move forming
Histogram turning red above 0 + triangle → strong bearish move forming
ADX above 20 → strong trend, more reliable
ADX below 15 → weak trend, signals less reliable
In short:
Long = Green bars above 0 + Green triangle
Short = Red bars above 0 + Red triangle
Confirm with ADX above threshold and optionally DI lines
Smart Money Pressure DifferentialPurpose
The Smart Money Pressure Differential (SMPD) is built to reveal the underlying tug‑of‑war between informed volume flows represented by NVI and reactive volume flows represented by PVI, using a clean statistical framework. Instead of relying on raw NVI or PVI, which drift over time and are not directly comparable, the script isolates pressure deviations by measuring how far each index moves away from its own long‑term expectation. By standardizing these deviations, SMPD produces a stable, volatility‑normalized spread that highlights accumulation, distribution, and regime transitions with far greater clarity than traditional volume indicators.
How It Works
The script computes NVI and PVI, scales them, and subtracts their EMAs to extract deviation‑from‑trend pressure, with optional WMA smoothing to reduce micro‑noise. Each deviation series is then standardized independently using rolling mean and standard deviation, ensuring both NVI and PVI operate on equal statistical footing. Their difference becomes the SMPD spread, a normalized measure of which side is exerting more pressure. A second layer applies log‑ROC to capture acceleration rather than level, and these acceleration signals can be plotted as dotted lines. Standard deviation reference levels at 0, 1, 2, and 3 provide a consistent frame for interpreting extreme pressure events.
Rationale
This architecture solves structural weaknesses found in most volume‑based tools, particularly scale drift, volatility collapse, and the instability of cumulative indicators. Standardizing before differencing prevents one index from overpowering the other, ensuring the spread reflects true pressure imbalance rather than structural bias. The log‑ROC layer adds a stable acceleration measure that avoids the distortions of classic ROC when values approach zero. The result is a regime‑independent engine, producing signals that remain comparable across assets, timeframes, and market conditions. SMPD therefore becomes a robust diagnostic tool for identifying when smart‑money pressure is building, fading, or reversing, without relying on arbitrary thresholds or bounded oscillators that distort signal strength.
Pivot Points AvancadoOlá Amigos,
Indicador Pivot Points com Cruzamento de Médias Móveis
Fabricio Nicolau
MA Distance IndicatorPlot the distance from a moving average as a histogram.
Optionally, also plot (in the background, in grey) the distance of the high and low from that same moving average.
Custom EMA Ribbon Pro🌊 Custom EMA Ribbon Pro 🌊
The Ultimate Trend-Following System | Now with Dynamic Cloud Technology 🚀
Stop guessing the trend and start seeing it. The Custom EMA Ribbon Pro is a precision-engineered trading system that transforms standard moving averages into a vibrant, dynamic "Cloud." It is designed to filter out noise, visualize momentum, and help you catch massive trends on any timeframe. 🧘♂️✨
🌟 What makes this "Pro"?
This isn't just a set of lines—it’s a complete Visual Ecosystem.
We have upgraded the classic ribbon with a Dynamic Fill Algorithm that creates a glowing "Cloud" between the lines. This allows you to instantly gauge trend strength just by looking at the intensity of the color on your chart.
⚡ Key Features
🎀 8-Strand Precision: Uses 8 distinct EMAs, to show the full "Flow" of price action.
🌫️ Dynamic Cloud Fill: (NEW!) Toggleable background glow that fills the ribbon.
Green Glow: Strong Bullish Momentum 🟢
Red Glow: Strong Bearish Momentum 🔴
Note: The fill opacity is optimized to pop on dark themes while keeping price action visible!
🕯️ Trend-Based Bar Coloring: Optional feature to paint your candlesticks Green or Red based on the ribbon's direction. never trade against the trend again!
🔔 Integrated Alerts: Never miss a move. Set instant alarms for:
Bullish Cross: When the fast band crosses above the slow band.
Bearish Cross: When the fast band crosses below the slow band.
---
🛠️ How to Trade
1. The Expansion: Watch for the Ribbon (Cloud) to expand and glow bright. This indicates a high-momentum trend is active.
2. The Pullback: In a strong trend, price often pulls back into the "Cloud." This is your dynamic support/resistance zone for entries! 🎯
3. The Twist: When the Green Cloud twists and turns Red (or vice versa), it signals a potential major trend reversal.
---
⚙️ Fully Customizable
Toggle Everything: Turn the Cloud Fill, Bar Colors, or specific lines On/Off to suit your style.
Tooltips Included: Hover over any setting in the menu for a detailed explanation of what it does.
---
🔒 Invite-Only Access
This is a premium Invite-Only script.
To gain access to the Custom EMA Ribbon Pro:
📩 DM me here on TradingView for access.
See the flow. Trade the flow. 🌊📈
---
Disclaimer: Trading involves risk. This tool is for educational and analytical purposes only and does not constitute financial advice.
RDMTFX Custom Engulfing CandlesIdentifies candles which trade beyond the previous extreme and close beyond the opposite extreme.
ET Quarterly Boxes @RukinRomanDivides the year into 4 quarters, then divides by Fibonacci.
The distribution is as follows:
13
5+8
5+(3+5)
(2+3)+(2+1)+(2+3)
Each layer can be turned on separately.
The starting point is the beginning of the year, accounting for market open.
Accuracy is up to 1 hour. Minimum working timeframe is 1 hour.
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.
Empty Candle//@version=6
indicator("Inside / Outside Candle Filter", overlay=true)
// === КОЛЬОРИ ===
insideColor = input.color(color.white, "Колір внутрішніх свічок")
// === РЕФЕРЕНСНА СВІЧКА ===
var float refHigh = na
var float refLow = na
var bool hasRef = false
// ініціалізація першої референсної свічки
if not hasRef
refHigh := high
refLow := low
hasRef := true
// === ЛОГІКА ПРОБИТТЯ ===
breaksHigh = high > refHigh
breaksLow = low < refLow
isBreak = breaksHigh or breaksLow
// === ВНУТРІШНЯ СВІЧКА ===
isInside = not isBreak
// === ОНОВЛЕННЯ РЕФЕРЕНСУ ===
if isBreak
refHigh := high
refLow := low
// === ФАРБУВАННЯ СВІЧОК ===
barcolor(isInside ? insideColor : na)
Option Levels KiKOption Levels KiK - Automatic Options Levels Converter
This indicator automatically converts SPX options levels to ES futures prices in real-time.
KEY FEATURES:
- Automatic conversion from any index (SPX, NDX, etc.) to its corresponding futures contract (ES, NQ, etc.)
- Two conversion modes: Ratio or Spread
- Automatic reference price capture at user-defined time (default 15:30 Paris time)
- Displays key options levels: Gamma Flip, Forward, C50, C70, P50, P70
CONVERSION METHODS:
- Ratio Mode: Future Level = Index Level × (ES Reference / SPX Reference)
- Spread Mode: Future Level = Index Level + (ES Reference - SPX Reference)
CUSTOMIZATION:
- Enable/disable individual levels
- Fully customizable colors, line styles, and widths
- Labels displayed on the right side of the chart
- Reference time automatically converts from Paris timezone to US market time
USAGE:
1. Enter your options levels for the index (e.g., SPX)
2. The indicator automatically converts them to futures levels (e.g., ES)
3. Monitor the conversion info table in the top-right corner
Perfect for options traders who need to track index levels on futures charts!
Bullish/Bearish Trend OscillatorThis oscillator compresses multiple trend signals into a single 0–100 gauge (50 = neutral). It combines:
Fast trend alignment (SMA stack + MACD)
Distance from SMA20 and SMA200 (stronger bear weighting below)
SMMA channel position
Trend line channel position
Price momentum (bar‑to‑bar change)
Volume ratio (green vs red candle weight)
The result is a smoothed, step‑colored trend score that highlights bullish vs bearish pressure and helps identify trend strength changes over time.
Note:
This is an educational indicator and not financial advice.
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. (過去績效不代表未來獲利,交易存在風險。)
DEMA200 + EMA9/20/50 + VWAP (Paul Laurent Trading)This script is an all-in-one overlay indicator for TradingView that combines a **DEMA 200**, **EMA 9/20/50**, and TradingView’s **anchored VWAP** (the same VWAP logic as the default VWAP indicator). It’s designed to keep your chart clean while showing key trend and mean-reversion references in one place.
**How to use it**
* Add it to your chart like any indicator: open **Indicators**, search the script name, and click **Add to chart**.
* Use **EMA 9/20/50** for short-term trend and pullback structure (9 = fastest, 50 = slowest).
* Use **DEMA 200** as your long-term trend filter and major dynamic support/resistance.
* Use **VWAP (middle blue line)** as the intraday “fair value” reference. Price above VWAP generally shows stronger demand; below VWAP suggests weaker demand.
* Open the script **Settings** to customize:
* **Colors** and **Strength (line width)** for each line
* VWAP **Anchor Period** (Session, Week, Month, etc.)
* Optional VWAP **Bands** (off by default, can be enabled anytime)
Empty Candle//@version=5
indicator("5–6 signals per day (Stable)", overlay=true)
// ─────── Inputs ───────
emaLen = input.int(50, "EMA Length", minval=10)
rsiLen = input.int(14, "RSI Length", minval=5)
volMult = input.float(1.3, "Volume multiplier", minval=1.0, step=0.1)
rsiOverb = input.int(65, "RSI Overbought", minval=50, maxval=90)
rsiOvers = input.int(35, "RSI Oversold", minval=10, maxval=50)
// ─────── Calculations ───────
ema = ta.ema(close, emaLen)
rsi = ta.rsi(close, rsiLen)
volMA = ta.sma(volume, 20)
// ─────── Trend ───────
bullTrend = close > ema
bearTrend = close < ema
volSpike = volume > volMA * volMult
// ─────── Base conditions ───────
baseBuy = bullTrend and rsi < rsiOvers and volSpike and close > open
baseSell = bearTrend and rsi > rsiOverb and volSpike and close < open
// ─────── EMA press logic ───────
emaPressBuy = close > open and open < ema and close > ema
emaPressSell = close < open and open > ema and close < ema
// ─────── Final signals ───────
buyCond = baseBuy or emaPressBuy
sellCond = baseSell or emaPressSell
// ─────── Signals (STRICTLY BAR-ANCHORED) ───────
plotshape(
buyCond,
title="BUY",
style=shape.triangleup,
location=location.belowbar,
color=color.lime,
size=size.small
)
plotshape(
sellCond,
title="SELL",
style=shape.triangledown,
location=location.abovebar,
color=color.red,
size=size.small
)
// ─────── EMA ───────
plot(ema, title="EMA", color=color.new(color.blue, 30), linewidth=2)
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.





















