OPEN-SOURCE SCRIPT
Fibonacci Entry Zone [OTE] (@ath.snipr)

🇬🇧 English Description
📌 Fibonacci Entry Zone [OTE] – @ath.snipr
Fibonacci Entry Zone [OTE] is an indicator designed to automatically detect market structure, identify Change of Character (CHoCH), and project Optimal Trade Entry (OTE) zones using Fibonacci retracements.
It is suitable for scalping, day trading, and swing trading across all markets (Forex, indices, crypto, commodities).
🎯 Indicator Purpose
This indicator helps traders to:
✔ Detect significant swing highs and lows
✔ Identify structure shifts (CHoCH)
✔ Automatically draw Fibonacci retracement levels
✔ Highlight the Golden Zone (OTE)
✔ Dynamically track new swings in real-time
The goal is to patiently wait for price to retrace into a high-probability value area instead of chasing price.
🧠 How It Works
1️⃣ Market Structure Detection
The algorithm detects price pivots to identify:
📈 Bullish structure: Higher High / Higher Low
📉 Bearish structure: Lower High / Lower Low
When a structure shift occurs, a CHoCH label appears and a new Fibonacci projection is automatically created.
2️⃣ Fibonacci OTE Levels
Fibonacci levels are calculated between the latest swing high and swing low.
Default levels:
0.50
0.618
These represent the Optimal Trade Entry (OTE) zone where price statistically reacts more often.
The Golden Zone can be filled for better visualization.
3️⃣ Dynamic Updates
When Swing Tracker is enabled:
Fibonacci levels automatically update as new swings form.
The projection always stays aligned with the current market structure.
4️⃣ Visual Elements
The indicator displays:
✔ CHoCH labels
✔ Break of Structure lines
✔ Swing trend line (dotted)
✔ Swing price labels
✔ Extended Fibonacci levels
Everything is fully customizable.
🛠️ Key Settings
Structure
Structure Period – Swing sensitivity (higher = stronger structure).
Bullish / Bearish – Enable bullish or bearish structures.
BoS Width – Structure line thickness.
Fibonacci Mode
Swing Tracker – Auto-update Fibonacci levels.
Swing Line – Show swing connection line.
Swing Labels – Show swing price labels.
Fibonacci
Extend – Extend levels to current price.
Previous – Keep previous levels.
Fill Golden Zone – Highlight OTE zone.
Levels – Customize Fibonacci levels.
📈 How to Trade with It (example)
▶ Bullish Scenario
A bullish CHoCH appears.
Price impulsively moves up.
Wait for a retracement into the Golden Zone (0.5 – 0.618).
Confirm with your strategy (price action, liquidity, SMT, etc.).
Enter long with stop below the last swing low.
▶ Bearish Scenario
Same logic in reverse.
⚠️ Disclaimer
This indicator is a decision-support tool only.
It does not guarantee profits and must be used with proper risk management and personal confirmation.
📌 Fibonacci Entry Zone [OTE] – @ath.snipr
Fibonacci Entry Zone [OTE] is an indicator designed to automatically detect market structure, identify Change of Character (CHoCH), and project Optimal Trade Entry (OTE) zones using Fibonacci retracements.
It is suitable for scalping, day trading, and swing trading across all markets (Forex, indices, crypto, commodities).
🎯 Indicator Purpose
This indicator helps traders to:
✔ Detect significant swing highs and lows
✔ Identify structure shifts (CHoCH)
✔ Automatically draw Fibonacci retracement levels
✔ Highlight the Golden Zone (OTE)
✔ Dynamically track new swings in real-time
The goal is to patiently wait for price to retrace into a high-probability value area instead of chasing price.
🧠 How It Works
1️⃣ Market Structure Detection
The algorithm detects price pivots to identify:
📈 Bullish structure: Higher High / Higher Low
📉 Bearish structure: Lower High / Lower Low
When a structure shift occurs, a CHoCH label appears and a new Fibonacci projection is automatically created.
2️⃣ Fibonacci OTE Levels
Fibonacci levels are calculated between the latest swing high and swing low.
Default levels:
0.50
0.618
These represent the Optimal Trade Entry (OTE) zone where price statistically reacts more often.
The Golden Zone can be filled for better visualization.
3️⃣ Dynamic Updates
When Swing Tracker is enabled:
Fibonacci levels automatically update as new swings form.
The projection always stays aligned with the current market structure.
4️⃣ Visual Elements
The indicator displays:
✔ CHoCH labels
✔ Break of Structure lines
✔ Swing trend line (dotted)
✔ Swing price labels
✔ Extended Fibonacci levels
Everything is fully customizable.
🛠️ Key Settings
Structure
Structure Period – Swing sensitivity (higher = stronger structure).
Bullish / Bearish – Enable bullish or bearish structures.
BoS Width – Structure line thickness.
Fibonacci Mode
Swing Tracker – Auto-update Fibonacci levels.
Swing Line – Show swing connection line.
Swing Labels – Show swing price labels.
Fibonacci
Extend – Extend levels to current price.
Previous – Keep previous levels.
Fill Golden Zone – Highlight OTE zone.
Levels – Customize Fibonacci levels.
📈 How to Trade with It (example)
▶ Bullish Scenario
A bullish CHoCH appears.
Price impulsively moves up.
Wait for a retracement into the Golden Zone (0.5 – 0.618).
Confirm with your strategy (price action, liquidity, SMT, etc.).
Enter long with stop below the last swing low.
▶ Bearish Scenario
Same logic in reverse.
⚠️ Disclaimer
This indicator is a decision-support tool only.
It does not guarantee profits and must be used with proper risk management and personal confirmation.
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 la 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 o de otro tipo proporcionadas o respaldadas por TradingView. 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 la 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 o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.