OPEN-SOURCE SCRIPT

Basic FVG

Di nacho-fx
Aggiornato
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.
Note di rilascio
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.
Note di rilascio
Ensured correct FVG Removal
Chart patternsfvg

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità