OPEN-SOURCE SCRIPT

Basic FVG

Telah dikemas kini
Basic Fair Value Gap (FVG) Indicator
The Basic Fair Value Gap (FVG) Indicator is a tool designed for traders using the TradingView platform to identify and visualize Fair Value Gaps (FVGs) on any given chart.

Key Features:

Bullish and Bearish FVG Detection: The indicator automatically detects and highlights both bullish and bearish Fair Value Gaps on the chart. Bullish gaps are highlighted in blue, while bearish gaps are marked in red, with customizable transparency for clear visibility.

Customizable Parameters:

Max Bars Back: Users can set the maximum number of bars to look back in order to find potential FVGs.

Box Length: The length of the FVG box can be adjusted to fit the user's preference, allowing for better visual management on different timeframes.

Tick Buffer for Close Validation: The indicator only considers an FVG filled if the price closes beyond the gap by a customizable tick buffer, ensuring precise gap closure recognition.
Automatic Removal of Filled Gaps: Once an FVG is filled (i.e., the price closes beyond the gap by the defined tick buffer), the corresponding FVG box is automatically removed from the chart. This keeps the chart clean and focused on active gaps.

Real-Time Updates: The indicator updates in real-time, ensuring that traders have the most current information about potential gaps in price, which could signify strong support or resistance levels.
Nota Keluaran
Ensured that FVG boxes are drawn only after a candle has fully closed, thereby providing more accurate and stable visual feedback. Additionally, the boxes will only be removed after a confirming candle closes beyond the FVG by at least one tick, preventing premature or incorrect removals during live price action.
Nota Keluaran
Ensured correct FVG Removal
Chart patternsfvg

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian