OPEN-SOURCE SCRIPT

Math by Thomas FVG

1 032
📌 Math by Thomas FVG – Fair Value Gap Detector
Overview:
The Math by Thomas FVG indicator automatically detects Fair Value Gaps (FVGs) using a three-candle logic. FVGs represent price inefficiencies where the first candle’s high/low does not overlap with the third candle’s low/high, creating a gap. This tool helps traders identify potential reversal or continuation zones, providing valuable insights into market structure and price action.

🔹 How It Works:
Bullish FVG:

Occurs when the current candle’s low is above the high of the candle two bars ago.

A green-shaded box marks the bullish FVG, highlighting a potential support zone.

Bearish FVG:

Occurs when the current candle’s high is below the low of the candle two bars ago.

A red-shaded box marks the bearish FVG, indicating a potential resistance zone.

Gap Filling Logic:

The indicator automatically removes FVGs once they are filled by price action, keeping the chart clean and relevant.

Bullish FVGs are removed when close ≤ the box's top.

Bearish FVGs are removed when close ≥ the box's bottom.

⚙️ Customization Options:
Bullish FVG Color: Choose the color for bullish FVGs.

Bearish FVG Color: Choose the color for bearish FVGs.

Max Box Count: The indicator dynamically manages up to 50 FVG boxes, ensuring optimal chart performance.

✅ Use Cases:
Identify price inefficiencies for potential entries and exits.

Combine with Order Blocks, support/resistance, or volume analysis for confirmation.

Useful for Smart Money Concept (SMC) and price action traders.

🔥 Enhance your trading accuracy with the Math by Thomas FVG indicator and gain insights into price inefficiencies! 🚀

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.