Strategy library · Candles and price action

Fair value gap retrace backtest on NQ and ES futures

Fair value gap retrace

Also called: fair value gap strategy, FVG strategy, imbalance retrace strategy, buy when price first retraces into a bullish 3-candle fair value gap, short when price first retraces into a bearish 3-candle fair value gap

What happens if you buy NQ every time price first retraces into a bullish 3-candle fair value gap?

What it is

A fair value gap is a 3-candle gap in which the high of candle 1 is below the low of candle 3. This strategy goes long on the first retrace into the gap (short on the mirror), with the stop under candle 1's low and a target of 2R.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the fair value gap retrace strategy took 1,146 trades on the 15-minute chart, won 40.5% of them and finished 1,210.50 points ($24,210 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 634 long trades on the 15-minute chart won 41.8% and made 1,395.75 points ($27,915 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the fair value gap retrace strategy took 1,241 trades on the 15-minute chart, won 41.4% of them and finished 1,173.00 points ($58,650 on one ES contract), before commission and slippage. The 5-minute, 1-hour and daily results for both markets are in the table on this page.

How it was tested

CE Market Solutions tested the fair value gap retrace strategy on NQ (2024-10-08 to 2026-10-07) and ES (2024-08-28 to 2026-08-27) futures, before commission and slippage, with each signal filled at the next bar's open, intraday positions flat at 15:59 ET and textbook default indicator settings; the NQ trades are listed on this page and the ES trades under the ES tab.

See it tested with one change · $19

Tested by CE Market Solutions on 2026-10-26. The trades are listed below, one market at a time. Gross, no commission or slippage. Last 2 years.

Results

Rule as tested: 3-candle gap (candle 1 high below candle 3 low). Long on the first retrace into the gap; short on the mirror. Exit: Stop under candle 1's low, target 2R.

TimeframeNQ · 2024-10-08 to 2026-10-07ES · 2024-08-28 to 2026-08-27
TradesWin %Avg ptsProfit factorNet ptsNet $ (1 NQ)Max DD ptsTradesWin %Avg ptsProfit factorNet ptsNet $ (1 ES)Max DD pts
5 minute250236.3%1.861.0624,657.00$93,1404,587.00262636.1%0.261.044687.00$34,350700.00
5 minute · longs only133136.8%——2,847.75$56,9552,414.50142236.1%——262.50$13,125445.25
5 minute · shorts only117135.7%——1,809.25$36,1853,708.50120436.2%——424.50$21,225492.25
15 minute114640.5%1.061.0271,210.50$24,2106,402.25124141.4%0.951.1291,173.00$58,650436.50
15 minute · longs only63441.8%——1,395.75$27,9154,004.7569342.9%——787.75$39,388325.25
15 minute · shorts only51238.9%——−185.25−$3,7053,782.0054839.6%——385.25$19,263356.50
1 hour47247.3%5.731.1382,705.75$54,1151,129.7547246.8%1.571.180739.25$36,963496.50
1 hour · longs only26250.0%——3,708.00$74,1601,062.5026149.8%——889.50$44,475235.00
1 hour · shorts only21043.8%——−1,002.25−$20,0452,399.0021143.1%——−150.25−$7,512631.75
Daily2737.0%211.441.5565,709.00$114,1804,373.253132.3%−0.230.997−7.00−$3501,332.25
Daily · longs only1936.8%——5,183.50$103,6702,945.502334.8%——536.75$26,838828.75
Daily · shorts only837.5%——525.50$10,5101,565.00825.0%——−543.75−$27,187779.75

Free to use with credit to CE Market Solutions (CC BY 4.0).

ES 15 minute: the equity line

Fair value gap retrace, ES 15 minute, 2024-08-28 to 2026-08-27. Cumulative points after each trade; low −240.25, high 1,503.00, last 1,173.00.

Long and short

SideTradesNet pts
Long693787.75
Short548385.25

By month

MonthTradesNet pts
2024-0850.00
2024-0969−154.50
2024-104951.75
2024-11436.50
2024-1253−11.00
2025-0151−35.25
2025-0244197.75
2025-0364−56.50
2025-0457623.75
2025-0550−224.50
2025-0657104.50
2025-0752−12.25
2025-0846−74.75
2025-095437.00
2025-105720.00
2025-1154291.25
2025-124812.75
2026-0153274.00
2026-0246−159.25
2026-0343269.75
2026-044453.50
2026-0546111.75
2026-06553.00
2026-0753−226.00
2026-084869.75
Every trade, ES 15 minute1241 trades

Pick any of the 1241 charted trades with Previous, Next or a date, or click a row in the trades table below, to see it drawn on the real 1-minute bars. Drag the chart sideways to move through the sessions around it.

Chart unavailable. The trades are in the table below.

All trades (1241), newest first

Times are New York time; points are gross. Click a row to draw that trade in the chart above.

Session dateSideEntry (ET)Entry priceExit (ET)Exit priceExit reasonPoints
2025-09-30short10:156704.2512:216715.75stop−11.50
2025-09-30short09:456708.0009:496703.00target5.00
2025-09-29short15:456710.7515:476713.25stop−2.50
2025-09-29long15:156703.0015:156699.25stop−3.75
2025-09-29long14:456710.7515:136702.75stop−8.00
2025-09-29short10:156725.5013:026704.50target21.00
2025-09-26long13:306695.2515:596696.25end of day 15:591.00
2025-09-26long10:306666.2512:256685.25target19.00
2025-09-26long10:156674.2510:156672.00stop−2.25
2025-09-26short09:456689.2509:506697.75stop−8.50
2025-09-25long09:456633.2515:596660.50end of day 15:5927.25
2025-09-24short12:306690.7515:596692.00end of day 15:59−1.25
2025-09-24short10:306714.2511:586685.25target29.00
2025-09-24long09:456717.7509:496715.25stop−2.50
2025-09-23long13:456708.2513:456705.50stop−2.75
2025-09-23long13:306719.0013:356715.25stop−3.75
2025-09-23long11:456741.5013:166729.25stop−12.25
2025-09-22long15:456752.5015:596751.75end of day 15:59−0.75
2025-09-22long11:306733.5015:116755.50target22.00
2025-09-19long12:456710.2515:596721.75end of day 15:5911.50
2025-09-18long10:006688.7515:596692.25end of day 15:593.50
2025-09-18long09:456675.5009:506689.00target13.50
2025-09-17long15:006645.7515:596660.25end of day 15:5914.50
2025-09-17short11:006661.7514:006676.00stop−14.25
2025-09-16short10:306669.0015:596668.25end of day 15:590.75
2025-09-15short13:456616.0015:596622.00stop−6.00
2025-09-12long15:306595.7515:326592.50stop−3.25
2025-09-12long15:006602.2515:286595.75stop−6.50
2025-09-11long12:006588.7515:596592.25end of day 15:593.50
2025-09-10short15:456534.5015:506538.00stop−3.50
2025-09-10long14:306533.2515:066530.00stop−3.25
2025-09-10short11:456550.0013:536536.50target13.50
2025-09-10long10:456554.7511:166544.00stop−10.75
2025-09-09short14:006515.5015:536521.50stop−6.00
2025-09-09long10:456494.2510:526499.25target5.00
2025-09-09short09:456510.5009:546505.00target5.50
2025-09-08short10:456510.7515:596507.00end of day 15:593.75
2025-09-08long09:456504.5010:186496.75stop−7.75
2025-09-05short11:306481.0015:596491.00end of day 15:59−10.00
2025-09-05long10:456471.0011:106456.00stop−15.00
2025-09-05long10:006530.0010:116513.25stop−16.75
2025-09-04long15:456504.0015:596511.25end of day 15:597.25
2025-09-04short14:006493.0015:146504.25stop−11.25
2025-09-04short11:306483.5011:306484.25stop−0.75
2025-09-04short10:456475.0011:176482.50stop−7.50
2025-09-03short15:456444.2515:506450.75stop−6.50
2025-09-03short13:156447.2513:436434.75target12.50
2025-09-03long11:156458.5012:496437.75stop−20.75
2025-09-03long10:006441.7510:436459.25target17.50
2025-09-02long09:456393.7515:596426.00end of day 15:5932.25

← NewerPage 12 of 25Older →

Questions and answers

What happens if you buy NQ every time price first retraces into a bullish 3-candle fair value gap?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the fair value gap retrace strategy took 634 long trades, won 41.8% of them and made 1,395.75 points ($27,915 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made 2,847.75 points on 1,331 trades on the 5-minute chart, 3,708.00 points on 262 trades on the 1-hour chart and 5,183.50 points on 19 trades on the daily chart, before commission and slippage.

What happens if you short ES every time price first retraces into a bearish 3-candle fair value gap?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the fair value gap retrace strategy took 548 short trades, won 39.6% of them and made 385.25 points ($19,263 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 424.50 points on 1,204 trades on the 5-minute chart, -150.25 points on 211 trades on the 1-hour chart and -543.75 points on 8 trades on the daily chart, before commission and slippage.

Does the fair value gap retrace strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the fair value gap retrace strategy on the 15-minute chart took 1,146 trades, won 40.5% of them and finished 1,210.50 points ($24,210 on one NQ contract), before commission and slippage.

What is the win rate of Fair value gap retrace on ES futures?

The fair value gap retrace strategy won 41.4% of its 1,241 trades on the ES 15-minute chart from 2024-08-28 to 2026-08-27, before commission and slippage. On ES from 2024-08-28 to 2026-08-27 it also won 36.1% of 2,626 trades on the 5-minute chart, 46.8% of 472 trades on the 1-hour chart and 32.3% of 31 trades on the daily chart, before commission and slippage.

Is the fair value gap retrace strategy better on the 5-minute, 15-minute, 1-hour or daily chart for NQ?

On NQ from 2024-10-08 to 2026-10-07, the fair value gap retrace strategy made 4,657.00 points on 2,502 trades on the 5-minute chart, 1,210.50 points on 1,146 trades on the 15-minute chart, 2,705.75 points on 472 trades on the 1-hour chart and 5,709.00 points on 27 trades on the daily chart, before commission and slippage.

Is it better to only buy or only sell fair value gap retrace signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made 1,395.75 points on 634 trades (41.8% won) and the short trades made -185.25 points on 512 trades (38.9% won), before commission and slippage.

How many trades does the fair value gap retrace strategy take on NQ in two years?

The fair value gap retrace strategy took 1,146 trades on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 it also took 2,502 on the 5-minute chart, 472 on the 1-hour chart and 27 on the daily chart, before commission and slippage.

What is the max drawdown of the fair value gap retrace strategy on NQ?

The fair value gap retrace strategy had a max drawdown of 6,402.25 points ($128,045 on one NQ contract) on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 its max drawdown was also 4,587.00 points on the 5-minute chart, 1,129.75 points on the 1-hour chart and 4,373.25 points on the daily chart, before commission and slippage.

How does the fair value gap retrace strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the fair value gap retrace strategy took 1,241 trades, won 41.4% of them and made 1,173.00 points ($58,650 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the fair value gap retrace strategy took 1,146 trades, won 40.5% of them and made 1,210.50 points ($24,210 on one NQ contract), before commission and slippage.

How these were run

  • Gross: no commission and no slippage.
  • The last 2 years of each market, from the first to the last session of its window.
  • A signal on a closed bar fills at the next bar’s open.
  • A stop and a target touched in the same minute count as the stop.
  • Intraday positions are flat at 15:59 ET.
  • Textbook TradingView default settings for every indicator; nothing is tuned.

Want your own rules tested the same way?