Maximizing Your Trading Strategy: How to Backtest a Single Instrument System on Multiple Tickers

Adrian Reid demonstrates how to apply a trading system developed for one ETF (QQQ/TQQQ) across multiple ETFs using Amibroker. He shows how to run individual backtests for each symbol in a watchlist (US sector ETFs), inspects detailed reports in the Report Explorer, and highlights results (best fit: XLK; notable performance on TQQQ/QQQ). He also recommends disabling per-symbol detailed reports after investigation because they are slow and produce many files.
Questions this video answers
19%
40% (drawdown of 40)
0.47 (quoted as 'car over MD is 0.47')
12–13% of the time
Over 148%
Chapters
Hey, Adrian here. And in this amibroker tutorial, I want to show you a really cool feature that you can use when you're developing single instrument trading systems. Trading systems that trade just one ticker. Most of my systems trade a whole portfolio of stocks simultaneously. But this week I've been working on a new mean reversion system to trade the QQQ etf. And I developed that system. At the end of the day, I'm really happy with it. And I wanted to know what other ETFs might that system work on? Where else could I deploy it? Because the results are pretty cool. Let me show you what I got so far. I developed this whole system on the qqq, and then I realized if I trade it on the tqqq, which is like the leveraged version of the queues.
The system generated much better profits. So I'm just going to show you the backtest report here and here's the compounding equity curve. So it's. Yeah, it's kind of nice. It's not the best system I've ever seen in the world, but for a mean reversion system on US Stocks, not too bad. The drawdown profile drawdown is a little high here, but again, it's a mean reversion system on an etf. I'm not expecting to shoot the lights out. I just, you know, want something that works and is stable over time. Had an annual return of 19%, drawdown of 40, which is a little high for comfort. But the car over MD is 0.47. Not sure if you can see that it's a little bit small. There it is, 0.47. So as part of a portfolio of systems, this is something that certainly has some potential. The interesting thing about it, if I can show you this again, is it's only invested 12% or 13% of the time and it makes 19% return. So the risk adjusted return is actually over 148%, which is really quite compelling, Right? Certainly compared to buy and hold. So that's what I developed for the tqqq. Now my question was, where else could I apply it? And what I want to do is show you a little trick in amibroker. So you can apply a single instrument system to many different tickers simultaneously and get all of the results at once. So what you want to do is, first of all, we're going to back test on a whole watch list. Now I'm going to backtest this. I've got this watch list called US sector ETFs. And there's nine of them in here. It's all the XL ETFs, so XLB, XLE, XLF and so on. And I'm going to backtest on all of those. And what you want to do is come into analysis settings, come down to report, and usually this is unticked. Generate detailed reports for each symbol in individual backtests. Slow. And the reason it says slow is because it is slow. It does take some time, but let's just tick it and then we see what happens. Now, instead of pressing back test, what you want to do is click the little drop down arrow and go individual backtest. And what that's going to do is test the system against each of those tickers one at a time because this is a single instrument system and it's going to produce the backtest reports for all of them individually. Now you can't just press the report button here, you've got to go to the report Explorer. So you click on that.
And what we're going to do is sort it from this is I've run 27,500 backtests since I've cleared this, if you can believe it. And you can see here, all of the.
Backtest reports for the different sector ETFs have been produced now. So from here up, what we can do is have a look at each of them individually. The best one is clearly xlk and that's because that's very similar to the qqq. And the equity curve looks pretty amazing. This is exactly one. Not exactly, but it's very close to the ETF that it was designed on. So I would expect that it works very well there. Absolutely. Compelling equity curve is great. The annual return is 9%, but the risk adjusted return is 61. Let me just zoom in so you can see that. There you go. And the car of MDD was 0.41. So that's okay. It's a good benchmark. Let's look at some of the others you'll see here. I'll just highlight them all again. Most of them are not that great. Right. The compound annual returns go from 3%, 1%, 2%. 0903, basically. 02. So most of them aren't very interesting, but this one XLB is potentially interesting. I'll just open that one up and let's look at the equity curve. Yeah, look, it's not great, but it's got some potential. And maybe if you could fine tune it to that particular instrument, you might be able make something of it. So what is the xlb. Let's just go to the chart xlb. It's the Material sector etf. Okay, so that is a quick hack to allow you to back test your single instrument systems over many different instruments simultaneously and get all of the performance reports. Now when you're done with this, my suggestion is you go back to your analysis window, go to the settings, go to the Report tab and uncheck this detailed Generate detailed reports for each symbol in backtest because it is slow and it does clog up your computer with lots of unnecessary reports if you don't need it. So if you're doing an exploit a investigation you want to find where else can I apply this system? What other instruments will it work on? That's a great way to do it. Doesn't require any extra code. So I hope this Aimee Broker tutorial has helped you. If you if you need help with amubroker Got any other questions? Comment below this video and if you're watching this in the members area, then ask any questions in the forum and I'll help you out. That's all for this video. Bye for now.
It.











