GapSniper
Snipes high-probability fair value gap retests, generating Buy and Sell signals with automatic stop-loss and take-profit levels based on the gap structure.
Signals
Buy / Sell
Markets
All
Style
Overlay
Risk Mgmt
SL & TP
Overview
GapSniper automates the identification and trading of fair value gaps -price imbalances created by aggressive institutional order flow. The indicator detects gaps as they form, tracks them in real time, and waits for a qualified retest before generating a signal. Built-in directional filters ensure trades align with the prevailing trend, while configurable strictness settings let you dial in signal frequency to match your trading style. Every signal comes packaged with precise stop-loss and take-profit levels derived from the gap boundaries and your chosen risk-reward ratio, so you can execute consistently without manual calculations.
How It Works
GapSniper detects bullish and bearish fair value gaps as they form and tracks them in real time. A bullish FVG is identified when the current bar low is above the high from two bars ago, creating an upward price imbalance; a bearish FVG is the inverse. Configurable strictness settings add directional filtering using a 21-period simple moving average and a premium/discount zone calculated from the 45-bar highest high and lowest low, ensuring gaps are only tracked when they align with the broader market context.
Once a gap is detected and visualized on the chart, the indicator monitors for a qualified retest. When price pulls back and touches the gap zone, a pending entry line is drawn at the recent highest high (for buys) or lowest low (for sells). If price reaches this entry level within a configurable number of candles, a Buy or Sell signal fires. The gap is invalidated if price closes through it before the entry triggers, preventing stale setups from lingering.
Every signal comes with automatically calculated stop-loss and take-profit levels. The stop-loss is derived from the gap boundaries with three configurable anchor points (near edge, midpoint, or far edge) plus an adjustable offset multiplier. The take-profit is calculated from the entry-to-stop distance multiplied by your chosen risk-reward ratio, giving you a complete trade plan with every signal.
Key Features
Automatic Gap Detection
Identifies bullish and bearish fair value gaps as they form, highlighting price imbalances where institutional order flow has left unfilled orders waiting to be revisited.
Smart Retest Signals
Waits for price to return and touch the gap zone, then generates a signal only when retest conditions are met within a configurable window.
Built-In Risk Management
Each signal comes with automatically calculated stop-loss and take-profit levels based on the gap boundaries and your chosen reward-to-risk ratio.
Directional Filtering
Incorporates trend context through moving average and premium/discount zone awareness, ensuring signals align with the broader market direction.
Common Trading Setups
Practical ways to trade with GapSniper.
Gap Retest Breakout
The core GapSniper setup: enter when price retests a fair value gap and then breaks out to the entry level, confirming that the gap is being respected as institutional support or resistance.
- 1Set the Strictness to 1 for a balanced signal frequency that filters for premium/discount context.
- 2Wait for a gap box to appear on the chart and turn visible as price retests the zone.
- 3Watch for the entry level line to appear, marking the breakout trigger above or below the retest.
- 4Enter when the Buy Stop or Sell Stop label prints, confirming price has reached the entry level within the allowed candle window.
- 5Use the automatically drawn SL (red box) and TP (green box) levels for your trade management.
Tight Risk-Reward Scalping
Use a higher risk-reward ratio with the GAP Near stop-loss setting to create tight-stop scalping entries on lower timeframes.
- 1Set the Stop At option to GAP Near so the stop-loss is placed at the nearest edge of the gap.
- 2Set the RR input to 2.0 or higher for an aggressive reward target relative to the tight stop.
- 3Trade on the 1-minute to 5-minute timeframe for frequent gap formations.
- 4Only take signals in the direction of the 21 SMA trend line plotted on the chart.
Swing Trade with Wide Stops
Use the GAP Far stop-loss setting on higher timeframes for swing trades that give the position room to breathe within the full gap range.
- 1Set the Stop At option to GAP Far so the stop-loss covers the entire gap zone.
- 2Set the RR to 1.5-1.7 for a realistic swing trade reward target.
- 3Trade on the 15-minute to 1-hour chart for higher-quality gap formations.
- 4Use Strictness 2 to require both SMA and premium/discount alignment for the highest conviction signals.
Settings Reference
Key settings you can configure in TradingView. See the full setup guide for detailed walkthroughs.
| Parameter | Type | Default | Description |
|---|---|---|---|
| Enter Within X Candles | int | 7 | Number of candles after gap formation within which a retest must occur for a valid signal. |
| Strictness | int | 1 | Controls how strict the retest validation is. Higher values require more precise gap retests. |
| Use Highest/Lowest for Entry | bool | true | Uses the highest or lowest point of the entry candle for more conservative entry placement. |
| RR (Risk-Reward) | float | 1.7 | The reward-to-risk ratio used to calculate take-profit distance from the entry. |
| Stop At | string | GAP Near | Determines where the stop-loss is placed relative to the gap structure. |
| SL Offset | float | 0.1 | Additional offset added to the stop-loss placement for extra breathing room. |
Pro Tips
Keep Strictness Low Initially
Start with Strictness 1 to see the full range of signals. Increase it if too many signals fire or if you want to focus only on the cleanest gap retests.
Respect the Candle Window
The Enter Within X Candles parameter exists because gaps lose relevance over time. Stale gaps that haven't been retested within the window are less likely to produce quality reactions.
Don't Override the Stop-Loss
The built-in SL is calculated from the gap structure. Moving your stop further away defeats the purpose of the indicator's risk management system.
Frequently Asked Questions
Strictness 1 filters gaps using a premium/discount zone: bullish gaps must form below the 45-bar midpoint and bearish gaps must form above it. Strictness 2 adds a second layer by also requiring alignment with the 21-period SMA. Higher strictness produces fewer but more directionally aligned signals.
The stop-loss is anchored to the gap boundaries. GAP Near uses the nearest gap edge, GAP Mid uses the gap midpoint, and GAP Far uses the furthest gap edge. An additional SL Offset multiplier extends the stop beyond the chosen anchor by a percentage of the entry-to-anchor distance, giving you breathing room against wicks.
After a gap retest triggers a pending entry line, price must reach the entry level within the specified number of candles. If it does not, the pending entry is discarded. This prevents stale entry lines from accumulating on the chart and ensures you are only entering fresh setups with active momentum.
Yes. GapSniper works on any market that produces fair value gaps -- forex, crypto, stocks, indices, and commodities. The ATR-based gap detection adapts to each instrument volatility automatically. Lower timeframes tend to produce more signals, while higher timeframes produce fewer but more significant gap formations.
Get access to GapSniper
Included with every subscription plan alongside all 18 premium indicators. Subscribe today for just $19/mo.
Related Articles
Related Indicators
More tools in Buy & Sell Signals View all Buy & Sell Signals →