OPEN-SOURCE SCRIPT
IDM + IFVG Sniper Entry Final V3

Description
This indicator is designed to identify high-probability “sniper” trade entries based on Smart Money Concepts (SMC), combining Inducement (IDM), Inverse Fair Value Gaps (IFVG), and trend confirmation.
It helps traders avoid noise and focus only on structured setups where liquidity has been taken and price is reacting from key imbalance zones.
---
## ⚙️ How It Works
The indicator combines multiple layers of confirmation:
• Trend filtering using EMA (50 / 200)
• Liquidity sweeps (IDM) to detect trapped traders
• Fair Value Gap (FVG) and Inverse FVG (IFVG) zones
• Rejection candles for entry timing
• Cooldown logic to avoid repeated signals
Signals are only printed when all conditions align, resulting in fewer but higher-quality setups.
---
## 🔻 SELL Setup Logic
A SELL signal is generated when:
• Market is in a bearish trend
• Price retraces into a bearish IFVG zone
• Liquidity above highs is swept (IDM) or rejection occurs
• Weak close confirms selling pressure
---
## 🔺 BUY Setup Logic
A BUY signal is generated when:
• Market is in a bullish trend
• Price retraces into a bullish IFVG zone
• Liquidity below lows is swept (IDM) or rejection occurs
• Strong close confirms buying pressure
---
## 🎯 Best Usage
• Works best on 15-minute timeframe
• Can be refined using 5-minute for entries
• Ideal for BTC, indices, and liquid markets
• Designed for trend-following setups
---
## ⚠️ Important Notes
This is a rule-based indicator, not a guarantee of profits.
Always combine with proper risk management and market context.
Avoid trading against the trend, and do not chase signals away from zones.
---
## 💡 Pro Tip
Use this indicator as a confirmation tool:
• Identify direction on higher timeframe
• Wait for price to return to IFVG zone
• Enter only when signal appears with rejection
---
## 🚀 Summary
This tool simplifies Smart Money Concepts into actionable signals, helping traders focus on:
• Liquidity traps (IDM)
• Institutional zones (IFVG)
• Clean, structured entries
Fewer signals. Better precision.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.