OPEN-SOURCE SCRIPT
A+ IFVG Entry Model - SNIPE + HTF PRO TARGETS V2

The PJ Style A+ IFVG Entry Model – SNIPE + HTF is a rule-based trading indicator designed to identify high-probability intraday and swing opportunities using liquidity concepts, displacement, and imbalance analysis. It operationalizes a structured entry model centered on market behavior commonly associated with institutional order flow.
Core Methodology
The indicator scans for a specific sequence of events:
Liquidity Sweep
Price takes out prior highs or lows, signaling potential stop runs and liquidity collection.
Displacement Move
A strong directional expansion confirms intent, indicating that market participants are committing to a move.
Fair Value Gap (FVG) / Inversion FVG (IFVG)
The presence of an imbalance highlights inefficiencies in price delivery, which often act as continuation zones.
Confirmation
Entries are only validated once price action confirms direction through candle structure, reducing premature signals.
Entry Types
The script distinguishes between two strategic entry profiles:
SNIPE Entries
Designed for short-term execution
Triggered immediately following the core model conditions
Targets nearby liquidity levels for quicker profit-taking
Ideal for lower timeframes and active trade management
HTF Bias Entries (Runner Trades)
Filtered by higher timeframe directional bias using a moving average framework
Intended to capture extended moves (“runners”)
Targets broader liquidity zones using an expanded lookback range
Suitable for holding positions longer with trend alignment
Risk Management
"UPDATED" The model incorporates dynamic, liquidity-based risk controls:
Stop Loss Placement
Positioned beyond the most recent sweep or protected structure, with an ATR-based buffer to account for volatility.
Profit Targets
Derived from real liquidity zones (recent highs/lows or extended ranges), rather than arbitrary fixed distances.
Risk-to-Reward Filter
Optional validation ensures trades meet a minimum reward-to-risk threshold before being signaled.
Additional Features
Automated FVG Visualization for identifying imbalance zones directly on the chart
Sweep Markers (SH / SL) to highlight liquidity events
Cooldown Mechanism to prevent signal clustering and overtrading
Customizable Parameters for timeframe adaptability and strategy refinement
Alert Conditions for real-time trade monitoring and automation support
Use Case
This indicator is intended for traders who rely on price action, liquidity theory, and structured execution models. It emphasizes discipline, consistency, and contextual decision-making rather than signal overdependence, making it suitable as both a standalone tool and a confirmation layer within a broader trading framework.
Core Methodology
The indicator scans for a specific sequence of events:
Liquidity Sweep
Price takes out prior highs or lows, signaling potential stop runs and liquidity collection.
Displacement Move
A strong directional expansion confirms intent, indicating that market participants are committing to a move.
Fair Value Gap (FVG) / Inversion FVG (IFVG)
The presence of an imbalance highlights inefficiencies in price delivery, which often act as continuation zones.
Confirmation
Entries are only validated once price action confirms direction through candle structure, reducing premature signals.
Entry Types
The script distinguishes between two strategic entry profiles:
SNIPE Entries
Designed for short-term execution
Triggered immediately following the core model conditions
Targets nearby liquidity levels for quicker profit-taking
Ideal for lower timeframes and active trade management
HTF Bias Entries (Runner Trades)
Filtered by higher timeframe directional bias using a moving average framework
Intended to capture extended moves (“runners”)
Targets broader liquidity zones using an expanded lookback range
Suitable for holding positions longer with trend alignment
Risk Management
"UPDATED" The model incorporates dynamic, liquidity-based risk controls:
Stop Loss Placement
Positioned beyond the most recent sweep or protected structure, with an ATR-based buffer to account for volatility.
Profit Targets
Derived from real liquidity zones (recent highs/lows or extended ranges), rather than arbitrary fixed distances.
Risk-to-Reward Filter
Optional validation ensures trades meet a minimum reward-to-risk threshold before being signaled.
Additional Features
Automated FVG Visualization for identifying imbalance zones directly on the chart
Sweep Markers (SH / SL) to highlight liquidity events
Cooldown Mechanism to prevent signal clustering and overtrading
Customizable Parameters for timeframe adaptability and strategy refinement
Alert Conditions for real-time trade monitoring and automation support
Use Case
This indicator is intended for traders who rely on price action, liquidity theory, and structured execution models. It emphasizes discipline, consistency, and contextual decision-making rather than signal overdependence, making it suitable as both a standalone tool and a confirmation layer within a broader trading framework.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.