PROTECTED SOURCE SCRIPT

FVG Ultra Assertive - Individual Filters (mtbr)

56
FVG Ultra Assertive - Individual Filters (mtbr)

What this script offers:
This strategy detects and highlights FVGs (Fair Value Gaps) on the chart, providing traders with a visual and systematic approach to identify potential price inefficiencies. The script plots bullish and bearish FVG zones using customizable boxes and labels, allowing users to easily spot high-probability trading areas. In addition, it opens and closes simulated trades based on the detected FVGs, enabling full backtesting and strategy performance evaluation. It integrates multiple independent filters to validate the strength of each FVG signal before entering a trade.

How it works:
The script identifies:

Bullish FVGs when the current low is higher than the high of two bars ago.

Bearish FVGs when the current high is lower than the low of two bars ago.

Once an FVG is detected, it applies three optional independent filters:

GAP/ATR Filter:
Measures the FVG size relative to the Average True Range (ATR). Only gaps exceeding a user-defined multiple of ATR are considered valid.

Support/Resistance (S/R) Filter:
Uses pivot points to check if the FVG overlaps with recent high/low pivot levels within a tolerance percentage. This ensures the gap aligns with meaningful market levels.

Stochastic Filter:
Applies a stochastic oscillator to confirm momentum. Bullish FVGs are validated when stochastic values are oversold, and bearish FVGs when overbought.

After passing the selected filters, the strategy opens trades:

LONG FVG for bullish signals (buy)

SHORT FVG for bearish signals (sell)

The strategy automatically closes positions when an opposite signal appears, generating a backtest report with trades, profits, and statistics. The final bullish or bearish FVG signals are plotted as colored boxes on the chart with labels “BULL FVG” or “BEAR FVG” for immediate visual reference.

How to configure it for use:

Use GAP/ATR Filter: Enable or disable the ATR-based filter and adjust the ATR period (ATR Length) and minimum gap multiplier (Minimum Gap x ATR).

Use S/R Filter: Enable or disable the pivot-based S/R filter. Configure the pivot lookback periods (Pivot Left and Pivot Right) and the tolerance percentage (Gap Tolerance %).

Use Stochastic Filter: Enable or disable stochastic confirmation. Adjust the K and D lengths (Stoch K Length and Stoch D Length) and the overbought/oversold thresholds (Stoch Overbought and Stoch Oversold).

Colors: Customize the colors for bullish and bearish FVGs (FVG Bull and FVG Bear) to match your chart preferences.

Usage Tips:

Apply this strategy to any timeframe; shorter timeframes generate more frequent FVGs, while higher timeframes highlight stronger gaps.

Combine FVG signals with other technical analysis tools for better trade confirmation.

Use the box and label visualization to quickly scan charts for trade opportunities without cluttering the chart.

The strategy’s trades (LONG and SHORT) provide backtesting results and performance statistics for each signal.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.