Strategy library · Popular combos

Stochastic with an EMA 50 trend filter backtest on NQ and ES futures

Stochastic with an EMA 50 trend filter

Also called: stochastic and 50 EMA strategy, stochastic trend filter, stochastic EMA 50, buy when the Stochastic %K crosses above %D below 20 while price is above the 50 EMA, short when the Stochastic %K crosses below %D above 80 while price is below the 50 EMA

What happens if you buy NQ every time the Stochastic %K crosses above %D below 20 while price is above the 50 EMA?

What it is

This is the stochastic (14, 3, 3) zone cross with a trend filter: longs only when price is above the EMA 50 and shorts only when it is below. It exits on the opposite zone cross.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the stochastic with an EMA 50 trend filter strategy took 39 trades on the 15-minute chart, won 46.2% of them and finished 492.25 points ($9,845 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 8 long trades on the 15-minute chart won 62.5% and made 175.25 points ($3,505 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the stochastic with an EMA 50 trend filter strategy took 42 trades on the 15-minute chart, won 50.0% of them and finished -152.50 points (-$7,625 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 stochastic with an EMA 50 trend filter 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; every trade is listed on this page.

See it tested with one change · $19

Tested by CE Market Solutions on 2026-10-26. Every trade is listed below. Gross, no commission or slippage. Last 2 years.

Results

Rule as tested: MO09, but longs only above EMA 50 and shorts only below it. Exit: Opposite zone cross.

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 minute17456.9%−2.240.945−389.25−$7,7851,643.2516354.6%0.801.108131.00$6,550190.75
5 minute · longs only6363.5%——183.25$3,6651,197.255962.7%——182.00$9,10085.25
5 minute · shorts only11153.2%——−572.50−$11,4501,264.5010450.0%——−51.00−$2,550186.00
15 minute3946.2%12.621.490492.25$9,845398.504250.0%−3.630.668−152.50−$7,625329.00
15 minute · longs only862.5%——175.25$3,50557.001428.6%——−270.25−$13,512295.75
15 minute · shorts only3141.9%——317.00$6,340405.502860.7%——117.75$5,88877.00
1 hour1050.0%−31.820.686−318.25−$6,365903.251136.4%−9.160.577−100.75−$5,037153.50
1 hour · longs only666.7%——543.25$10,86521.75450.0%——39.75$1,98824.25
1 hour · shorts only425.0%——−861.50−$17,230984.25728.6%——−140.50−$7,025186.75
Daily1100.0%1,794.00—1,794.00$35,8800.0010.0%−730.500.000−730.50−$36,525730.50
Daily · longs only0——————0——————
Daily · shorts only1100.0%——1,794.00$35,8800.0010.0%——−730.50−$36,525730.50

NQ 1 hour: small sample (10 trades). NQ Daily: small sample (1 trade). ES 1 hour: small sample (11 trades). ES Daily: small sample (1 trade).

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

ES 15 minute: the equity line

Stochastic with an EMA 50 trend filter, ES 15 minute, 2024-08-28 to 2026-08-27. Cumulative points after each trade; low −194.25, high 134.75, last −152.50.

Long and short

SideTradesNet pts
Long14−270.25
Short28117.75

By month

MonthTradesNet pts
2024-092−8.50
2024-10471.00
2024-111−1.00
2024-12411.00
2025-01116.00
2025-02226.00
2025-0317.00
2025-044−247.25
2025-06111.75
2025-0715.25
2025-084−51.75
2025-11226.50
2026-012−26.50
2026-021−4.50
2026-031−1.25
2026-042−3.75
2026-05310.75
2026-061−35.00
2026-07242.50
2026-083−0.75
Every trade, ES 15 minute42 trades

Pick any of the 42 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 (42), 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-08-27long15:157730.2515:597741.25end of day 15:5911.00
2026-08-21long15:007697.2515:597691.75end of day 15:59−5.50
2026-08-19long14:457737.5015:597731.25end of day 15:59−6.25
2026-07-16short11:157602.5014:457574.25opposite zone cross28.25
2026-07-07short14:307567.2515:597553.00end of day 15:5914.25
2026-06-26long15:307415.2515:597380.25end of day 15:59−35.00
2026-05-27short15:307539.2515:597540.00end of day 15:59−0.75
2026-05-15short14:307458.2515:597432.50end of day 15:5925.75
2026-05-01long15:157271.7515:597257.50end of day 15:59−14.25
2026-04-28short15:307170.2515:597171.50end of day 15:59−1.25
2026-04-17long15:457164.0015:597161.50end of day 15:59−2.50
2026-03-23long13:006632.7515:596631.50end of day 15:59−1.25
2026-02-26short15:156917.0015:596921.50end of day 15:59−4.50
2026-01-29short15:006962.2515:596989.75end of day 15:59−27.50
2026-01-02short15:306901.2515:596900.25end of day 15:591.00
2025-11-06short15:156777.0015:596750.00end of day 15:5927.00
2025-11-03short14:156884.7515:596885.25end of day 15:59−0.50
2025-08-20short14:156393.7515:596413.75end of day 15:59−20.00
2025-08-15short14:456479.2515:596471.50end of day 15:597.75
2025-08-13long11:456482.2515:456481.75opposite zone cross−0.50
2025-08-07long09:456406.5015:596367.50end of day 15:59−39.00
2025-07-04short11:156288.7512:596283.50early close5.25
2025-06-27long09:456211.0011:006222.75opposite zone cross11.75
2025-04-30short13:155519.7515:595584.00end of day 15:59−64.25
2025-04-10short15:155306.5015:595299.50end of day 15:597.00
2025-04-08long12:005220.7515:595017.50end of day 15:59−203.25
2025-04-02long15:305696.7515:595710.00end of day 15:5913.25
2025-03-25long14:155819.0015:595826.00end of day 15:597.00
2025-02-24short14:156036.2515:596002.25end of day 15:5934.00
2025-02-20short15:156129.2515:596137.25end of day 15:59−8.00
2025-01-10short14:155882.5015:595866.50end of day 15:5916.00
2024-12-30short13:305981.0015:595958.00end of day 15:5923.00
2024-12-27short15:156013.0015:596028.50end of day 15:59−15.50
2024-12-17short12:156131.0015:596127.75end of day 15:593.25
2024-12-13short15:156056.0015:596055.75end of day 15:590.25
2024-11-27short15:156014.7515:596015.75end of day 15:59−1.00
2024-10-30short11:155870.5015:595853.00end of day 15:5917.50
2024-10-10short12:455830.2515:595828.75end of day 15:591.50
2024-10-07short09:455779.5015:155745.00opposite zone cross34.50
2024-10-01short15:005778.0015:595760.50end of day 15:5917.50
2024-09-26short15:455800.2515:595803.00end of day 15:59−2.75
2024-09-04long14:305533.7515:595528.00end of day 15:59−5.75

Page 1 of 1

The other trades quoted above

Every trade, NQ 15 minute39 trades

Newest first. Times are New York time; points are gross.

Session dateSideEntry (ET)Entry priceExit (ET)Exit priceExit reasonPoints
2026-10-07short12:3031331.5015:5931396.00end of day 15:59−64.50
2026-10-02long14:1531050.2515:5931070.00end of day 15:5919.75
2026-09-01short12:1529232.7515:0029075.50opposite zone cross157.25
2026-08-24short13:0029171.2515:5929099.50end of day 15:5971.75
2026-07-31short14:1528402.7515:5928402.75end of day 15:590.00
2026-07-07short14:3029517.5015:5929394.50end of day 15:59123.00
2026-06-23short10:4529885.0015:1529673.25opposite zone cross211.75
2026-05-27short15:1530041.2515:5930047.25end of day 15:59−6.00
2026-04-29short11:1527230.5015:5927337.25end of day 15:59−106.75
2026-03-23long13:0024369.0015:5924398.75end of day 15:5929.75
2026-02-27short11:3024969.0015:5924998.25end of day 15:59−29.25
2026-02-26short15:1525037.0015:5925083.25end of day 15:59−46.25
2026-02-04short15:4525064.7515:5924994.50end of day 15:5970.25
2026-01-29short14:4525857.0015:5925991.50end of day 15:59−134.50
2026-01-05long15:1525600.0015:5925586.75end of day 15:59−13.25
2025-11-18short14:0024712.0015:5924585.00end of day 15:59127.00
2025-11-10long12:0025521.2514:0025647.25opposite zone cross126.00
2025-11-06short15:1525391.7515:5925258.25end of day 15:59133.50
2025-10-21short13:0025285.7515:5925291.25end of day 15:59−5.50
2025-09-25short11:3024598.5015:5924632.25end of day 15:59−33.75
2025-09-16short15:3024299.7515:5924286.00end of day 15:5913.75
2025-09-05short15:4523664.5015:5923691.00end of day 15:59−26.50
2025-08-25long15:3023552.5015:5923495.50end of day 15:59−57.00
2025-08-20short14:1523224.7515:5923324.75end of day 15:59−100.00
2025-07-22short15:3023238.7515:5923221.25end of day 15:5917.50
2025-06-27long09:4522732.7512:3022796.75opposite zone cross64.00
2025-04-30short12:3019386.0015:5919642.50end of day 15:59−256.50
2025-04-10short15:1518486.7515:5918483.00end of day 15:593.75
2025-03-04short13:3020379.2515:5920397.50end of day 15:59−18.25
2025-02-24short14:1521602.7515:5921421.00end of day 15:59181.75
2025-02-20short15:0022116.5015:5922144.75end of day 15:59−28.25
2025-02-19short12:3022219.7515:5922247.00end of day 15:59−27.25
2025-01-10short14:1521072.7515:5921015.50end of day 15:5957.25
2025-01-06long15:3021727.0015:5921750.50end of day 15:5923.50
2024-12-27short14:4521685.5015:5921703.00end of day 15:59−17.50
2024-12-12short13:4521708.0015:5921643.25end of day 15:5964.75
2024-11-27short15:0020804.2515:5920816.25end of day 15:59−12.00
2024-11-12short15:1521181.5015:5921185.00end of day 15:59−3.50
2024-11-01long14:4520164.5015:5920147.00end of day 15:59−17.50

Questions and answers

What happens if you buy NQ every time the Stochastic %K crosses above %D below 20 while price is above the 50 EMA?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the stochastic with an EMA 50 trend filter strategy took 8 long trades, won 62.5% of them and made 175.25 points ($3,505 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made 183.25 points on 63 trades on the 5-minute chart, 543.25 points on 6 trades on the 1-hour chart and 0.00 points on 0 trades on the daily chart, before commission and slippage.

What happens if you short ES every time the Stochastic %K crosses below %D above 80 while price is below the 50 EMA?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the stochastic with an EMA 50 trend filter strategy took 28 short trades, won 60.7% of them and made 117.75 points ($5,888 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made -51.00 points on 104 trades on the 5-minute chart, -140.50 points on 7 trades on the 1-hour chart and -730.50 points on 1 trade on the daily chart, before commission and slippage.

Does the stochastic with an EMA 50 trend filter strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the stochastic with an EMA 50 trend filter strategy on the 15-minute chart took 39 trades, won 46.2% of them and finished 492.25 points ($9,845 on one NQ contract), before commission and slippage.

What is the win rate of Stochastic with an EMA 50 trend filter on ES futures?

The stochastic with an EMA 50 trend filter strategy won 50.0% of its 42 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 54.6% of 163 trades on the 5-minute chart, 36.4% of 11 trades on the 1-hour chart and 0.0% of 1 trade on the daily chart, before commission and slippage.

Is the stochastic with an EMA 50 trend filter 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 stochastic with an EMA 50 trend filter strategy made -389.25 points on 174 trades on the 5-minute chart, 492.25 points on 39 trades on the 15-minute chart, -318.25 points on 10 trades on the 1-hour chart and 1,794.00 points on 1 trade on the daily chart, before commission and slippage.

Is it better to only buy or only sell stochastic with an EMA 50 trend filter signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made 175.25 points on 8 trades (62.5% won) and the short trades made 317.00 points on 31 trades (41.9% won), before commission and slippage.

How many trades does the stochastic with an EMA 50 trend filter strategy take on NQ in two years?

The stochastic with an EMA 50 trend filter strategy took 39 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 174 on the 5-minute chart, 10 on the 1-hour chart and 1 on the daily chart, before commission and slippage.

What is the max drawdown of the stochastic with an EMA 50 trend filter strategy on NQ?

The stochastic with an EMA 50 trend filter strategy had a max drawdown of 398.50 points ($7,970 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 1,643.25 points on the 5-minute chart, 903.25 points on the 1-hour chart and 0.00 points on the daily chart, before commission and slippage.

How does the stochastic with an EMA 50 trend filter strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the stochastic with an EMA 50 trend filter strategy took 42 trades, won 50.0% of them and made -152.50 points (-$7,625 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the stochastic with an EMA 50 trend filter strategy took 39 trades, won 46.2% of them and made 492.25 points ($9,845 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?