Backtesting Simplified - A Clear Step-by-Step Approach
0:11
大家好嗎?在這個視頻中,我們將討論如何進行回測。
How's it going everyone? In this video we are going to cover how to backtest.
0:15
在我看來,許多人過早地進行回測,得到相當糟糕的結果,然後放棄這個想法,說這對他們不起作用。
Now many people run to backtesting too early in my opinion and get pretty poor results and then give up on the idea saying it doesn't work for them.
0:23
但讓我們在這個視頻中討論我認為回測策略或模型的最佳方法。
But let's go over in this video what I find to be the best way to backtest a strategy or a model.
0:29
如我所說,最大的錯誤是人們過早地進行回測。他們太心急了。他們想要所有的統計數據。
Now, like I said, the biggest mistake is people run to back testing too early. They get ahead of themselves. They want all the statistics.
0:36
他們想要勝率。他們想要風險與回報。他們想要總利潤。他們想要看到所有這些東西。
They want the win rate. They want their risk to reward. They want the total profit. They want to see all those things.
0:41
現在,最大的问题是他们实际上还不理解模型。因此,这些是我们将要经过的步骤,以确保您确实了解模型。
Now, the biggest problem is they don't actually understand the model yet. So these are the steps we're going to go through to make sure that you do know the model.
0:48
然後你會有一個實際值得你花時間的回測會議。所以第一步,我們將學習一個模型。
And then you have a backtesting session that's actually worth your while and worth your time. So step one, we're going to learn a model.
0:56
第二步,我們將對模型進行逆向工程。然後第三步,我們將對模型進行回測。那麼第一步是什麼樣的呢?
Step two, we're going to reverse engineer the model. And then step three, we're going to backtest the model. So what does step one look like?
1:03
首先,你必須實際擁有一個模型。
Well, the first thing you're going to have to do is actually have a model.
1:06
如果你沒有框架,你怎麼能實際回測並收集有意義的數據呢?如果你不遵循一個有可重複規則的策略或系統?
If you don't have a framework, how are you going to actually backtest and gather data that is meaningful if you're not following a strategy or a system with repeatable rules?
1:15
所以你需要找到一個你可以遵循的模型。現在這部分的第二步是實際理解這個模型。
So you're going to want to find one model that you can follow. Now part two in this is actually understanding that model.
1:21
在模型中是否有你不知道的某些概念,你需要學習?然後一旦你學會了所有這些,你知道如何將它們組合在一起嗎?
Are there certain concepts that you don't know within the model that you're going to have to learn? And then once you learn all of those, do you know how to put them all together?
1:29
你必須理解你將要回測的模型的框架。
You have to understand the framework of the model that you're going to back test.
1:32
在學習模型並跳入回測之前,我們需要進行逆向工程。那麼這看起來是什麼樣的呢?
Now before just learning the model and jumping into back test, we need to reverse engineer. Now what does that look like?
1:39
好吧,我們將打開交易視圖,然後如果我們是日內交易者,就轉到日線圖。
Well we're going to go ahead and open up trading view and then go to the daily chart if we're an intraday trader.
1:44
在這些例子中,我們將專注於擴張,因為這是我喜歡交易的。
Now in these examples we're going to focus on expansion as that is what I prefer to trade.
1:49
所以在日線圖上,我會找到一個乾淨的擴張日,
So on the daily chart I'll find a clean expansion day,
1:53
但如果你交易整合或其他價格階段,
but if you trade consolidation or some other phase of price look
1:56
尋找你想要交易的日子,現在對我來說,我將
for a day that you would want to trade now for me i'm going
1:59
問自己為什麼這是一個擴張日,這是如何發生的,
to ask myself why was this an expansion day how did
2:02
我得到那種偏見,波動在哪裡,我想問自己
i get that bias where did the swing form i want to ask myself
2:05
問題,這將使我了解為什麼我們有
questions that's going to allow me to learn why we had
2:08
擴張日,在我識別出來之後,我將轉到
an expansion day after i've identified that i'll go to
2:12
較低的時間框架或日內圖,我是否有這個較高時間框架偏見的確認,最高或最低在哪裡,
the lower time frame or an intraday chart do i have a confirmation of this higher time frame bias where was the high or lower
2:18
一天形成的時間,日常輪廓是什麼樣的,然後我想找到一個我希望在當天交易的興趣點。
a day formed, what time, what does the daily profile look like, and then I want to find a point of interest that I'm looking to trade out of on that current day.
2:26
然後我會進入該關注點的進入時間框架,並進行細化。價格是否給我提供了進入點?
Then I'm going to go to the entry time frame in that point of interest, and I'm going to refine it down. Did price offer me an entry?
2:33
我可以把止損放在哪裡?我可以在哪裡獲利?管理這一切的最佳方式是什麼?我會把這些都記錄下來。
Where could I put my stop? Where could I take profit? And what was the best way to manage it? And I'm going to journal all of that.
2:39
所以基本上,我只是回顧交易視圖,找到一個運作良好的例子,然後我會研究它。
So essentially, I'm just going into trading view in hindsight, finding an example that worked really well, and then I'm going to study it.
2:47
然後在大量的例子中這樣做,你會真正理解在實際回測你的系統時你想要看到的內容。
And then do that over a large number of examples, and you're going to really understand exactly what you want to see when you go ahead and actually backtest your system.
2:57
所以現在我們已經完成了模型的學習和逆向工程,這時我會進入回測軟件或Tradesella,開始實際回測模型。
So now that we have done both the learning of the model and reverse engineering of the model, that is when I will go into a backtesting software, or Tradesella, and start to actually backtest the model.
3:07
現在這是我將使用在第二步中學到的逆向工程,並按照我想要的方式進行交易。
Now this is where I'm going to use what I learned in step two in reverse engineering and take trades exactly how I want to see them look.
3:15
所以我將重複這個過程,最終在
So I'm going to repeat that process over and over, and eventually after
3:18
我擁有更大的一系列數據點或更多的交易後,我可以根據這些信息調整我的策略,並獲得可以應用於真實市場的實踐。
I have a larger series of data points or a larger number of trades, then I can make adjustments to my strategy based off that information and get practice that I can apply to the real market.
3:30
那麼說了這麼多,我們就來練習每一個。我們將跳過一個,因為我已經有一個關於我的操作手冊的視頻,我將專注於分形模型及其變體。
And with all of that said, let's go ahead and practice each one. We're going to skip one as I already have a video on my playbook, and I'm going to be focused on the fractal model and variations of it.
3:40
所以我們將開始第二步,反向工程TradingView中的模型,然後我們將進入第三步,討論幾個如何在TradeZella中進行回測的例子。
So we'll go ahead and start in step two, where we're going to reverse engineer the model in TradingView, and then we'll do step three and go over a few examples of how to backtest in TradeZella.
3:51
那麼我們就進入TradingView吧。這裡是TradingView,我們將討論如何反向工程一個模型。
So let's go ahead and jump into TradingView. So here we are in trading view and we are going to go over how to reverse engineer a model.
4:00
在這裡,我需要你理解,這不是你在測試自己是否能捕捉到一個交易,對吧?
And with this, I need you to understand this isn't you trying to test yourself whether you can catch a trade or not, right?
4:06
這只是找到一個價格做了你想要的事情的例子,然後找到你可以進入的地方。
It's just finding an example where price did what you wanted it to and then finding where you could get an entry into that.
4:13
那麼我們來看看這個。我只是要查看之前的價格走勢。其實不太重要在哪裡。專注於你會交易的資產。
So let's go over this. I'm just going to look in previous price action. It doesn't really matter where. Focus on an asset that you would trade.
4:20
所以這裡我在標普500上,我要找到一個不錯的擴張。看看這裡,我們有一個擴張,對吧?
So here I'm on the S&P and I'm going to find a nice expansion. So just taking a look here, we have an expansion, right?
4:26
所以我將重播到那裡。就像我說的,我不是在測試自己。我能在這裡進行交易嗎,對吧?
So I'm going to replay to it. And like I said, I'm not trying to test myself. Can I get a trade in here, right?
4:32
我只是用這個來學習和研究那些成功的交易。
I'm just using this to learn and study trades that did work out.
4:36
我們試圖找到在擴張日中成功的交易,因為這是我專注的重點。
We're trying to find trades that worked out in expansion days since that's what I'm focused on.
4:41
所以我不會在這裡重播並測試自己是否能找到一個交易。我將讓那一天發展。
So I'm not going to replay to right here and test myself on whether or not I can find a trade in there. I'm going to let that day play out.
4:47
讓擴張已經發生。我將找到我可以在這裡進行交易的地方。
Let the expansion have already occurred. and I'm going to find where I could get a trade in this.
4:52
所以這裡我在日線圖上,第一步,為什麼價格在這一天擴張?這是我需要弄清楚的目標。
So here I am on the daily chart, step one, why did price expand this day? That's my goal to figure out.
4:58
所以看看,我們有擴張。我看到了一個整合。
So taking a look, we have expansion. I see a consolidation.
처음 5분까지만 무료로 볼 수 있어요. 이어서 보려면 앱이나 확장 프로그램을 설치하세요.
다운로드다른 언어로 요청하기





