YouTube2Text

Forex Strategy Testing (easy backtesting for beginners) — Transcript

by The Trading Channel (The Trading Channel) · 6,468 words · 1,036 segments · language en · Watch on YouTube

Full transcript

  1. 0:00if you are just starting your trading
  2. 0:02career as a beginner or
  3. 0:03if you are not consistently profitable
  4. 0:06yet
  5. 0:07then this video will be the most
  6. 0:09important video
  7. 0:10you see all year in this video i'm going
  8. 0:13to teach you
  9. 0:13everything you need to know in order to
  10. 0:15properly back test a trading strategy
  11. 0:17and before you write off back testing
  12. 0:19like it's something that's unnecessary
  13. 0:21let me explain this to you right now i
  14. 0:23have almost a decade of trading under my
  15. 0:25belt and
  16. 0:26i would contribute 85 of the success i
  17. 0:30have
  18. 0:30to understanding how to properly back
  19. 0:33test without this skill and without
  20. 0:35knowing how to do this there is no way i
  21. 0:36would be sitting here talking to you
  22. 0:38today
  23. 0:38on this video and there's no way i'd be
  24. 0:40a professional trader and the reason for
  25. 0:42that is because the very first step
  26. 0:45to becoming a profitable trader is
  27. 0:48having a strategy
  28. 0:49that gives you profits consistently over
  29. 0:52a large
  30. 0:53sample size notice i said large sample
  31. 0:56size
  32. 0:56not over every single day i'm not
  33. 0:58talking about having a strategy that
  34. 1:00makes you money by the end of every day
  35. 1:02as much as all of us wish that was the
  36. 1:04case it's normally not
  37. 1:05something that can be produced what we
  38. 1:07can produce though
  39. 1:09is an advantage over a large sample size
  40. 1:11to give us consistent profits
  41. 1:12over a long period of time something
  42. 1:14like 100 trades
  43. 1:16there is no way to be a profitable
  44. 1:18trader without that
  45. 1:19and how do you determine whether or not
  46. 1:22a strategy
  47. 1:23can produce a profitable edge in the
  48. 1:26markets
  49. 1:27the process of doing that is called back
  50. 1:29testing that's exactly what you're going
  51. 1:30to learn
  52. 1:31after the intro and disclaimer we're
  53. 1:32going to start off with what is back
  54. 1:34testing
  55. 1:35and then i'm going to teach you a
  56. 1:36strategy that is proven over the last
  57. 1:38100 trades
  58. 1:39to give an edge of a 60 winning
  59. 1:41percentage at a one-to-one risk reward
  60. 1:44after teaching you that strategy i'm
  61. 1:45going to go through the process of back
  62. 1:46testing it with you
  63. 1:48and teach you how to back test properly
  64. 1:50throughout that process
  65. 1:51and throughout the rest of the video to
  66. 1:53make sure that by the end of this video
  67. 1:55you have everything you need
  68. 1:56in order to know how to back test your
  69. 1:58own trading strategy
  70. 2:00and complete that first step to a
  71. 2:02profitable trading career so if that
  72. 2:04sounds good make sure you're subscribed
  73. 2:05by clicking that button down below the
  74. 2:06video
  75. 2:07to the right hand side make sure you
  76. 2:09click that like button for me to help
  77. 2:10out with the youtube algorithm
  78. 2:11and if you want some extra content
  79. 2:13follow us over on instagram
  80. 2:14at the trading channel and i'll be right
  81. 2:16back to teach you everything you need to
  82. 2:17know
  83. 2:18in order to back test a trading strategy
  84. 2:22[Music]
  85. 2:32welcome back traders let's go ahead and
  86. 2:33get started with today's video and
  87. 2:35before we dive into
  88. 2:36what is back testing let's take a look
  89. 2:38at what i call the triangle to trading
  90. 2:39success you see
  91. 2:41any trader that accomplishes each of
  92. 2:44these that masters each of these three
  93. 2:46skills
  94. 2:46inevitably will be a profitable trader
  95. 2:48there's no way around
  96. 2:50it but without them it's like having a
  97. 2:53car with no gas you could have a
  98. 2:54lamborghini
  99. 2:56of a strategy but if you're missing risk
  100. 2:58management or you're missing discipline
  101. 3:00that car won't go anywhere that's like
  102. 3:01the gas for the lamborghini you could
  103. 3:03have
  104. 3:03awesome risk management but if you don't
  105. 3:05have a strategy that produces
  106. 3:07a consistent profitable edge over the
  107. 3:09markets you're not going to go anywhere
  108. 3:10and you could have
  109. 3:12extremely good discipline and you could
  110. 3:14discipline yourself right into an empty
  111. 3:16bank account if you have
  112. 3:17poor strategy that doesn't give an edge
  113. 3:19or a poor risk management plan
  114. 3:21so you need all three of these and what
  115. 3:22we're doing today is accomplishing
  116. 3:24the first one what i'm gonna do today
  117. 3:26and right after i get done telling you
  118. 3:28what back testing is
  119. 3:29is teach you a strategy that over the
  120. 3:32past 100 trades has produced a 60
  121. 3:34winning percentage and at a one-to-one
  122. 3:37risk reward
  123. 3:38and that's been over the past 100 trades
  124. 3:40again because we're not looking at
  125. 3:42super small sample sizes we want to see
  126. 3:44what a strategy is produced
  127. 3:45over a long period of time so what is
  128. 3:48back testing back testing is nothing
  129. 3:51more than going through historic data
  130. 3:53and looking for every situation that
  131. 3:55meets the rules of your strategy in case
  132. 3:57you didn't know this
  133. 3:58strategy or your edge over the market is
  134. 4:00nothing more
  135. 4:01than rules that you have to abide by
  136. 4:04every time you place a trade
  137. 4:06you create this rule set using
  138. 4:08conditions entry reason stops and
  139. 4:10targets
  140. 4:10and then you go through historical data
  141. 4:12looking at every situation that meets
  142. 4:14those rules
  143. 4:15to determine how that strategy
  144. 4:18performs over long periods of times over
  145. 4:21long periods of time
  146. 4:22for example on the pound swiss like i
  147. 4:25just told you
  148. 4:26i tested 100 instances where the market
  149. 4:29met every one of my rules
  150. 4:31and i did this 100 times per pair
  151. 4:34per time frame so i was on the pound
  152. 4:36swiss one hour chart
  153. 4:38if i wanted to trade the same exact
  154. 4:39strategy on the four hour chart on the
  155. 4:42pound swiss i would need to test
  156. 4:43100 trades on the pound swiss for our
  157. 4:46chart if i wanted to trade the strategy
  158. 4:48on the euro dollar then i would need to
  159. 4:50test 100 trades
  160. 4:51on the euro dollar on whatever time
  161. 4:53frame i wanted to trade it on so
  162. 4:56in back testing you want to make sure
  163. 4:58you have a large enough sample size
  164. 4:59to see multiple market conditions and if
  165. 5:02your strategy
  166. 5:03that you're trading right now if you
  167. 5:04don't know what it's done over the past
  168. 5:06100 trades that happened
  169. 5:07using that strategy you should not be
  170. 5:09trading it because there is a
  171. 5:11high likelihood that it lost money over
  172. 5:13those past 100 trades and even if
  173. 5:14there's not a high likelihood it did
  174. 5:16that
  175. 5:16you won't be able to be disciplined to
  176. 5:18that strategy unless you've seen it
  177. 5:20go through drawdowns during bad times
  178. 5:23multiple reasons two pack tests we won't
  179. 5:24get into that yet like i said
  180. 5:26back testing is the process of going
  181. 5:28through historical data
  182. 5:30and testing the rules of your strategy
  183. 5:32every time they happen
  184. 5:34so for the rules of the pound swiss
  185. 5:36strategy
  186. 5:37that we are going to take a look at the
  187. 5:39rules for this strategy consist
  188. 5:41of two very simple conditions
  189. 5:44the only two conditions that this market
  190. 5:46or this strategy is using
  191. 5:49is a cross of the 20 period
  192. 5:52exponential moving average followed by
  193. 5:55a close below candle for a bearish trade
  194. 5:57or a close above candle
  195. 5:59for a bullish trade that is the only
  196. 6:01conditions i will go through a couple of
  197. 6:03examples of these
  198. 6:04not back testing yet i'm going to back
  199. 6:05test with you in just a second but
  200. 6:07just to give you a couple of examples
  201. 6:08here's a losing trade why is it a losing
  202. 6:10trade
  203. 6:10and why did i place this trade in my bag
  204. 6:12testing because
  205. 6:14we have a close below the 20 period x
  206. 6:16mental moving average followed by
  207. 6:18a close below candle so all a close
  208. 6:20below candle is
  209. 6:21to give you an idea of this entry reason
  210. 6:23is a candle that closes below
  211. 6:26the low of the previous candle as you
  212. 6:28can see close of this candle is right
  213. 6:30down here at the bottom of the body
  214. 6:31and we do in fact close below the low of
  215. 6:34the previous candle
  216. 6:35the wick of the previous candle for a
  217. 6:37bullish entry
  218. 6:39what do i need to see i need to see
  219. 6:40across above
  220. 6:42the 20 period moving average as you can
  221. 6:44see we were below
  222. 6:46the 20 ema right here we then cross
  223. 6:49above
  224. 6:50the 20 ema with this candle after
  225. 6:52crossing above this candle i need to see
  226. 6:53a candle that closes
  227. 6:55above the high of the previous candle it
  228. 6:58needs to happen immediately
  229. 7:00after the close above or below of the 20
  230. 7:02ema for example
  231. 7:04this would not have been a trade reason
  232. 7:06being we have a close above
  233. 7:08our 20 ema the orange line on the screen
  234. 7:11but we do not have
  235. 7:12a close above the high of this candle
  236. 7:14afterwards the close above the high of
  237. 7:16this candle
  238. 7:17needs to be immediately after the close
  239. 7:20above the orange
  240. 7:2120 ema and let's go look at one more
  241. 7:25example and then i'll start
  242. 7:26teaching you a little more about back
  243. 7:28testing and a little less about the
  244. 7:29strategy
  245. 7:30i'll also share stops and targets with
  246. 7:31you so here
  247. 7:33again we have a situation where this
  248. 7:36market
  249. 7:37did we cross the 20 ema did we close
  250. 7:39above it yes
  251. 7:40immediately after we got a close above
  252. 7:42this is the bullish version
  253. 7:44immediately after we got to close above
  254. 7:45the 20 ema did we then get a candle
  255. 7:48that closed higher than the high
  256. 7:51of the previous candle that answers yes
  257. 7:54too
  258. 7:55so in this specific case we have a valid
  259. 7:57entry after our entry
  260. 7:59i used an atr plus 5 stop loss
  261. 8:02atr indicator have a full video on it
  262. 8:04i'll put it to the top right hand side
  263. 8:05of the screen
  264. 8:06it's just an indicator that gives you
  265. 8:07the average of the last 14 candles that
  266. 8:09were printed on the chart to help out
  267. 8:10with volatility in the market
  268. 8:12when you're using a stop loss that keeps
  269. 8:13you from being whipsawed out because the
  270. 8:15market goes super volatile at once
  271. 8:17all right so atr plus 5 on that candle
  272. 8:19would be 17 plus 5 which is 22
  273. 8:23and i'm using a 1.4 to one risk reward
  274. 8:26so we got 22 on our stop 1.4 up here
  275. 8:29and the stops and targets are as you can
  276. 8:31see this one actually hit targets which
  277. 8:32is why you see the green
  278. 8:34line on my screen so in this case
  279. 8:38that is the entire strategy it's one of
  280. 8:40the most simple strategies i've ever
  281. 8:41tested
  282. 8:42and produced some really good results as
  283. 8:44you can see once i zoom out
  284. 8:46here on the chart your red lines let me
  285. 8:49make sure you can actually see that
  286. 8:50the red lines are losses the green lines
  287. 8:52are winds as you can see
  288. 8:54going through a long period of time
  289. 8:56blues are wins and orange or losses over
  290. 8:57here as well
  291. 8:58i just started trading it and testing it
  292. 9:00a little bit differently i optimized the
  293. 9:01strategy
  294. 9:02which i'll do a video on next which i'll
  295. 9:05do a video on next but right now just
  296. 9:07pay attention to red and green
  297. 9:08being wins and losses as you can see
  298. 9:10there's periods of time
  299. 9:12where we have four losses in a row
  300. 9:16so as i said earlier it's not like
  301. 9:17you're winning every single trade but if
  302. 9:19out of
  303. 9:20100 trades i can win 60 of them
  304. 9:23and in this specific case on the one
  305. 9:25hour chart this was from
  306. 9:27the beginning of 2020 to now so let's
  307. 9:29call it six months
  308. 9:30so in six months this produced
  309. 9:34again a 60 chance to win so all we do is
  310. 9:37get our 60
  311. 9:39subtract the 40 losses from the 60 wins
  312. 9:41we have 20. that means
  313. 9:43if with a one percent risk on your
  314. 9:45account over the last six months this
  315. 9:47would have produced a 20
  316. 9:48gain on that account imagine if you were
  317. 9:51a little more
  318. 9:53a little more risk tolerant and wanted
  319. 9:55to risk two percent per trade
  320. 9:57that means in the past six months on the
  321. 9:58pound swiss one hour chart
  322. 10:00and of course you can't get every one of
  323. 10:02these trades that's another important
  324. 10:03part of back testing we'll talk about in
  325. 10:04a second
  326. 10:05i'm just showing you how profitable
  327. 10:07something as good
  328. 10:08as 60 accurate with a one to one risk
  329. 10:10reward can actually be
  330. 10:12we have forty percent gain with a two
  331. 10:14percent risk on this one pair
  332. 10:16now what if you had five pairs you
  333. 10:17traded this with and they all produced
  334. 10:19similar results every six months 200
  335. 10:23gain with a 2
  336. 10:24risk it's insane how quickly things can
  337. 10:27grow when you start adding currency
  338. 10:29pairs
  339. 10:30to something this accurate so with this
  340. 10:32being the case that is going to be the
  341. 10:34strategy that we are going to test
  342. 10:35and we actually had a live trade using
  343. 10:38this that i forgot to record which
  344. 10:39really sucks
  345. 10:40right here yesterday so yesterday we had
  346. 10:43cross below the 20 ema followed by a
  347. 10:46close below candle again close below
  348. 10:48candle just means
  349. 10:49a candle that closes below the low of
  350. 10:51the previous candle
  351. 10:52hopefully now you have an idea of the
  352. 10:54strategy again stops
  353. 10:56our one atr plus five in this case the
  354. 10:59atr
  355. 11:00was right at 20 so i did a 25 pip stop
  356. 11:02loss and we had
  357. 11:03a 1.4 to one risk reward so now you have
  358. 11:06everything you need to know
  359. 11:07about this strategy for you to go and
  360. 11:09test it yourself let's do a few examples
  361. 11:11let's actually test
  362. 11:12a few trades and i'll do it with you
  363. 11:14also i'll show you how you can
  364. 11:16record those trades again in back
  365. 11:18testing we're looking through historic
  366. 11:20data
  367. 11:20and we need to document every single
  368. 11:22time something happens i do that
  369. 11:24with green and red vertical lines on my
  370. 11:26screen the reason i do it with green and
  371. 11:27red vertical lines
  372. 11:28is because it makes it really easy when
  373. 11:30i'm plugging things into a spreadsheet
  374. 11:32to look right down here and go okay this
  375. 11:33trade happened
  376. 11:35on the 3rd of july in 2020. that makes
  377. 11:38it extremely simple
  378. 11:39for me to put into a spreadsheet and
  379. 11:41then i can mark it as a win or a loss
  380. 11:43after recording the trades on my chart i
  381. 11:46transfer them to a spreadsheet you can
  382. 11:47use a pad and a pen
  383. 11:48but they need to be documented results
  384. 11:50because you are documenting these
  385. 11:52results in order to see
  386. 11:53if over a long period of time this
  387. 11:55strategy has produced a profit and if it
  388. 11:57hasn't
  389. 11:57why would you trade it now you want to
  390. 11:59make sure it's produced a profit
  391. 12:00over a long period of time that way you
  392. 12:02have a good idea to
  393. 12:04what you can expect in the future again
  394. 12:07nothing is set in stone it's not like
  395. 12:09this means that every 100 trades this is
  396. 12:11going to hit
  397. 12:1260 but from my experience it's pretty
  398. 12:14accurate once you've tested 100 trades
  399. 12:16on what the next 100 will do so that
  400. 12:19being the case let's go through
  401. 12:20and back test a little bit of this
  402. 12:22together so i can explain a little bit
  403. 12:24further about how to back test a trading
  404. 12:26strategy
  405. 12:27all right let's go ahead and dive into
  406. 12:28back testing the strategy what is the
  407. 12:30first step to back testing
  408. 12:32always going to be it will always be to
  409. 12:35have a set of rules or
  410. 12:37a strategy that you can go through and
  411. 12:40test and these rules
  412. 12:41need to be as objective as possible for
  413. 12:43instance i'll put the rules of this
  414. 12:44strategy on the screen somewhere
  415. 12:46this strategy is extremely objective
  416. 12:48there's no way to get it wrong
  417. 12:49we're waiting on let's call it a bullish
  418. 12:51version of the strategy the bullish
  419. 12:53version of this strategy is a green
  420. 12:54candle that closes above
  421. 12:56the 20 ema immediately followed by
  422. 12:59another green candle that closes above
  423. 13:01the high of that green candle that
  424. 13:03closed above the 20 ema
  425. 13:05that's your entry it's as easy and
  426. 13:07simple and objective as possible
  427. 13:09you don't want subjectivity in your
  428. 13:11trading as much as you can help it
  429. 13:13there's no way to completely get it out
  430. 13:14but as much as you can help it so
  431. 13:15objective rules is what we need every
  432. 13:17time we're going to start back testing
  433. 13:19because we need to know what we're back
  434. 13:21testing and this process
  435. 13:23consists of taking those objective rules
  436. 13:24the strategy you just learned is what
  437. 13:26we're going to use in this case
  438. 13:27going through a specific market we're
  439. 13:28going to look at the pound swiss
  440. 13:31and we're going to take a look right
  441. 13:32back here at the pound swiss what i'm
  442. 13:34going to do
  443. 13:35is use market replay you don't have to
  444. 13:37do that you don't have to use market
  445. 13:38replay you can 100
  446. 13:40just look at your chart like this look
  447. 13:42at the far right edge of the screen
  448. 13:43and then every time you see your
  449. 13:46specific strategy happened
  450. 13:47was this a trade
  451. 13:50tell me actually see if you know the
  452. 13:52strategy already was this a trade that i
  453. 13:54would be taking
  454. 13:55absolutely not let me explain why do we
  455. 13:57have a close below the 20 ema
  456. 14:00right here with this big red candle yes
  457. 14:02but does this red candle
  458. 14:04close below the low of the previous
  459. 14:06candle
  460. 14:07it does not so with that being the case
  461. 14:09this would not be a trading opportunity
  462. 14:11and this would be this would be a loss
  463. 14:13why because we close above here
  464. 14:15and then we have the close above the
  465. 14:17previous high but before we start doing
  466. 14:19that like i said
  467. 14:20i that's how you would do it if you
  468. 14:21don't have a market replay tool i
  469. 14:22personally like to use market replay
  470. 14:24so we'll start right here and what i'm
  471. 14:26going to do is take
  472. 14:28all of this data i'm going to record it
  473. 14:29in a spreadsheet that i'm going to show
  474. 14:30you in just a second
  475. 14:31that's documenting the data and figuring
  476. 14:34out whether or not this is a profitable
  477. 14:35system we already have the rules right
  478. 14:37i've already taught them to you know
  479. 14:38obviously in this case you already know
  480. 14:40what the
  481. 14:41back testing results are because i've
  482. 14:42already told you but just pretend we
  483. 14:44haven't looked at that yet and
  484. 14:46in this case what we're gonna do is just
  485. 14:47go through historic data pointing out
  486. 14:49every time
  487. 14:50our rules our strategy happened and then
  488. 14:53writing down in that spreadsheet was it
  489. 14:54a win or a loss and i'm gonna document
  490. 14:56the time
  491. 14:57date and currency pair that i'm trading
  492. 14:59as well that spreadsheet by the way
  493. 15:02looks like this this is my personal
  494. 15:04spreadsheet that i use
  495. 15:05for bag testing as you can see what i
  496. 15:07like to look at is what pair am i
  497. 15:09trading what time what date
  498. 15:10my stop-loss and my target or targets if
  499. 15:13i'm trading
  500. 15:14two positions you can create a
  501. 15:16spreadsheet like this or you can
  502. 15:17document your trades by hand
  503. 15:19i plan to create a page you can go to
  504. 15:22and actually download the spreadsheet or
  505. 15:23either
  506. 15:24if i can't get it to the point that you
  507. 15:25can download it from that page i'll get
  508. 15:27a page where you can opt in with your
  509. 15:29email address
  510. 15:30and i can send this to you directly so
  511. 15:31if you're interested in that
  512. 15:33leave me a comment below i'll work on
  513. 15:34that page if i get enough comments
  514. 15:35saying that you guys want the
  515. 15:37spreadsheet
  516. 15:37and that way y'all can have it for free
  517. 15:40and if you're a part of the email
  518. 15:40address just understand that yes
  519. 15:42sometimes whenever i come out with
  520. 15:43youtube videos you'll probably get an
  521. 15:44email so that you can
  522. 15:46see it so that's not a bad thing and
  523. 15:48also you may get a couple of promotional
  524. 15:50offers
  525. 15:50a month of me saying hey we got some
  526. 15:52space open in our training programs but
  527. 15:54that's all
  528. 15:55other than that you get a free
  529. 15:56spreadsheet out of it so let's go ahead
  530. 15:58now
  531. 15:59and start the back testing process all
  532. 16:01we're going to do
  533. 16:02is move the chart forward and as we do
  534. 16:04we're going to record every time
  535. 16:05our rules are met with this specific
  536. 16:08strategy
  537. 16:08this is the process of back testing
  538. 16:11waiting on that
  539. 16:12push above the 20 ema and close above we
  540. 16:15have it here
  541. 16:16we had the push above here we had the
  542. 16:18close above here
  543. 16:20if we were to place this trade we would
  544. 16:21have a stop loss
  545. 16:23of 11 plus five which would have been
  546. 16:26eight
  547. 16:2714 15 excuse me 16 excuse me 11 plus 5
  548. 16:31is 16
  549. 16:32would have been a 16 pip stop also we
  550. 16:33can tell right now without even looking
  551. 16:35we would have been stopped out of this
  552. 16:37trade the very next candle so what do we
  553. 16:38do
  554. 16:39well if we're going to record that data
  555. 16:41we know that we're on the pound swiss
  556. 16:45we know that the time of this trade
  557. 16:46again this is why when i'm back testing
  558. 16:49in reality i always put a horizon i mean
  559. 16:51vertical line excuse me on the screen
  560. 16:53we know the time is six o'clock and it's
  561. 16:55on the third day
  562. 16:56of july in 2020 so i would just write
  563. 16:59all that down the time
  564. 17:00is six o'clock this is on
  565. 17:047 3 2020
  566. 17:07my stop loss in pips
  567. 17:10is 16 and my target would have been a
  568. 17:14little bit higher than that at a 1.4
  569. 17:16but i don't need my target in this
  570. 17:18specific case on my spreadsheet because
  571. 17:20i have a stop loss of 16 which means
  572. 17:22that i lost
  573. 17:23negative 16 on that position so
  574. 17:26that's exactly what it looks like when
  575. 17:27you're plugging it in we'll do nine more
  576. 17:29i'm going to do 10 trades with you guys
  577. 17:30and then what we can actually
  578. 17:32do is see the results of those trades
  579. 17:34and obviously 10
  580. 17:35is not a big enough sample size but you
  581. 17:37would do this for 100 trades
  582. 17:39i'll speed this up a little bit with the
  583. 17:41play button
  584. 17:42here all right we have a push below the
  585. 17:4520
  586. 17:46right here correct did this next candle
  587. 17:49close below
  588. 17:50the candle that closed below the 20
  589. 17:51period moving average no this is a green
  590. 17:54candle so obviously
  591. 17:55it did not close below this so that's
  592. 17:57what we're looking for with this
  593. 17:57strategy
  594. 17:59candle closes below the 20 ema for a
  595. 18:01bearish version
  596. 18:02then the next candle closes below the
  597. 18:04low of that candle this candle would
  598. 18:06have had to do something like this
  599. 18:08in order to be a valid entry and we will
  600. 18:12continue
  601. 18:14this candle would have been another
  602. 18:15situation where
  603. 18:18that we have a close below the 20 ema on
  604. 18:20this red candle
  605. 18:21but nothing below that we have a close
  606. 18:23above right here but nothing above that
  607. 18:25that's the last time i'm gonna go over
  608. 18:26that you should at this point know what
  609. 18:28we're looking for
  610. 18:34at this point do we have a trading
  611. 18:35opportunity the answer that hopefully
  612. 18:38you said yes and the reason i hope you
  613. 18:39said yes is because we have
  614. 18:41this red candle closing below the 20
  615. 18:43period moving average
  616. 18:44does the next red candle close below the
  617. 18:47low of this red candle
  618. 18:48yes it does as i said completely
  619. 18:50objective rule set the close of this
  620. 18:52candle or the open of the next one
  621. 18:53they're going to be the same exact price
  622. 18:55is the entry after the entry we use an
  623. 18:58atr
  624. 18:58plus five this is 15 so it'd be a 20 pip
  625. 19:02stop loss
  626. 19:02and we have a 1.4 to one risk reward
  627. 19:04let's see if we hit targets here
  628. 19:06on this specific trade
  629. 19:10nope we're stopped out again so if we
  630. 19:11stop out again for 20 pips what do i
  631. 19:13need to do
  632. 19:14record that right i need to make sure
  633. 19:15that i'm recording it every single time
  634. 19:17documenting the results of this specific
  635. 19:19strategy
  636. 19:21and before i do that what should i have
  637. 19:23done first i probably should have marked
  638. 19:25this with a vertical line
  639. 19:26to make it super simple so 7 8 20
  640. 19:29on eight at eight o'clock seven eight
  641. 19:31twenty at eight o'clock so this needs to
  642. 19:33be eight
  643. 19:34and it was on seven eight two thousand
  644. 19:362020 i lost 20 pips so 20
  645. 19:39and negative 20. now we can continue
  646. 19:41testing
  647. 19:43throughout the rest of this data so
  648. 19:45let's go ahead and click the play button
  649. 19:47and start again
  650. 19:51all right if i delete this you can see
  651. 19:52that we actually have a trade here
  652. 19:54why do we have a trade because we were
  653. 19:56below the 20 period moving average on
  654. 19:58this candle correct
  655. 19:59correct we closed above the 20 movement
  656. 20:01on this candle correct
  657. 20:03correct and after we close above the 20
  658. 20:05period moving average here
  659. 20:06do we get a close above candle the
  660. 20:08answer to that is also
  661. 20:10true so would that be the case we would
  662. 20:12have a long position here
  663. 20:14this long position would have a stop
  664. 20:16loss of one atr plus five
  665. 20:18which is 17 plus 5 which is 22. i think
  666. 20:21this is the trade we looked at a little
  667. 20:22bit ago
  668. 20:23so i know this one's going to win
  669. 20:261.4 sorry if that was a creepy laugh 1.4
  670. 20:29all right let's see if we hit targets or
  671. 20:30get stopped out on this specific
  672. 20:32scenario
  673. 20:35pushing down putting you through the
  674. 20:37real emotions of trading and then
  675. 20:39finally
  676. 20:39coming up to hit targets so this would
  677. 20:41be a win of 31 pips with a stop loss of
  678. 20:4322
  679. 20:44and we need to put our vertical line so
  680. 20:46that we can tell what the date and time
  681. 20:47is so let's go ahead and do that
  682. 20:48vertical line right on our entry candle
  683. 20:50now that we have that it'll make it
  684. 20:52really easy to go here
  685. 20:53and now the reason i do this and what
  686. 20:55you can see in the corner over here
  687. 20:56is the fact that i don't even have to
  688. 20:57change screens i can now see that this
  689. 20:59trade was on 7 8
  690. 21:01twenty at seventeen hundred so i know
  691. 21:03it's the pound twist i should just be
  692. 21:04copying and pasting these
  693. 21:06but i'm not pound swiss at seventeen
  694. 21:09hundred
  695. 21:12and pound swiss at seventeen hundred on
  696. 21:14seven eight
  697. 21:16this was a 22 pip stop loss followed by
  698. 21:18a 30
  699. 21:19one pip reward i do believe
  700. 21:2231 yes okay so we have that trade
  701. 21:25recorded let's go ahead and continue
  702. 21:27pushing the chart forward and see if we
  703. 21:28get more trades
  704. 21:33and guys before we keep going let me
  705. 21:34explain a little more about the strategy
  706. 21:36the reason there's no trades in here
  707. 21:38in this area because it's just as
  708. 21:39important for you to understand when not
  709. 21:40to trade as it is for you to understand
  710. 21:42when to trade with a specific strategy
  711. 21:44we have a close below here we don't get
  712. 21:45a close blow candle immediately
  713. 21:47afterwards
  714. 21:47we have a close above right here on this
  715. 21:49green candle there's not a close above
  716. 21:51candle of that candle
  717. 21:53immediately afterwards we have a close
  718. 21:54above candle here no close above
  719. 21:56immediately afterwards
  720. 21:57we have a close below candle whenever i
  721. 21:59say that i mean closing below and above
  722. 22:01the 20 ema and whenever i say no close
  723. 22:03below candle
  724. 22:04i mean we don't have a candle that
  725. 22:05closes below the low of the candle that
  726. 22:07closed below the 20 ema
  727. 22:09so in that case we have no trades up to
  728. 22:11this point
  729. 22:12here is the next time we cross back
  730. 22:14above the 20 ema
  731. 22:15i need immediately following that a
  732. 22:17close above candle
  733. 22:19if i don't get that then i can't trade
  734. 22:20the next candle like this one
  735. 22:22that wouldn't be an entry it needs to be
  736. 22:23immediately following the first candle
  737. 22:25that closed above the 20 ema on a
  738. 22:28bullish version of this strategy
  739. 22:30we'll push the market forward see if we
  740. 22:32get some more trades
  741. 22:36here we have a trade as you can see we
  742. 22:38have a market that pushed up
  743. 22:40and closed above our 20 ema does the
  744. 22:42very next candle
  745. 22:43close above the high of that candle yes
  746. 22:45it does perfect so now
  747. 22:47we can put our position tool on we can
  748. 22:50do
  749. 22:50our stop loss which is going to be
  750. 22:54five pips plus the atr of that current
  751. 22:56candle
  752. 22:5717 plus five is 22 yet again seems to be
  753. 23:00a popular stop loss huh
  754. 23:02so we're gonna have about a 31 pip
  755. 23:03reward here
  756. 23:05at a one point four to one risk reward
  757. 23:07let's see
  758. 23:08if this wins and the market pushes up
  759. 23:12eventually hitting
  760. 23:13that target so what would we do green
  761. 23:15vertical line
  762. 23:16on the entry candle showing me exactly
  763. 23:19the time and date that i need to record
  764. 23:21in my spreadsheet
  765. 23:22pull up my spreadsheet make sure i can
  766. 23:24see that time and date
  767. 23:25and now i'm ready to record it's at 1900
  768. 23:30and it's on 7 14. it was a 22 pip stop
  769. 23:33and a 31 pip reward
  770. 23:35so there we go we have all that recorded
  771. 23:37i'll record pound swiss when the video
  772. 23:39is over i'm
  773. 23:39like writing that out i feel like it's
  774. 23:40just going to cause us to waste a little
  775. 23:42bit too much time let's hit play
  776. 23:44see what the market does
  777. 23:47no entry here until let's look at this
  778. 23:52we did not have an entry here because
  779. 23:55after this candle we did not get a close
  780. 23:57blow candle we didn't have an entry here
  781. 23:58because this isn't a close above candle
  782. 24:00and this is not a close above candle
  783. 24:02as you can see there's no clothes below
  784. 24:04or above candles directly after
  785. 24:06a candle that closes above or below the
  786. 24:0820 ema and then we have this candle that
  787. 24:10the blue lines on now
  788. 24:12followed by a close below candle so what
  789. 24:14are we going to do
  790. 24:16we are going to put a short position
  791. 24:17tool on or measure however you can
  792. 24:19whatever your platform allows you to do
  793. 24:21and our
  794. 24:23atr on that candle is 15 means we have a
  795. 24:2620 pip stop loss exactly
  796. 24:28and a 1.4 1 risk reward we hit play
  797. 24:34we see that that is stopped out so in
  798. 24:36this specific case we have a loss of 20
  799. 24:38pips
  800. 24:39on this trade so what would i do red
  801. 24:42vertical line we have our red vertical
  802. 24:45line right there
  803. 24:46and that's on 716 at 1700. we pull up
  804. 24:50our spreadsheet
  805. 24:51we have 1700
  806. 24:54and we have that on 7 16 2020
  807. 24:57this was a loss of 20 pips 20
  808. 25:00minus 20. all right now we can continue
  809. 25:04go ahead and shrink this and hit play
  810. 25:06and actually i don't even have to hit
  811. 25:07play i can move this out of the way
  812. 25:09you can see that we've already ran into
  813. 25:10another entry candle how do we do that
  814. 25:13well
  815. 25:14we have first off this entry here where
  816. 25:17the market pushes
  817. 25:18back up closes above the 20 ema and then
  818. 25:21has a close above candle directly
  819. 25:22afterwards
  820. 25:23with that being the case what will we do
  821. 25:26take our
  822. 25:27entry right here we would have a stop
  823. 25:32of one atr plus five is 17 that's 22.
  824. 25:35we would have a target at a 1.41 risk
  825. 25:37reward which does get clipped right up
  826. 25:40here as you can see so with that being
  827. 25:42the case this would be a winning trade
  828. 25:44let's go ahead and record this in the
  829. 25:45spreadsheet
  830. 25:45first off putting our green vertical
  831. 25:48line
  832. 25:49on our entry candle which would have
  833. 25:51been right here and now we can actually
  834. 25:53pull over the spreadsheet
  835. 25:55and plug in the numbers which was at 12
  836. 25:57o'clock the trade was
  837. 25:58and it was on 7 16 2020 this was a
  838. 26:02win which had a 22 pip stop and a 31 pip
  839. 26:05target
  840. 26:07and guys i've went through about five
  841. 26:09six of these now i think you get the
  842. 26:10idea of how to back test that's exactly
  843. 26:12how you would do it
  844. 26:13i'm gonna plug in the rest of the
  845. 26:14numbers we're gonna take a look at the
  846. 26:15results i'll do that on my own though so
  847. 26:17you don't just have to sit here and
  848. 26:18watch me
  849. 26:19backtest hopefully now you have an
  850. 26:20understanding of the strategy and
  851. 26:22how to actually backtest the strategy
  852. 26:24stay tuned though because we're going to
  853. 26:25go through
  854. 26:26how you would optimize this strategy to
  855. 26:28trade it on the best currency pairs
  856. 26:30to only trade it in the best times that
  857. 26:32it works for instance you may notice
  858. 26:34that every trade you placed over the
  859. 26:36past 100 at 1 pm
  860. 26:38lost for whoever knows why and if that's
  861. 26:40the case you may not want to trade this
  862. 26:41strategy
  863. 26:42ever at 1 pm right so we're gonna go
  864. 26:44over all that momentarily
  865. 26:46right now let's jump into the
  866. 26:47spreadsheet after i get through testing
  867. 26:49the rest of these tricks i'll see you in
  868. 26:50a second all right traders so here's the
  869. 26:52testing results throughout the past 10
  870. 26:54trades using the exact strategy i taught
  871. 26:56you on the pound switch on the one hour
  872. 26:58chart
  873. 26:59as you can see we have everything
  874. 27:00recorded we need in order to optimize
  875. 27:02the strategy
  876. 27:02for trading it for the best times for
  877. 27:04instance at
  878. 27:066am like i said earlier did it lose
  879. 27:08every trade at 6am
  880. 27:09that's one thing you can optimize for i
  881. 27:11also using this technique
  882. 27:13having this stuff in a spreadsheet you
  883. 27:15can test multiple different pairs
  884. 27:16combine them and see how much better
  885. 27:19your results
  886. 27:20become in terms of a smaller drawdown or
  887. 27:22even a higher
  888. 27:23roi return on investment if you start to
  889. 27:25add different currency pairs to this and
  890. 27:27you would do the same exact process
  891. 27:29of testing each of these plugging them
  892. 27:31into a spreadsheet 100 trades not 10
  893. 27:33on every pair and every time frame
  894. 27:34you're going to trade and then putting
  895. 27:36them all in a spreadsheet together
  896. 27:38to see what the max drawdown was over
  897. 27:40the past 100 trades
  898. 27:42it it's invaluable information to have
  899. 27:45in order to optimize
  900. 27:46your trading strategy and get the most
  901. 27:49out of it which is what we all
  902. 27:50should want now i can't dive as deep as
  903. 27:53i would like to
  904. 27:54with this in this specific video but if
  905. 27:56you are ready for some more advanced
  906. 27:58training
  907. 27:58we do offer the eap training program and
  908. 28:01we actually have
  909. 28:02some spots available right now in that
  910. 28:03program i'll put some testimonials on
  911. 28:05the screen from traders who have
  912. 28:06recently graduated from the program
  913. 28:08and in that program you'll get a full
  914. 28:10training course not only on back testing
  915. 28:12but on the actual strategies i use
  916. 28:14on a day-to-day basis in the forex
  917. 28:16market then
  918. 28:17a course on backtesting you'll get this
  919. 28:19spreadsheet and a full course on
  920. 28:21discipline
  921. 28:22and how you can be more disciplined to
  922. 28:23your trading plan that also comes with
  923. 28:25three to five
  924. 28:25email alerts each and every week not to
  925. 28:27use as signals but
  926. 28:29in case you want to see exactly what i'm
  927. 28:31seeing in the markets
  928. 28:32and to help you better understand the
  929. 28:34strategies that you're using in the eap
  930. 28:36training program and that you're
  931. 28:37learning
  932. 28:37from that program with this program you
  933. 28:40also have
  934. 28:40what i call priority email which means
  935. 28:42that anytime you have questions it'll be
  936. 28:44me
  937. 28:44directly that you are talking to and
  938. 28:46i'll be answering any of those questions
  939. 28:47to the best
  940. 28:48of my ability in a timely manner so if
  941. 28:50that's something you're interested in
  942. 28:52the ep training program is listed below
  943. 28:54oh this video taught you everything you
  944. 28:55need to know about how to backtest is a
  945. 28:57very quick recap
  946. 28:58what we have the first step of
  947. 29:01backtesting a trading strategy
  948. 29:02is to make sure you have a set of
  949. 29:04objective rules you can test the
  950. 29:06historical data
  951. 29:07the next step is to go back through 100
  952. 29:09trades
  953. 29:10which the the amount of time that it
  954. 29:12takes for you to get 100 trades depends
  955. 29:14on a ton of factors
  956. 29:16in your strategy i have no idea how long
  957. 29:18you have to go back to get 100 trades
  958. 29:20start with going back a year if you get
  959. 29:22less than 100 trades
  960. 29:24go back further and i'm talking about on
  961. 29:25a one-hour chart on a four-hour chart i
  962. 29:27would go back three years
  963. 29:28test if you get less than 100 trades go
  964. 29:30back even further and test again
  965. 29:32the main mission here is just to make
  966. 29:34sure you get 100 trades but
  967. 29:37the first step having those rules second
  968. 29:38step go back through historical data
  969. 29:40and document each and every time it
  970. 29:42happened when those rules took place
  971. 29:44and at the end of 100 trades see did you
  972. 29:47have
  973. 29:47a positive expectancy did that specific
  974. 29:50strategy make money for instance
  975. 29:51with the last 10 trades on the pound
  976. 29:53swiss i know this is a large not a large
  977. 29:56sample size and it's a small sample size
  978. 29:57but out of the last 10 trades
  979. 29:59we produced a very similar result to the
  980. 30:01last 100
  981. 30:02a 60 winning percentage and it ended up
  982. 30:04with a 60
  983. 30:05winning percentage and trading with a
  984. 30:07two percent
  985. 30:08risk per trade a nine point eleven
  986. 30:11percent return
  987. 30:12with a three to four percent max
  988. 30:14drawdown so that's very good results
  989. 30:16and other than the roi and the max
  990. 30:19drawdown if i had a
  991. 30:2060 winning percentage over 100 trades
  992. 30:22that would be something i would
  993. 30:24definitely
  994. 30:24start demo trading personally and
  995. 30:26eventually put into my trading plan
  996. 30:29so that's the second step record the
  997. 30:31data and optimizing comes into play
  998. 30:33directly afterwards
  999. 30:34when you start combining the testing
  1000. 30:36results from one strategy
  1001. 30:38from this strategy on from one pair to
  1002. 30:40another so get those testing results on
  1003. 30:42multiple different pairs
  1004. 30:43and then combine them all in one
  1005. 30:44spreadsheet to see what your
  1006. 30:47possible maximum drawdown is what your
  1007. 30:50estimated maximum drawdown will be
  1008. 30:52and to see what your total roi should be
  1009. 30:55after
  1010. 30:55you trade this specific strategy for 100
  1011. 30:59trades on all the pairs that you're
  1012. 31:00planning to trade with it so i hope all
  1013. 31:02of that made sense if not rewatch the
  1014. 31:04video a couple times
  1015. 31:05back testing as simple of a subject as
  1016. 31:06it sounds like can get a little
  1017. 31:08complicated especially
  1018. 31:09when we dive into optimizing which i
  1019. 31:11might do a full video on optimizing if
  1020. 31:12you'd like to see that
  1021. 31:14put a comment in the boxes below just
  1022. 31:16comment below
  1023. 31:17if you'd like to see a full video on
  1024. 31:18optimizing a trading strategy with that
  1025. 31:21said there'll be a video somewhere
  1026. 31:22around my face
  1027. 31:23that i think will also be really
  1028. 31:24valuable to your trading make sure
  1029. 31:25you're subscribed and click that like
  1030. 31:27button if you enjoyed this video
  1031. 31:29took me about three and a half four and
  1032. 31:30a half hours to make this so
  1033. 31:32if you liked it please click that like
  1034. 31:33button and i will talk to you in the
  1035. 31:35next
  1036. 31:35video see you soon

About this transcript

This page contains the full transcript of Forex Strategy Testing (easy backtesting for beginners) by The Trading Channel (The Trading Channel), generated from the public captions YouTube serves with the video. The transcript has 6,468 words across 1,036 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.