r/algotrading • • 4d ago

Strategy Making real progress

I am running a test on market replay, I have done various covering 5 years. I am shadow trading several configurations. So far so good for this test. Two evals passed, good WR and drawdown. The PF is holding steady for most configurations.

35 Upvotes

11 comments sorted by

2

u/acowasacowshouldbe 4d ago

Can i ask what data have you used to develop your strategy? Im usjng NQ CME unadjusted data from 2008 to present 

1

u/nightstalker8900 4d ago

NQ contracts stitched together to form a large data set. I collected bits and pieces and wrote a python script to combine them. I also have MNQ data. I am testing with 4 MNQ contracts. The data has been validated.

1

u/blu_mOOn_2020 4d ago

W eval accounts, it's so easy to had a few bad days and the drawline limit is breached. And im talking about with just 1 mnq contract. If you are able to actually pass it that's awesome. And if you can do it with 1+ contracts that's incredible

1

u/nightstalker8900 4d ago

Yea i have several contract sizes running in the background as shadow trades. The strategy stops trading for the day if it loses 800. I think I will test it on a real eval next week.

1

u/h4ppyturt1e 2d ago

have you factored in slippage and costs tho those 10/8 tick trails fill way better in replay than live

u have 122 trades to pass those evals, with 4mnq and 1 tick slippage per side it roughs out to 1.5k in costs

1

u/nightstalker8900 2d ago

fair point. replay had zero commission and the shadows only had 1 tick/side. I reran it with $1.50/ct commission + another tick each side: the main account goes from +28.4k to +19.8k and PF 1.26 to 1.18, so the high trade count version gets hit hard. the lower frequency version (316 trades, 50pt stop, 40pt trail) holds up a lot better, 26.5k to 23.4k, PF 1.58 to 1.50. also the 10/8 trail is points not ticks, so 1 tick is ~3% of it, but yeah fast candles slip more than that live. This is from one market replay run in NT8, MNQ, sep 14 to nov 20, 4 micros. the strat runs a bunch of paper "shadow" versions next to the real trades (different exits, entries etc) and each one has its own lucid 50k eval sim so I can see pass/fail, not just P&L. shadow fills are idealized so take them with a grain of salt

best ones:

| version | trades | win% | PF | net | max DD | evals pass/fail |

|---|---|---|---|---|---|---|

| same entries, 50pt stop, trail 40 once up 40 | 316 | 64 | 1.58 | +26.5k | 3.3k | 8/0 |

| combo (what the real acct ran) | 909 | 75 | 1.23 | +26.4k | 7.2k | 13/11 |

| same entries, 50pt stop, trail 50 after +50 | 245 | 58 | 1.59 | +23.9k | 6.5k | 7/2 |

| 5m 9ema tap, 2 candle bodies 100+ pts | 343 | 76 | 1.34 | +21.8k | 5.4k | 8/4 |

| original setup, its own exits | 302 | 78 | 1.38 | +11.3k | 5.4k | 5/2 |

real account did +28.4k on 858 trades, 70% wins, PF 1.26, but with a 6.5k drawdown

biggest thing I noticed is the run basically split in half. sep to mid oct it was great (83% wins, PF 2.5, barely any drawdown). Then late oct/nov the 5 min candles went from like 20 pts to 50 and everything started overtrading and win rate dropped to the 60s. All my levels are fixed points so a fast market just triggers way more. Working on scaling stuff to volatility now

-6

u/LionWorried1101 4d ago

You are using an AI just to visualise lines on website? I'm really worried about your ability as a programmer. This sub reddit has a anti ai stance and it must be respected.

3

u/nightstalker8900 4d ago

The strategies that I am testing have nothing to do with any of the lines on the chart. It has 0 input or output to AI. The only AI used in this was in the planning and data management. I backtest locally on my PC. So no AI.

1

u/alpha_or_corruption 4d ago

It takes one to know one bro 🤣🤣