OPEN-SOURCE SCRIPT
Ind JDV 2.2 PRO con FVG y 3 EMAs

📝 Description for TradingView (English version):
Ind JDV 2.2 PRO with FVG and 3 EMAs
Overview:
This script identifies high-probability entry points by combining Fair Value Gaps (FVGs), trend filters using Exponential Moving Averages (EMAs), and momentum confirmation via Chandelier Exit. It focuses on structural imbalance and only triggers a signal on the third candle of a valid FVG—ensuring precision and trend alignment.
What does this indicator do and how does it work?
🔶 Fair Value Gaps (FVG):
The script detects FVGs using a standard 3-candle logic. If candle 1 and candle 3 do not overlap, a liquidity gap is detected. These gaps are drawn as extended boxes, helping traders visually track potential zones of reaction or continuation.
Orange FVG (traditionally bearish): Potential selling zones.
Green FVG (traditionally bullish): Potential buying zones.
🔷 Three EMAs as Trend Filters:
The system includes 3 configurable Exponential Moving Averages to help filter trades based on trend strength:
EMA 150 (main trend filter)
EMA 50 (mid-term trend)
EMA 20 (short-term sensitivity)
You can enable or disable the EMA filter for flexible use across scalping, intraday, or swing setups.
🟣 Chandelier Exit for Momentum Confirmation:
This dynamic ATR-based trailing stop is used here as an entry confirmation:
Long trades: Price must be above the Chandelier Long level.
Short trades: Price must be below the Chandelier Short level.
Entry Conditions (BUY or SELL signal):
A signal appears only on the third candle of a valid FVG, and only if:
A valid FVG was detected exactly 2 bars ago.
The signal direction matches the FVG type (green = BUY, orange = SELL).
Price is aligned with the main EMA direction.
Chandelier Exit confirms the momentum in the same direction.
How to Use:
Load the indicator on your preferred chart and timeframe (ideal for NASDAQ, crypto, or futures).
Observe painted FVGs as potential areas of trade opportunity.
Wait for a BUY or SELL signal exactly on the 3rd candle of the FVG.
Use the optional TP/SL lines or your own trade management strategy.
What makes this script original and useful?
This script is not a simple mashup of indicators. Its originality comes from:
A disciplined FVG logic with strict timing of signal placement.
The layered confirmation from trend (EMAs) and momentum (Chandelier Exit).
Full user control over entry conditions and visual clarity.
👉 A powerful tool for traders seeking to enter structural imbalance zones with strong confirmation and minimal noise.
📝 Descripción para TradingView (publicación en español):
Ind JDV 2.2 PRO con FVG y 3 EMAs
Resumen:
Este script está diseñado para detectar oportunidades de entrada precisas en el mercado combinando la lógica de Fair Value Gaps (FVG) con filtros de tendencia basados en EMAs y confirmación por medio del Chandelier Exit. La estrategia se enfoca en detectar desequilibrios de liquidez mediante FVGs de 3 velas y entrar en la tercera vela, solo si las condiciones de tendencia y momentum se alinean.
¿Qué hace este indicador y en qué se basa?
🔶 Fair Value Gaps (FVGs):
Los FVGs se detectan usando la clásica estructura de 3 velas. Se interpreta que si la vela 1 no solapa con la vela 3, existe un desequilibrio de liquidez que puede ser rellenado o actuar como zona de reacción.
Un FVG alcista (color naranja) indica posible impulso bajista posterior.
Un FVG bajista (color verde) indica potencial continuación alcista.
✅ Este script pinta esos FVGs como rectángulos que se extienden varias velas hacia adelante para facilitar su seguimiento visual.
🔷 Tres EMAs como filtros dinámicos:
El indicador incorpora 3 medias móviles exponenciales para filtrar condiciones de tendencia:
EMA principal de 150 periodos (filtro estructural).
EMA secundaria de 50 periodos.
EMA rápida de 20 periodos.
El usuario puede habilitar o deshabilitar el filtro principal para afinar la sensibilidad del sistema según el estilo operativo (scalping, intradía, swing).
🟣 Chandelier Exit como confirmación de momentum:
El Chandelier Exit actúa como trailing stop dinámico basado en ATR. Aquí se utiliza como confirmación de entrada:
En largos: el precio debe estar por encima del nivel Chandelier Long.
En cortos: debe estar por debajo del Chandelier Short.
Condición de entrada (señal BUY o SELL):
Una señal aparece únicamente en la tercera vela de un FVG si se cumplen:
Existencia de un FVG válido hace dos velas.
Dirección del FVG acorde a la señal (verde → BUY, naranja → SELL).
Precio cruzando la EMA principal en la dirección correcta.
Confirmación por Chandelier Exit.
¿Cómo usar este script?
Añádelo a tu gráfico y selecciona el activo y temporalidad de tu preferencia (ideal para NASDAQ, futuros, criptomonedas).
Usa los rectángulos como zonas de observación.
Espera una señal BUY o SELL sobre la tercera vela del FVG.
Puedes activar las líneas TP/SL sugeridas o aplicar tu propio manejo de riesgo.
¿Qué lo hace original y útil?
Este script no es una simple mezcla de indicadores. La originalidad radica en:
El uso riguroso de lógica de FVG aplicada sobre 3 velas, con señal solo en el momento justo.
La combinación con filtros de tendencia (EMAs) y momentum (Chandelier) para evitar entradas falsas.
El control total por parte del usuario sobre filtros y parámetros.
👉 Ideal para traders que buscan confirmar desequilibrios de precio con reglas objetivas de entrada en tendencia.
En Resumen: si el precio esta por encima de la EMA principal solo se toman las señales de buy despues de que se forme un FVG. no todas funcionan. y visceversa.
happy trading!!
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.