OPEN-SOURCE SCRIPT
Actualizado AN Trades

**AN Trades — Entry Signal Indicator**
A Smart Money / ICT-based entry signal indicator that plots a **BUY** or **SELL** arrow only when a full confluence of conditions is met. It does not repaint — signals fire on the close of the confirming bar.
---
**How a signal triggers (all must be true simultaneously):**
1. **Liquidity Sweep** — Price wicks below a recent swing low (for longs) or above a recent swing high (for shorts) and closes back through it, indicating a manipulation / stop hunt
2. **IFVG (Inverted Fair Value Gap)** — A previously bullish/bearish FVG has been invaded and closed through, flipping it into an IFVG. Price must be entering or touching that zone at signal time
3. **CISD (Change in State of Delivery)** — Price closes through the open of a prior delivery candle in the opposite direction, confirming a shift in order flow
4. **Manipulation Leg Invalidation** — If after the sweep, price closes back through the swept level again (taking out the swing that caused the manipulation), the trade is blocked — the setup has failed
---
**Optional filters (toggleable):**
- **SMT Divergence** — One correlated instrument (default NQ) makes a new high/low while the other fails to, confirming institutional divergence
- **Opposing DOL** — Blocks the trade if the nearest liquidity in the opposite direction is closer than the target
- **Data Wick** — Blocks the trade if an abnormally large wick (news spike / algo wick) is present in the opposing direction
- **HTF Bias** — Tracks the higher timeframe FVG direction; used internally for context
A Smart Money / ICT-based entry signal indicator that plots a **BUY** or **SELL** arrow only when a full confluence of conditions is met. It does not repaint — signals fire on the close of the confirming bar.
---
**How a signal triggers (all must be true simultaneously):**
1. **Liquidity Sweep** — Price wicks below a recent swing low (for longs) or above a recent swing high (for shorts) and closes back through it, indicating a manipulation / stop hunt
2. **IFVG (Inverted Fair Value Gap)** — A previously bullish/bearish FVG has been invaded and closed through, flipping it into an IFVG. Price must be entering or touching that zone at signal time
3. **CISD (Change in State of Delivery)** — Price closes through the open of a prior delivery candle in the opposite direction, confirming a shift in order flow
4. **Manipulation Leg Invalidation** — If after the sweep, price closes back through the swept level again (taking out the swing that caused the manipulation), the trade is blocked — the setup has failed
---
**Optional filters (toggleable):**
- **SMT Divergence** — One correlated instrument (default NQ) makes a new high/low while the other fails to, confirming institutional divergence
- **Opposing DOL** — Blocks the trade if the nearest liquidity in the opposite direction is closer than the target
- **Data Wick** — Blocks the trade if an abnormally large wick (news spike / algo wick) is present in the opposing direction
- **HTF Bias** — Tracks the higher timeframe FVG direction; used internally for context
Notas de prensa
just made it a little better Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.