GOM Divine LevelsGOM Divine Levels is an advanced trading indicator that revolutionizes how you identify support and resistance levels. Developed with logic inspired by professional MT5 algorithms, this tool gives you a competitive edge in the markets.
✨ MAIN FEATURES:
🔍 Multi-Timeframe Detection:
Simultaneous analysis of 6 main timeframes (M5, M15, H1, H4, D1, W1)
Selective display according to your trading preferences
Real-time level updates
⚖️ Intelligent ATR Validation:
Level filtering based on ATR distance
Elimination of false signals and market "noise"
Adjustable parameters according to your trading style
🔄 Touch Detection System:
Automatic touch counting on each level
Variable line thickness according to level significance
The more a level is tested, the more significant it becomes
🎨 Professional Visualization:
Distinct color codes for supports (green) and resistances (red)
Clear labels with timeframe and level type
Lines extended across the entire chart for better visibility
⚠️ Complete Alert System:
Alerts for each timeframe and level type
Real-time notifications for trading opportunities
Configurable according to your specific needs
🛠️ CUSTOMIZABLE PARAMETERS:
Swing Detection: Adjust pivot sensitivity
ATR Validation: Control minimum and maximum distances
Touch System: Customize detection zone and line thickness
Display: Choose timeframes, colors, and labels
📈 FOR WHOM?
Beginner traders looking for clear levels
Experienced traders wanting to confirm their analysis
Scalpers using short timeframes
Long-term investors relying on higher timeframes
⚡ KEY ADVANTAGES:
Accuracy: Sophisticated algorithms for precise detection
Flexibility: Adaptable to all trading styles
Visibility: Clear and uncluttered interface
Reliability: Multiple level validations
Real-time: Instant updates
🔧 TECHNICAL SPECIFICATIONS:
Based on pivot detection (swing highs/lows)
Validation by dynamic ATR distance
Historical touch counting system
Compatible with all TradingView instruments
🚀 HOW TO USE:
Add the indicator to your chart
Configure desired timeframes
Adjust parameters according to the market
Trade on the most significant levels
Enable alerts to never miss opportunities
Join the traders who have already discovered the power of divine levels! Transform your technical analysis with GOM Divine Levels™.
Siklus
CGalgoThis indicator is designed to assist traders in identifying potential limit entry zones along with confirmation signals based on price behavior and technical conditions. It highlights areas where price may react, helping traders plan entries with a structured and disciplined approach.
The indicator provides both Buy Limit and Sell Limit levels, as well as confirmation signals to improve timing and trade confidence. Users can select from four different signal options, allowing flexibility for conservative or aggressive trading styles.
All signals are generated using predefined logic based on historical price data and market structure. This indicator does not predict future price movement and should be used as a decision-support tool, not as a standalone system.
Key features include multi-timeframe compatibility, customizable signal options, and broad market support including Forex, Crypto, Indices, and Stocks. It is suitable for scalping, day trading, and swing trading when combined with proper risk management.
⚠️ This indicator is intended for educational and analytical purposes only and does not provide financial advice. Trading involves risk, and users are responsible for their own trading decisions.
PA Helper - SessionsPA Helper – Sessions is a session visualization and timing utility designed to give precise intraday context directly on your chart. It allows you to define up to four custom trading sessions with full control over time ranges, colors, fills, and timezone handling, making it suitable for any market or trading style.
The indicator draws clear session start and end markers and can optionally highlight the full session range on the chart. A key capability is that it does not limit itself to historical data only: it can project and display future session boundaries ahead of the current price, allowing you to see upcoming session starts and ends before they happen. This is especially useful for planning trades, managing exposure, and preparing for session-based volatility.
Candles outside active session hours can be visually muted or hidden using a separate color, helping you focus only on relevant trading periods. The script also supports real-time session detection, ensuring accuracy both in replay mode and live markets.
In addition, PA Helper – Sessions includes configurable alerts that can notify you a chosen number of minutes before a session starts or before it ends. These notifications work across all enabled sessions and are designed to trigger reliably without duplicate alerts, making them practical for active intraday traders.
Overall, this tool acts as a clean, precise session framework that combines past, present, and future session awareness, helping you align price action analysis with time-based market behavior.
MSV 3-Engine + Smart Swinghhhhn the way thi works is blah blah blah
my name is not valdi, you do not need to know
Trend Highway + OB + EMA + Market Structure📘 User Guide: Neon Trend Highway (All-in-One System)
"The complete all-in-one solution: Trend, Entries, and Market Structure."
This indicator is designed to declutter your chart by combining essential tools into a high-visibility Neon theme. It cuts out the noise, leaving only what is necessary for real trading.
1. Visual Guide (Interface) 🎨
A. The Highway The colored ribbon that follows the price, used to identify the "Main Direction."
🟢 Neon Green: Market is Uptrend → Focus on Buy/Long.
🔴 Neon Red: Market is Downtrend → Focus on Sell/Short.
🟠🟡 Orange / Yellow: Market is Consolidating or Reversing → Caution: Wait for a clear direction.
B. Key EMAs Used to filter the major trend and act as dynamic Support/Resistance.
🟡 Yellow Line (EMA 50): Medium-term trend.
⚪️ White Line (EMA 200): Long-term trend (The Bull/Bear Divider).
Price above White Line = Bullish bias.
Price below White Line = Bearish bias.
C. Trend Memory / Chop Filter Small dots appearing above or below candles to confirm momentum strength.
🟢 Green Dot: Confirms Buying Pressure (Support Momentum).
🔴 Red Dot: Confirms Selling Pressure (Resistance Momentum).
D. Structure & OB (Smart Money Concept)
BOS / CHoCH Lines: Thin lines indicating a Break of Structure, signaling trend continuation.
Order Blocks (Boxes):
🟩 Faint Green Box: Demand Zone (Key Support).
🟥 Faint Red Box: Supply Zone (Key Resistance).
2. Entry Signals 🚀
The system automatically calculates and labels entry points:
🟢 Label "BrkUP" (Break Up):
Appears when price breaks out of a consolidation range upwards.
Action: Consider opening Buy / Long.
🔴 Label "BrkDN" (Break Down):
Appears when price breaks out of a consolidation range downwards.
Action: Consider opening Sell / Short.
➕ Label "Add+":
Signal to "Scale-in" (Add position).
Appears when the trend remains strong, price retraces, and then continues. A safe point to increase profit potential.
3. Stop Loss & Exit Strategy 🛡️
❌ Red Cross (Unified SL):
This is the Trailing Stop Loss calculated dynamically by the system.
How to use: If a candle "Closes" past this Red Cross, Cut Loss immediately to limit risk.
4. Strategy Checklist ✅
📈 Bullish Setup (Uptrend)
Check 1: Candle is above the EMA 200 (White line).
Check 2: The Highway turns Green.
Trigger: Wait for a BrkUP or Add+ signal.
Confirm: (Optional) Look for Green Dots or a Green OB acting as support below for higher accuracy.
SL: Set at the latest Red Cross.
📉 Bearish Setup (Downtrend)
Check 1: Candle is below the EMA 200 (White line).
Check 2: The Highway turns Red.
Trigger: Wait for a BrkDN or Add+ signal.
Confirm: (Optional) Look for Red Dots or a Red OB acting as resistance above for higher accuracy.
SL: Set at the latest Red Cross.
5. How to Read the Dashboard 📊
Bottom Right: Trend System Stats
Win Rate: Win/Loss percentage of past signals (Calculated on bar close).
W / L: Total Win count / Loss count.
Est. Cycle PNL: Estimated Profit/Loss of the current trend cycle (in Points). If Blue/Positive, the current signal is in profit.
Top Right: Market Structure
Displays the Market Structure status (Percentage of Bullish vs Bearish) to keep you aligned with the bigger picture.
⚠️ Important Notes:
Signals are valid only on "Bar Close" (Do not enter while the candle is still moving/blinking).
Avoid trading or reduce position size when the Highway is Orange/Yellow (Sideways market).
This system is a decision-support tool; always practice strict Money Management.
MONSTER KHAN GOLED KILLERTHIS INDICATORE work base on many strategies and work in gold btc and us oil but best for gold and btc use m5 to m15 time frame
Multi-Timeframe EMA50 Structure + ATR Sniper SystemThis indicator is a comprehensive Trend-Following and Risk Management system designed for swing traders who focus on high-probability structural entries.
It combines three core concepts into one visual tool:
Multi-Timeframe Structure: Tracks the EMA50 across key swing timeframes (2D, 3D, 1W, 2W, 1M).
Momentum Health: Detects MACD Divergences on these timeframes to warn of potential reversals.
ATR Sniper Zone (Risk Control): Visually defines the "Buy Zone" and "Hard Stop Level" based on volatility (Daily ATR), preventing FOMO and ensuring consistent Risk/Reward ratios.
cg - Absorption + High VolumeThis indicator is designed to assist traders in identifying potential limit entry zones along with confirmation signals based on price behavior and technical conditions. It highlights areas where price may react, helping traders plan entries with a structured and disciplined approach.
The indicator provides both Buy Limit and Sell Limit levels, as well as confirmation signals to improve timing and trade confidence. Users can select from four different signal options, allowing flexibility for conservative or aggressive trading styles.
All signals are generated using predefined logic based on historical price data and market structure. This indicator does not predict future price movement and should be used as a decision-support tool, not as a standalone system.
Key features include multi-timeframe compatibility, customizable signal options, and broad market support including Forex, Crypto, Indices, and Stocks. It is suitable for scalping, day trading, and swing trading when combined with proper risk management.
⚠️ This indicator is intended for educational and analytical purposes only and does not provide financial advice. Trading involves risk, and users are responsible for their own trading decisions
The Vector Alignment Matrix (VAM) - Pivot ExitIndicator Description: The Vector Alignment Matrix (VAM) – Pivot Exit Edition
The Vector Alignment Matrix (VAM) is an institutional-grade technical analysis tool designed for TradingView. It operates as a trend-following confluence engine, ensuring that lower-timeframe execution only occurs when supported by the "Weight of the Market"—the high-timeframe trend.
By automating the "Top-Down Analysis" methodology, VAM removes trader subjectivity and provides a clear, mechanical framework for entries and exits based on market structure.
Core Mechanics
1. The Global Matrix (HTF Alignment)
The indicator continuously monitors three critical timeframes: the Weekly (W), Daily (D), and 4-Hour (4H).
It uses a price-relative-to-range calculation to determine if the trend is Bullish or Bearish.
A "Matrix Bias" is established only when at least two of these timeframes agree.
This bias acts as a safety switch: if the Matrix is BULLISH, the indicator will ignore all sell signals, and vice versa.
2. Vector Execution (Break of Structure)
Once a bias is confirmed, the VAM looks for a Break of Structure (BOS) on the chart you are actively viewing.
It identifies significant Pivot Highs and Pivot Lows.
A signal is generated when price closes beyond a pivot in the direction of the Matrix Bias. This represents the moment the market "reveals its hand," confirming that the high-timeframe momentum is being absorbed by the lower timeframe.
3. Dynamic Pivot-Targeting (The Exit)
Unlike standard indicators that use arbitrary math for targets, the VAM uses Organic Exits.
Take Profit (TP): The indicator identifies the previous significant pivot level (resistance for longs, support for shorts) and sets it as the target.
Stop Loss (SL): The protective stop is anchored to the most recent opposing pivot, protecting the trade behind a structural barrier.
BTC Cycle Capitulation MapInstitutional macro framework to study leverage-driven Bitcoin bear market capitulation zones.
BTC Cycle Capitulation Map is an institutional research framework designed to visualize structural bear market bottom zones driven by leverage capitulation.
This model uses historical macro cycle anchors (2013, 2018, 2021, 2025) to project liquidation stress bands, with a focus on the 3x–2x leverage capitulation zone — historically aligned with Bitcoin macro cycle troughs.
The indicator is intended for macro cycle research and structural market analysis and is not designed as a short-term trading signal generator.
Key features:
• Institutional cycle anchor framework
• Leverage-driven capitulation zone visualization
• Historical and projected bottom bands
• Non-repainting, time-anchored structure
• Designed for BTC 1W macro analysis
This tool provides a structural framework to study long-term Bitcoin cycles and extreme downside risk regimes.
Future iterations may extend the framework to forward cycle projections.
Research purposes only. Not financial advice.
Alpha Beta Gamma with Volume# Alpha Beta Gamma with Volume
## Description
**Alpha Beta Gamma with Volume** is an advanced technical analysis indicator that combines the Alpha-Beta-Gamma (ABG) oscillator with sophisticated volume analysis. This powerful tool helps traders identify market trends, momentum, and volume-based signals simultaneously.
## Key Features
### 📊 Alpha-Beta-Gamma Oscillator
- **Alpha**: Measures the distance from the current price to the lowest price over the selected period
- **Beta**: Calculates the price range (highest - lowest) over the selected period
- **Gamma**: Normalized value showing the price position within the current range (0-1 scale)
### 📈 Advanced Price Configuration
- Multiple timeframe analysis
- Flexible price source selection (Open, High, Low, Close, or any average)
- Customizable ABG calculation length
### 🔍 Smart Volume Analysis
- Volume trend identification using moving averages
- Three-tier volume classification:
- **High Volume**: Volume ≥ 2x MA (Deep Blue Bull / Aqua Bear candles)
- **Low Volume**: Volume ≤ 0.5x MA (Light Blue Bull / Light Yellow Bear candles)
- **Strong Signal Volume**: Volume ≥ 1.5x MA (Violet Bull / Pink Bear candles)
- Bull/Bear candle color coding based on volume strength
### 🎯 Custom Range Levels (0-1 Range Divided into 8 Parts)
- 9 horizontal levels from 0 to 1 (each 1/8 apart)
- Psychological support/resistance zones
- Customizable line styles and labels
- Perfect for grid trading, breakout strategies, and level analysis
### 📊 Real-time Data Table
- Compact table displaying current ABG values
- Percentage change calculations
- Trend direction indicators
- Customizable position and size
### 🎨 Visual Customization
- Adjustable line styles (Solid, Dashed, Dotted)
- Customizable label sizes and colors
- Flexible transparency settings
- Multiple display options for all elements
## Usage Instructions
### Basic Settings:
1. **Strike Price Settings**: Select your preferred timeframe and price type
2. **ABG Parameters**: Adjust length for sensitivity (default: 37)
3. **Volume Analysis**: Configure volume thresholds based on your trading style
4. **Visual Style**: Customize colors, line styles, and labels to your preference
### Trading Signals:
- **Gamma Values**:
- 0-0.5: Oversold/Buying zone
- 0.5-1: Overbought/Selling zone
- **Volume Confirmation**: Use volume colors to confirm trend strength
- **Custom Levels**: Watch for price reactions at 1/8, 2/8, 4/8, 6/8, and 7/8 levels
### Recommended Configurations:
- **Scalping**: Length = 20-30, enable Alpha-Beta logic
- **Swing Trading**: Length = 40-50, use custom range levels
- **Position Trading**: Length = 50-100, focus on volume signals
## Technical Details
- **Version**: Pine Script v6
- **Author**: Nurbolat Zhan
- **Interface Language**: Kazakh (fully translated)
- **Required Components**: Built-in TradingView functions only
### Volume Thresholds Explained:
1. **High Volume** (≥ 2x MA): Significant institutional activity
2. **Low Volume** (≤ 0.5x MA): Consolidation or indecision periods
3. **Strong Signal** (≥ 1.5x MA): High-probability trade setups
## Important Notes
⚠️ **Disclaimer**:
- This is a technical analysis tool, not financial advice
- Always use proper risk management
- Combine with other indicators for confirmation
- Past performance doesn't guarantee future results
📈 **Best Practices**:
1. Use ABG for trend identification
2. Confirm with volume analysis
3. Watch for divergences between price and indicators
4. Use multiple timeframes for better context
---
**Motto**: "Precision in analysis, confidence in execution!"
*This indicator is specifically designed for traders who want to combine oscillator analysis with volume confirmation in a single, comprehensive tool.*
Gold Traders Shymkent# Gold Traders Shymkent
## Description
**Gold Traders Shymkent** is a professional ZigZag indicator designed specifically for traders from Kazakhstan. Based on the classic ZigZag indicator logic from MT4 platform, it identifies key trend points in price movements and displays them visually.
## Key Features
### 🎯 Core Functions:
- **ZigZag Analysis**: Identification of significant price highs and lows
- **Kazakh Labeling**: ЖЖ (Higher High), ЖТ (Higher Low), ТЖ (Lower High), ТТ (Lower Low) labels in Kazakh language
- **Flexible Settings**: Depth, Deviation, and Backstep parameters
- **Two Modes**: Repainting and non-repainting modes
### ⚙️ Configuration Parameters:
1. **ZigZag Settings**:
- Depth - reversal depth
- Deviation - minimum deviation percentage
- Backstep - backward step value
2. **Display Parameters**:
- Line thickness
- Bull/Bear colors
- Show/hide labels
- Toggle ЖЖ/ЖТ/ТЖ/ТТ markers
- Transparency for lines and labels
3. **Operation Modes**:
- Repainting mode (real-time updates)
- ZigZag line extension option
### 🔔 Alert System:
The indicator provides alerts for:
- New ЖЖ/ЖТ/ТЖ/ТТ points formation
- Direction changes (bull to bear or vice versa)
- Trend reversals
### Advantages:
- **Easy to Use**: Intuitive interface with Kazakh language settings
- **Flexibility**: Adaptable to different market conditions
- **Clarity**: Kazakh labeling convenient for local traders
- **Versatility**: Works on all timeframes
## Usage Instructions
### Basic Usage:
1. **Trend Identification**: Monitor main trend through ZigZag lines
2. **Support/Resistance Levels**: Use extremum points as support and resistance levels
3. **Reversal Points**: Identify trend change points
### Recommended Settings:
- **For volatile markets**: Depth = 12, Deviation = 5
- **For slow markets**: Depth = 20, Deviation = 8
- **To reduce whipsaws**: Backstep = 3
## Important Notes
⚠️ **Key Considerations**:
- The indicator may operate in repainting mode
- False signals possible on lower timeframes
- Adjust settings according to market conditions
- Use with other indicators for major trading decisions
## Technical Details
- **Author**: Based on Dev Lucem code, adapted to Kazakh language
- **Language**: Pine Script v5
- **Interface Language**: Kazakh
- **Required Libraries**: DevLucem/ZigLib/1
---
📊 **Gold Traders Shymkent** - A professional analysis tool specifically developed for Kazakhstani traders. The indicator combines accuracy with ease of use to assist in market decision making.
**Motto**: "Accuracy and reliability - the key to successful trading!"
Gold Traders Shymkent# Gold Traders Shymkent
## Description
**Gold Traders Shymkent** is a professional ZigZag indicator designed specifically for traders from Kazakhstan. Based on the classic ZigZag indicator logic from MT4 platform, it identifies key trend points in price movements and displays them visually.
## Key Features
### 🎯 Core Functions:
- **ZigZag Analysis**: Identification of significant price highs and lows
- **Kazakh Labeling**: ЖЖ (Higher High), ЖТ (Higher Low), ТЖ (Lower High), ТТ (Lower Low) labels in Kazakh language
- **Flexible Settings**: Depth, Deviation, and Backstep parameters
- **Two Modes**: Repainting and non-repainting modes
### ⚙️ Configuration Parameters:
1. **ZigZag Settings**:
- Depth - reversal depth
- Deviation - minimum deviation percentage
- Backstep - backward step value
2. **Display Parameters**:
- Line thickness
- Bull/Bear colors
- Show/hide labels
- Toggle ЖЖ/ЖТ/ТЖ/ТТ markers
- Transparency for lines and labels
3. **Operation Modes**:
- Repainting mode (real-time updates)
- ZigZag line extension option
### 🔔 Alert System:
The indicator provides alerts for:
- New ЖЖ/ЖТ/ТЖ/ТТ points formation
- Direction changes (bull to bear or vice versa)
- Trend reversals
### Advantages:
- **Easy to Use**: Intuitive interface with Kazakh language settings
- **Flexibility**: Adaptable to different market conditions
- **Clarity**: Kazakh labeling convenient for local traders
- **Versatility**: Works on all timeframes
## Usage Instructions
### Basic Usage:
1. **Trend Identification**: Monitor main trend through ZigZag lines
2. **Support/Resistance Levels**: Use extremum points as support and resistance levels
3. **Reversal Points**: Identify trend change points
### Recommended Settings:
- **For volatile markets**: Depth = 12, Deviation = 5
- **For slow markets**: Depth = 20, Deviation = 8
- **To reduce whipsaws**: Backstep = 3
## Important Notes
⚠️ **Key Considerations**:
- The indicator may operate in repainting mode
- False signals possible on lower timeframes
- Adjust settings according to market conditions
- Use with other indicators for major trading decisions
## Technical Details
- **Author**: Based on Dev Lucem code, adapted to Kazakh language
- **Language**: Pine Script v5
- **Interface Language**: Kazakh
- **Required Libraries**: DevLucem/ZigLib/1
---
Liquidity Raid VisualizationUpper and lower wicks can be understood as price sweeping liquidity above and below.
At first, I used to draw them manually as lines. Later, I thought: what if I coded it instead—wouldn’t that be more convenient?
That’s why this script exists. It’s only meant to help with visualization. It doesn’t mean that every downward sweep is valid or guaranteed to work.
Good luck to all traders.
上下影線 可以理解為 像上下 清掃流動性但我一開始適用手繪的方式呈線 後來我突然想說 如果我將他寫出來 會不會更方便 一點 所以才會出現 這個腳本 但他只是幫助你可視化並不代表一定 也不是說向下清掃了就一定有效等 加油各位交易者
ICT Tool-KitICT TOOL-KIT INDICATOR DESCRIPTION
This toolkit consolidates essential ICT market structure and price action tools into a single, clean indicator. Built for traders focused on session analysis, order block identification, and HTF confirmation through multiple timeframe perspectives.
WHAT IT DOES
The indicator tracks macro session ranges across Asia, London and NY trading hours, identifies fair value gaps at session opens, displays higher timeframe candle structure with Fibonacci retracement levels, and marks sweeps across selected timeframes. Non-RTH activity can be highlighted separately if needed. All tools are designed to operate cleanly alongside price action without cluttering the chart.
---
SECTION 1: MACRO CYCLES
The macro cycle section displays the high and low range for each trading session. These ranges represent where price moved during each region's primary trading window.
Max Timeframe (minutes)
- Controls which timeframes display the macro ranges
- Set to 5 minutes by default, macros won't show on 15m and higher
- Useful for filtering out higher timeframe noise when trading intraday
- Example: Set to 240 for 4h and below, 1440 for daily and below
Show Asia/London/NY Macro
- Toggle each session on or off
- Asia and London are off by default, NY is on
- Use these toggles based on what your strategy focuses on
Macro Cycles Timeframe
- Leave blank to use your chart's current timeframe
- Or lock to a specific timeframe for consistent range calculations
Range Area Transparency
- Controls how opaque the session boxes are
- Lower value = more visible, higher value = more transparent
- Default at 85 keeps them subtle in the background
Range Outline / Range Label
- Toggle the border of the boxes and the session name label on or off
UTC Offset
- Set your timezone offset from UTC
- Or enable "Use Exchange Timezone" to automatically detect
---
SECTION 2: FVG GENERAL
First Presented Fair Value Gaps are identified at the open of major sessions. These boxes mark where price moved but left a gap in the structure, creating inefficiency that price often returns to fill.
The indicator searches for FVGs during the NY Open (9:32-10:30), NY PM (1:32-2:30), and Weekly Open (6:02 PM-8:00 PM) windows. Detection is forced to the 1m timeframe for accuracy regardless of your chart timeframe.
Infinite Extension
- When enabled, FVG boxes extend infinitely to the right, following live price
- When disabled, boxes contract to 3 bars for a cleaner look while price moves past them
- Default is off to keep the chart clean
Max Total FVG Boxes
- Limits how many FVG boxes can exist on screen at once
- Default is 3, oldest boxes are deleted when limit is reached
FVG Label Size
- Controls the text size of the FVG labels
- Options: Tiny, Small, Normal, Large
NY Open (AM) / NY PM (1:30) / Weekly Open
- Each has its own color settings for the box and label text
- Adjust colors to match your preference or chart theme
---
SECTION 3: HTF CANDLE WITH FIBONACCI RETRACEMENT
This section displays candle structure from a higher timeframe on your current chart. Useful for understanding the larger move while trading smaller timeframes.
Show Candle
- Toggle the HTF candles on or off
Timeframe
- Select which timeframe the candles represent
- Options: 1m, 5m, 15m, 30m, 1h, 2h, 4h, Daily, Weekly, Monthly
Candles to Show
- How many HTF candles display on screen
- Default is 3, can be set up to 20
Bull Body / Bear Body / Bull Border / Bear Border / Wick Color
- Customize the appearance of the candles
- Standard white for bull, black for bear
Width / Offset Padding
- Width controls candle thickness
- Offset Padding is how far right the candles are positioned from the right edge
Show Label / Label Color / Size / Show Timer
- The label displays the timeframe at the top of the candle
- Timer shows hours and minutes until the candle closes
- Toggle either on or off as needed
---
FIBONACCI RETRACEMENT
The Fibonacci levels display on the most recent HTF candle, showing standard retracement levels (0.0, 0.25, 0.50, 0.75, 1.0). All levels are black by default.
Show Fibonacci
- Toggle on or off
Line Style / Line Width
- Customize how the fib lines look
- Options: Solid, Dashed, Dotted
Extend Fibonacci Right
- When enabled, fib lines extend infinitely to the right
- Default is off to keep them contained to the candle structure
---
NDOG (Next Day Opening Gap) / Gap Rectangle
The NDOG displays the gap between the previous candle's close and the current candle's open. This highlights where the gap filled or remained unfilled overnight.
Show NDOG
- Toggle the gap rectangle on or off
- Default is on
NDOG Color
- Controls the color and opacity of the rectangle
- Set to black with 80 transparency by default for clean appearance
Extend NDOG Right
- NDOG extends infinitely right by default to mark the gap clearly
- This distinguishes it from the FVG boxes which follow price action
---
SECTION 4: TIMEFRAME SWEEPS
Sweeps mark when price breaks the high or low of the previous candle on your selected sweep timeframe. Useful for identifying intrabar reversals and momentum shifts.
Sweep Timeframe
- Select which timeframe to monitor for breaks
- Options: 1m, 5m, 15m, 30m, 1h, 2h, 4h, Daily
Dot Symbol
- Choose between three dot styles to mark sweeps
Sweep High Color / Sweep Low Color
- Colors for high sweeps and low sweeps
- High sweeps appear below price, low sweeps appear above
---
SECTION 5: NON-RTH DISPLAY
Non-RTH (Outside Regular Trading Hours) tools highlight activity outside the main market session.
Regular Trading Hours
- Set the session window that represents RTH for your market
- Default is 9:30 AM - 4:15 PM for US equities
Show Non-RTH Background
- Highlights the background when trading outside RTH
- Off by default
Non-RTH Candles
- When enabled, candles outside RTH display in white with 30% transparency
- This keeps them visible but clearly separated from RTH candles
- Off by default, enable if you trade pre-market or after-hours
Bull/Bear Transparency
- Both set to 30 by default for balanced appearance
ICT Killzones [Forex Edition] |MC|💎 ICT Killzones |MC| 💎
All credit and recognition go to © SimoneMicucci00 for the great work! This is another development that was created through many hours of dedicated effort.
ICT Killzones is a precision session-mapping indicator designed for intraday Forex traders who follow ICT concepts and time-based market structure.
It visually highlights the most important institutional trading windows (“Killzones”) directly on your chart, helping you focus on when price is most likely to expand.
This tool is built to stay clean, configurable, and performance-friendly—no unnecessary clutter, no repainting.
🔹 Key Features
Asian Range
London Open
New York Open
London Close
Each session can be displayed as:
A transparent box (range high–low)
Or a background highlight (killzone shading)
All sessions are calculated using New York time, ensuring consistency with ICT teachings.
🔹 Fully Customizable
Enable or disable each session independently
Custom session times
Custom colors and labels
Adjustable transparency and border styling
Optional range size display (in pips)
Control how many historical days are shown to keep charts clean
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not provide financial advice or trading signals.
Always apply proper risk management.
Happy Trading!
ICT Previous Day Levels |MC|ICT Previous Day Levels |MC|
💎 Overview: 💎
The ICT Previous Day Levels script provides a clear visualization of the previous trading day's High, Low, and key intra-range levels (Quarter lines and EQ Midline) directly on your chart. Designed for intraday and daily analysis, it helps traders quickly identify potential support/resistance levels and price bias from the prior day.
💎 Features: 💎
💎 Previous Day High (PDH) & Low (PDL)
🔸 Shows the high and low of the previous trading day.
🔸 Lines are extended dynamically to the current bar for intraday visibility.
🔸 Historical lines are maintained for a configurable number of days.
💎 Quarter Lines (25% & 75%)
🔸 Drawn between the previous day's high and low.
🔸 Helps identify key intra-day retracement levels.
🔸 Historical quarter lines are kept and cleaned dynamically, similar to PDH/PDL logic.
💎 EQ Midline (50%)
🔸 Represents the midpoint of the previous day’s range.
🔸 Useful for assessing market balance and potential mean-reversion zones.
🔸 Historical EQ lines are dynamically stored and limited by the number of days set by the user.
💎 Customization Options:
🔸 Toggle visibility of PDH, PDL, Quarter Lines, and EQ Midline.
🔸 Adjustable line colors, widths, and styles.
🔸 Configurable label sizes with consistent formatting.
🔸 Dynamic extension of lines to the current bar, with historical cleanup.
💎 Daily and Weekly Dividers:
🔸 Optional daily and weekly session markers for additional context.
🔸 Historical dividers are automatically maintained according to your “days to show” setting.
💎 Use Case: 💎
Ideal for intraday traders, swing traders, or anyone using prior day ranges to determine bias, support/resistance, or target zones. This script visualizes key levels efficiently and keeps your chart clean with automated history management.
🔹 Warning: Do not trade based on this indicator alone. Always use it in combination with other
analysis and risk management techniques.
Happy Trading!
EL OJO DE DIOS - FINAL (ORDEN CORREGIDO)//@version=6
indicator("EL OJO DE DIOS - FINAL (ORDEN CORREGIDO)", overlay=true, max_boxes_count=500, max_lines_count=500, max_labels_count=500)
// --- 1. CONFIGURACIÓN ---
grpEMA = "Medias Móviles"
inpShowEMA = input.bool(true, "Mostrar EMAs", group=grpEMA)
inpEMA21 = input.int(21, "EMA 21", minval=1, group=grpEMA)
inpEMA50 = input.int(50, "EMA 50", minval=1, group=grpEMA)
inpEMA200 = input.int(200, "EMA 200", minval=1, group=grpEMA)
grpStrategy = "Estrategia"
inpTrendTF = input.string("Current", "Timeframe Señal", options= , group=grpStrategy)
inpADXFilter = input.bool(true, "Filtro ADX", group=grpStrategy)
inpADXPeriod = input.int(14, "Período ADX", group=grpStrategy)
inpADXLimit = input.int(20, "Límite ADX", group=grpStrategy)
inpRR = input.float(2.0, "Riesgo:Beneficio", group=grpStrategy)
grpVisuals = "Visuales"
inpShowPrevDay = input.bool(true, "Máx/Mín Ayer", group=grpVisuals)
inpShowNY = input.bool(true, "Sesión NY", group=grpVisuals)
// --- 2. VARIABLES ---
var float t1Price = na
var bool t1Bull = false
var bool t1Conf = false
var line slLine = na
var line tpLine = na
// Variables Prev Day
var float pdH = na
var float pdL = na
var line linePDH = na
var line linePDL = na
// Variables Session
var box nySessionBox = na
// --- 3. CÁLCULO ADX MANUAL ---
f_calcADX(_high, _low, _close, _len) =>
// True Range Manual
tr = math.max(_high - _low, math.abs(_high - _close ), math.abs(_low - _close ))
// Directional Movement
up = _high - _high
down = _low - _low
plusDM = (up > down and up > 0) ? up : 0.0
minusDM = (down > up and down > 0) ? down : 0.0
// Smoothed averages
atr = ta.rma(tr, _len)
plus = 100.0 * ta.rma(plusDM, _len) / atr
minus = 100.0 * ta.rma(minusDM, _len) / atr
// DX y ADX
sum = plus + minus
dx = sum == 0 ? 0.0 : 100.0 * math.abs(plus - minus) / sum
adx = ta.rma(dx, _len)
adx
// --- 4. CÁLCULO DE DATOS ---
ema21 = ta.ema(close, inpEMA21)
ema50 = ta.ema(close, inpEMA50)
ema200 = ta.ema(close, inpEMA200)
// MTF Logic
targetTF = inpTrendTF == "Current" ? timeframe.period : inpTrendTF == "15m" ? "15" : "60"
// CORRECCIÓN AQUÍ: Uso de argumentos nominales (gaps=, lookahead=) para evitar errores de orden
f_getSeries(src, tf) =>
tf == timeframe.period ? src : request.security(syminfo.tickerid, tf, src, gaps=barmerge.gaps_on, lookahead=barmerge.lookahead_off)
tf_close = f_getSeries(close, targetTF)
tf_high = f_getSeries(high, targetTF)
tf_low = f_getSeries(low, targetTF)
tf_ema21 = ta.ema(tf_close, inpEMA21)
tf_ema50 = ta.ema(tf_close, inpEMA50)
// Calcular ADX
float tf_adx = f_calcADX(tf_high, tf_low, tf_close, inpADXPeriod)
// Cruces
bool crossUp = ta.crossover(tf_ema21, tf_ema50)
bool crossDown = ta.crossunder(tf_ema21, tf_ema50)
bool crossSignal = crossUp or crossDown
bool adxOk = inpADXFilter ? tf_adx > inpADXLimit : true
// --- 5. LÓGICA DE SEÑALES ---
if crossSignal and adxOk and barstate.isconfirmed
t1Price := tf_ema21
t1Bull := tf_ema21 > tf_ema50
t1Conf := false
if not na(slLine)
line.delete(slLine)
slLine := na
if not na(tpLine)
line.delete(tpLine)
tpLine := na
label.new(bar_index, high + (ta.atr(14)*0.5), text="CRUCE T1", color=t1Bull ? color.green : color.red, textcolor=color.white, size=size.small)
bool touch = false
if not na(t1Price) and not t1Conf
if t1Bull
touch := low <= t1Price and close >= t1Price
else
touch := high >= t1Price and close <= t1Price
if touch and barstate.isconfirmed
t1Conf := true
float atr = ta.atr(14)
float sl = t1Bull ? low - (atr*0.1) : high + (atr*0.1)
float dist = math.abs(t1Price - sl)
float tp = t1Bull ? t1Price + (dist * inpRR) : t1Price - (dist * inpRR)
label.new(bar_index, t1Price, text="ENTRADA", color=color.yellow, textcolor=color.black, size=size.small)
slLine := line.new(bar_index, sl, bar_index + 15, sl, color=color.red, style=line.style_dashed, width=2)
tpLine := line.new(bar_index, tp, bar_index + 15, tp, color=color.green, style=line.style_dashed, width=2)
// --- 6. GRÁFICO ---
col21 = ema21 > ema21 ? color.teal : color.maroon
col50 = ema50 > ema50 ? color.aqua : color.fuchsia
col200 = ema200 > ema200 ? color.blue : color.red
plot(inpShowEMA ? ema21 : na, "EMA21", color=col21, linewidth=2)
plot(inpShowEMA ? ema50 : na, "EMA50", color=col50, linewidth=2)
plot(inpShowEMA ? ema200 : na, "EMA200", color=col200, linewidth=2)
bgcolor(ema50 > ema200 ? color.new(color.green, 95) : color.new(color.red, 95))
// --- 7. SESIÓN NY ---
isNYSummer = (month(time) == 3 and dayofmonth(time) >= 14) or (month(time) > 3 and month(time) < 11)
hourOffset = isNYSummer ? 4 : 5
nyHour = (hour - hourOffset) % 24
bool isSession = nyHour >= 6 and nyHour < 11
if isSession and inpShowNY
if na(nySessionBox)
nySessionBox := box.new(bar_index, high, bar_index, low, bgcolor=color.new(color.blue, 92), border_color=color.new(color.white, 0))
else
box.set_right(nySessionBox, bar_index)
box.set_top(nySessionBox, math.max(high, box.get_top(nySessionBox)))
box.set_bottom(nySessionBox, math.min(low, box.get_bottom(nySessionBox)))
if not isSession and not na(nySessionBox)
box.delete(nySessionBox)
nySessionBox := na
// --- 8. MÁX/MÍN AYER ---
hCheck = request.security(syminfo.tickerid, "D", high , lookahead=barmerge.lookahead_on)
lCheck = request.security(syminfo.tickerid, "D", low , lookahead=barmerge.lookahead_on)
if not na(hCheck)
pdH := hCheck
if not na(lCheck)
pdL := lCheck
if barstate.islast and inpShowPrevDay
line.delete(linePDH)
line.delete(linePDL)
if not na(pdH)
linePDH := line.new(bar_index - 50, pdH, bar_index, pdH, color=color.green)
if not na(pdL)
linePDL := line.new(bar_index - 50, pdL, bar_index, pdL, color=color.red)
alertcondition(crossSignal, "Cruce T1", "Cruce Tendencia 1")
alertcondition(touch, "Entrada Confirmada", "Entrada Confirmada")
Trading Sessions with weekendsTrading Sessions UTC with weekends
Description:
Trading Sessions UTC is an indicator for visualizing the main global trading sessions on your chart with boxes and labels, allowing you to quickly understand market timing. The indicator displays Tokyo, London, and New York sessions.
Features:
- Supports any intraday timeframe (1H, 15m, 5m).
- All session times are in UTC, ensuring accuracy for global market analysis.
- Session boxes show the high and low prices within each session.
- Session labels are centered above the boxes and do not overlap the chart.
- Weekends are ignored – sessions are not displayed on Saturday and Sunday.
- Customizable box and label colors for each session.
Benefits:
- Quickly evaluate market activity during major sessions.
- Easily plan trading strategies during active market periods.
- Visually separate sessions to avoid confusion across time zones.
Inputs:
- Session time in UTC (Tokyo, London, New York).
- Box color for each session.
- Label color for each session.
Note:
This indicator is designed for intraday timeframes only. It will not display sessions correctly on daily or higher timeframes.
FVG + Kill Zones (ICT/SMC) [BlackVamp]Fair Value Gap (FVG)
An FVG is a price imbalance between three consecutive candlesticks. It represents areas where the price moved so quickly that it left a gap that the market tends to fill later.
• Bullish FVG: Candle 3.low > Candle 1.high (bullish gap, price tends to fall to fill it)
• Bearish FVG: Candle 3.high < Candle 1.low (bearish gap, price tends to rise to fill it)
Kill Zones (UTC Times)
Kill Zone Time UTC Characteristics
Asian 00:00 - 04:00 Accumulation, narrow ranges
London Open 07:00 - 10:00 High volatility
NY Open 12:00 - 15:00 Maximum liquidity
London Close 15:00 - 17:00 Possible reversals
Market Structure
• Bullish: HH (Higher Highs) + HL (Higher Lows)
• Bearish: LH (Lower Highs) + LL (Lower Lows)
• BOS: Break of Structure Trend Continuation
• CHoCH: Change of Character - Trend Change
TradingLatino Strategy [BlackVamp]Script de estrategia similar a la de Jaime Merino de Tradinglatino
IFVG Ultimate Toolkit PRO+ by [Yahya]🔷 OVERVIEW
This script is a comprehensive institutional toolkit designed to automate the Inner Circle Trader (ICT) and Smart Money Concepts (SMC) framework. It replaces manual chart markups with a high-performance, real-time calculation engine that tracks Liquidity, Time, and Inter-market Correlations.
From identifying "hidden" magnets like the Event Horizon (EHPDA) to detecting the exact moment "Smart Money" flips a zone via the Inversion FVG (iFVG), this tool provides a complete roadmap for the professional intraday trader.
Integrated institutional framework that transforms raw price data into actionable narrative. Unlike static indicators, it utilizes a dynamic time-series engine to provide real-time, touch-sensitive FVG mitigation and "garbage-collected" memory management to prevent chart lag. Its core superiority lies in multi-asset correlation (SMT) and GMT-synchronized session logic, ensuring users see the exact "Midnight Open" and "Killzones" used by institutional algorithms. By automating complex ICT concepts like Inversion FVGs and Synthetic PO3 projections, it eliminates manual bias and provides a professional roadmap based on liquidity sweeps rather than lagging retail signals, all within a high-performance, non-repainting environment.
🚀 KEY CORE FEATURES
• Institutional Killzones & Pivots: Automatically maps Asia, London, and NY sessions with GMT-sync protection. It projects session highs/lows forward until they are swept, providing real-time liquidity alerts.
• Multi-Timeframe (MTF) FVG Engine: Scans up to 12 user-defined timeframes. Boxes feature Touch-Sensitive Logic, dynamically shrinking as price mitigates the gap to show remaining unfilled orders.
• iFVG (Inversion) Trigger: The "Hidden Secret" logic. It identifies failed FVGs that have been closed through with high volume, signaling a powerful support/resistance "flip."
• Multi-Asset SMT Radar: A correlation scanner that monitors up to 8 assets (e.g., NQ vs. ES vs. DXY). It flags "cracks in correlation" to catch institutional accumulation/distribution before it happens.
• Synthetic AMD (PO3) Projection: Renders Higher Timeframe (HTF) candles on the right side of your chart. It visually breaks down the Power of 3 (Accumulation, Manipulation, Distribution) so you can see if you are inside a daily wick.
• Event Horizon (EHPDA) & Opening Gaps: Plots New Week (NWOG) and New Day (NDOG) opening gaps. It calculates the Consequent Encroachment (C.E.) and midpoints between gaps to find institutional price magnets.
• EQH/EQL Liquidity Pools: Uses a "Fuzziness" algorithm to find equal highs/lows within a 200-bar lookback, identifying where large clusters of stop-loss orders are resting.
1. Multi Timeframe FVGs Engine🟢
The script scans multiple user-defined timeframes (from 30-seconds up to Weekly) to identify Fair Value Gaps. It uses a "touch-sensitive" logic: when price mitigates a gap, the box can automatically resize or change color to indicate the level has been tested.
The function find_box uses the standard formula for an imbalance:
• Bullish: low > high (A gap between the high of candle 1 and the low of candle 3).
• Bearish: high < low .
• Dynamic Updating: The control_box method uses box.set_top and box.set_bottom to "shrink" the boxes as price eats into the gap, providing a real-time look at remaining liquidity.
Security & Performance
This code includes a Premium Safety Toggle (enable30s). Its a smart addition! TradingView limits the use of sub-minute timeframes in request.security to Premium members. By including this toggle, it prevent the script from crashing for Free/Pro users.
To prevent the chart from becoming cluttered with "dead" data, the script uses a Mitigation Security Loop:
* Detection: It constantly compares the current close price to the stored _boxLow or _boxHigh in the arrays.
* State Change: When price enters the FVG area, it triggers box.set_bgcolor to the "Tested" color.
* Deletion: If price moves entirely through the gap (full mitigation), it uses array.remove and box.delete. This is critical for performance; if the script didn't delete old boxes, it would eventually hit the 500-box limit and stop working.
2. Institutional Session Killzone & Pivot Mechanics🟢
It automatically plots the Asia, London, New York AM/PM, and Lunch sessions. Beyond simple boxes, it calculates the Average Range of these sessions and displays them in a real-time dashboard to help traders gauge volatility expectations.
The script utilizes the time() function with a GMT offset to isolate specific institutional "Killzones."
• Logic: When the current time falls within a defined session (e.g., London "0200-0500"), the script initializes a kz type object.
• Range Tracking: It continuously updates the high and low coordinates using math.max() and math.min() until the session closes.
• Pivot Invalidation: Once the session ends, these levels are projected forward as line objects. The script utilizes _hi_valid and _lo_valid boolean arrays; if the current price trades through these lines, an alert is triggered, and the line is visually updated to signal a Liquidity Sweep.
The security behind the Killzones involves translating your local computer time into the "Exchange Time" or a "Fixed Timezone" (like UTC-5 for New York).
Timezone Protection: By using gmt_tz = input.string('America/New_York'...) and passing it into the time() function, the script ensures that a trader in London and a trader in Tokyo see the "New York Open" at the exact same moment on the chart.
State Detection: ```pinescript
t = not na(time("", this.session, gmt_tz))
t_prev = not na(time("", this.session, gmt_tz, bars_back = 1))
3. Opening Gaps & Event Horizon (EHPDA)🟢
It tracks New Week Opening Gaps (NWOG) and New Day Opening Gaps (NDOG), projecting "Event Horizons" (EHPDA) which act as significant institutional magnets for price action.
This module tracks the relationship between the previous period's close and the current period's open.
Identification: Upon a timeframe.change(), the script captures the distance between Close and Open .
Consequent Encroachment (C.E.): The script calculates the exact equilibrium of the gap:
Midpoint= Gap High + Gap Low
2
* EHPDA Logic: Using the set_ehpda method, the script calculates the mathematical midpoint between consecutive opening gaps, identifying a "Hidden Pivot" where price typically seeks rebalancing.
4. Equal High & Equal Lows Liquidity Pool🟢
This script identifies EQH/EQL (Equal Highs/Lows) by scanning a 200-bar lookback for price matches. It uses a break-on-violation logic: if any intervening price exceeds the level, the liquidity is considered "cleared" and ignored.
This ensures only relevant, unmitigated double tops/bottoms are plotted, pinpointing high-probability buy/sell-side liquidity pools for ICT and SMC strategies while maintaining chart clarity and performance
Sensitivity Check: It uses a "Fuzziness" or "Tolerance" logic. Since price rarely hits the exact same decimal point (e.g., 1.25000 vs 1.25001), the script calculates if the difference is within a few "ticks."
The script identifies Liquidity Pools by scanning the price history for horizontal clusters.
The Algorithm
The findAndDrawEqualHighs function performs a lookback loop.
* It identifies a current swing point (src ).
* It iterates backward through lookbackLength.
* Proximity Matching: If the historical price exactly matches (src == src ), it validates the level.
Note: In advanced ICT concepts, this code functions as a "Magnet" detector. When these lines are drawn, it signifies that Buy-side or Sell-side stops are resting just above/below, which the Market Maker will likely sweep to facilitate their own orders.
5. Synthetic AMD Projection🟢
A sophisticated visualizer that draws HTF candles (including custom daily opens like Midnight or 8:30) on the right side of the chart. This allows traders to monitor HTF trend and momentum without switching tabs.
• The Power of 3 (PO3):
1. Accumulation: Anchored by a custom_daily open price (Midnight/8:30/9:30).
2. Manipulation: The script renders wicks using line.new() to show where price deviated below/above the open.
3. Distribution: The script calculates the body expansion of the HTF candle, allowing traders to see the real-time "state" of the Daily or Weekly candle without switching tabs.
• Inter-market SMT: The logic compares the current ticker's high/low against a secondary ticker (via request.security). If a non-correlation (divergence) occurs, the script flags has_bearish_div or has_bullish_div directly on the synthetic HTF candles.
The "Trace" System
The Trace type creates horizontal projections of the HTF Open, High, Low, and Close.
• Significance: It allows you to see the "Current Candle State." If the LTF price is trading below the projected HTF Open but above the HTF Low, you are mathematically inside the "Lower Wick" of the HTF candle—a prime location for ICT long entries.
Memory Management and Performance
To prevent the "Script Requesting Too Many Drawings" error, this script features a self-cleaning logic:
• Array Management: It uses array.unshift() to add new objects and array.pop().delete() to remove the oldest drawings once the max_days or max_boxes_count limit is reached.
• Non-Repainting: All security calls use the index or barstate.isconfirmed checks to ensure that signals do not disappear after the bar closes.
6. Multi- Timeframe SMT Divergence🟢
This logic acts as a Correlation Radar. By calling request.security() for 8 assets (e.g., ES, NQ, DXY), the script checks for "cracks" in symmetry. If one asset makes a new high but others fail, an SMT is flagged.
This is a correlation engine. It looks for "cracks" in the relationship between two assets that should move together (like the S&P 500 and Nasdaq).
• How it works: It simultaneously looks at your current chart and a "hidden" second chart. If Asset A makes a higher high, but Asset B fails to make that higher high, it signals a Divergence. This often precedes a massive trend reversal.
• Visual Logic: It draws diagonal lines directly between the highs or lows of the HTF candles to show you the "tilt" of the divergence visually.
• Security (Data Integrity): The script uses "Protected Security" calls. It ensures that the data from the second asset is synced perfectly in time with your current chart, preventing "future-leaking" where an indicator looks like it’s winning only because it knows what happens next. To prevent crashes, it uses Array Buffers and Tuple Requests, grouping data to stay under Pine Script's 40-call limit while ensuring non-repainting accuracy.
7. High Timeframe (HTF) Candle Projections PO3🟢
The script "projects" larger timeframe candles (like Daily or 4-Hour) onto your lower timeframe chart (like the 1-minute or 5-minute).
• How it works: It builds these candles using math and coordinates rather than standard bars. This allows them to sit on the right side of your screen in the "empty space," giving you a roadmap of the higher-order trend without blocking your view.
• Swing Detection Logic: It identifies if these projected candles have "swept" liquidity.
• Empty Triangle (▽): A "Potential" sweep. Price is currently above a old high, but the candle hasn't closed yet.
• Solid Triangle (▼): A "Confirmed" sweep. The candle closed, and price was rejected, leaving a wick.
• Security: The script uses an Array Buffer. It only keeps a specific number of these candles in memory. As a new candle forms, the oldest one is deleted. This keeps the script fast and prevents TradingView from lagging.
The "Trace Lines" (Open, High, Low, Close) connect the HTF projected candles back to the actual price bars.
This is a Performance Guardrail. Pine Script has a maximum lookback for drawing objects. By checking if the index is within 5000 bars, the script avoids trying to draw lines into "null" memory space, which would throw a runtime error.
8. Expansion & Equilibrium (EQ) Logic🟢
This logic predicts the "intent" of the market based on the previous candle's behavior.
• Expansion expected: If the previous HTF candle created a "Swing Low" (swept a low and rejected), the script colors the current forming candle as Bullish Expansion. It’s telling you: "The sweep is done; we are likely moving up now."
• Equilibrium (EQ) Line: It draws a dotted line at the exact 50% mark of the previous HTF candle. In institutional trading, the 50% mark (Mean Threshold) is the "fair value" point. Trading above it is "Premium," and below it is "Discount."
• Security: It uses Timezone Normalization. Regardless of where you live, the script can sync to the New York Midnight or 8:30 AM open, ensuring your levels match the algorithm's "True Day" start.
9. The HTF Info Table🟢
This is the "Dashboard" logic. It summarizes the state of multiple timeframes into a single UI element.
Acts as your mission control. It gathers data from up to 6 different timeframes and puts them in a clean table.
Expansion Logic: ```pinescript
exp_text = c2_swing_high and c2_swing_low ? "▲▼" : c2_swing_low ? "▲" : c2_swing_high ? "▼" : "-"
This tells the trader what the
next candle is expected to do. If the previous candle swept a low expansion up the table flags.
• How it works: It scans all active timeframes for Timers, Swings, Expansions, and Divergences. If 4 out of 6 timeframes show a "Bullish Expansion" icon (▲), you have high-probability confluence.
• Logic Security: The table only updates on "Real-Time" bars. It won't waste processing power recalculating historical table data that you can't trade anyway.
10. The iFVG (Inversion Fair value gap) Engine🟢
Standard FVGs are gaps where price moves too fast. This script tracks Inversions—when a gap that was supposed to act as support is "run over" and becomes resistance (or vice versa)
This is the most complex logic in the snippet. It doesn't just look for gaps; it looks for failed gaps that act as support/resistance.
The Inversion Trigger: The script waits for a specific number of candles (inv_candles) for price to close through the FVG. Once the is_inverted condition is met, it converts a standard FVG into an iFVG.
Memory Management: By using array.push(active_boxes, new_box) and a corresponding box.delete loop, the script ensures it never exceeds the TradingView drawing limits, which would otherwise cause the script to lag or crash.
The "Secret Sauce" Logic: It includes a volatility filter. It won't plot an iFVG unless the move was backed by high volume, orderflow and a large price spread. This ensures you only see gaps created by banks, not retail noise.
Security: It features an Invalidation Cleanup. Once price moves too far past an iFVG, the script "kills" the drawing. This prevents the chart from being cluttered with old, irrelevant levels and saves your computer's memory.
How it works: The script identifies a gap between Candle 1 and Candle 3. It then enters a "monitoring state" for a set number of candles. If price closes through that gap, it "flips" the zone and draws a box extending into the future.
11. IFVG MTF ALERTS🟢
The Multi-Timeframe iFVG Alerts function as a real-time "state change" monitor across your 1m to 15m execution charts. Unlike standard price alerts, these only trigger when the script detects a failed FVG—meaning price hasn't just touched a gap, but has closed completely through it with enough displacement to flip the zone's institutional bias.
🔔 How the Alerts Function
• Fractal Detection: The script scans your selected 1, 2, 3, 4, 5, and 15-minute intervals. For eg, If a 15m Bearish FVG is "run over" by price, it sends an Inversion Alert, signaling that a high-timeframe resistance has now flipped into support.
• Volume/Close Validation: To prevent "fakeouts," the alert only fires when a candle body closes above (for bullish flips) or below (for bearish flips) the gap boundaries. This ensures the alert represents a genuine shift in order flow rather than just a wick sweep.
• Non-Repainting Logic: By using barstate.isconfirmed, the alert triggers exactly at the candle close. This ensures that once you get a notification on your phone or desktop, the level is "locked" and won't disappear if price fluctuates later.
🛠️ HOW TO USE (THE INSTITUTIONAL WORKFLOW)
1. TIME: Identify if you are in a Killzone (Shaded area). Opening Gaps & EHPDA: Locate the NWOG and NDOG lines. Use the Event Horizon (EHPDA)—the midpoint between gaps—as your primary "Magnet."
2. BIAS: Check the EHPDA/Midnight Open. Are you in a Discount (to buy) or Premium (to sell)?
Use HTF Info Table: Confirm your idea. If the table shows "▲" (Bullish Expansion) across 4/6 timeframes, you have a massive directional tailwind.
3. MAGNET: Look for the EQH/EQL dotted lines. This is your target.
4. TRAP: Wait for a Liquidity Sweep
5. CONFIRM: Check the SMT Radar for divergence and the HTF Info Table for expansion confluence.
6. MTF FVG Engine: Look for price to enter a large Higher Timeframe FVG. Because these are "touch-sensitive," the box will shrink as price eats the liquidity, telling you exactly when the gap is "full."
• iFVG Inversion Trigger: Once inside the MTF FVG and after an SMT, wait for a small gap to form and fail.
• The Move: Price closes through a Bearish FVG and flips to a Bullish iFVG.
• Execution: Enter on the inversion of the iFVG box.
🛡️ PERFORMANCE & SECURITY
• Memory Management: Features a built-in "Garbage Collector" that deletes old drawings to stay under TradingView's 500-object limit and prevent lag.
• Premium Safety Toggle: Includes an enable30s check to prevent script crashes for non-premium users on lower timeframes.
• Non-Repainting: All request.security calls use indexing or barstate.isconfirmed to ensure signals are permanent once the candle closes.
📌 NOTES
• Optimized For: 1M, 2M, 3M, 4M , 5M, and 15M execution timeframes.
• Markets: Works on Forex, Indices (NQ/ES), Commodities (Gold), and Crypto.
⚠️Risk Disclaimer
Financial Trading involves significant risk. This Pine Script is an educational tool designed to automate specific technical analysis frameworks; it does not guarantee profits or provide financial advice. Past performance, including backtested results or historical "Power of 3" projections, is not indicative of future success.
The user assumes full responsibility for all trading decisions and capital risk. Use of this script on real-money accounts should only occur after extensive personal testing. The developer is not liable for any financial losses, data inaccuracies, or platform-related execution errors resulting from the use of this software.






















