PROTECTED SOURCE SCRIPT
Diupdate ETF→Symbol GEX & IM Mapper

🧭 ETF→Symbol GEX & IM Mapper — Descripción e Instrucciones
Resumen 🧩
Indicador (overlay) que convierte niveles calculados sobre un ETF (SPY/QQQ/IWM/DIA) al símbolo actual y los dibuja con estilo profesional: muros de GEX (Call/Put), rango de IM (+ desvíos estándar), HVL con sombreado verde/rojo, BS desde bloque, estado de entorno (Basis/VIX) y signo GEX manual/automático. Ideal para quienes operan futuros/acciones pero consumen niveles originados en el ETF.
¿Qué hace? 🎯
Convierte y plotea niveles de GEX/IM/HVL/BS provenientes de un bloque de texto (formato largo en español o compacto “precio,nombre[,lX]”). Permite rebase a apertura 09:30 NY o rebase manual, ajusta etiquetas/colores, controla la longitud de líneas (por barras/días/todo el chart) y muestra un InfoBox con BASE (CT/BW), VIX (opcional) y signo GEX (Manual/Auto). El sombreado HVL puede anclarse a IM o GEX L1 y recortarse al mismo span.
El bloque largo se obtiene directamente (podría requerir suscripción de pago) del sitio:
gammetric.com/niveles-gex-diarios/
Ejemplo de formato del bloque largo:
NQ (Nasdaq 100)
Resistencia Call 23500, Soporte Put 23000, HVL 23360, 1D Min 23200.21, 1D Max 23697.29, Resistencia Call 0DTE 23500, Soporte Put 0DTE 23200, HVL 0DTE 23360, Muro Gamma 0DTE 23500, GEX 1 23550, GEX 2 23300, GEX 3 23600, GEX 4 23650, GEX 5 23350, GEX 6 23750, GEX 7 23800, GEX 8 23700, GEX 9 23900, GEX 10 23100, BS 1 23345.2, BS 2 23700.68, BS 3 23202.48, BS 4 24015.01, BS 5 23861.63, BS 6 23600.78, BS 7 23087.68, BS 8 22873.02, BS 9 24043.37, BS 10 23774.72
EL bloque corto se alimenta manualmente de los datos obtenidos desde sitios como Unusual whales, Option Alpha, etc.
Ejemplo del formato del bloque corto:
575, call wall, l1; 567, put wall, l1; 571, call wall, l2; 565, put wall, l2; 572, call wall, l3; 560, put wall, l3; 560, im; 571, im; 570, hvl
Componentes 🧱
• GEX: Resistencia Call (l1), Soporte Put (l1) + GEX extra por lado (l2/l3) coloreados según el lado del precio.
• IM: Rango IM Low/High con opción de SDV ±1/±2/±3.
• HVL: Línea HVL + sombreado dinámico (verde/rojo) según posición del precio, anclaje (IM/GEX L1/Auto).
• BS: Hasta N niveles en gris (etiqueta “BS k”).
• InfoBox: ETF, precio ETF, BASE (suavizada), VIX (spot vs 3M) y GEX Manual/Auto.
• Rebase: 09:30 NY automático o manual; alerta de deriva configurable.
Entrada de datos (bloque pegado) 📦
• Largo (ES): frases con “Resistencia Call”, “Soporte Put”, “HVL 0DTE/Std”, “1D min/max”, “GEX k”, “BS k”, etc.
• Compacto: precio,nombre[,lX] separados con ; (ej.: 5200,Call Wall,l1; 5150,GEX 2; 5100,BS 1).
• Marca “Valores del bloque están en ETF (convertir con Diff)” cuando el bloque venga en precio del ETF.
• Preferir 0DTE: prioriza variantes intradía si coexisten 0DTE/Std.
⚙️ Instrucciones de uso
Añade el indicador al gráfico del símbolo donde operas (futuros, acción, etc.). Es un overlay.
En “01) Origen de datos” pega tu bloque y elige el formato (Auto/Largo/Compacto).
En “02) ETF → Símbolo” selecciona el ETF de referencia del que provienen los niveles (SPY/QQQ/IWM/DIA).
En “02-b) Ancla / Rebase” elige “Rebase 09:30 NY” o “Rebase manual”. Si usas manual, pulsa “Rebase ahora” tras abrir mercado. Activa la alerta de deriva para recibir sugerencias de rebase.
Ajusta “04) Líneas / Etiquetas”: longitud (Barras/Días/Completo), posición, offsets, colores y fondos (puedes igualar el fondo de etiqueta al color de línea).
En “05) Estilos” define grosores/estilos/colores; activa SDV si quieres ±σ desde IM. Configura HVL y su sombreado (anclaje, opacidad, lado).
En “06) Entorno” activa Basis y/o VIX; pon GEX en “Manual/Auto”. En Auto puedes basarte en VIX term, Basis o Precio vs HVL.
Revisa el InfoBox para ver BASE, VIX y estado GEX; activa la etiqueta flotante si quieres lectura rápida en el gráfico.
Publica en TradingView con esta ficha, capturas de ejemplo y marcando overlay.
🔧 Parámetros clave (rápido)
• block_format_mode: Auto / Largo / Compacto
• block_prices_in_etf: marcar si el bloque viene en precio de ETF
• block_gex_per_side: cuántos GEX extra (además de L1) por lado
• bs_enable / bs_count_plot: activar y limitar cantidad de BS
• hvl_fill_anchor: “IM”, “GEX L1” o “Auto (IM dentro de GEX L1)”
• line_span_mode: “Barras”, “Días” o “Completo”
• gex_mode: “Manual/Auto” con fuentes “VIX term / Basis / HVL”
🧭 ETF→Symbol GEX & IM Mapper — Description & Instructions (for TradingView)
Summary 🧩
Overlay indicator that converts levels computed on an ETF (SPY/QQQ/IWM/DIA) to the current symbol and renders them with a clean visual style: GEX walls (Call/Put), IM range (+ standard-deviation bands), HVL with green/red shading, BS levels from the pasted block, environment state (Basis/VIX), and GEX sign (manual/auto). Ideal for traders who trade futures/stocks but consume levels originated on the ETF.
What it does 🎯
Parses and plots GEX/IM/HVL/BS levels coming from a text block (Spanish long format or compact price,name[,lX]). Supports rebase at 09:30 NY or manual rebase, configurable labels/colors, line length (by bars/days/entire chart), and an InfoBox with BASE (CT/BW), optional VIX, and GEX sign (Manual/Auto). HVL shading can anchor to IM or GEX L1 and matches the same line span.
Components 🧱
• GEX: Call Resistance (l1), Put Support (l1) + extra GEX per side (l2/l3) auto-colored by side vs price.
• IM: IM Low/High range with optional SDV ±1/±2/±3.
• HVL: HVL line + dynamic shading (green/red) based on price vs HVL; anchors (IM/GEX L1/Auto).
• BS: Up to N gray levels (label “BS k”).
• InfoBox: ETF, ETF price, BASE (smoothed), VIX (spot vs 3M), and GEX Manual/Auto.
• Rebase: Auto at 09:30 NY or manual click; configurable drift alert.
Data input (pasted block) 📦
• Long (ES): phrases like “Resistencia Call”, “Soporte Put”, “HVL 0DTE/Std”, “1D min/max”, “GEX k”, “BS k”, etc.
• Compact: price,name[,lX] separated by ; (e.g., 5200,Call Wall,l1; 5150,GEX 2; 5100,BS 1).
• Enable “Valores del bloque están en ETF (convertir con Diff)” when values are in ETF price (not the current symbol).
• Prefer 0DTE: prioritizes intraday variants when both 0DTE/Std exist.
⚙️ How to use
Add the indicator to the chart of the instrument you trade (future, stock, etc.). It’s an overlay.
In “01) Origen de datos”, paste your block and choose the format (Auto/Long/Compact).
In “02) ETF → Símbolo”, pick the reference ETF the levels were computed on (SPY/QQQ/IWM/DIA).
In “02-b) Ancla / Rebase”, choose “Rebase 09:30 NY” or “Rebase manual”. If manual, press “Rebase ahora” after the market opens. Enable the drift alert to get rebase hints.
Tweak “04) Líneas / Etiquetas”: length (Bars/Days/Full), label position, offsets, colors and backgrounds (you can match label background to line color).
In “05) Estilos”, set widths/styles/colors; enable SDV if you want ±σ around IM. Configure HVL and its shading (anchor, opacity, side behavior).
In “06) Entorno”, turn on Basis and/or VIX; set GEX to “Manual/Auto”. In Auto you may base it on VIX term, Basis, or Price vs HVL.
Check the InfoBox for BASE, VIX and GEX sign; enable the floating label if you want a quick on-chart readout.
Publish on TradingView with this write-up, example screenshots, and overlay flagged.
🔧 Key parameters (quick)
• block_format_mode: Auto / Long / Compact
• block_prices_in_etf: enable if the block is in ETF prices
• block_gex_per_side: how many extra GEX levels (besides L1) per side
• bs_enable / bs_count_plot: enable and cap the number of BS levels
• hvl_fill_anchor: “IM”, “GEX L1” or “Auto (IM dentro de GEX L1)”
• line_span_mode: “Barras”, “Días” or “Completo” (Bars/Days/Full)
• gex_mode: “Manual/Auto” with sources “VIX term / Basis / HVL”
🛠️ Troubleshooting
• Levels look shifted: perform a Rebase or enable the drift alert.
• Label overlap: use bar/day offsets and/or disable “Label background = line color”.
• Block is in ETF and not marked: enable “Valores del bloque están en ETF”.
• Extra GEX duplicates L1: increase dedup tolerance (ε).
• VIX missing: enable VIX and confirm the tickers exist for your broker/plan.
🎨 Design notes
• All UI texts, menus and labels shipped in Spanish by design.
• Compatible with short and long block without breaking existing setups.
• Respects Pine v6 syntax; avoids breaking lines inside parentheses.
⚖️ Disclaimer
This indicator is a visualization/level-management tool. It is not financial advice and does not guarantee results. Use at your own discretion and risk.
Resumen 🧩
Indicador (overlay) que convierte niveles calculados sobre un ETF (SPY/QQQ/IWM/DIA) al símbolo actual y los dibuja con estilo profesional: muros de GEX (Call/Put), rango de IM (+ desvíos estándar), HVL con sombreado verde/rojo, BS desde bloque, estado de entorno (Basis/VIX) y signo GEX manual/automático. Ideal para quienes operan futuros/acciones pero consumen niveles originados en el ETF.
¿Qué hace? 🎯
Convierte y plotea niveles de GEX/IM/HVL/BS provenientes de un bloque de texto (formato largo en español o compacto “precio,nombre[,lX]”). Permite rebase a apertura 09:30 NY o rebase manual, ajusta etiquetas/colores, controla la longitud de líneas (por barras/días/todo el chart) y muestra un InfoBox con BASE (CT/BW), VIX (opcional) y signo GEX (Manual/Auto). El sombreado HVL puede anclarse a IM o GEX L1 y recortarse al mismo span.
El bloque largo se obtiene directamente (podría requerir suscripción de pago) del sitio:
gammetric.com/niveles-gex-diarios/
Ejemplo de formato del bloque largo:
NQ (Nasdaq 100)
Resistencia Call 23500, Soporte Put 23000, HVL 23360, 1D Min 23200.21, 1D Max 23697.29, Resistencia Call 0DTE 23500, Soporte Put 0DTE 23200, HVL 0DTE 23360, Muro Gamma 0DTE 23500, GEX 1 23550, GEX 2 23300, GEX 3 23600, GEX 4 23650, GEX 5 23350, GEX 6 23750, GEX 7 23800, GEX 8 23700, GEX 9 23900, GEX 10 23100, BS 1 23345.2, BS 2 23700.68, BS 3 23202.48, BS 4 24015.01, BS 5 23861.63, BS 6 23600.78, BS 7 23087.68, BS 8 22873.02, BS 9 24043.37, BS 10 23774.72
EL bloque corto se alimenta manualmente de los datos obtenidos desde sitios como Unusual whales, Option Alpha, etc.
Ejemplo del formato del bloque corto:
575, call wall, l1; 567, put wall, l1; 571, call wall, l2; 565, put wall, l2; 572, call wall, l3; 560, put wall, l3; 560, im; 571, im; 570, hvl
Componentes 🧱
• GEX: Resistencia Call (l1), Soporte Put (l1) + GEX extra por lado (l2/l3) coloreados según el lado del precio.
• IM: Rango IM Low/High con opción de SDV ±1/±2/±3.
• HVL: Línea HVL + sombreado dinámico (verde/rojo) según posición del precio, anclaje (IM/GEX L1/Auto).
• BS: Hasta N niveles en gris (etiqueta “BS k”).
• InfoBox: ETF, precio ETF, BASE (suavizada), VIX (spot vs 3M) y GEX Manual/Auto.
• Rebase: 09:30 NY automático o manual; alerta de deriva configurable.
Entrada de datos (bloque pegado) 📦
• Largo (ES): frases con “Resistencia Call”, “Soporte Put”, “HVL 0DTE/Std”, “1D min/max”, “GEX k”, “BS k”, etc.
• Compacto: precio,nombre[,lX] separados con ; (ej.: 5200,Call Wall,l1; 5150,GEX 2; 5100,BS 1).
• Marca “Valores del bloque están en ETF (convertir con Diff)” cuando el bloque venga en precio del ETF.
• Preferir 0DTE: prioriza variantes intradía si coexisten 0DTE/Std.
⚙️ Instrucciones de uso
Añade el indicador al gráfico del símbolo donde operas (futuros, acción, etc.). Es un overlay.
En “01) Origen de datos” pega tu bloque y elige el formato (Auto/Largo/Compacto).
En “02) ETF → Símbolo” selecciona el ETF de referencia del que provienen los niveles (SPY/QQQ/IWM/DIA).
En “02-b) Ancla / Rebase” elige “Rebase 09:30 NY” o “Rebase manual”. Si usas manual, pulsa “Rebase ahora” tras abrir mercado. Activa la alerta de deriva para recibir sugerencias de rebase.
Ajusta “04) Líneas / Etiquetas”: longitud (Barras/Días/Completo), posición, offsets, colores y fondos (puedes igualar el fondo de etiqueta al color de línea).
En “05) Estilos” define grosores/estilos/colores; activa SDV si quieres ±σ desde IM. Configura HVL y su sombreado (anclaje, opacidad, lado).
En “06) Entorno” activa Basis y/o VIX; pon GEX en “Manual/Auto”. En Auto puedes basarte en VIX term, Basis o Precio vs HVL.
Revisa el InfoBox para ver BASE, VIX y estado GEX; activa la etiqueta flotante si quieres lectura rápida en el gráfico.
Publica en TradingView con esta ficha, capturas de ejemplo y marcando overlay.
🔧 Parámetros clave (rápido)
• block_format_mode: Auto / Largo / Compacto
• block_prices_in_etf: marcar si el bloque viene en precio de ETF
• block_gex_per_side: cuántos GEX extra (además de L1) por lado
• bs_enable / bs_count_plot: activar y limitar cantidad de BS
• hvl_fill_anchor: “IM”, “GEX L1” o “Auto (IM dentro de GEX L1)”
• line_span_mode: “Barras”, “Días” o “Completo”
• gex_mode: “Manual/Auto” con fuentes “VIX term / Basis / HVL”
🧭 ETF→Symbol GEX & IM Mapper — Description & Instructions (for TradingView)
Summary 🧩
Overlay indicator that converts levels computed on an ETF (SPY/QQQ/IWM/DIA) to the current symbol and renders them with a clean visual style: GEX walls (Call/Put), IM range (+ standard-deviation bands), HVL with green/red shading, BS levels from the pasted block, environment state (Basis/VIX), and GEX sign (manual/auto). Ideal for traders who trade futures/stocks but consume levels originated on the ETF.
What it does 🎯
Parses and plots GEX/IM/HVL/BS levels coming from a text block (Spanish long format or compact price,name[,lX]). Supports rebase at 09:30 NY or manual rebase, configurable labels/colors, line length (by bars/days/entire chart), and an InfoBox with BASE (CT/BW), optional VIX, and GEX sign (Manual/Auto). HVL shading can anchor to IM or GEX L1 and matches the same line span.
Components 🧱
• GEX: Call Resistance (l1), Put Support (l1) + extra GEX per side (l2/l3) auto-colored by side vs price.
• IM: IM Low/High range with optional SDV ±1/±2/±3.
• HVL: HVL line + dynamic shading (green/red) based on price vs HVL; anchors (IM/GEX L1/Auto).
• BS: Up to N gray levels (label “BS k”).
• InfoBox: ETF, ETF price, BASE (smoothed), VIX (spot vs 3M), and GEX Manual/Auto.
• Rebase: Auto at 09:30 NY or manual click; configurable drift alert.
Data input (pasted block) 📦
• Long (ES): phrases like “Resistencia Call”, “Soporte Put”, “HVL 0DTE/Std”, “1D min/max”, “GEX k”, “BS k”, etc.
• Compact: price,name[,lX] separated by ; (e.g., 5200,Call Wall,l1; 5150,GEX 2; 5100,BS 1).
• Enable “Valores del bloque están en ETF (convertir con Diff)” when values are in ETF price (not the current symbol).
• Prefer 0DTE: prioritizes intraday variants when both 0DTE/Std exist.
⚙️ How to use
Add the indicator to the chart of the instrument you trade (future, stock, etc.). It’s an overlay.
In “01) Origen de datos”, paste your block and choose the format (Auto/Long/Compact).
In “02) ETF → Símbolo”, pick the reference ETF the levels were computed on (SPY/QQQ/IWM/DIA).
In “02-b) Ancla / Rebase”, choose “Rebase 09:30 NY” or “Rebase manual”. If manual, press “Rebase ahora” after the market opens. Enable the drift alert to get rebase hints.
Tweak “04) Líneas / Etiquetas”: length (Bars/Days/Full), label position, offsets, colors and backgrounds (you can match label background to line color).
In “05) Estilos”, set widths/styles/colors; enable SDV if you want ±σ around IM. Configure HVL and its shading (anchor, opacity, side behavior).
In “06) Entorno”, turn on Basis and/or VIX; set GEX to “Manual/Auto”. In Auto you may base it on VIX term, Basis, or Price vs HVL.
Check the InfoBox for BASE, VIX and GEX sign; enable the floating label if you want a quick on-chart readout.
Publish on TradingView with this write-up, example screenshots, and overlay flagged.
🔧 Key parameters (quick)
• block_format_mode: Auto / Long / Compact
• block_prices_in_etf: enable if the block is in ETF prices
• block_gex_per_side: how many extra GEX levels (besides L1) per side
• bs_enable / bs_count_plot: enable and cap the number of BS levels
• hvl_fill_anchor: “IM”, “GEX L1” or “Auto (IM dentro de GEX L1)”
• line_span_mode: “Barras”, “Días” or “Completo” (Bars/Days/Full)
• gex_mode: “Manual/Auto” with sources “VIX term / Basis / HVL”
🛠️ Troubleshooting
• Levels look shifted: perform a Rebase or enable the drift alert.
• Label overlap: use bar/day offsets and/or disable “Label background = line color”.
• Block is in ETF and not marked: enable “Valores del bloque están en ETF”.
• Extra GEX duplicates L1: increase dedup tolerance (ε).
• VIX missing: enable VIX and confirm the tickers exist for your broker/plan.
🎨 Design notes
• All UI texts, menus and labels shipped in Spanish by design.
• Compatible with short and long block without breaking existing setups.
• Respects Pine v6 syntax; avoids breaking lines inside parentheses.
⚖️ Disclaimer
This indicator is a visualization/level-management tool. It is not financial advice and does not guarantee results. Use at your own discretion and risk.
Catatan Rilis
✨ New“Label size (text)” input in 04-b) Label style to control the name label font size (not the price).
🧠 Smart behavior
Name labels auto-scale up when the price label is larger.
Effective label size = max of “Label size (text)” and “Price size”.
🔁 Compatibility
No changes to level logic or rendering (GEX/IM/HVL/BS).
Defaults preserved; visual consistency only.
If you previously used large price with a small name label, the name label may now appear larger to match readability.
🗺️ Where to find it
Panel: 04-b) Label style → Label size (text) and Price size.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, anda dapat menggunakannya secara bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, anda dapat menggunakannya secara bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.