OPEN-SOURCE SCRIPT

Zonas con Retrocesofibonacci [Nachomixcrypto]

524
The "Zonas con Retrocesofibonacci [Nachomixcrypto]" Pine Script indicator for TradingView visualizes Smart Money Concepts (SMC) by displaying premium, discount, and equilibrium zones, along with a Fibonacci Golden Zone (0.50–0.786 retracement), tailored to the chart’s timeframe.

Premium Zone: Red box near recent highs (trailing.top), labeled "Premium," marking overbought areas for potential selling. Customizable via premiumZoneColorInput, with toggleable borders (premiumBorderToggle).
Discount Zone: Green box near recent lows (trailing.bottom), labeled "Descuento," indicating oversold areas for potential buying. Customizable via discountZoneColorInput, with toggleable borders.
Equilibrium Zone: Gray box at the midpoint of recent high/low, labeled "Equilibrio," showing a neutral price area. Customizable via equilibriumZoneColorInput, with toggleable borders.
Fibonacci Golden Zone: Gold box spanning 0.50 to 0.786 retracement levels from recent high to low, labeled "Zona Dorada." Includes labels for 0.50, 0.618, and 0.786 levels, though prices may be inaccurate due to continuous updates of trailing.top/trailing.bottom. Optional dashed range line connects high to low (showFiboRangeLineInput).

Functionality:

Zones are drawn as semi-transparent boxes from the high/low bar to the current bar, adapting to the timeframe using trailingExtremes for recent highs/lows.
Fibonacci retracement uses trailing.top and trailing.bottom, with a box and labels highlighting the 0.50–0.786 range.
Controlled by showPremiumDiscountZonesInput and showFiboGoldenZoneInput (both default: true).

Use Case: Ideal for SMC traders identifying institutional buying/selling zones and Fibonacci-based reversal areas on higher timeframes (e.g., 1H, 4H) in liquid markets.

Limitation: Fibonacci price labels may show incorrect values due to dynamic updates of trailing.top/trailing.bottom.Premium Zone: Red box near recent highs, labeled "Premium," indicating a potential selling area.
Discount Zone: Green box near recent lows, labeled "Descuento," indicating a potential buying area.
Equilibrium Zone: Gray box at the midpoint, labeled "Equilibrio," marking a neutral zone.
Golden Zone: Gold box from 0.50 to 0.786 retracement, labeled "Zona Dorada," with additional labels for 0.50, 0.618, and 0.786 levels (e.g., "0.50--------", "0.618------", "0.786------").
Range Line: Optional dashed gold line connecting the high to the low used for Fibonacci retracement.
Customization: Users can toggle zones and Fibonacci, adjust colors (premiumZoneColorInput, fiboGoldenZoneColorInput), and enable/disable borders via settings.

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.