ICT SM Trades (liquidity find & grab, MSS, FVG, killzones)Indicator looks for ICT & Smart Money trades on any timeframe. These types of trades reveal how the big institutions, banks and hedge funds trade with big money. If they want their very big positions to be filled they need to find areas in chart where the majority of the money is sitting. Where is it? Where is the majority of orders placed? Right below supports or right above resistance, these orders are stoplosses or stop orders. So they need to push the price to these areas, take all the available stoplosses and trigger all the available stop orders in order to fill their positions and then push the price to the opposite side to make profit (and retail to lose).
Indicator looks for support or resistance (S/R) areas which are represented by dotted lines. This S/R areas are created by minimum of 2 pivot high/low (H/L). Every pivot H/L that creates the S/R area is marked with diamond label. This S/R area is called liquidity. After liquidity is created, indicator looks for liquidity grab (mostly represented by fast spike to this area - it is labeled with x-cross) and then price should go fast to the opposite side of the created structure. Indicator considers as a created structure everything that was created on the other side of the candles from the oldest pivot H/L which creates particular liquidity. For example, if liquidity is created with 3 pivot highs, indicator looks at the oldest pivot high and from there it is looking for the lowest low. Under this lowest low is dashed line which means that this level should be broken with closed candle. This action is called market structure shift (MSS), when the price shifted very fast from highs to lows. After MSS, when the price went fast to one direction, there were some imbalances in prices, in our example selling pressure was a lot bigger than buying pressure and there were created some long untested bearish candles. This untested areas in candles are called imbalances or gaps of fair value gaps (FVG). These are labeled with rectangles. It is expected that these gaps will be tested in near future to "balance the market".
We can put limit orders into these gaps and await some retracement after MSS to open our positions and after the positions are opened we can expect trend continuation in the direction where market structure shift was made (away from liquidity grab). So stoplosses can be placed above/below liquidity grab candle (marked with x-cross).
In settings of the indicator you can set whether only long or only short trades will be shown. Long trades are green and short trades are red. You can set if fair value gaps will be shown as well. The last thing in settings is session. You can set custom session which will be shown as background color on your chart.
在腳本中搜尋"fvg"
FVG Finder [PLLP]///////////////////////////
ENGLISH (Spanish follows)
///////////////////////////
It is an indicator that shows the FVG (Fair Value Gap) generated by prices in any type of market.
These gaps are important because price generally tends to go through these bounds again and fill in the gaps, which can be a predictor of price action.
As main and differentiating characteristics of this indicator we have that:
Provides key data on each FVG.
It is highly configurable at the behavior level
It is highly configurable on an aesthetic level.
Includes a statistics panel that allows a quick view of the behavior of the FVGs in the asset and work timing.
Basic operation of the indicator:
This indicator draws a box for each FVG it identifies. For each FVG we will have the input level, or 'IN Boundary', and the output level, or 'OUT Boundary'. The box corresponding to the FVG is limited by the 'IN Boundary' and 'OUT Boundary' levels.
Likewise, each FVG will be assigned an 'Entry Price' and an 'Exit Price'.
The entry price or 'Entry Price' is determined as the entry level of the FVG ('IN Boundary') increased according to the 'Entry Percentage'.
The exit price or 'Exit Price' is determined as the exit level of the FVG ('OUT Boundary') decreased according to the 'Exit Percentage'.
The 'Input Percentage' and 'Output Percentage' can vary from 0 to 50:
>>> When the 'Entry Percentage' is set to 0 it means that the 'Entry Price' coincides with the 'IN Boundary' and when it is set to 50 it means that it is set at the central level of the FVG.
>>> When the 'Exit Percentage' is set to 0 it means that the 'Exit Price' matches the 'Exit Limit' and when it is set to 50 it means that it is set at the central level of the FVG.
It will be considered that a FVG can have 3 states:
>>> 'Clean': when the price has never yet reached the 'Entry Price'.
>>> 'Touched': when the price has reached the 'Entry Price' but not the 'Exit Price'.
>>> 'Sunk': when the price has reached the 'Exit Price'.
Within each FVG the following information is displayed:
Icon that represents the state of the FVG.
Percentage of price variation between the 'Entry Price' and the 'Exit Price'.
Date and time the FVG is created.
Date and time when the FVG goes into 'Sunk' status.
Number of times a FVG has been 'touched'.
>>> An FVG is considered to have been 'touched' when a candle pierces the 'Entry Price', that is, when the 'high' of a candle is above the 'Entry Price' and the 'low' below, or vice versa.
>>> The first time a FVG is 'touched' its status changes from 'Clean' to 'Sunk'.
The statistics panel displays the following information for either bullish FVGs (second column), bearish FVGs (third column) or the total FVG set (fourth column) regardless of whether it is bullish or bearish:
Number of FVGs that are in the 'Clean' state, that is, that have never been 'touched'.
Number of FVGs that are in the 'Touched' state, that is, that have been 'touched' at some time but have not yet been drilled to 'Exit Price', that is, they have not yet evolved to the 'Sunk' state .
Number of FVGs that are in the 'Sunk' state.
Number of FVG that the first time you see that they have been 'touched' for the first time have also been 'pierced'. Therefore, it corresponds to the number of FVG in which the first 'touch' of the price manages to reach the 'Exit Price' and, therefore, the status changes directly from 'Clean' to 'Sunk' in that same candle.
Mean number of times a FVG is 'touched' before evolving to the 'Sunk' state. This average is only calculated on the FVG in the 'Sunk' state.
Percentage of FVG in 'Sunk' state with respect to the total FVG.
Percentage of FVG whose 'Exit Price' has been pierced on the same candle in which it has been 'touched' for the first time. In other words, it represents the percentage of FVG that have passed from the 'Clean' to 'Sunk' state in a single candle with respect to the total of FVG in 'Sunk' state.
At the behavioral level, the configuration options stand out for:
Possibility of establishing the percentage for the 'Entry Price' and for the 'Exit Price' of the FVG.
Possibility of establishing the minimum price range percentage between the 'Entry Price' and the 'Exit Price' of the FVG. This makes it possible to hide FVGs that have very small price variations.
Possibility of filtering between which start date and which end date you want to calculate the FVG.
On an aesthetic level, the configuration options stand out for:
Possibility of being able to configure the color of bullish and bearish FVGs depending on their status ('Clean', 'Touched' or 'Sunk').
Possibility of configuring the color and type of the bullish and bearish FVG price entry and exit lines depending on their status ('Clean', 'Touched' or 'Sunk').
Possibility of configuring the color of the candles that have 'touched' a FVG (they have pierced the 'Entry Price') and of those that have pierced the 'Exit Price' (they have made it evolve to the 'Sunk' state) .
Possibility of using a custom icon within the FVG text depending on its status.
Possibility of showing, or not, the FVGs in 'Sunk' state. This allows to have a vision only of the 'past of the FVG' or only of the 'future of the FVG' (those that have not yet been sunk).
Possibility of showing, or not, the FVGs in NO 'Sunk' state. This allows to have a vision only of the 'past of the FVG' or only of the 'future of the FVG' (those that have not yet been sunk).
Possibility to show, or not, the number of times a FVG has been 'touched'.
Possibility of showing, or not, when the FVG is created and when it goes to 'Sunk' status.
Possibility of showing, or not, the statistics panel as well as choosing its location, the colors of the cells and the font size.
WARNING:
1) Due to TradingView's limitations on the number of boxes and lines that can be added to a chart, it is advisable to always apply a value of no less than '0.1' for the 'Minimum FVG price travel' setting.
2) Due to the internal calculations that this indicator requires, the loading time can be long. In the event that the indicator does not load and a 'time out' error is obtained, the value of the 'Minimum FVG price travel' configuration parameter must be increased, thus reducing the number of FVGs that will be identified.
///////////////////////////
ESPAÑOL
///////////////////////////
Se trata de un indicador que muestra los FVG (Fair Value Gap) que generan los precios en cualquier tipo de mercado.
Estos gaps son importantes porque, en general, el precio tiende a pasar por estas cotas nuevamente y rellenar los gaps, lo cual puede constituir una manera de predecir la acción del precio.
Como características principales y diferenciadoras de este indicador tenemos que:
Aporta datos clave de cada FVG.
Es altamente configurable a nivel de comportamiento
Es altamente configurable a nivel estético.
Incorpora un panel de estadísticas que permite obtener de manera rápida una visión del comportamiento de los FVG en el activo y temporalidad de trabajo.
Funcionamiento básico del indicador:
Este indicador dibuja un recuadro para cada FVG que identifica. Para cada FVG tendremos el nivel de entrada, o 'IN Boundary', y el nivel de salida u 'OUT Boundary'. El recuadro que corresponde al FVG queda limitado por los niveles 'IN Boundary' y 'OUT Boundary'.
Asimismo, a cada FVG se le asignará un 'Entry Price' y un 'Exit Price'.
El precio de entrada o 'Entry Price' se determina como el nivel de entrada del FVG ('IN Boundary') incrementado según el 'Entry Percentage'.
El precio de salida o 'Exit Price' se determina como el nivel de salida del FVG ('OUT Boundary') decrementado según el 'Exit Percentage'.
El 'Entry Percentage' y 'Exit Percentage' pueden variar de 0 a 50:
>>> Cuando el 'Entry Percentage' se establece a 0 significa que el 'Entry Price' coincide con el 'IN Boundary' y cuando se establece a 50 significa que se establece al nivel central del FVG.
>>> Cuando el 'Exit Percentage' se establece a 0 significa que el 'Exit Price' coincide con el 'OUT Boundary' y cuando se establece a 50 significa que se establece al nivel central del FVG.
Se considerará que un FVG puede tener 3 estados:
>>> 'Clean': cuando el precio aun no ha alcanzado nunca el 'Entry Price'.
>>> 'Touched': cuando el precio ha alcanzado el 'Entry Price' pero no el 'Exit Price'.
>>> 'Sunk': cuando el precio ha alcanzado el 'Exit Price'.
Dentro de cada FVG se muestra la siguiente información:
Icono que representa el estado del FVG.
Porcentaje de variación del precio entre el 'Entry Price' y el 'Exit Price'.
Fecha y hora en que se crea el FVG.
Fecha y hora en que se el FVG pasa a estado 'Sunk'.
Número de veces en que un FVG ha sido 'tocado'.
>>> Se considera que un FVG ha sido 'tocado' cuando una vela perfora el 'Entry Price', es decir, cuando el 'high' de una vela está por encima del 'Entry Price' y el 'low' por debajo, o viceversa.
>>> La primera vez que un FVG es 'tocado' su estado pasa de 'Clean' a 'Sunk'.
El panel de estadísticas muestra las siguientes informaciones tanto para los FVG alcistas (segunda columna), los FVG bajistas (tercera columna) o el conjunto del total de FVG (cuarta columna) sin importar si es alcista o bajista:
Número de FVG que están en estado 'Clean', es decir, que nunca han sido 'tocados'.
Número de FVG que están en estado 'Touched', es decir, que alguna vez han sido 'tocados' pero aún no han sido perforados hasta el 'Exit Price', es decir, aún no han evolucionado al estado 'Sunk'.
Número de FVG que están en estado 'Sunk'.
Número de FVG que la primera vez que en la misma vea en que han sido 'tocados' por primera vez también han sido 'perforados'. Se corresponde, por lo tanto, el número de FVG en que el primer 'toque' el precio consigue alcanzar el 'Exit Price' y, por lo tanto, el estado pasa en esa misma vela de 'Clean' a 'Sunk' directamente.
Media del número de veces que un FVG es 'tocado' antes de evolucionar hasta el estado 'Sunk'. Esta media solo se calcula solamente sobre los FVG en estado 'Sunk'.
Porcentaje de FVG en estado 'Sunk' respecto el total de FVG.
Porcentaje de FVG cuyo 'Exit Price' ha sido perforado en la misma vela en que ha sigo 'tocado' por primera vez. Es decir, representa el porcentaje de FVG que han pasado del estado 'Clean' a 'Sunk' en una única vela respecto el total de FVG en estado 'Sunk'.
A nivel de comportamiento las opciones de configuración destacan por:
Posibilidad de establecer el porcentaje para el 'Entry Price' y para el el 'Exit Price' del FVG.
Posibilidad de establecer el porcentaje mínimo de recorrido del precio entre el 'Entry Price' y el 'Exit Price' del FVG. Esto permite ocultar los FVG que presenten variaciones muy pequeñas del precio.
Posibilidad de filtrar entre qué fecha inicio y qué fecha fin se desea calcular los FVG.
A nivel estético las opciones de configuración destacan por:
Posibilidad de poder configurar el color de los FVG alcistas y bajistas en función de su estado ('Clean', 'Touched' o 'Sunk').
Posibilidad de configurar el color y tipo de las líneas de entrada y salida del precio de los FVG alcistas y bajistas en función de su estado ('Clean', 'Touched' o 'Sunk').
Posibilidad de configurar el color de las velas que han 'tocado' un FVG (han perforado el 'Entry Price') y del de las que han perforado el 'Exit Price' (lo han hecho evolucionar al estado 'Sunk').
Posibilidad de utilizar un icono personalizado dentro del texto del FVG dependiendo del estado de éste.
Posibilidad de mostrar, o no, los FVG en estado 'Sunk'. Esto permite tener una visión únicamente del 'pasado de los FVG' o bien únicamente del 'futuro de los FVG' (los que aún no han sido hundidos).
Posibilidad de mostrar, o no, los FVG en estado NO 'Sunk'. Esto permite tener una visión únicamente del 'pasado de los FVG' o bien únicamente del 'futuro de los FVG' (los que aún no han sido hundidos).
Posibilidad de mostrar, o no, el número de veces que un FVG ha sido 'tocado'.
Posibilidad de mostrar, o no, cuándo se crea el FVG y cuándo pasa a estado 'Sunk'.
Posibilidad de mostrar, o no, el panel de estadísticas así como de elegir la ubicación de éste, los colores de las celdas y el tamaño de la fuente.
ADVERTENCIA:
1) Debido a las limitaciones de TradingView respecto el número de cajas y líneas que se pueden añadir a un gráfico, es aconsejable aplicar siempre un valor no inferior a '0.1' para el parámetro de configuración 'Minimum FVG price travel'.
2) Debido a los cálculos internos que requiere este indicador el tiempo de carga puede ser elevado. En el caso de que el indicador no se cargue y se obtenga un error de 'time out' debe incrementarse el valor del parámetro de configuración 'Minimum FVG price travel' reduciéndose así la cantidad de FVG que se identificarán.
FVG Range Filter0x278's FVG Range Filter
Overview
The FVG Range Filter is a TradingView indicator designed to identify and display Fair Value Gaps (FVGs) on your chart. FVGs are areas of price imbalance that often act as significant zones for potential price retracement or reversal. This indicator filters out irrelevant gaps, showing only those that are within a specified price range and time frame, making it easier to focus on high-probability trading opportunities.
This guide is crafted to help both novice and experienced traders understand how to use this indicator effectively, even if you're new to the concept of FVG trading. We'll cover what FVGs are, how the indicator works, how to interpret its visual elements, and how to apply it in various trading scenarios.
What are Fair Value Gaps (FVGs)?
Fair Value Gaps occur when the price of an asset moves so quickly in one direction that it leaves a 'gap' or 'void' on the chart where no trading activity occurred. These gaps represent areas of imbalance between supply and demand, often created by strong buying or selling pressure. Traders use FVGs to identify potential areas where price might return to 'fill' the gap, offering opportunities for entries or exits.
Bullish FVG : This happens when price jumps upward, leaving a gap below. It suggests strong buying pressure and often acts as a support zone when price retraces.
Bearish FVG : This occurs when price drops sharply, leaving a gap above. It indicates strong selling pressure and often acts as a resistance zone when price retraces.
How the FVG Range Filter Works
The FVG Range Filter indicator automatically detects these gaps based on a specific three-bar pattern that identifies significant price imbalances. It then applies filters to ensure only relevant FVGs are displayed:
Range Filter : Only shows FVGs whose midpoint is within a user-defined percentage of the current price. This keeps the focus on gaps that are close enough to be actionable.
Time Filter : Only displays FVGs that are younger than a specified number of bars, ensuring you're looking at recent and relevant price action.
Invalidation : Once the price trades through the midpoint of an FVG, the gap is considered 'filled' or invalidated, and it is removed from the chart.
This filtering mechanism declutters your chart, highlighting only the most pertinent FVGs for your trading decisions.
Indicator Settings
The FVG Range Filter offers customizable inputs to tailor its behavior to your trading style:
Display Range (%) : This sets the percentage range from the current price within which FVGs are shown. A lower value (e.g., 1.0%) shows only gaps very close to the current price, while a higher value (e.g., 5.0%) includes gaps further away. Default is 1.0%.
Look-back Bars : This determines how far back in time the indicator looks for FVGs. It also limits how long a gap remains visible if it hasn't been invalidated. Default is 1000 bars.
Show Bullish FVGs : Toggle to display bullish FVGs (green boxes by default). Default is enabled.
Show Bearish FVGs : Toggle to display bearish FVGs (red boxes by default). Default is enabled.
Box Opacity (0-100) : Adjusts the transparency of the FVG boxes on the chart. A value of 0 is fully transparent (invisible), while 100 is fully opaque. Default is 33 for a subtle appearance.
Visual Elements and Interpretation
The indicator draws rectangular boxes on your chart to represent FVGs. Understanding these visual elements is key to using the indicator effectively:
Green Boxes : Represent bullish FVGs. These are areas where price gapped upward, suggesting potential support zones. If price retraces to this area, it might bounce off as buyers step in to defend the level.
Red Boxes : Represent bearish FVGs. These are areas where price gapped downward, indicating potential resistance zones. If price retraces to this area, it might face selling pressure and reverse downward.
Box Position and Extension : Each box starts at the bar where the FVG was detected and extends to the right, updating dynamically as new bars form. This extension helps maintain visibility until the gap is either invalidated or falls out of the look-back period.
Disappearance of Boxes : A box disappears from the chart in two scenarios:
Price Moves Away : If the midpoint of the FVG moves outside the specified display range percentage from the current price, or if the FVG becomes older than the look-back bars limit, the box is removed (though the gap data persists in memory for potential re-display if conditions are met again).
Invalidation : If price trades through the midpoint of the FVG (i.e., the low of a candle goes below the midpoint for a bullish FVG, or the high goes above the midpoint for a bearish FVG), the gap is considered filled, and the box is permanently removed from the chart.
Trading Scenarios with FVG Range Filter
Below are detailed trading scenarios to help you understand how to use the FVG Range Filter in practical situations. These scenarios assume you're trading with the trend or looking for reversals at key levels.
Scenario 1: Bullish FVG as Support for Long Entry
Setup : You're trading a stock in an uptrend on a 15-minute chart. The FVG Range Filter displays a green box (bullish FVG) after a sharp upward move earlier in the day.
Interpretation : This green box indicates a zone of imbalance where price gapped up, likely due to strong buying interest. Since it's still within the display range and look-back period, it's a relevant support zone.
Action : Wait for price to retrace back to the top edge of the green box. Look for confirmation of support, such as a bullish candlestick pattern (e.g., hammer or engulfing) or increased volume, indicating buyers are stepping in.
Entry : Enter a long position near the top of the FVG box, setting a stop-loss just below the bottom of the box to protect against a breakdown.
Target : Aim for the next resistance level or a predefined risk-reward ratio (e.g., 1:2). If another bullish FVG forms above, consider that as a potential target.
Exit : Exit the trade if price breaks below the bottom of the FVG (invalidation), or if the box disappears due to price trading through the midpoint, signaling the gap is filled.
Scenario 2: Bearish FVG as Resistance for Short Entry
Setup : You're trading a cryptocurrency on a 1-hour chart during a downtrend. The indicator shows a red box (bearish FVG) after a sharp downward move a few hours ago.
Interpretation : The red box marks a zone where price gapped down, indicating strong selling pressure. As long as it's within the display range and look-back period, it remains a potential resistance zone.
Action : Wait for price to rally back to the bottom edge of the red box. Look for signs of rejection, such as a bearish candlestick pattern (e.g., shooting star or engulfing) or decreasing volume, suggesting sellers are defending this level.
Entry : Enter a short position near the bottom of the FVG box, placing a stop-loss just above the top of the box to guard against a breakout.
Target : Target the next support level or a favorable risk-reward ratio. If a new bearish FVG appears below, it could serve as a potential target.
Exit : Exit if price breaks above the top of the FVG (invalidation), or if the box disappears because price has traded through the midpoint, indicating the gap is no longer relevant.
Scenario 3: Filtering Out Irrelevant FVGs During Choppy Markets
Setup : You're trading forex on a 5-minute chart during a period of consolidation with no clear trend. The chart shows frequent small price jumps, but the FVG Range Filter displays very few boxes.
Interpretation : The indicator is filtering out FVGs that are either too far from the current price (outside the display range percentage) or too old (beyond the look-back bars). This helps avoid false signals in a non-trending market.
Action : Recognize that the absence of FVGs on the chart suggests no high-probability setups at the moment. Avoid forcing trades based on minor price movements that don't meet the filter criteria.
Entry : Wait for a clear trend to emerge and for new FVGs to appear within the filter parameters before considering any trades.
Target/Exit : Follow the trend direction once FVGs are displayed, using the edges of the boxes as potential entry or exit zones as described in the previous scenarios.
Scenario 4: Using FVGs for Risk Management
Setup : You're already in a long position on an index futures contract on a 30-minute chart, and the FVG Range Filter shows a green box below your entry point.
Interpretation : The green box represents a bullish FVG that could act as a support zone. Since price hasn't yet reached the midpoint (which would invalidate the FVG), it remains a valid reference point for managing risk.
Action : Adjust your stop-loss to just below the bottom of the green box. This placement uses the FVG as a logical invalidation level, assuming that a break below this support zone negates the bullish premise of your trade.
Entry : No new entry is needed since you're already in the trade.
Target/Exit : Keep your original target unless a new bearish FVG forms above, which might indicate resistance. Exit if price breaks below the FVG or if the box disappears due to invalidation.
Tips for Using the FVG Range Filter
Combine with Trend Analysis : FVGs are most effective when traded in the direction of the prevailing trend. Use higher timeframe analysis or other indicators to confirm the overall market direction before acting on FVGs.
Adjust Settings for Market Conditions : In volatile markets (like cryptocurrencies), you might increase the display range percentage to capture more FVGs. In less volatile markets (like certain stocks), a tighter range might be more appropriate.
Timeframe Selection : The indicator works on all timeframes, but lower timeframes (1-15 minutes) might show more frequent FVGs for scalping, while higher timeframes (1-4 hours) are better for swing trading with larger, more significant gaps.
Confirmation Tools : Don't rely solely on FVGs for entries. Use additional confirmation from price action (candlestick patterns), volume, or other indicators to increase the probability of success.
Monitor Invalidation : If an FVG box disappears from the chart due to price trading through its midpoint, consider it a signal that the gap is no longer relevant. Adjust your strategy accordingly.
Limitations
Not a Standalone System : The FVG Range Filter identifies potential zones of interest but does not provide entry signals, stop-loss, or take-profit levels on its own. It should be used as part of a broader trading strategy.
Market Conditions : FVGs may be less effective in strongly trending markets where price doesn't retrace to fill gaps, or in very choppy markets where too many small gaps are filtered out.
Lag in Detection : Since FVGs are based on a three-bar pattern, there is a slight delay in identifying them after the price movement has occurred.
Good Luck!
The FVG Range Filter is a powerful tool for traders looking to capitalize on price imbalances in the market. By focusing only on relevant Fair Value Gaps within a specified range and time frame, it helps declutter your chart and highlights high-probability zones for potential trades. Whether you're new to FVG trading or an experienced trader, this indicator can enhance your analysis by visually identifying key areas of support and resistance based on market inefficiencies.
Experiment with the settings to match your trading style and market conditions, and always combine the indicator's insights with other forms of analysis for the best results. Happy trading!
FVG Reversal Sentinel🔵 FVG Reversal Sentinel – Multi-Timeframe Fair Value Gap Indicator
The FVG Reversal Sentinel is a powerful TradingView indicator designed to help traders identify and track Fair Value Gaps (FVGs) across multiple timeframes, all within a single chart.
This tool allows you to select up to five separate timeframes, ensuring you never miss key market shifts, whether you are scalping, day trading, or swing trading. You can use this indicator in any asset (Cryptos, Futures, Indices, Forex Pairs, etc.).
🔵 - Key Features -
Multi-Timeframe FVG Tracking – Select and display up to five different timeframes on one chart, providing a comprehensive view of market structure.
Customizable Colors – Adjust bullish and bearish FVG colors to match your chart theme for a seamless trading experience.
Enhanced Market Context – Quickly identify key liquidity zones and refine your entries and exits with precision.
Hide the lower timeframes FVGs to get a clear view in a custom timeframe.
Show or hide mitigated FVGs to declutter the chart.
FVGs boxes are going to be displayed only when the candle bar closes
FVGs are going to be mitigated only when the body of the candle closes above or below the FVG area.
No repainting
Whether you're looking to fine-tune your entries or gain a broader market perspective, the FVG Reversal Sentinel indicator ensures you have the tools to stay ahead of price action and capitalize on market inefficiencies.
🔵 - Customization-
You can change the indicator settings as you see fit to achieve the best results for your use case.
TIMEFRAMES
This indicator provides the ability to select up to 5 timeframes. These timeframes are based on the trader's timeframes including any custom timeframes.
Select the desired timeframe from the options list.
Add the label text you would like to show for the selected timeframe.
Check or uncheck the box to display or hide the timeframe from your chart.
FVG SETTINGS
Length of boxes: allows you to select the length of the box that is going to be displayed for the FVGs.
Delete boxes after fill?: allows you to show or hide mitigated FVGs on your chart.
Hide FVGs lower than enabled timeframes?: allows you to show or hide lower timeframe FVGs on your chart. Example - You are in a 15 minutes timeframe chart, if you choose to hide lower timeframe FVGs you will not be able to see 5 minutes FVG defined in your Timeframes Settings, only 15 minutes or higher timeframe FVGs will be displayed on your chart.
BOX VISUALS
Bullish FVG box color: the color and opacity of the box for the bullish FVGs.
Bearish FVG box color: the color and opacity of the box for the bearish FVGs.
LABELS VISUALS
Bullish FVG labels color: the color for bullish labels.
Bearish FVG labels color: the color for bearish labels.
Labels size: the size of the text displayed in the labels.
Labels position: the position of the label inside the FVGs boxes (right, left or center).
BORDER VISUALS
Border width: the width of the border (the thickness).
Bullish FVG border color: the color and the opacity of the bullish box border.
Bearish FVG border color: the color and the opacity of the bearish box border.
🔵 - How to use the indicator -
Just add the indicator in your chart and click in the settings option to customize it.
Make sure you select the desired timeframes and set the colors and opacity for the FVGs boxes.
This indicator can be used in many trading strategies, such as:
SILVER BULLET
iFVG
iFVG RETEST
These strategies are based on the use of FVGs, this tool can help you analyze the market and make the right decision.
🔵 - How was the indicator designed? -
I have spent a lot of time testing other open source indicators from the community. All of these indicators do a great job, but they have a problem, they not only mitigate FVGs when a candle closes above or below the FVG, they also mitigate FVGs when the candle closes exactly to the tick (not above or below the FVG). This is a problem for many strategies that rely on FVGs mitigation.
What makes this indicator different is that it focuses on just mitigating imbalances at the right time for these strategies.
I have taken ideas and some pieces of code from many community indicator developers, such as:
@twingall
@tflab
@marktools
@nacho-fx
@pmk07
... and many other people, to whom I thank for their valuable work and have allowed me to create this tool by making modifications to their source code.
🔵 - Disclaimer -
This tool is intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. It's not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on any indicator for financial decisions.
MTF Fair Value Gap Indicator ULTRAFVG Fair Value Gap Indicator
FVG's commonly known as Fair Value Gaps are mostly in use for forex trading, however it’s been widely used in price action trading, even on regular large cap stocks. Think of it as an imbalance area where the price of the stock may actually be under/over valued due to many orders being injected in a short amount of time, ie . a gap caused by an impulse created by the speed of the price movement. In essence, the FVG can become a kind of magnet drawing the price back to that level to attempt to balance out the orders (when? we don't know). Please do research to understand the concept of FVG's.
You can look for an opportunity as price approaches the FVG for entry either long/short because after all, it is an "Area of Interest" so the price will either bounce or blow through the area. No indicator works 100% of the time so take in context as just another indicator. It tends work on larger time frames best.
IMPORTANT TV RELATED LIMITATIONS: You should take the time to understand the following. A MAXIMUM of 500 boxes and labels are allowed, thus if you elect to display many different time frames of FVGs and/or select to not auto delete old Daily FVGs, the oldest FVGs will be deleted and not be seen. Additionally if you are on a smaller chart time frame (1 min), you may not see older FVGs such as Daily ones that occurred and still exist from long ago. This is due to TV limitation of 20,000 candles of history in each chart timeframe. Example: A 1 minute chart supports approximately 14 days worth of data so looking for Daily FVGs would only go back that far, whereas if your chart was set to 5 minutes you'd be able to see 5 times as many, ie . 60 days worth of Daily FVG's. Obviously setting your chart and looking for Daily FVG's would support up to 20,000 days worth.
The Indicator Provides many different features:
*Creation of FVG's for all hours or just during market hours. Currently you can enable FVG’s for the following timeframes: Current chart timeframe, 5Min, 10Min, 15Min, 1Hr, 4Hr, 8Hr, Daily, Weekly, Monthly.
*Text label displays overlaying FVG bands including creation timestamps.
* Bands reflecting FVG's in action (created/deleted) for the current chart time frame, 15min, 1hr, 4hr, 8hr and daily time frames. The FVG's will be overlayed on the chart if enabled.
*Mitigation Action - Normal - When FVG is balanced out by price action, the FVG will disappear. Dynamic - The FVG band will decrease as the price movement eats into it thus only showing the remaining imbalance. None - For those that wish to retain FVG's even if they were mitigated. Half - FVG’s disappear when the price intrudes 50% of the overall FVG band zone.
*Mitigation Type - The elimination or balancing of the FVG is caused by either the candle wick or body passing completely through the FVG.
*Maximum FVGs - A maximum number of FVGs are created for each different enabled time frame (be aware setting a large number could impact system performance).
*All FVG band colors can be customized by the user.
* All FVG bands auto extend to the right.
* Intrusion Alerts - Trading View alerts are supported. You can use the indicator settings to enable an alert if the price intrudes into the FVG zone by a certain percentage. This is not related to mitigation or removal of the FVG, just a warning that price has reached the area of interest.
FVG Radar [Mr_Rakun]The FVG Radar indicator is designed to automatically detect Fair Value Gaps (FVG) on your TradingView chart. It visually highlights bullish and bearish gaps with colored boxes and provides alerts when specific conditions are met.
How It Works
Fair Value Gap (FVG) Detection:
The script identifies gaps based on previous price action. A bullish FVG is recognized when there is a gap below a higher low candle, and a bearish FVG when there is a gap above a lower high candle.
Radar Area:
A yellow “Radar Area” box is drawn on the chart using upper and lower bands defined as a percentage above and below the current price. This area helps you visualize where the price is relative to these bands.
Alerts:
Alerts are triggered based on user-defined conditions:
When price crosses half of the gap (if the "Clear FVG When Price Reaches Half" option is enabled).
When price fully fills the gap (if the option is disabled).
The alert will only be activated after waiting a specified number of bars post-gap formation (as set by the "Wait X Bars After FVG Formation" parameter).
Input Parameters
Radar Upper Band (%):
Sets the upper threshold percentage relative to the current price for the radar area.
Radar Lower Band (%):
Sets the lower threshold percentage relative to the current price for the radar area.
Minimum FVG Size (%):
Determines the minimum size (as a percentage) for a gap to be recognized as a valid FVG.
Clear FVG When Price Reaches Half:
If enabled, the FVG will be cleared when the price reaches the midpoint of the gap. If disabled, the entire gap must be filled before it is cleared.
Wait X Bars After FVG Formation:
Specifies the number of bars to wait after an FVG is detected before triggering an alert. This delay helps to avoid premature alerts.
Bullish and Bearish FVG Colors and Opacity:
Customize the appearance of the FVG boxes for bullish (green) and bearish (red) gaps, including the opacity of these visual elements.
How to Use
Add the Indicator:
Load the FVG Radar indicator on your TradingView chart.
Customize Settings:
Adjust the input parameters based on your trading style and the market’s volatility. The radar area settings help you set your own visual reference for price deviations.
Monitor the Chart:
Watch for the colored boxes that represent FVGs. The boxes will display the size of the gap as a percentage.
Respond to Alerts:
When an alert is triggered after the specified number of bars, it indicates that the price has interacted with the gap. Use this information to guide your trading decisions.
Türkçe --------------------------------------------
FVG Radar göstergesi, TradingView grafiğinizde Fair Value Gap (FVG) – yani adil değer boşluklarını – otomatik olarak tespit etmek için tasarlanmıştır. Bu boşluklar, yükseliş ve düşüş boşluklarını farklı renkli kutularla vurgular ve belirli koşullar sağlandığında uyarılar verir.
Nasıl Çalışır
Fair Value Gap (FVG) Tespiti:
Gösterge, önceki fiyat hareketlerine dayalı olarak boşlukları belirler. Yükseliş boşluğu, düşük seviyenin yukarıdaki mumun altındaki boşlukla oluştuğu durumlarda; düşüş boşluğu ise, yüksek seviyenin aşağıdaki mumun üstünde boşluk oluştuğunda tespit edilir.
Radar Alanı:
Grafikte, mevcut fiyata göre belirlenen üst ve alt yüzde bantlarına dayalı olarak sarı renkte “Radar Alanı” kutusu çizilir. Bu alan, fiyatın bu bantlara göre nerede olduğunu görsel olarak anlamanıza yardımcı olur.
Uyarılar:
Kullanıcının belirlediği koşullara göre uyarılar verilir:
Fiyat, boşluğun yarısına ulaştığında (eğer "FVG'nin yarısına ulaştığında temizle" seçeneği etkinse).
Fiyat boşluğu tamamen doldurduğunda (seçenek devre dışı bırakıldığında).
Uyarı, boşluk oluşumundan sonra belirlenen bar sayısı kadar bekledikten sonra tetiklenir ("FVG Oluşumundan Sonra X Bar Bekle" parametresi).
Giriş Parametreleri
Radar Upper Band (%):
Mevcut fiyata göre radar alanı için üst eşik yüzdesini ayarlar.
Radar Lower Band (%):
Mevcut fiyata göre radar alanı için alt eşik yüzdesini ayarlar.
Minimum FVG Size (%):
Bir boşluğun geçerli bir FVG olarak tanınabilmesi için gereken minimum boyutu (yüzde olarak) belirler.
FVG'nin yarısına ulaştığında temizle:
Etkinse, fiyat boşluğun orta noktasına ulaştığında boşluk temizlenir. Devre dışı bırakılırsa, boşluğun tamamen doldurulması gerekir.
FVG Oluşumundan Sonra X Bar Bekle:
Bir FVG tespit edildikten sonra uyarı tetiklenmeden önce beklenmesi gereken bar sayısını belirler. Bu gecikme, erken uyarıların önüne geçmeyi amaçlar.
Yükseliş ve Düşüş FVG Renkleri ve Opaklık:
Yükseliş boşlukları (yeşil) ve düşüş boşlukları (kırmızı) için kutuların görünümünü ve opaklığını özelleştirmenize olanak tanır.
Nasıl Kullanılır
Göstergeyi Ekleyin:
FVG Radar göstergesini TradingView grafiğinize ekleyin.
Ayarları Özelleştirin:
Ticaret tarzınıza ve piyasanın oynaklığına göre giriş parametrelerini ayarlayın. Radar alanı ayarları, fiyat sapmalarını kendi görsel referansınızla tanımlamanıza yardımcı olur.
Grafiği İzleyin:
FVG’leri temsil eden renkli kutuları takip edin. Kutular, boşluğun yüzdelik büyüklüğünü gösterecektir.
Uyarılara Tepki Verin:
Belirlenen bar sayısı sonrasında tetiklenen uyarı, fiyatın boşluk ile etkileşime girdiğini gösterir. Bu bilgiyi, ticaret kararlarınızı yönlendirmek için kullanın.
FVG Visual Trading ToolHow to Use the FVG Tool
1. Identify the FVG Zone
Bullish FVG: Look for green boxes that represent potential support zones. These are areas where price is likely to retrace before continuing upward.
Bearish FVG: Look for red boxes that represent potential resistance zones. These are areas where price is likely to retrace before continuing downward.
2. Set Up Your Trade
Entry: Place a limit order at the retracement zone (inside the FVG box). This ensures you enter the trade when the price retraces into the imbalance.
Stop-Loss (SL): Place your stop-loss just below the FVG box for bullish trades or just above the FVG box for bearish trades. The tool provides a suggested SL level.
Take-Profit (TP): Set your take-profit level at a 2:1 risk-reward ratio (or higher). The tool provides a suggested target level.
3. Let the Trade Run
Once your trade is set up, let it play out. Avoid micromanaging the trade unless market conditions change drastically.
Step-by-Step Example
Bullish FVG Trade
Identify the FVG:
A green box appears, indicating a bullish FVG.
The tool provides the target price (e.g., 0.6371) and the stop-loss level (e.g., 0.6339).
Set Up the Trade:
Place a limit buy order at the retracement zone (inside the green box).
Set your stop-loss just below the FVG box (e.g., 0.6339).
Set your take-profit at a 2:1 risk-reward ratio or the suggested target (e.g., 0.6371).
Monitor the Trade:
Wait for the price to retrace into the FVG zone and trigger your limit order.
Let the trade run until it hits the take-profit or stop-loss.
Bearish FVG Trade
Identify the FVG:
A red box appears, indicating a bearish FVG.
The tool provides the target price and the stop-loss level.
Set Up the Trade:
Place a limit sell order at the retracement zone (inside the red box).
Set your stop-loss just above the FVG box.
Set your take-profit at a 2:1 risk-reward ratio or the suggested target.
Monitor the Trade:
Wait for the price to retrace into the FVG zone and trigger your limit order.
Let the trade run until it hits the take-profit or stop-loss.
Key Features of the Tool in Action
Visual Clarity:
The green and red boxes clearly show the FVG zones, making it easy to identify potential trade setups.
Labels provide the target price and stop-loss level for quick decision-making.
Risk-Reward Management:
The tool encourages disciplined trading by providing predefined SL and TP levels.
A 2:1 risk-reward ratio ensures that profitable trades outweigh losses.
Hands-Off Execution:
By placing limit orders, you can let the trade execute automatically without needing to monitor the market constantly.
Best Practices
Trade in the Direction of the Trend:
Use higher timeframes (e.g., 4-hour or daily) to identify the overall trend.
Focus on bullish FVGs in an uptrend and bearish FVGs in a downtrend.
Combine with Confirmation Signals:
Look for additional confirmation, such as candlestick patterns (e.g., engulfing candles) or indicator signals (e.g., RSI, MACD).
Adjust Parameters for Volatility:
For highly volatile markets, consider increasing the stop-loss percentage to avoid being stopped out prematurely.
Avoid Overtrading:
Not every FVG is a good trading opportunity. Be selective and only trade setups that align with your strategy.
Backtest and Optimize:
Use historical data to test the tool and refine your approach before trading live.
Common Mistakes to Avoid
Entering Without Confirmation:
Wait for price to retrace into the FVG zone before entering a trade.
Avoid chasing trades that have already moved away from the zone.
Ignoring Risk Management:
Always use a stop-loss to protect your account.
Stick to a consistent risk-reward ratio.
Trading Against the Trend:
Avoid taking trades that go against the prevailing market trend unless there is strong evidence of a reversal.
Final Thoughts
The FVG Visual Trading Tool is a powerful aid for identifying high-probability trade setups. By following the steps outlined above, you can use the tool to trade with confidence and discipline. Remember, no tool guarantees success, so always combine it with sound trading principles and proper risk management
FVG OscillatorThe FVG Oscillator, developed by OmegaTools and available on TradingView, is a specialized analytical tool designed to offer traders insight into the market's potential direction through the lens of Fair Value Gaps (FVGs). This script combines traditional oscillator functionality with a unique focus on FVGs, providing a nuanced approach to understanding market dynamics.
Understanding FVGs and Their Importance:
Fair Value Gaps (FVGs) are identified when there's a discrepancy between the high price of one session and the low of the subsequent session (or vice versa), indicating areas where price movements have skipped over, creating a gap. These gaps often signal potential price movement areas, as markets may move to "fill" these gaps. The FVG Oscillator is designed to quantify these occurrences and their potential impact on market direction.
Key Features of the FVG Oscillator:
- Adjustable Lookback Period: Traders can set the number of bars back (defaulted at 50) to adjust the sensitivity of the oscillator to recent market activity.
- Visual Area Representation: The option to display areas of positive and negative FVG occurrences provides a visual representation of market sentiment over the selected period.
- Color Customisation: Users can personalize the oscillator's appearance with color selections for positive and negative movements, enhancing readability and analysis.
- Volume and ATR Confirmation: Incorporates volume data and Average True Range (ATR) filtering to verify FVG occurrences, adding a layer of validation to the identified gaps.
Operational Mechanism:
The oscillator tallies bullish FVG occurrences as positive values and bearish FVG occurrences as negative values over the specified lookback period. It then applies volume and ATR criteria to confirm the significance of these gaps. The final output is an oscillator line that reflects the net value of bullish versus bearish FVGs, alongside histograms that show the width (or significance) of long and short patterns based on confirmed FVGs.
How to Use the FVG Oscillator:
- After adding the FVG Oscillator to your TradingView chart, adjust the 'Bars Back' input to tailor the oscillator's sensitivity to your trading strategy.
- Use the net value line to gauge the overall market sentiment based on FVG occurrences; a higher net value suggests bullish sentiment, while a lower value indicates bearish sentiment.
- The histograms provide an additional layer of insight, highlighting the relative strength and significance of confirmed bullish and bearish FVGs.
Application in Trading:
The FVG Oscillator is intended as an analytical tool to complement your existing trading strategy. By offering a unique perspective on FVG occurrences and their potential market implications, the oscillator can help inform your trading decisions. However, traders are encouraged to combine this tool with other forms of analysis and employ sound risk management practices.
Originality and Usefulness:
This oscillator is original in its integration of FVG analysis with traditional oscillator metrics, offering traders a novel tool for market analysis. Its usefulness lies in its ability to provide a quantitative and visual representation of FVGs, aiding traders in identifying potential market movements.
Disclaimer:
It is important for traders to understand that the financial markets are inherently unpredictable, and the FVG Oscillator is not a predictive tool nor does it guarantee trading success. It should be used as part of a comprehensive trading strategy, incorporating additional market analysis and risk management practices. Remember, past performance does not necessarily predict future results, and trading involves risks, including the potential loss of capital.
FVG Detection SystemThe "FVG Detection System" is a powerful indicator designed to identify Fair Value Gaps (FVGs) on price charts, helping traders spot potential areas of market inefficiency across any timeframe. Fair Value Gaps occur when price moves rapidly, leaving untested price zones that often act as support, resistance, or reversal areas. This indicator highlights bullish and bearish FVGs with customizable visuals, including boxes, mitigation lines, and a dashboard, making it a versatile tool for traders of all levels.
Key Features
FVG Detection:
Identifies bullish FVGs when the current low exceeds the high of two bars prior (low > high ) and the prior close is above that high (close > high ), with a threshold filter (default: 0% or auto-calculated). Bearish FVGs are detected when the current high is below the low of two bars prior (high < low ) and the prior close is below that low (close < low ).
Unlike standard FVG indicators, this system includes an auto-threshold option (using a cumulative (high-low)/low formula) to adapt dynamically to market volatility, ensuring more reliable gap detection across assets and timeframes.
Customizable Visuals:
Displays FVGs as colored boxes (bullish: blue, bearish: yellow) with an adjustable extension (default: 20 bars).
Offers dynamic adjustment mode, where FVG boundaries update based on price action, providing a more responsive visualization of unmitigated gaps.
Optionally shows mitigation lines (dashed lines at the mitigated price level) when price closes beyond an FVG’s boundary, helping traders track gap closures.
Flexible Timeframe Analysis: Supports multi-timeframe analysis by allowing users to specify an analysis timeframe (default: chart timeframe), enabling alignment with higher timeframe FVGs for confluence.
Dashboard Display: Includes an optional dashboard (default: off) to summarize FVG statistics, such as total and mitigated gaps, with customizable position (e.g., Top Right) and size (e.g., Small).
Performance Optimization: Limits visuals to 500 boxes and lines to ensure smooth performance on TradingView, even with historical data.
Perfect For
Swing and intraday traders seeking to identify key support/resistance zones on any asset (stocks, ETFs, crypto, forex).
Traders using multi-timeframe analysis to find confluence between FVGs on different timeframes.
Those looking for a visual tool to track unmitigated and mitigated FVGs with clear, customizable displays
Justification for Invite-Only Status
This indicator is offered as an Invite-Only script under PineAlpha Premium due to its optimized visualization and ongoing support (e.g., monthly access code updates, Discord assistance), justifying its paid access.
FVG Breakout Lite by tradingbauhausExplanation of "FVG Breakout Lite by tradingbauhaus"
This script is a trading strategy built for TradingView that helps you spot and trade "Fair Value Gaps" (FVGs)—price areas where the market moved quickly, leaving a gap that might act as support or resistance later. It’s designed to catch breakout opportunities when the price moves strongly in one direction, with extra filters to make trades more reliable. Here’s how it works and how you can use it:
What It Does
1. Finds Fair Value Gaps (FVGs):
A "Bullish FVG" happens when the price jumps up quickly, leaving a gap below where it didn’t trade much (e.g., today’s low is higher than the high from two bars ago).
A "Bearish FVG" is the opposite: the price drops fast, leaving a gap above (e.g., today’s high is lower than the low from two bars ago).
The script draws colored boxes on your chart to show these gaps: green for bullish, red for bearish.
2. Spots Breakouts:
It looks for "strong" FVGs by comparing them to a trend (based on the highest highs and lowest lows over a set period).
If a bullish gap forms above the recent highs, or a bearish gap below the recent lows, it’s marked as a breakout opportunity.
3. Adds a Volume Check:
Trades only happen if the market’s volume is higher than usual (e.g., 1.2x the average volume over the last 20 bars). This helps ensure the breakout has real momentum behind it.
4. Trades Automatically:
Long Trades (Buy): If a bullish breakout FVG forms and volume is high, it buys at the current price.
Short Trades (Sell): If a bearish breakout FVG forms with high volume, it sells short.
Each trade comes with a stop loss (to limit losses) and a take profit (to lock in gains), both adjustable by you.
5. Shows Mitigation Lines (Optional):
If you turn on "Display Mitigation Zones," it draws lines at the edge of each breakout FVG. These lines show where the price might return to "fill" the gap later, helping you see key levels.
6. Includes Webull Costs:
The script factors in real trading fees from Webull, like tiny SEC and FINRA fees for selling, and a daily margin cost if you’re borrowing money to trade. These don’t show up on the chart but affect the strategy’s performance in backtesting.
How to Use It
1. Add to Your Chart:
Copy the script into TradingView’s Pine Editor, click "Add to Chart," and it’ll start drawing FVGs and running the strategy.
2. Customize Settings:
Trend Period (Default: 25): How many bars it looks back to define the trend. Longer periods mean fewer but stronger signals.
Volume Lookback (Default: 20) & Volume Threshold (Default: 1.2): Adjust how it measures "high volume." Increase the threshold for stricter trades.
Stop Loss % (Default: 1.5%) & Take Profit % (Default: 3%): Set how much you’re willing to lose or aim to gain per trade.
Margin Rate % (Default: 8.74%): Webull’s rate for borrowing money—lower it if your account qualifies for a better rate.
Display Mitigation Zones (Default: On): Toggle this to see or hide the gap lines.
Colors: Change the green (bullish) and red (bearish) shades to suit your chart.
3. Backtest It:
Go to the "Strategy Tester" tab in TradingView to see how it performs on past data. It’ll show trades, profits, losses, and Webull fees included.
4. Watch It Work:
Green boxes mean bullish FVGs; red boxes mean bearish FVGs. If volume spikes and the price breaks out, you’ll see trades happen automatically.
What to Expect
Visuals: You’ll see colored boxes for FVGs and optional lines showing where they start. These help you spot key price zones even if you’re not trading.
Trades: It’s selective—only trades when FVGs align with a breakout and volume confirms it. Expect fewer trades but with higher potential.
Risk: The stop loss keeps losses in check, while the take profit aims for a 2:1 reward-to-risk ratio by default (3% gain vs. 1.5% loss).
Costs: Webull’s fees are small but baked into the results, so you’re seeing a realistic picture of profits.
Tips for Users
Test it on a small timeframe (like 5-minute charts) for day trading or a larger one (like daily) for swing trading.
Play with the volume threshold—if you get too few trades, lower it (e.g., 1.1); if too many, raise it (e.g., 1.5).
Watch how price reacts to the mitigation lines—they’re often support or resistance zones traders target.
This strategy is lightweight, focused, and built for traders who like breakouts with a bit of confirmation. It’s not foolproof (no strategy is!), but it gives you a clear way to trade FVGs with some smart filters.
FVG - NibzDescription: Fair Value Gap (FVG) Indicator - Nibz
This Pine Script identifies and visualizes Fair Value Gaps (FVGs) on your TradingView chart. FVGs are price inefficiencies left behind when the market moves too quickly, skipping price levels that might not be tested. These gaps often act as magnets, attracting price for potential reversals or continuations.
The script works by detecting upward (bullish) and downward (bearish) price imbalances based on specific candlestick criteria and then marks these zones on your chart using customizable shaded boxes. This tool is essential for traders looking to identify key areas of market inefficiency that could signify support/resistance levels, potential reversal zones, or areas to monitor for market rebalancing.
How It Works
1. Bullish FVG Detection
The script identifies an upward imbalance when:
The low of the candlestick two bars back is less than or equal to the open of the previous bar.
The high of the current candlestick is greater than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a green box is drawn from the low of the second candlestick back to the high of the current candlestick.
2. Bearish FVG Detection
The script identifies a downward imbalance when:
The high of the candlestick two bars back is greater than or equal to the open of the previous bar.
The low of the current candlestick is less than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a red box is drawn from the low of the current candlestick to the high of the second candlestick back.
Customization Options
This script is highly customizable, allowing you to tailor the appearance of the FVG boxes to suit your trading style and chart aesthetics:
Bullish FVG:
Fill color and transparency.
Border color and transparency.
Bearish FVG:
Fill color and transparency.
Border color and transparency.
The settings are user-friendly, with intuitive sliders for transparency and color pickers for customization.
How to Use the Indicator
Adding the Script:
Add the indicator to your chart, and it will automatically mark bullish (green) and bearish (red) FVGs.
Interpreting FVGs:
Bullish FVGs (green zones): These often act as support or areas of potential price rebalancing on retracement.
Bearish FVGs (red zones): These often act as resistance or areas of interest for short entries.
Trade Ideas:
Use FVG zones to confirm other trade signals or strategies.
Watch for price interaction with these zones to time entries and exits.
Key Features
Automated detection of Fair Value Gaps.
Customizable visual representation to match your chart preferences.
Enhances trading precision by identifying price inefficiencies.
Suitable for scalping, day trading, or swing trading strategies.
This script provides a powerful tool to highlight important price levels and inefficiencies in the market, enabling traders to make informed decisions. Whether you're using it as a standalone indicator or combining it with other tools, the 'FVG - Nibz' indicator is a valuable addition to any trader's toolkit!
FVG Breakout/BreakdownThe FVG Breakout/Breakdown indicator is designed to identify potential breakout and breakdown opportunities in the market, based on the concept of Fair Value Gaps (FVGs). FVGs are areas where price moves too quickly, leaving behind gaps between candlesticks, often seen as areas of inefficiency or imbalance that the market tends to revisit.
Key Concepts:
Fair Value Gaps (FVG):
FVG occurs when a price gap is created between candlesticks, typically when the high of one candle is lower than the low of the previous candle (for a bearish FVG) or the low of one candle is higher than the high of the previous candle (for a bullish FVG).
These gaps represent an imbalance between buying and selling pressure, and the market often revisits them, making them valuable for identifying potential entry points.
Bullish FVG: This occurs when the low of the current candle is higher than the high of the previous candle.
Condition: low > high
Bearish FVG: This occurs when the high of the current candle is lower than the low of the previous candle.
Condition: high < low
Breakout/Breakdown Signals:
Breakout: A bullish breakout signal occurs when the price breaks above a defined resistance level after an FVG gap. This suggests that the market may continue moving higher.
Breakdown: A bearish breakdown signal occurs when the price breaks below a defined support level after an FVG gap. This suggests that the market may continue moving lower.
NWOG (New Week Opening Gap):
The NWOG can be used as an additional factor to confirm the FVG signal. The gap between Friday's close and Monday's open is a crucial level for identifying the start of a new move for the week.
NWOG helps to further refine the timing of breakout or breakdown signals, only triggering them when price moves relative to the Monday Open and shows a new direction.
FVG Positioning Average with 200EMA Auto Trading [Pakun]Description
Strategy Name and Purpose
FVG Positioning Average with 200EMA Auto Trading
This strategy uses Fair Value Gaps (FVG) combined with a 200-period Exponential Moving Average (EMA) and Average True Range (ATR) to generate trend-based trading signals. It is designed to help traders identify high-probability entry points by leveraging the gaps between fair value prices and current market prices.
Originality and Usefulness
This script combines multiple indicators to create a cohesive trading strategy that is greater than the sum of its parts. While FVG is a powerful tool on its own, combining it with the EMA and ATR adds layers of confirmation and risk management, enhancing its effectiveness. Here’s how the components work together:
Fair Value Gap (FVG): Identifies gaps in the market where price action has not fully filled, indicating potential reversal or continuation points.
200-period Exponential Moving Average (EMA): Acts as a trend filter to ensure trades are taken in the direction of the overall trend, improving the probability of success.
Average True Range (ATR): Used to filter out insignificant gaps and set dynamic stop-loss levels based on market volatility, enhancing risk management.
Entry Conditions
Long Entry
The close price crosses above the downtrend FVG.
The close price, FVG up average, and down average are all above the 200 EMA, indicating a strong bullish trend.
Short Entry
The close price crosses below the uptrend FVG.
The close price, FVG up average, and down average are all below the 200 EMA, indicating a strong bearish trend.
Exit Conditions
For long positions, the stop loss is set at the recent low, and the take profit is set at a point with a risk-reward ratio of 1:1.5.
For short positions, the stop loss is set at the recent high, and the take profit is set at a point with a risk-reward ratio of 1:1.5.
Risk Management
Account Size: 1,000,000 yen
Commission and Slippage: 2 pips commission and 1 pip slippage per trade
Risk per Trade: 10% of account equity
The stop loss is based on the recent low or recent high, ensuring trades are exited when the market moves against the position.
Settings Options
FVG Lookback: Set the lookback period for calculating FVGs.
Lookback Type: Choose the type of lookback (Bar Count or FVG Count).
ATR Multiplier: Set the multiplier for ATR to filter significant gaps.
EMA Period: Set the period for the EMA to adjust the trend filter sensitivity.
Show FVGs on Chart: Choose whether to display FVGs on the chart for visual confirmation.
Bullish/Bearish Color: Set the color for bullish and bearish FVGs to distinguish them easily.
Show Gradient Areas: Choose whether to display gradient areas to highlight the zones of interest.
Sufficient Sample Size
The strategy has been backtested with 113 trades, providing a sufficient sample size to evaluate its performance.
Notes
This strategy is based on historical data and does not guarantee future results.
Thoroughly backtest and validate results before using in live trading.
Market volatility and other external factors can affect performance and may not yield expected results.
Acknowledgment
This strategy uses the FVG Positioning Average Strategy indicator. Thanks to for their contribution.
Clean Chart Explanation
The script is published with a clean chart to ensure that its output is readily identifiable and easy to understand. No other scripts are included on the chart, and any drawings or images used are specifically to illustrate how the script works.
FVG (Nephew sam remake)Hello i am making my own FVG script inspired by Nephew Sam as his fvg code is not open source. My goal is to replicate his Script and then add in alerts and more functions. Thus, i spent few days trying to code. There is bugs such as lower time frame not showing higher time frame FVG.
This script automatically detects and visualizes Fair Value Gaps (FVGs) — imbalances between demand and supply — across multiple timeframes (15-minute, 1-hour, and 4-hour).
15m chart shows:
15m FVGs (green/red boxes)
1H FVGs (lime/maroon)
4H FVGs (faded green/red with borders) (Bugged For now i only see 1H appearing)
1H chart shows:
1H FVGs
4H FVGs
4H chart shows:
4H FVGs only
There is the function to auto close FVG when a future candle fully disrespected it.
You're welcome to:
🔧 Customize the appearance: adjust box colors, transparency, border style
🧪 Add alerts: e.g., when price enters or fills a gap
📅 Expand to Daily/Weekly: just copy the logic and plug in "D" or "W" as new layers
📈 Build confluence logic: combine this with order blocks, liquidity zones, or ICT concepts
🧠 Experiment with entry signals: e.g., candle confirmation on return to FVG
🚀 Improve performance: if you find a lighter way to track gaps, feel free to optimize!
FVG - Fair Value Gap Detector with Large Movement FilterScript Description: Fair Value Gap (FVG) Detector with Large Movement Filter
This indicator is designed to identify Fair Value Gaps (FVG), which are price imbalances observed between three consecutive candles. Fair Value Gap detection is commonly used by traders to locate areas of imbalance where demand and supply temporarily lose equilibrium. This imbalance often draws price back to these zones, making them potential points of interest for buy or sell opportunities.
Key Features of the Indicator
FVG Detection Based on Three Consecutive Candles:
The script identifies a Fair Value Gap between three consecutive candles. This gap appears when the high of the first candle is below the low of the third candle (or vice versa). These gap zones are significant as they indicate an imbalance in price between buyers and sellers, with the expectation that price may revisit these areas in the future.
Large Movement Filter Using ATR:
To improve accuracy and avoid false signals in minor price fluctuations, this indicator includes a large movement filter based on the Average True Range (ATR). The ATR is calculated over a configurable period, and a multiplier is applied to set the minimum required range for a large movement. This helps ensure that only gaps in areas with significant price movement are identified.
Visual Differentiation with Customizable Colors:
The script allows users to configure FVG box colors for easy gap visualization. Identified zones on the chart are highlighted with a colored box, making it easy for the trader to identify imbalance points and observe potential mitigation.
FVG Mitigation and Capture:
The indicator continuously checks if the price is within the FVG zone, indicating that the gap has been mitigated or “captured” by the price. The mitigation or capture status is displayed visually on the chart, using a color scheme to indicate whether the gap has been retested by price after its creation.
How to Use the Indicator
Configuring Parameters:
ATR Multiplier: Defines how large a movement relative to ATR is required for the gap to be considered significant. Higher values require larger movements.
ATR Period: Sets the number of candles used in the ATR calculation, affecting the sensitivity to large movements.
Customizable Colors: Traders can adjust the FVG box colors and labels indicating mitigation and capture of the imbalance zones.
Visual Interpretation:
FVG Boxes: Colored boxes will appear on the chart to highlight gap zones. These boxes only display following the detection of a large movement, as defined by ATR.
Mitigation and Capture Labels: The indicator places a label below the bar when a gap is identified, highlighting zones where gaps may be mitigated or captured. The color scheme helps traders quickly interpret the status of a gap.
Underlying Concepts and Practical Application
The Fair Value Gap is widely used in liquidity analysis and price reversal zones. By identifying FVG zones based on large price movements, this script enables traders to monitor potential gap-fill areas. With the large movement filter, the indicator is ideal for strategies that prioritize liquidity and price zone mitigation, making it useful for both short-term (scalping) and long-term strategies.
This indicator provides a solid foundation for traders interested in observing price imbalances and future mitigations.
ICT MTF FVG [MK]FVGs (Fair Value Gaps) are significant levels that may act as support or resistance to price. The script finds FVGs as per ICT trading system, then plots the full FVG to the right side of the chart. FVG boxes do not change size when they are semi-mitigated as its important to know where the original FVG midpoint lies. Plotting to the right side of price allows for a cleaner chart. The script is MTF and can display FVG boxes for the following timeframes. Chart, 5,10,15,30,1hr,4hr,8hr,12hr,D,W,M.
Below shows 1hr FVGs marked out. NOTE: this is not what the script does, this is for explanation only.
Below shows what the script will do. 1hr FVGs shown on 15min chart
FVG Alerts (Vortus)What are Fair Value Gaps (FVGs)?
Fair Value Gaps (FVGs) represent price inefficiencies where buying and selling volumes are imbalanced, creating gaps between the wicks of consecutive candles. These gaps often act as magnets for price, as markets tend to "fill" these gaps before resuming their trend.
FVGs can signal potential entry or exit points, making them a valuable tool for traders looking to exploit these price inefficiencies.
How to Use the Script to Add Alerts:
1. Add the Script to Your Chart:
Load the script into TradingView by pasting it into the Pine Script Editor, then apply it to your chart.
2. Adjust Your Settings:
In the "FVG Settings" section, decide whether you want gaps to be removed after their midpoint or full fill. You can also choose to identify gaps only after a candle has closed, adding a level of confirmation to your strategy.
Customize the colors for Bullish and Bearish FVGs under "Visual Settings" to match your chart's theme.
3. Set Up Your Alerts:
After adding the script to your chart, go to the "Alerts" section in TradingView.
Select either "Bullish FVG Filled" or "Bearish FVG Filled" from the "Condition" dropdown menu.
Configure the alert parameters such as frequency, expiration, and notification method according to your trading strategy.
4. Stay on Top of the Market:
Once set up, the script will automatically notify you when a Fair Value Gap is filled, keeping you informed of potential reversal or continuation opportunities without needing to constantly monitor the charts.
Feedback is Welcome
FVG in MACROGuided by ICT tutoring, I created this versatile indicator to scan the FVG in MACRO time.
This indicator combines the MACRO time with the Fair value GAP (FVG) in an alternative way, showing a simple way of viewing the FVG within the MACRO time, so you can have a clearer view of which direction the MACRO is influencing
''MACRO is a delivery time frame of the interbank price in which it undergoes a series of controls and is likely to move towards liquidity.''
The user has the possibility to:
- Choose the relevant MACRO time
- Choose whether to view all FVGs in the MACROS
- Choose to view only the First FVG at each MACRO
The indicator should be used as shown by the ICT in its concepts, during the MACRO time the price can consolidate or can head towards liquidity.
The probability that the direction is correct increases with respect for the FVG, in this way it is possible to evaluate the entry zone in the FVG and the Take profit zone for Liquidity
As in the following example:
FVG Zones (Remove Filled) + AlertA powerful TradingView indicator that automatically identifies Fair Value Gap (FVG) zones, removes them once price “fills” the gap, and sends you crystal-clear alerts specifying Bull or Bear zones—so you never miss a market imbalance.
🔍 Key Features
Automatic FVG Detection
Spots three-candle imbalance patterns (low > high for Bull, high < low for Bear) and draws colored boxes on your chart.
Auto-Remove Filled Zones
Once price enters a gap, the corresponding box is deleted—keeping your chart clutter-free.
Dedicated Alerts
Two separate alert conditions with constant messages:
“Price filled Bull FVG zone”
“Price filled Bear FVG zone”
On-Chart Labels
Enable debugging to display Bull FVG or Bear FVG tags above the triggering candle.
Performance-Tuned
Supports up to 500 active zones without slowing down your chart.
⚙️ Inputs & Customization
Show Alert Labels (Boolean) – Toggle on-chart text labels.
Max Boxes Count (Integer) – Control the maximum number of zones displayed.
Axelrod FVG v1FVG indicator --
Allows your Charts to stay CLEAN for your T.A. by plotting the FVGs on top of the Candles inside of its Borders
FVGs can also be turned off and you can Remove the Bar Color only
Each FVG has a tooltip that you can hover your mouse over to get the (Type of FVG, Size, Top, Middle, Bottom, Time)
FVGs Using Plots so that they go all the way back in history you can have more than 500 on the chart
FVG + OB + RSI Divergence + Volume Spikes🧠 FVG + OB + RSI Divergence + Volume Spikes – Market Structure Confluence Tool
This all-in-one indicator brings together four powerful market concepts into a single script designed to help traders identify high-probability trade setups with precision and clarity:
🔍 What It Does
✅ Fair Value Gaps (FVG)
Highlights inefficiencies in price action, showing where the market may return to “rebalance.”
✅ Order Blocks (OB)
Marks key institutional footprints — bullish and bearish order blocks based on engulfing candle structures.
✅ RSI Divergence
Detects both bullish and bearish divergences between price and RSI, signaling potential reversals.
✅ Volume Spikes
Flags bars where volume significantly exceeds the average — a common footprint of smart money.
🎯 How to Use
Use this tool to spot confluences between price inefficiencies (FVG), key reversal zones (OB), momentum shifts (RSI Divergence), and institutional interest (Volume Spikes). The best setups often occur when multiple signals align — especially at key support/resistance or trend zones.
⚙️ Inputs
RSI length (for divergence)
Volume spike sensitivity (multiplier)
Lookback for Order Blocks and FVGs
⚠️ Notes
This is a non-repainting tool.
Ideal for price action, SMC, ICT, and order flow traders.
Combine with your existing strategy and higher time frame bias for best results.
FVG Detector (Gholam version)The Fair Value Gap (FVG) Detector is a powerful tool designed to identify and highlight potential imbalance areas in the market. Fair Value Gaps, also known as "FVG" or "Liquidity Gaps," are price ranges where there has been little or no trading activity. These gaps can often act as key levels of support or resistance and may represent areas where price is likely to return to for a fill, providing potential trading opportunities.
This indicator automatically scans and marks these gaps on the chart, helping traders quickly spot areas of interest for potential reversals or continuation patterns.
ICT Directional FVG Indicator (Buffered SL)This is the first indicator I have ever made, and I am very new to Pine Script. I’ve tried my best to create this as a strategy, but I’m still learning, so please be kind and constructive with your feedback!
ICT Directional FVG Indicator (Buffered SL)
This indicator is designed for traders who follow ICT (Inner Circle Trader) concepts, focusing on Fair Value Gaps (FVGs), liquidity sweeps, and session-based trading. It automatically detects bullish and bearish FVGs, highlights them on the chart, and identifies liquidity sweep events. The indicator features three customizable Kill Zones (London, New York, and Asia sessions), each with independent toggles and color-coded backgrounds for clear visual separation.
Key features:
Fair Value Gap Detection: Highlights bullish and bearish FVGs in real time.
Liquidity Sweep Alerts: Marks potential liquidity sweep events for both highs and lows.
Session Kill Zones: Toggle each Kill Zone (London, New York, Asia) independently; background color changes only in enabled zones.
Trade Signal Visualization: Plots entry, stop loss, and take profit levels based on FVG and sweep logic, with a user-defined stop loss buffer.
Customizable Display: Easily enable or disable FVGs, sweeps, trade levels, and each Kill Zone to suit your strategy.
This tool is ideal for ICT-based traders who want a clear, automated view of FVGs, sweeps, and session activity, with full control over which sessions and signals are displayed.