Strategy library · Candles and price action

Hammer and shooting star backtest on NQ and ES futures

Hammer / shooting star

Also called: hammer candle strategy, shooting star candle strategy, hammer candlestick pattern, buy when a hammer forms at a 10-bar low, short when a shooting star forms at a 10-bar high

What happens if you buy NQ every time a hammer forms at a 10-bar low?

What it is

A hammer has its body in the top third of the bar with a lower wick at least 2x the body, and a shooting star is the mirror. This strategy goes long on a hammer at a 10-bar low and short on a shooting star at a 10-bar high, with the stop beyond the wick and a target of 2R.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the hammer and shooting star strategy took 348 trades on the 15-minute chart, won 35.6% of them and finished -2,930.25 points (-$58,605 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 184 long trades on the 15-minute chart won 38.6% and made -1,002.25 points (-$20,045 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the hammer and shooting star strategy took 357 trades on the 15-minute chart, won 38.9% of them and finished 52.25 points ($2,613 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 hammer and shooting star 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: Hammer (body in the top third, lower wick at least 2x the body) at a 10-bar low: long. Shooting star at a 10-bar high: short. Exit: Stop beyond the wick, 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 minute99232.6%−1.700.914−1,685.00−$33,7002,411.7594431.8%−0.470.890−445.00−$22,250650.00
5 minute · longs only51832.2%——−1,239.50−$24,7901,898.0050832.7%——−188.75−$9,437382.75
5 minute · shorts only47432.9%——−445.50−$8,9101,001.5043630.7%——−256.25−$12,812389.25
15 minute34835.6%−8.420.766−2,930.25−$58,6053,761.2535738.9%0.151.02252.25$2,613364.50
15 minute · longs only18438.6%——−1,002.25−$20,0452,196.5017240.7%——144.50$7,225210.00
15 minute · shorts only16432.3%——−1,928.00−$38,5602,542.7518537.3%——−92.25−$4,612268.75
1 hour12447.6%11.431.2941,417.00$28,340640.2511850.0%2.371.288279.50$13,975219.75
1 hour · longs only7452.7%——1,192.00$23,840601.007050.0%——133.00$6,650169.25
1 hour · shorts only5040.0%——225.00$4,500798.254850.0%——146.50$7,325129.50
Daily1729.4%−121.560.534−2,066.50−$41,3303,037.001127.3%−26.110.498−287.25−$14,362509.25
Daily · longs only1127.3%——−1,478.25−$29,5652,630.75425.0%——−120.00−$6,000277.00
Daily · shorts only633.3%——−588.25−$11,765729.75728.6%——−167.25−$8,362232.25

NQ Daily: small sample (17 trades). ES Daily: small sample (11 trades).

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

NQ 5 minute: the equity line

Hammer / shooting star, NQ 5 minute, 2024-10-08 to 2026-10-07. Cumulative points after each trade; low −1,850.25, high 561.50, last −1,685.00.

Long and short

SideTradesNet pts
Long518−1,239.50
Short474−445.50

By month

MonthTradesNet pts
2024-1032−491.50
2024-11458.25
2024-1240141.50
2025-0137155.50
2025-0234157.25
2025-0345−214.50
2025-0439−167.00
2025-0544−46.50
2025-064019.50
2025-0755208.00
2025-0853−59.25
2025-0964270.50
2025-1044−291.25
2025-1141−474.00
2025-123189.75
2026-014660.25
2026-0234−199.00
2026-0328−179.25
2026-0442331.75
2026-0538−56.75
2026-0637−213.75
2026-0746−59.00
2026-0837−270.25
2026-0931−472.00
2026-10966.75
Every trade, NQ 5 minute992 trades

Pick any of the 992 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 (992), 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
2026-06-05long12:5029446.0013:1229378.75stop−67.25
2026-06-03long15:1530637.2515:2230615.00stop−22.25
2026-06-03long11:5030605.0012:1830567.75stop−37.25
2026-06-03long09:4030734.5009:4430665.75stop−68.75
2026-06-02short14:1530648.2514:3830616.25target32.00
2026-06-02long13:3030643.0013:3230631.75stop−11.25
2026-06-02long12:2530671.7512:3530650.75stop−21.00
2026-06-01long15:4030597.7515:4530583.00stop−14.75
2026-06-01short11:4030537.5011:5030503.50target34.00
2026-06-01short09:5030428.2509:5730349.75target78.50
2026-05-29long13:3530367.5013:4430341.00stop−26.50
2026-05-29long13:0030398.0013:2030375.25stop−22.75
2026-05-29short09:3530375.0009:3530426.25stop−51.25
2026-05-28long15:2030284.5015:2730305.50target21.00
2026-05-28short13:5530332.7514:0030308.75target24.00
2026-05-28short12:5030306.7512:5830318.75stop−12.00
2026-05-26long11:3529997.2511:3629974.00stop−23.25
2026-05-26long11:1030044.0011:1730003.50stop−40.50
2026-05-26long09:4029859.7509:4229926.25target66.50
2026-05-25long12:0529922.2512:4829941.25target19.00
2026-05-22long10:1029564.2510:2329515.25stop−49.00
2026-05-20long12:3029236.2512:4529289.25target53.00
2026-05-20short10:3529214.2510:5529263.25stop−49.00
2026-05-19long14:5029016.0014:5328992.00stop−24.00
2026-05-19long10:2528727.7511:1628857.75target130.00
2026-05-15long15:1529321.5015:1729299.75stop−21.75
2026-05-15short11:4029332.2511:5329232.25target100.00
2026-05-15short11:3529342.2511:3629372.25stop−30.00
2026-05-15short11:2529323.2511:3129361.25stop−38.00
2026-05-15short10:2529340.7510:5029256.25target84.50
2026-05-14short15:2529717.7515:5929682.75target35.00
2026-05-14short14:0029730.7514:0129686.75target44.00
2026-05-14short12:2529757.7512:3329708.75target49.00
2026-05-14short11:3029756.7512:0529774.00stop−17.25
2026-05-13short10:3029236.0010:3429268.75stop−32.75
2026-05-12short15:2029044.7515:3029064.25stop−19.50
2026-05-08short15:1529294.5015:1629304.25stop−9.75
2026-05-08long13:5529278.0014:5529254.50stop−23.50
2026-05-08short11:1029161.2511:3029187.75stop−26.50
2026-05-07long12:1028747.0012:1128718.75stop−28.25
2026-05-07short10:2528864.2510:3928902.75stop−38.50
2026-05-06short13:4028592.0014:0628610.50stop−18.50
2026-05-06short13:2528581.5013:3128592.00stop−10.50
2026-05-05short15:1528172.5015:5028140.50target32.00
2026-05-05short14:1028171.5014:1228179.50stop−8.00
2026-05-05short13:4028140.2513:4328152.00stop−11.75
2026-05-05short09:5528069.7510:2428112.25stop−42.50
2026-05-04long14:3027771.5014:4427732.00stop−39.50
2026-04-30long11:5027373.0013:2927457.00target84.00
2026-04-30short11:3527404.5011:4527341.50target63.00

← NewerPage 4 of 20Older →

Questions and answers

What happens if you buy NQ every time a hammer forms at a 10-bar low?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the hammer and shooting star strategy took 184 long trades, won 38.6% of them and made -1,002.25 points (-$20,045 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made -1,239.50 points on 518 trades on the 5-minute chart, 1,192.00 points on 74 trades on the 1-hour chart and -1,478.25 points on 11 trades on the daily chart, before commission and slippage.

What happens if you short ES every time a shooting star forms at a 10-bar high?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the hammer and shooting star strategy took 185 short trades, won 37.3% of them and made -92.25 points (-$4,612 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made -256.25 points on 436 trades on the 5-minute chart, 146.50 points on 48 trades on the 1-hour chart and -167.25 points on 7 trades on the daily chart, before commission and slippage.

Does the hammer and shooting star strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the hammer and shooting star strategy on the 15-minute chart took 348 trades, won 35.6% of them and finished -2,930.25 points (-$58,605 on one NQ contract), before commission and slippage.

What is the win rate of Hammer / shooting star on ES futures?

The hammer and shooting star strategy won 38.9% of its 357 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 31.8% of 944 trades on the 5-minute chart, 50.0% of 118 trades on the 1-hour chart and 27.3% of 11 trades on the daily chart, before commission and slippage.

Is the hammer and shooting star 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 hammer and shooting star strategy made -1,685.00 points on 992 trades on the 5-minute chart, -2,930.25 points on 348 trades on the 15-minute chart, 1,417.00 points on 124 trades on the 1-hour chart and -2,066.50 points on 17 trades on the daily chart, before commission and slippage.

Is it better to only buy or only sell hammer and shooting star signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made -1,002.25 points on 184 trades (38.6% won) and the short trades made -1,928.00 points on 164 trades (32.3% won), before commission and slippage.

How many trades does the hammer and shooting star strategy take on NQ in two years?

The hammer and shooting star strategy took 348 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 992 on the 5-minute chart, 124 on the 1-hour chart and 17 on the daily chart, before commission and slippage.

What is the max drawdown of the hammer and shooting star strategy on NQ?

The hammer and shooting star strategy had a max drawdown of 3,761.25 points ($75,225 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 2,411.75 points on the 5-minute chart, 640.25 points on the 1-hour chart and 3,037.00 points on the daily chart, before commission and slippage.

How does the hammer and shooting star strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the hammer and shooting star strategy took 357 trades, won 38.9% of them and made 52.25 points ($2,613 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the hammer and shooting star strategy took 348 trades, won 35.6% of them and made -2,930.25 points (-$58,605 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?