PROTECTED SOURCE SCRIPT
Обновлено Trader Otto - Fair Value Gaps + Radar + Turbo [SMC]

This script is a complete Fair Value Gap (FVG) toolkit designed for Smart Money Concepts (SMC) traders. It combines automatic FVG detection, intrabar volume analysis (Turbo Engine), and a visual “Test Radar” to highlight high-probability reaction points.
Rather than simply drawing every price imbalance, this tool focuses on *actionable* gaps and provides additional context about how price interacts with those zones.
---
### 🔍 Core Logic
**1. Automatic Bullish & Bearish FVG Detection**
The script identifies classic 3-candle Fair Value Gaps:
- **Bullish FVG:** When the low of the current candle is strictly above the high of the candle two bars back.
- **Bearish FVG:** When the high of the current candle is strictly below the low of the candle two bars back.
Each detected FVG is drawn as a shaded box that can be extended into the future until it is mitigated:
- Mitigation can be defined by **Wick touch** or **Candle Close** using the “Mitigation Method” setting.
- Once mitigated, the zone can optionally remain visible (for study) or be removed to keep the chart clean.
---
### ⚡ Turbo Engine (Intrabar Volume Inside the FVG)
For each FVG, the script can optionally inspect **lower timeframe data** using `request.security_lower_tf`:
- The gap area is divided into a configurable number of **Volume Bins**.
- Each bin aggregates intrabar volume at that price band.
Two key visuals come from this:
- **POC Line (red):** Shows the price level *inside the FVG* where the highest intrabar volume traded. This behaves as a “magnet” level inside the gap.
- **Zero Prints (blue dashed lines):** Highlight price levels inside the gap where no volume traded, revealing extreme inefficiencies (liquidity voids).
This approach turns a simple visual gap into a rich structure that shows *where* inside the imbalance the market actually accepted or rejected trades.
---
### 🎯 Test Radar (Reaction Labels)
The “Test Radar” watches how price interacts with active FVGs and prints labels when a clean reaction occurs:
- For **bullish FVGs**, when price dips into the top edge of the zone and then closes back above, a “TEST FVG” label is drawn below price.
- For **bearish FVGs**, when price spikes into the bottom edge and then closes back below, a “TEST FVG” label is drawn above price.
These labels help traders quickly spot:
- First-time tests of fresh gaps.
- Potential entry zones for mean reversion or continuation setups.
---
### ⚙️ Settings Overview
**FVG Visual Settings**
- *Bullish FVG Color / Bearish FVG Color:* Controls the shading of the imbalance zones.
- *Keep Mitigated Zones?:* If enabled, mitigated FVGs are kept on the chart as historical context. If disabled, they are removed once filled.
- *Auto-Extend to Future?:* Extends boxes a few bars into the future, so active zones are clearly visible.
**Test Radar (Alerts)**
- *Enable Test Radar?:* Turns the “TEST FVG” reaction labels on or off.
- *Radar Label Text:* Custom text for the reaction tag (default: “TEST FVG”).
- *Text Color (Bull/Bear):* Separate text colors for bullish and bearish reactions.
**Turbo Engine (Intrabar Volume)**
- *Show Internal Volume POC?:* Enables the red POC line inside FVGs.
- *Intrabar Resolution:* Lower timeframe used to sample volume (e.g., 2-minute).
- *Volume Bins:* Defines how many slices the FVG is divided into vertically.
- *POC Color:* Color of the internal volume POC line.
**Zero Prints (Liquidity Voids)**
- *Show Zero Print Lines?:* Shows or hides dashed lines at price levels where no volume traded inside the gap.
- *Void Line Color:* Color for these “liquidity void” markers.
**Session Opening Gaps**
- *Show Opening Gaps?:* If enabled, highlights the gap between the previous day’s close and the current day’s open as a special GAP box, useful for session-based FVG and NDOG traders.
---
### 📈 How to Use in Practice
1. **Identify the Context:** Use your higher timeframe bias first (trend, structure, liquidity).
2. **Locate Key FVG Zones:** Look for fresh gaps aligned with your bias (bullish gaps in bullish context, bearish gaps in bearish context).
3. **Read the Turbo Engine:**
- POC inside the gap suggests where price is likely to react or “re-balance”.
- Zero Prints highlight areas that can attract fast fills.
4. **Wait for Test Radar:** When price revisits the gap edge and a “TEST FVG” label appears, you have a clearly defined reaction point.
5. **Manage Risk:** Use the opposite edge of the FVG or the POC line as a technical invalidation zone, according to your own risk management rules.
---
*This tool is designed for educational and analytical purposes only. It does not guarantee future performance or replace a complete trading plan.*
Rather than simply drawing every price imbalance, this tool focuses on *actionable* gaps and provides additional context about how price interacts with those zones.
---
### 🔍 Core Logic
**1. Automatic Bullish & Bearish FVG Detection**
The script identifies classic 3-candle Fair Value Gaps:
- **Bullish FVG:** When the low of the current candle is strictly above the high of the candle two bars back.
- **Bearish FVG:** When the high of the current candle is strictly below the low of the candle two bars back.
Each detected FVG is drawn as a shaded box that can be extended into the future until it is mitigated:
- Mitigation can be defined by **Wick touch** or **Candle Close** using the “Mitigation Method” setting.
- Once mitigated, the zone can optionally remain visible (for study) or be removed to keep the chart clean.
---
### ⚡ Turbo Engine (Intrabar Volume Inside the FVG)
For each FVG, the script can optionally inspect **lower timeframe data** using `request.security_lower_tf`:
- The gap area is divided into a configurable number of **Volume Bins**.
- Each bin aggregates intrabar volume at that price band.
Two key visuals come from this:
- **POC Line (red):** Shows the price level *inside the FVG* where the highest intrabar volume traded. This behaves as a “magnet” level inside the gap.
- **Zero Prints (blue dashed lines):** Highlight price levels inside the gap where no volume traded, revealing extreme inefficiencies (liquidity voids).
This approach turns a simple visual gap into a rich structure that shows *where* inside the imbalance the market actually accepted or rejected trades.
---
### 🎯 Test Radar (Reaction Labels)
The “Test Radar” watches how price interacts with active FVGs and prints labels when a clean reaction occurs:
- For **bullish FVGs**, when price dips into the top edge of the zone and then closes back above, a “TEST FVG” label is drawn below price.
- For **bearish FVGs**, when price spikes into the bottom edge and then closes back below, a “TEST FVG” label is drawn above price.
These labels help traders quickly spot:
- First-time tests of fresh gaps.
- Potential entry zones for mean reversion or continuation setups.
---
### ⚙️ Settings Overview
**FVG Visual Settings**
- *Bullish FVG Color / Bearish FVG Color:* Controls the shading of the imbalance zones.
- *Keep Mitigated Zones?:* If enabled, mitigated FVGs are kept on the chart as historical context. If disabled, they are removed once filled.
- *Auto-Extend to Future?:* Extends boxes a few bars into the future, so active zones are clearly visible.
**Test Radar (Alerts)**
- *Enable Test Radar?:* Turns the “TEST FVG” reaction labels on or off.
- *Radar Label Text:* Custom text for the reaction tag (default: “TEST FVG”).
- *Text Color (Bull/Bear):* Separate text colors for bullish and bearish reactions.
**Turbo Engine (Intrabar Volume)**
- *Show Internal Volume POC?:* Enables the red POC line inside FVGs.
- *Intrabar Resolution:* Lower timeframe used to sample volume (e.g., 2-minute).
- *Volume Bins:* Defines how many slices the FVG is divided into vertically.
- *POC Color:* Color of the internal volume POC line.
**Zero Prints (Liquidity Voids)**
- *Show Zero Print Lines?:* Shows or hides dashed lines at price levels where no volume traded inside the gap.
- *Void Line Color:* Color for these “liquidity void” markers.
**Session Opening Gaps**
- *Show Opening Gaps?:* If enabled, highlights the gap between the previous day’s close and the current day’s open as a special GAP box, useful for session-based FVG and NDOG traders.
---
### 📈 How to Use in Practice
1. **Identify the Context:** Use your higher timeframe bias first (trend, structure, liquidity).
2. **Locate Key FVG Zones:** Look for fresh gaps aligned with your bias (bullish gaps in bullish context, bearish gaps in bearish context).
3. **Read the Turbo Engine:**
- POC inside the gap suggests where price is likely to react or “re-balance”.
- Zero Prints highlight areas that can attract fast fills.
4. **Wait for Test Radar:** When price revisits the gap edge and a “TEST FVG” label appears, you have a clearly defined reaction point.
5. **Manage Risk:** Use the opposite edge of the FVG or the POC line as a technical invalidation zone, according to your own risk management rules.
---
*This tool is designed for educational and analytical purposes only. It does not guarantee future performance or replace a complete trading plan.*
Информация о релизе
98This script is a complete Fair Value Gap (FVG) toolkit designed for Smart Money Concepts (SMC) traders. It combines automatic FVG detection, intrabar volume analysis (Turbo Engine), and a visual “Test Radar” to highlight high-probability reaction points.
Rather than simply drawing every price imbalance, this tool focuses on *actionable* gaps and provides additional context about how price interacts with those zones.
---
### 🔍 Core Logic
**1. Automatic Bullish & Bearish FVG Detection**
The script identifies classic 3-candle Fair Value Gaps:
- **Bullish FVG:** When the low of the current candle is strictly above the high of the candle two bars back.
- **Bearish FVG:** When the high of the current candle is strictly below the low of the candle two bars back.
Each detected FVG is drawn as a shaded box that can be extended into the future until it is mitigated:
- Mitigation can be defined by **Wick touch** or **Candle Close** using the “Mitigation Method” setting.
- Once mitigated, the zone can optionally remain visible (for study) or be removed to keep the chart clean.
---
### ⚡ Turbo Engine (Intrabar Volume Inside the FVG)
For each FVG, the script can optionally inspect **lower timeframe data** using `request.security_lower_tf`:
- The gap area is divided into a configurable number of **Volume Bins**.
- Each bin aggregates intrabar volume at that price band.
Two key visuals come from this:
- **POC Line (red):** Shows the price level *inside the FVG* where the highest intrabar volume traded. This behaves as a “magnet” level inside the gap.
- **Zero Prints (blue dashed lines):** Highlight price levels inside the gap where no volume traded, revealing extreme inefficiencies (liquidity voids).
This approach turns a simple visual gap into a rich structure that shows *where* inside the imbalance the market actually accepted or rejected trades.
---
### 🎯 Test Radar (Reaction Labels)
The “Test Radar” watches how price interacts with active FVGs and prints labels when a clean reaction occurs:
- For **bullish FVGs**, when price dips into the top edge of the zone and then closes back above, a “TEST FVG” label is drawn below price.
- For **bearish FVGs**, when price spikes into the bottom edge and then closes back below, a “TEST FVG” label is drawn above price.
These labels help traders quickly spot:
- First-time tests of fresh gaps.
- Potential entry zones for mean reversion or continuation setups.
---
### ⚙️ Settings Overview
**FVG Visual Settings**
- *Bullish FVG Color / Bearish FVG Color:* Controls the shading of the imbalance zones.
- *Keep Mitigated Zones?:* If enabled, mitigated FVGs are kept on the chart as historical context. If disabled, they are removed once filled.
- *Auto-Extend to Future?:* Extends boxes a few bars into the future, so active zones are clearly visible.
**Test Radar (Alerts)**
- *Enable Test Radar?:* Turns the “TEST FVG” reaction labels on or off.
- *Radar Label Text:* Custom text for the reaction tag (default: “TEST FVG”).
- *Text Color (Bull/Bear):* Separate text colors for bullish and bearish reactions.
**Turbo Engine (Intrabar Volume)**
- *Show Internal Volume POC?:* Enables the red POC line inside FVGs.
- *Intrabar Resolution:* Lower timeframe used to sample volume (e.g., 2-minute).
- *Volume Bins:* Defines how many slices the FVG is divided into vertically.
- *POC Color:* Color of the internal volume POC line.
**Zero Prints (Liquidity Voids)**
- *Show Zero Print Lines?:* Shows or hides dashed lines at price levels where no volume traded inside the gap.
- *Void Line Color:* Color for these “liquidity void” markers.
**Session Opening Gaps**
- *Show Opening Gaps?:* If enabled, highlights the gap between the previous day’s close and the current day’s open as a special GAP box, useful for session-based FVG and NDOG traders.
---
### 📈 How to Use in Practice
1. **Identify the Context:** Use your higher timeframe bias first (trend, structure, liquidity).
2. **Locate Key FVG Zones:** Look for fresh gaps aligned with your bias (bullish gaps in bullish context, bearish gaps in bearish context).
3. **Read the Turbo Engine:**
- POC inside the gap suggests where price is likely to react or “re-balance”.
- Zero Prints highlight areas that can attract fast fills.
4. **Wait for Test Radar:** When price revisits the gap edge and a “TEST FVG” label appears, you have a clearly defined reaction point.
5. **Manage Risk:** Use the opposite edge of the FVG or the POC line as a technical invalidation zone, according to your own risk management rules.
---
*This tool is designed for educational and analytical purposes only. It does not guarantee future performance or replace a complete trading plan.*
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.