YouTube2Text

Master ALGO Trading In Less Than 90 Minutes (NO Coding) | $1M+ Profits — Transcript

by Chart Fanatics · 13,690 words · 2,096 segments · language en · Watch on YouTube

Full transcript

  1. 0:00He has done close to a million dollars
  2. 0:01in verified profits of which over
  3. 0:03250,000 is on Kinfo. To execute this
  4. 0:07kind of surgical action, you need speed.
  5. 0:10You need emotionless execution. You
  6. 0:12don't write a single line of code. Not
  7. 0:15one. But you can still make money with
  8. 0:1640% success rate. So there is what we
  9. 0:19call the this algorithmic trader has
  10. 0:22created profitable trading algorithms
  11. 0:24without knowing how to code. And in this
  12. 0:26episode, he will reveal exactly [music]
  13. 0:28how you can do the same.
  14. 0:30>> As a breakout trader, this is how I size
  15. 0:32my trade. A good trader cut his loss
  16. 0:34quickly, let his profit run to target,
  17. 0:37manage his position size based on.
  18. 0:39>> Introducing Noel T. Noel goes through
  19. 0:42the exact process of developing his
  20. 0:45trading algorithm.
  21. 0:46>> I don't know about you, but I I am a U.
  22. 0:48I'm imperfect and I prefer an algo that
  23. 0:51will handle all this action for me. This
  24. 0:53is a very important metric that you need
  25. 0:55to analyze as a an algo trader and you
  26. 0:58have a whole other metric that you know
  27. 1:00because
  28. 1:00>> he shares the exact platform he uses in
  29. 1:04order to develop these and shows exactly
  30. 1:06how you can do the same.
  31. 1:08>> This software lets you code a bot
  32. 1:11without learning how to code without
  33. 1:13writing single line of code. So as an
  34. 1:15aggro trader, it is important to know
  35. 1:17this metric because you will be more
  36. 1:19confident when you will trade with your
  37. 1:21own money cuz you know you never have to
  38. 1:23take an execution again. You never have
  39. 1:25to manage your own trade again. Build,
  40. 1:27develop, and manage algorithms instead.
  41. 1:31Welcome everyone back to Chart Fanatics,
  42. 1:33the go-to channel for all of the very
  43. 1:35best strategy and concept breakdowns
  44. 1:37with some of the very best traders in
  45. 1:39the world. We're talking of which today
  46. 1:41we are back in Miami after LA and we're
  47. 1:44back home in the move Miami and they're
  48. 1:46in a new place [music] as you can tell.
  49. 1:48It's incredible. But today we have a
  50. 1:50phenomenal trader. He has done close to
  51. 1:52a million dollars in verified profits of
  52. 1:54which over 250,000 I think 270,000 to be
  53. 1:57a bit more accurate is on Kinfo which is
  54. 2:00incredible a verification platform
  55. 2:01there. He is an algorithmic trader. Our
  56. 2:04first both on charts and words of wisdom
  57. 2:07which we'll be shooting after this. But
  58. 2:08here on chart for you're wondering how
  59. 2:10do we showcase algorithmic trading?
  60. 2:12Well, you're going about to find out and
  61. 2:13this is actually a masterass into how to
  62. 2:15do so with no coding experience and this
  63. 2:19is the future of trading in my opinion
  64. 2:20and in many professionals opinion
  65. 2:23[music] as well. So without further ado,
  66. 2:26it is the one and only now fell.
  67. 2:29>> Thanks for having me.
  68. 2:30>> How do I say it? Correct.
  69. 2:31>> Yes.
  70. 2:32>> Perfect. And aka his name on X is Ultra
  71. 2:35Instinct, right? Yes. Perfect. But here
  72. 2:37we are. So, thank you for being here.
  73. 2:39First of all,
  74. 2:40>> thanks for having me. I'm super excited
  75. 2:41because again, you know, I've been
  76. 2:42recently having many conversations with
  77. 2:45professional traders and and
  78. 2:46non-professionals alike talking about
  79. 2:48how algorithmic trading is one already
  80. 2:51changed the markets, but two is going to
  81. 2:52be even more uh prominent, popular, and
  82. 2:57we're going to see a lot more uh changes
  83. 2:59in the market due to algorithmic trading
  84. 3:01and the advancements and especially with
  85. 3:03AI coming around, which I know we just
  86. 3:05briefly talked about, but where do you
  87. 3:07think it's best to begin in terms of uh
  88. 3:09what we're going to be talking about
  89. 3:10Today
  90. 3:10>> first we have to know the advantage of
  91. 3:14algorithmic trader. So a good trader cut
  92. 3:18his loss quickly, let his profit run to
  93. 3:22target, manage his position size based
  94. 3:25on volatility and trade setup. To
  95. 3:27execute this kind of surgical action,
  96. 3:30you need speed. You need emotionless
  97. 3:34execution
  98. 3:35and you need many hours per day of
  99. 3:39monitoring without fatigue. I don't know
  100. 3:41about you, but I I am a human. I'm
  101. 3:44imperfect and I prefer an algo that will
  102. 3:47handle all this action for me. Another
  103. 3:49benefit of algo trading is um you have
  104. 3:52to access the data. There is no gray
  105. 3:55zone. it is black or white.
  106. 3:58>> You define your entry logic
  107. 4:04and you define your exit logic
  108. 4:10and you then back test it.
  109. 4:15You want to back test your strategy
  110. 4:17across
  111. 4:18many year
  112. 4:22[clears throat] and many market regime.
  113. 4:25This is very important.
  114. 4:27>> Market cycles.
  115. 4:28>> Yes.
  116. 4:34>> So when you back test the strategy, you
  117. 4:37have access as an algo trader to
  118. 4:39multiple trading metric. One of them
  119. 4:41that is very important is what we call a
  120. 4:45risk adjusted return such as we call it
  121. 4:49the UPI.
  122. 4:50>> Mhm.
  123. 4:51>> Or the sharp ratio. Just to explain to
  124. 4:53your audience what this mean. So let's
  125. 4:56say you have
  126. 4:57strategy
  127. 5:00A.
  128. 5:02It deliver 20% a year of return. Right.
  129. 5:07But it is exposed 100% of the time in
  130. 5:11the market.
  131. 5:12>> Mhm.
  132. 5:15Right. And you have strategyb
  133. 5:22where it also deliver 20%
  134. 5:26return per year
  135. 5:28but it is only exposed 10%
  136. 5:33of the time
  137. 5:35in the market.
  138. 5:39So as an algo trader you have the choice
  139. 5:42between these two strategy right. Let me
  140. 5:45ask you a quick question. Which one
  141. 5:47would you choose?
  142. 5:48>> I was looking at this at face value. I
  143. 5:50would say this one.
  144. 5:51>> This one. Good answer. Why? Because your
  145. 5:54capital is working only 10% of the time
  146. 5:57in the market which mean you are less
  147. 6:00exposed to black swan events and at the
  148. 6:04same time it deliver a nice 20% a year
  149. 6:07of return. This means also that 90% of
  150. 6:11the time you can deploy your capital on
  151. 6:14other strategy on other market you have
  152. 6:17the potential to maybe have better
  153. 6:20return than 20%. So if you have three,
  154. 6:23four, five strategy diversified across
  155. 6:25multiple instrument, multiple time
  156. 6:27frame, you can achieve a pretty
  157. 6:30interested interesting annual return per
  158. 6:33year.
  159. 6:33>> Right? So this is what we call the risk
  160. 6:35adjusted approach in algo trading. Hey
  161. 6:38guys, before we get into this incredible
  162. 6:40episode, I want to say a massive thank
  163. 6:41you for all of your support so far on
  164. 6:43both words of wisdom and chart fanatics.
  165. 6:46We have grown immensely and are still
  166. 6:48the fastest growing channels in the
  167. 6:50trading industry. Now, a way to give
  168. 6:52back to every single one of you. If you
  169. 6:53want profitable strategies completely
  170. 6:56for free, go to chart fanatics.com. The
  171. 6:59links in the description, put your email
  172. 7:01in, and every single week we will send
  173. 7:03you a free PDF with a profitable
  174. 7:05strategy of the guests that we host. As
  175. 7:07well as on the website, you can go
  176. 7:09straight there and you can go through
  177. 7:10the library of strategies completely for
  178. 7:13free. Just input your email. On top of
  179. 7:14that, we launched a Chart fanatics free
  180. 7:17Discord community that has already over
  181. 7:1910,000 members of traders across the
  182. 7:22world. We have our live traders from
  183. 7:24Chart Fanatics Live in there. I'm
  184. 7:26documenting every single one of my
  185. 7:28trades in there. And we have exclusive
  186. 7:29discounts, massive giveaways, and so
  187. 7:32much more just to give back to every
  188. 7:34single one of you. Let's not forget
  189. 7:35updates on every episode and things that
  190. 7:38we are bringing to this industry that's
  191. 7:40going to change it forever. But for now,
  192. 7:42the links for that are in the
  193. 7:43description. Let's get into this
  194. 7:44episode.
  195. 7:45>> In terms of uh back testing, we may go
  196. 7:47over it already, but I just wanted to
  197. 7:48ask.
  198. 7:49>> Yeah.
  199. 7:49>> Is that also an automated
  200. 7:51>> Yes.
  201. 7:52>> approach to collecting that data? Yeah.
  202. 7:53>> And is there any is there a specific
  203. 7:56platforms you use or is it something
  204. 7:57that you have to build yourself?
  205. 7:59>> Yeah. So with the coming of AI right
  206. 8:02now, everybody can go to chat GBT write
  207. 8:05a prompt and it will generate a coding
  208. 8:08strategy, right? But it doesn't mean
  209. 8:10that the strategy will work. You need to
  210. 8:13have a robust process to make sure that
  211. 8:16your strategy is robust, right? And you
  212. 8:20have a software that is specialized for
  213. 8:22this. I use strategic quant x sqx. It is
  214. 8:25a trading system builder. The benefit of
  215. 8:28this system trading builder is first you
  216. 8:31don't write a single line of code, not
  217. 8:34one. Right? you have access access to
  218. 8:38already to all the data that you need,
  219. 8:40all the stock that you need. So it's a
  220. 8:43matter of clicking the rule that you
  221. 8:45want to choose back test across the year
  222. 8:48that you want and you will have access
  223. 8:50to many metrics such as the risk
  224. 8:52adjusted u approach that I showed you.
  225. 8:55Mhm.
  226. 8:55>> So it is pretty user friendly but of
  227. 8:59course you need to have a robust process
  228. 9:01to make sure that the strategy that you
  229. 9:03will put your hard real earn money um
  230. 9:07to make sure that it is robust enough.
  231. 9:10So uh just to continue another metric
  232. 9:12that said it is important we call the
  233. 9:15draw down right
  234. 9:19this is very important why because I'm
  235. 9:24pretty sure you saw this online but if
  236. 9:27you have a 50% draw down right for your
  237. 9:31audience let's say you start with a
  238. 9:33$100,000 account your account dropped to
  239. 9:35$50,000 this represent 50% of draw down
  240. 9:38to make it back you need 100%
  241. 9:43return right
  242. 9:46it's pretty pretty difficult right so
  243. 9:50the approach is to have lower dry down
  244. 9:54hopefully realistically on my part
  245. 9:58between 20 25%
  246. 10:00is pretty realistic right normal across
  247. 10:05all the back tests that I did this is
  248. 10:07pretty average right But if you want to
  249. 10:10make back this 20 25% you don't have a
  250. 10:13lot to make. Maybe 30% 35% pretty
  251. 10:17achievable right across the the the
  252. 10:21future. So um the idea is why we
  253. 10:26concentrate on because people right when
  254. 10:30they you see them participate in US
  255. 10:32investing championship or competition
  256. 10:35they will show crazy return. Yeah. Even
  257. 10:38the great uh Larry Williams,
  258. 10:41>> he beat the record. He made around
  259. 10:4310,000% in one year. But he even himself
  260. 10:48said that at one point he was up $2
  261. 10:50million, but he ended the competition
  262. 10:52with $1 million and he started with
  263. 10:55$10,000. The return is outstanding, but
  264. 10:59the draw down is 50%.
  265. 11:01>> Yeah.
  266. 11:01>> So, you have to ask yourself about your
  267. 11:03risk tolerance. Are you ready to trade a
  268. 11:06strategy with 50%
  269. 11:09to maybe potentially make 100 or more or
  270. 11:1220 25%. So it has to fit your risk
  271. 11:16tolerance
  272. 11:17>> for that. So this is a very important
  273. 11:20metric that you need to analyze as a
  274. 11:23nargo trader and you have a whole other
  275. 11:26metric that you know because when you
  276. 11:28trade a strategy right uh when you know
  277. 11:32the inside inside out I know for
  278. 11:34instance as an algo trader where is my
  279. 11:36max draw down what is my annual return
  280. 11:39what is my percent of time that I am
  281. 11:41exposed to the market right I know what
  282. 11:44is my maximum consecutive losses
  283. 11:47I have all these metrics to manage my
  284. 11:50expectation when I trade my with my real
  285. 11:53money. So as an algo trader, it is
  286. 11:56important to know this metric because
  287. 12:00you will be more confident when you will
  288. 12:02trade with your own money because you
  289. 12:04know the data, you know how it performed
  290. 12:06during the last bare market, bull market
  291. 12:09and so on. Yeah, it's interesting you
  292. 12:11mentioned in terms of the metrics in
  293. 12:12terms of the risk tolerance is very very
  294. 12:14important as an individual because
  295. 12:16everyone's risk tolerance is going to be
  296. 12:18different but equally as you mentioned
  297. 12:21that you have to think about what is the
  298. 12:24goal of the trader because if you're
  299. 12:25just an independent trader trading your
  300. 12:27own capital and as long as you accept
  301. 12:29your risk tolerance and what the reality
  302. 12:30of that is then that's fine but then
  303. 12:32equally if the goal of the trader is to
  304. 12:34say get investor capital or trade
  305. 12:36someone else's money then it's less
  306. 12:39still important what can handle but it's
  307. 12:41equally okay what would a investor be
  308. 12:42happy with right so like looking at the
  309. 12:45two examples on the board an investor
  310. 12:48probably is going to be looking at the
  311. 12:4920 25% as more acceptable even that
  312. 12:52might be slightly large for that
  313. 12:53investor right so I think it does come
  314. 12:54down to as well the goal of your trading
  315. 12:57um you know some people's goal is to
  316. 12:59attract investor capital and and to
  317. 13:00trade other people's money a lot of
  318. 13:02traders of course are really focused on
  319. 13:04that independent route a lot of traders
  320. 13:06nowadays are trading even funding
  321. 13:08companies and and these prop firms as
  322. 13:10they're called. Uh or there might be
  323. 13:12traders who are trading at traditional
  324. 13:13prop firms, right? And all of these
  325. 13:14different endeavors or paths will
  326. 13:17dictate as well what's acceptable or
  327. 13:20not. Of course, the independent route
  328. 13:22means whatever you're accepting is most
  329. 13:24important and I think that is the goal
  330. 13:26of most traders out there. But that's
  331. 13:28definitely a really important thing
  332. 13:30you've highlighted there in terms of
  333. 13:31understanding the draw down. So have you
  334. 13:33seen you know dependent on the strategy
  335. 13:35and and how it's been configured there
  336. 13:38are different draw downs and different
  337. 13:39metrics that come out and then do you
  338. 13:41then select what's acceptable for you
  339. 13:43and not
  340. 13:45>> yes this is a ve very good point uh
  341. 13:48because as an ago trader there is
  342. 13:51another concept that we use a lot right
  343. 13:54so trading the market you either make
  344. 13:58money with three-way either with
  345. 14:00breakout directional trading
  346. 14:02main reversion, right? Or choppy market,
  347. 14:06right? So,
  348. 14:09I trade mainly breakout. This means that
  349. 14:14my success rate is around 40%. Right?
  350. 14:17This may sound counterintuitive with a
  351. 14:19lot of people, but you can still make
  352. 14:20money, of course,
  353. 14:21>> with 40% success rate. So, there is what
  354. 14:25we call the risk
  355. 14:28of ruin.
  356. 14:31Right. And this pretty much will tell
  357. 14:34you how much you can size.
  358. 14:37>> Yeah.
  359. 14:37>> So the first uh setting of uh this risk
  360. 14:42of rune calculator is what is your
  361. 14:44winning percentage?
  362. 14:50Mine is around 40%.
  363. 14:52>> Yeah.
  364. 14:53What is your riskto-reward
  365. 15:00ratio?
  366. 15:02This mean you risk $1,000 to make 2,000
  367. 15:05$2,000. So in this situation, mine is
  368. 15:09around two, sometimes three, but let's
  369. 15:12say two.
  370. 15:12>> Okay.
  371. 15:13>> Right. [snorts] And um the the the third
  372. 15:17setup is how how much in percent term is
  373. 15:21your average loss.
  374. 15:25Right? Mine is around 0.5%.
  375. 15:29>> Okay.
  376. 15:29>> Right. Sometime lower sometime but the
  377. 15:32average is around 0.5%.
  378. 15:34So what is the risk of ruin
  379. 15:38roughly if you want to give me is it
  380. 15:4010%, 15%, 5%.
  381. 15:44>> Yours I would say is would be quite low
  382. 15:47risk of run
  383. 15:48>> near zero.
  384. 15:49>> Yeah.
  385. 15:50>> Between let's say 0 to 2%.
  386. 15:52>> Of risk of run and you can play with all
  387. 15:56of these parameter. There is a lot of
  388. 15:59calculator online that you can try it.
  389. 16:01If you have, let's say, a higher winning
  390. 16:03percentage rate,
  391. 16:04>> you will likely have a less riskreward
  392. 16:07to ratio. Yeah. Probably around 0.5 0.4.
  393. 16:11But if you risk more than 1%,
  394. 16:14>> you your risk of run will greatly
  395. 16:16increase.
  396. 16:17>> Yes.
  397. 16:17>> So on my end as a breakout trader, this
  398. 16:21is how I size my trade. So if I have a
  399. 16:25strategy, I will allocate let's say
  400. 16:28between five to 25% of my account on a
  401. 16:30single algo. But I have to make sure
  402. 16:33that my average loss is 0.5% or lower.
  403. 16:37>> So when you do that, let's say you
  404. 16:38assign 20 to 25% of your capital to one
  405. 16:41algorithm, right? So one strategy, but
  406. 16:43then the 0.5% is that of the 20 25% of
  407. 16:47the overall or is that 0.5 of the total
  408. 16:49capital?
  409. 16:50>> No. Yeah, it is on the allocated fund.
  410. 16:53Got you. Mhm.
  411. 16:54>> Right. So if I let's say I have a
  412. 16:56$100,000 I risk
  413. 16:59>> to be aggressive 25% $25,000. I want to
  414. 17:02make sure that my average loss does not
  415. 17:04exceed 0.5% of my $25,000
  416. 17:08>> dollar which when you look at the
  417. 17:11portfolio level it's it's even lower the
  418. 17:13loss. So your risk of run is again lower
  419. 17:18than it should be.
  420. 17:19>> Up to 6 million in futures funding.
  421. 17:22That's only possible at one place, Apex
  422. 17:24Trader Funding. You can get up to 20
  423. 17:27accounts at Apex. No other futures firm
  424. 17:30offers anything even close. And that is
  425. 17:32why Apex pays out the most [music] out
  426. 17:35of any futures firm. Already have paid
  427. 17:38out over half a billion dollars. Half a
  428. 17:40billion dollars so far to traders just
  429. 17:42like you across the world. They're no
  430. 17:44stranger to the podcast or chart
  431. 17:46fanatics. We've had some of the record
  432. 17:48holders of largest payouts in prop firm
  433. 17:50history. obviously only through Apex
  434. 17:52with Trader Kane who did over $1.9
  435. 17:55million in a single payout and Jadecap
  436. 17:58who's also done over $2.3 million in a
  437. 18:01single payout at Apex. Not only can you
  438. 18:04get up to 20 accounts, but also it's
  439. 18:06only a one-phase evaluation. There's no
  440. 18:08daily draw down. Up to $25,000
  441. 18:11of each payout is 100% yours to keep and
  442. 18:1490% profit split thereafter. And most of
  443. 18:17all, there's no profit cap. Now, don't
  444. 18:20forget, you can get a payout at Apex
  445. 18:22every 8 days. So, you can get either
  446. 18:24their 25K account all the way up to
  447. 18:26their 300K account and you can get up to
  448. 18:2920 accounts. Now, make sure when you're
  449. 18:31getting an account at Apex, you use the
  450. 18:33code CF for up to 90% off at Apex Trader
  451. 18:37Funding. The link is in the description
  452. 18:39below. Use the code CF. Get up to 6
  453. 18:43million in futures funding today. Let's
  454. 18:45say for example you have a strategy that
  455. 18:48you know may not perform
  456. 18:50>> consistently through the year. Just
  457. 18:51going back to your original point of the
  458. 18:53two examples, strategy A, strategy B.
  459. 18:55Say you have strategy B that's only in
  460. 18:57the market 10% of the time but can
  461. 18:59provide a 20% return with that example.
  462. 19:03Does that mean that potentially the
  463. 19:05percentage of winners is higher for that
  464. 19:07particular strategy? Does the average uh
  465. 19:10loss or risk that you're willing to put
  466. 19:12onto those sort of that sort of strategy
  467. 19:14higher as well? Is there is there any
  468. 19:16metrics that allows you to then increase
  469. 19:18uh your risk size without having to
  470. 19:21maybe adjust your risk or ruin size
  471. 19:23because the strategy itself is what some
  472. 19:26may class as an a star setup if you will
  473. 19:28a star strategy. Is that something you
  474. 19:30do with algorithmic trading as well
  475. 19:31where you grade your strategies or have
  476. 19:34strategies that may perform better but
  477. 19:36maybe frequency is less versus strategy
  478. 19:39where frequency is higher but the
  479. 19:41performance is not bad because obviously
  480. 19:43you wouldn't use it then right but the
  481. 19:45performance is say just a more average
  482. 19:47performing strategy. A very good
  483. 19:49question is um as an algo trader you
  484. 19:52have to be uh conservative that's mean
  485. 19:56that you have to expect that the
  486. 19:58strategy that you will make that you
  487. 20:00will allocate will fail.
  488. 20:02>> Okay.
  489. 20:03>> Right. So uh there is a concept we call
  490. 20:07Monte Carlo Monte Carlo test. So
  491. 20:10basically the Monte Carlo test is you
  492. 20:12reshuffle your trade to see what is your
  493. 20:15worst outcome because nowadays every
  494. 20:18software will generate a beautiful
  495. 20:21equity curve but it doesn't mean this is
  496. 20:24the equity curve that you will have in
  497. 20:26real time with your real money.
  498. 20:28>> So you have to have some process to turn
  499. 20:32off the strategy. I always use this
  500. 20:35analogy. Uh when you manage a portfolio
  501. 20:38of strategy, it's like managing
  502. 20:41a a sports team, your goal is to let
  503. 20:44your A+ player on the field
  504. 20:46>> and removing the less performing one,
  505. 20:48right?
  506. 20:49>> So some people, some algo trader for
  507. 20:52instance, if the draw down of the
  508. 20:54strategy that they deploy exceed one and
  509. 20:57a half times sorry the usual draw down
  510. 20:59that you see on the back test, they will
  511. 21:01just turn it off. Okay,
  512. 21:02>> that's mean that it is failing probably
  513. 21:04failing.
  514. 21:05>> Mhm.
  515. 21:05>> Then it's the moment to replace it with
  516. 21:07a new one.
  517. 21:08>> Okay.
  518. 21:08>> Right. But the logic to uh go back to
  519. 21:11your question is the same. So if my algo
  520. 21:15have 40% I will deploy it as you know to
  521. 21:19respect my average loss of 0.5%. Right?
  522. 21:22But the beauty of the algorithmic
  523. 21:25trading is let's say you have an algo
  524. 21:27that trade based on volume and you have
  525. 21:29another algo that trade on based on
  526. 21:31price action and the two have the same
  527. 21:34signal.
  528. 21:35>> Okay.
  529. 21:35>> Right.
  530. 21:36>> Mhm.
  531. 21:37>> Um we call this like it's like ensemble
  532. 21:40trading an ensemble. It's like a voting
  533. 21:42system.
  534. 21:43>> Okay.
  535. 21:43>> So you have this guy that trade volume
  536. 21:45this guy trade price action the other
  537. 21:47guy trade mini reversion and the three
  538. 21:49of them give you the signal to go long.
  539. 21:52Okay.
  540. 21:52>> Right.
  541. 21:53>> Maybe this is the time to press heavier.
  542. 21:57>> Okay.
  543. 21:57>> Because it will the the quality of the
  544. 22:00signal will likely be higher. Right? And
  545. 22:03this is where you can size a bigger
  546. 22:06amount. So let's say you size 10% of the
  547. 22:08volume guy, 10% on the price action on
  548. 22:11the other on the mini reversion. Now you
  549. 22:13have 30% of your account on this single
  550. 22:16trade.
  551. 22:16>> Mhm.
  552. 22:17>> But they have of course different exit.
  553. 22:19But to get back to your to your question
  554. 22:23>> um yeah you can definitely increase the
  555. 22:25size
  556. 22:26>> but it has to be robust system.
  557. 22:29>> Yeah. So it has to be you know in in
  558. 22:31line with the data still because it
  559. 22:32doesn't change of course which even to
  560. 22:34the the discretionary manual traders is
  561. 22:37the same principle like it's all backed
  562. 22:38off data. They won't just do it based on
  563. 22:40feeling, right? Which is uh well to be
  564. 22:43to completely honest some of them have
  565. 22:45said there's a bit of intuition in there
  566. 22:46of course as well. But to your point
  567. 22:48just to finish off on that topic as you
  568. 22:50say so they you notice that free are
  569. 22:52sort of converging uh to give the same
  570. 22:55signal. Do you manually have to increase
  571. 22:57that size or is that still something
  572. 22:58that's automated?
  573. 22:59>> Automate 100% automate. Is it a case
  574. 23:03where let's say that if the signal is
  575. 23:04saying tick tick take t take t take
  576. 23:06across all three it will just automate
  577. 23:08that this decision that's been
  578. 23:10pre-planned or you still need to even
  579. 23:12though it's automated in its delivery do
  580. 23:13you have to make the adjustment or that
  581. 23:15adjustment's already programmed coded
  582. 23:17>> yeah it is done completely automatically
  583. 23:20>> and you have to look you will also look
  584. 23:23at in the back test that's why I always
  585. 23:26pound on the table you have to back test
  586. 23:28your strategy
  587. 23:29>> so and your portfolio so at some point
  588. 23:31in your portfolio Let's say you have a
  589. 23:33strategy on Apple and the three system
  590. 23:37that are supposed to be uncorrelated,
  591. 23:41right? They all fire the same signal,
  592. 23:43but you will be heavier on Apple,
  593. 23:46>> right? So, you will go long Apple uh
  594. 23:49based on this three algo, right?
  595. 23:51Hopefully, these algo are are not that
  596. 23:53exposed to the market. So, it's going to
  597. 23:54be in and out, right? You will not hold
  598. 23:56it for days
  599. 23:58>> or week. But yeah, it is completely done
  600. 24:01automatically.
  601. 24:02>> I love that. So I know we could keep
  602. 24:04going with the whiteboard, no doubt, and
  603. 24:06do some stuff, but I know everyone at
  604. 24:07home probably feeling the same way. This
  605. 24:09is great, but we want to see the code or
  606. 24:11the algorithm, the platforms. So should
  607. 24:13we should we uh pivot across to there?
  608. 24:15>> Sure.
  609. 24:15>> Perfect. Yeah.
  610. 24:16>> So, now that we've gone through the
  611. 24:18whiteboard section where we've sort of
  612. 24:19mapped out the mindset behind using
  613. 24:21algorithms and sort of how robust they
  614. 24:24need to be and the data collection and
  615. 24:25the risk of ruin and the risk
  616. 24:27calculations and the things that need to
  617. 24:28be thought out before implementing an
  618. 24:31algorithm, we're now going to go through
  619. 24:33a toz step-by-step process of actually
  620. 24:36building an algorithm without using
  621. 24:38code. So, no coding experience
  622. 24:39necessary. uh the different parameters
  623. 24:41we'll look at everything all a toz to
  624. 24:44actually have an algo that can trade for
  625. 24:46you in the markets. So where should we
  626. 24:48begin with that?
  627. 24:49>> Perfect. So this is a trading system
  628. 24:53builder. It is called strategy quant x.
  629. 24:57So this software lets you code a bot
  630. 25:02without learning how to code without
  631. 25:04writing a single line of code. Right? So
  632. 25:07if we go here in the screen you can see
  633. 25:10that um
  634. 25:13on this setting it says what to build.
  635. 25:16So for the sake of this example we want
  636. 25:19to build a long only we have the choice
  637. 25:22to build short both long and and short
  638. 25:24but we're going to stick to only long.
  639. 25:28Um we're going to use genetic evolution.
  640. 25:31You can use random generation. So
  641. 25:34basically random generation it will
  642. 25:37try randomly different set of rule. So
  643. 25:40let's say buy when RSI is below 30 and
  644. 25:44if it's Friday by the stocks. So this is
  645. 25:48by random generation or genetic
  646. 25:50evolution right
  647. 25:52>> or genetic evolution.
  648. 25:53>> Genetic evolution it's because it will
  649. 25:57optimize the setting of the indicator
  650. 25:59right. So it will say okay buy when RSI
  651. 26:023 is below 1.5 you know what I mean
  652. 26:06>> right so uh it's it it will really
  653. 26:09curfeit the strategy but this is not
  654. 26:11what we want
  655. 26:13>> because we will have after that
  656. 26:15>> a filtering process
  657. 26:17>> because we're going to test the strategy
  658. 26:18across multiple parameter so we're going
  659. 26:21to take the same strategy we're going to
  660. 26:22say okay I'm going to say to the
  661. 26:23software test it when RSI is below 20 30
  662. 26:2740 15 10 and so on. And if we have a r a
  663. 26:32wide range of profitability, then we
  664. 26:35know the strategy is robust.
  665. 26:36>> Okay.
  666. 26:37>> When the strategy is not robust,
  667. 26:39>> when it pick the setting that you want,
  668. 26:43>> it will fail.
  669. 26:44>> Yeah.
  670. 26:44>> Because it cherrypicked the data to have
  671. 26:48the perfect equity curve.
  672. 26:49>> Okay.
  673. 26:50>> Right. But this is not what we want. We
  674. 26:52want a robust one that's work across
  675. 26:55multiple setup. Gotcha. Right. Yeah.
  676. 26:58>> For uh the number of condition to
  677. 27:00generate um
  678. 27:03we have the choice of using one rule
  679. 27:06only, two rule, three rule, four rule
  680. 27:08and so on. But um the more rule that you
  681. 27:12will use the likely this strategy will
  682. 27:15be overfit. Meaning it's going to fit
  683. 27:18only the data will which will when you
  684. 27:21will be trading it with real money in
  685. 27:23real time, it will fail, right? because
  686. 27:26it's easy to generate nice looking
  687. 27:27equity curve. You want something robust.
  688. 27:30So we want to stick to maybe two entry
  689. 27:33rule to three
  690. 27:35>> entry rule and for exit rule you want
  691. 27:39maybe one to two. I'll stick to one
  692. 27:41right
  693. 27:42because at the end we're going to have a
  694. 27:44maximum of three rule of entry. So we
  695. 27:47reduce the likelihood of the strategy
  696. 27:49not performing.
  697. 27:50>> Right?
  698. 27:54So we have a stop loss it's going to be
  699. 27:56required. You have the choice of a
  700. 27:59percentage stop loss between 1 and 10%.
  701. 28:01You have ATR based it use volatility
  702. 28:05stop right because as you know when
  703. 28:07market are calm it doesn't move a lot
  704. 28:10but when market are very volatile the
  705. 28:14average moving per day is higher. Yeah.
  706. 28:16Right. So you want an ATR based and or
  707. 28:18it can only use an indicator which mean
  708. 28:22if the close is below a catner channel
  709. 28:24just exit the trade basically right so
  710. 28:27this is the parameter that's you give to
  711. 28:30SQX same logic is applied with profit
  712. 28:34target is it required yes person yes
  713. 28:39>> and we can use also an indicator level
  714. 28:42right so this is what we want to build
  715. 28:46So this is the interesting part here the
  716. 28:48building block the the building block.
  717. 28:51So here you have predefined condition.
  718. 28:54>> Yeah
  719. 28:54>> you have uh you see um
  720. 28:58hammer pattern you have a lot of rule
  721. 29:01bullinger bar close above lower band u
  722. 29:04all these are automatically generated.
  723. 29:07Let's say you want to go to RSI go to
  724. 29:10the letter R. Um
  725. 29:14we can see here
  726. 29:16that's
  727. 29:18error size here right resize change
  728. 29:20direction downward area cross above
  729. 29:23level and so on you can select them all
  730. 29:26or not but I just selected it randomly
  731. 29:29just choose choose random 100 block I
  732. 29:32can add more if I want to choose other
  733. 29:35indicator ATR edx um CCI you name it
  734. 29:41they have it probably uh so have a lot
  735. 29:44of indicator that the software will try
  736. 29:46to generate a strategy with. So this is
  737. 29:49very interesting here. You can use your
  738. 29:52type of stop, right? You can use maybe
  739. 29:55the daily low of the bar to exit the
  740. 29:57trade, Fibonacci,
  741. 29:59uh you name it. There is many many
  742. 30:01indicator here.
  743. 30:02>> In terms of the indicator, is it only
  744. 30:04what's available on the platform or are
  745. 30:05you able to import a custommade
  746. 30:08indicator? I know a lot of traders I
  747. 30:10know personally have started to you know
  748. 30:12build indicators around their trading
  749. 30:14even if it's like a specific metric like
  750. 30:16liquidity for example or uh you know a
  751. 30:18particular pattern that they use and
  752. 30:21they use an indicator to make that
  753. 30:22easier for them to spot or automate that
  754. 30:24process. Are you able to say import that
  755. 30:26onto this platform?
  756. 30:27>> Yes.
  757. 30:27>> And then therefore you know it would
  758. 30:29would it automatically just pick up the
  759. 30:30code from that etc and have parameters
  760. 30:33in there?
  761. 30:33>> Yes, you have the possibility to add
  762. 30:35what we call here in Strategic Quant X a
  763. 30:37custom block.
  764. 30:38>> Okay. So this block you will import your
  765. 30:40indicator and it will use it
  766. 30:43>> to generate strategy.
  767. 30:44>> Amazing. It's the wble you can see here
  768. 30:46we have predefined condition indicator
  769. 30:49the stop type if you want limit market
  770. 30:51order and so on.
  771. 30:53>> Here you have the exit you want to exit
  772. 30:55after two bar three bar you have
  773. 30:57trailing stop uh you can use an
  774. 30:59indicator for an exit rule right you can
  775. 31:02enter at market stop see enter at
  776. 31:06market. So you can choose your type of
  777. 31:09uh money management. Here we we're going
  778. 31:11to try it on Apple. That is a stock. So
  779. 31:14we're going to choose a stock size by
  780. 31:16price.
  781. 31:16>> Okay.
  782. 31:17>> I just put an initial capital of 25,000
  783. 31:20$25,000.
  784. 31:22Um but you can use let's say you trade
  785. 31:25future market, you can use fixed size.
  786. 31:28So maybe just buy one contract, right?
  787. 31:32>> Completely doable. You can try crypto
  788. 31:35too, right? You can risk a person amount
  789. 31:39of your account. There is a whole garden
  790. 31:43variety of money management method that
  791. 31:45you can choose from.
  792. 31:46>> Yeah.
  793. 31:46>> But for this example, we're going to try
  794. 31:49stock size by price, right? And the
  795. 31:52ranking. What is the ranking? Um,
  796. 31:56basically it is the filter that you
  797. 31:59force strategic want X. You said okay I
  798. 32:02want my strategy to have at least
  799. 32:04>> a return to draw down ratio what we
  800. 32:07talked earlier of four.
  801. 32:09>> Mhm.
  802. 32:09>> We want at least a profit factor of more
  803. 32:13than 1.5 1.3. Right. We want at least an
  804. 32:17average trade per month of two.
  805. 32:19>> Okay.
  806. 32:20>> Right.
  807. 32:21So you can add a whole range of um you
  808. 32:26know filter uh you can choose from.
  809. 32:29Let's say some we talked about uh the
  810. 32:31risk adjusted return earlier right we
  811. 32:34can use the sharp see sharp ratio is
  812. 32:38already here you can use the UPI index
  813. 32:42user performance index
  814. 32:45>> this is another risk adjusted metric so
  815. 32:48you you have a lot of the the metric
  816. 32:50that you can use
  817. 32:51>> and you would just input your desired
  818. 32:54yes but there is a
  819. 32:58an approach to
  820. 32:59Right? You don't want to curfeit the
  821. 33:01strategy. You want to give a lot of
  822. 33:04space to the the strategy context to
  823. 33:06generate good strategy because if you
  824. 33:08say okay, I want a strategy that make
  825. 33:11100% a year. It would likely be curve
  826. 33:14fit.
  827. 33:14>> So you want to have a
  828. 33:16>> when you say curve fit does that mean
  829. 33:18essentially it's just making a strategy
  830. 33:19that you want but the data and the
  831. 33:22robustness of it isn't really there.
  832. 33:23>> Exactly. Yes. it would it will look good
  833. 33:26on the the back test but not in real
  834. 33:29life.
  835. 33:29>> Okay.
  836. 33:29>> So you don't want to lose money. So you
  837. 33:31want to make sure that it is robust and
  838. 33:33one method to do that is to not give
  839. 33:35strategy qu x uh too much severe uh
  840. 33:40filter.
  841. 33:41>> Mhm.
  842. 33:42>> So so this is the
  843. 33:46standard filter that we can do. But um
  844. 33:50now we're going to I'm going to just
  845. 33:52clear here strategy.
  846. 33:56>> So those are strategies that before we
  847. 33:57started just testing it.
  848. 33:59>> Yes. Now the datab bank is uh empty. So
  849. 34:03we're going to start it here.
  850. 34:07So now you see strategic quant x is
  851. 34:10starting to work is starting to do
  852. 34:14million of simulation.
  853. 34:15>> Okay. thousand even easily we can
  854. 34:17achieve million of simulation with this
  855. 34:19kind of stuff.
  856. 34:20>> So right now it's doing it through trade
  857. 34:22station on Apple on the is that the D1
  858. 34:26daily time frame is it?
  859. 34:27>> Yes.
  860. 34:28>> Yes on the back. We're using the we are
  861. 34:31using the engine trade station because
  862. 34:33we want it to generate the code of trade
  863. 34:36station or multi chart. But let's say
  864. 34:38you trade another platform
  865. 34:40>> say meta trader
  866. 34:42>> okay
  867. 34:42>> or something else you can generate the
  868. 34:46code with meta trader.
  869. 34:47>> So in this case what is it's going to do
  870. 34:49this back test collect all this data
  871. 34:50we'll get there no doubt obviously when
  872. 34:52it gets to you know embedding it onto
  873. 34:53the platform right we'll come back to
  874. 34:55that a little shortly but in terms of
  875. 34:57what we've done here. So it's now
  876. 34:58showing you here the parameters of what
  877. 35:00you set.
  878. 35:01>> Exactly.
  879. 35:02>> Right. So if we just walk through this
  880. 35:03whilst it's still generating. So what to
  881. 35:05build is obviously simple strategy long
  882. 35:07only uh stop loss and and
  883. 35:10required yet
  884. 35:11>> using ATR. It has generic uh genetic
  885. 35:15sorry
  886. 35:15>> evolution.
  887. 35:16>> Yeah. Genetic evolution 100 generations
  888. 35:18max. Four islands. 100 per island start.
  889. 35:22>> Yes. and and the building block that you
  890. 35:24see here is the rule for generating
  891. 35:30the strategy.
  892. 35:31>> Okay.
  893. 35:31>> As well as the indicator.
  894. 35:33>> So we have roughly 140 entry block. Um
  895. 35:38money management. You can see here it's
  896. 35:39stock size by price.
  897. 35:41>> Yes.
  898. 35:42>> Right. So as you can see here it's
  899. 35:44already started to generate. Yeah.
  900. 35:46>> Right. as well.
  901. 35:47>> Obviously, the more powerful the
  902. 35:49computer, the better is because it will
  903. 35:51generate it very quickly.
  904. 35:53>> But so you you can see here it generated
  905. 35:56a strategy here with a net profit of
  906. 35:58$7,000,
  907. 36:00$451
  908. 36:02trade with a profit factor of 1.54.
  909. 36:09Um you can see the draw down is about
  910. 36:11$1,600.
  911. 36:13>> Mhm.
  912. 36:13>> Right. So all the metric that we spoke
  913. 36:16about you we if you remember we have a
  914. 36:20filter of having a return to draw down
  915. 36:23ratio above four.
  916. 36:24>> Yes.
  917. 36:24>> So it it respected it. So get this this
  918. 36:29is how we generate ago. So let's say an
  919. 36:33example for um the strategy here. This
  920. 36:37is one strategy that strategic quant x
  921. 36:40>> has developed
  922. 36:41>> developed right and um
  923. 36:44>> so showing you the data through all
  924. 36:45those years.
  925. 36:46>> Exactly. Exactly. When you go trade
  926. 36:49analysis, you have all this metric. You
  927. 36:52can see net profit per year. Where is
  928. 36:54your profit per factor per year? How
  929. 36:56much
  930. 36:56>> how many number of trade what were what
  931. 36:59were your winning percentage per year,
  932. 37:01right?
  933. 37:02>> You can see which one is a loser year,
  934. 37:06winning year, right?
  935. 37:08>> Interesting.
  936. 37:08>> What is your maximum profit by weekday?
  937. 37:11You can see here that Friday is a good
  938. 37:14day to trade it. Right?
  939. 37:15>> So when you look at this data, is
  940. 37:17anything
  941. 37:18Well, there's two qu or a couple
  942. 37:19questions to go from here. One, I know
  943. 37:22that the audience might be thinking it's
  944. 37:23like, okay, if it's this easy to develop
  945. 37:26a strategy, you know, an automated
  946. 37:28strategy and algo, surely everyone would
  947. 37:30just do this and and then implement,
  948. 37:32right? But what what is the reality then
  949. 37:34after at this stage we have all these
  950. 37:36strategies that's been developed off
  951. 37:38these parameters. What do you do from
  952. 37:39here? Like how are you then looking at
  953. 37:41this data and then making decisions? Are
  954. 37:43there tweaks you need to make? Is there
  955. 37:45certain things you need to be aware of?
  956. 37:47Are there things that you go okay yes
  957. 37:50it's generated this many strategies but
  958. 37:51these ones are no good to look at and
  959. 37:53these are the ones that I need to focus
  960. 37:55on more. Are there things that you
  961. 37:57adjust from here still?
  962. 37:59>> These strategy are curfeitted
  963. 38:02>> which mean most of them will not perform
  964. 38:06well in life environment.
  965. 38:07>> Okay.
  966. 38:08>> So you need a robust process to filter
  967. 38:11out this strategy. Right. Earlier we
  968. 38:14spoke that we want a robust strategy.
  969. 38:18For instance, we wanted to work on a
  970. 38:20whole variety of setting.
  971. 38:24>> Let me give you an example. If the
  972. 38:26strategy here is okay, buy when below
  973. 38:3015, you want the strategy to be
  974. 38:33profitable. Buy when RSI is below 10, 5,
  975. 38:3625, 30, right? You want to have a map of
  976. 38:40profitable parameter. that uh give you
  977. 38:44confidence to go to the next robustness
  978. 38:46test because there is many many
  979. 38:48robustness test that you have to go
  980. 38:50through you can start with 5,000 for
  981. 38:54instance on my part I can have you know
  982. 38:56in the result part more than 10,000
  983. 38:59strategy
  984. 38:59>> okay
  985. 39:00>> but at the end I'll end up with maybe 25
  986. 39:05potential that I will trade life
  987. 39:08>> so from these 25 I have okay I have the
  988. 39:12confidence that okay this strategy they
  989. 39:14all passed all the robustness test
  990. 39:16because I always like to use this
  991. 39:18analogy right building an algo is like
  992. 39:22preparing a fighter for the unknown
  993. 39:25>> right
  994. 39:26>> if you're training a fighter you want to
  995. 39:28make sure that your fighter is able to
  996. 39:30box to throw kicks to fight on the
  997. 39:32ground
  998. 39:33>> you want a training a whole diverse set
  999. 39:36of training for your fighter because you
  1000. 39:38will give him a better chance to win the
  1001. 39:40fight M
  1002. 39:41>> the same logic apply in algo trading
  1003. 39:43right you want to have as much as
  1004. 39:47robustness tests you your goal basically
  1005. 39:49is just to break the strategy
  1006. 39:51>> right you want to break it you will test
  1007. 39:53it on another market to see how it
  1008. 39:55perform you know that okay the strategy
  1009. 39:58is profitable across a big set of
  1010. 40:01parameter that's good it's work on other
  1011. 40:04market that's good right earlier we
  1012. 40:07spoke about uh knowing what is the the
  1013. 40:10worst outcome Yeah,
  1014. 40:11>> with Monte Carlo test, right? With Monte
  1015. 40:13Carlo test for instance, it will
  1016. 40:15reshuffle the trade and see what is the
  1017. 40:18worst outcome. So now here you see the
  1018. 40:20the equity curve look very nice. But uh
  1019. 40:23when you when you do the Monte Carlo
  1020. 40:26test, the equity curve is very ugly. So
  1021. 40:29you just throw it to the garbage to the
  1022. 40:32garbage.
  1023. 40:32>> It would have to even after the Monte
  1024. 40:34Carlo test, it would have to produce
  1025. 40:36similar results like positive return.
  1026. 40:38>> Yes. Yes, for it to be robust and to be
  1027. 40:40more trustful.
  1028. 40:41>> Yes. In ter in term of draw down, in
  1029. 40:43term of performance, the equity curve
  1030. 40:45will be just uglier, you will look at
  1031. 40:47it, right? Like
  1032. 40:48>> when you say reshuffle, what does that
  1033. 40:49mean in terms of
  1034. 40:50>> so um in term of sequence? So let's say
  1035. 40:54you have this this is on in term of
  1036. 40:56trade a win loss win loss loss loss win.
  1037. 41:00>> So it will reshuffle the trade sequence
  1038. 41:03to see what was your worst outcome.
  1039. 41:06>> Mhm. So as an algo trader, you will
  1040. 41:10trade a strategy with real money and at
  1041. 41:13some point it will just start with
  1042. 41:14losses, right? If I know in my Monte
  1043. 41:17Carlo test my max consecutive loss were
  1044. 41:2010, I know that what that was the worst
  1045. 41:24outcome. So I will continue to trade it
  1046. 41:26even if I have 10 consecutive losses
  1047. 41:29because I know at some point I'm going
  1048. 41:31to be on the winning trajectory.
  1049. 41:33>> Okay.
  1050. 41:34>> Okay. So this is with Monte Carlo test
  1051. 41:36you can you know with Robinson there is
  1052. 41:38many many Robson tests you can just
  1053. 41:41modify the open high low close price
  1054. 41:43having a scentic price action and test
  1055. 41:46the strategy to see if it's work or not.
  1056. 41:48>> Mhm.
  1057. 41:49>> So all these tests are available in SQX.
  1058. 41:52You can do it automatically as a
  1059. 41:55workflow. We call it a workflow. So
  1060. 41:57let's say it's you want a 10,000
  1061. 42:00strategy to be in the data bank. when it
  1062. 42:03finish it will test it. Let's say it
  1063. 42:06will do the Monte Carlo.
  1064. 42:08>> So from the 10,000 let's say there is
  1065. 42:105,000 left and after that it will test
  1066. 42:13it let's say on another market.
  1067. 42:14>> Yeah.
  1068. 42:15>> So on the 5,000 you have only 2,000
  1069. 42:18available. So you have many many many al
  1070. 42:21uh robustness test that you go through
  1071. 42:22before trading the strategy because many
  1072. 42:25of the strategy are curfeitted. You need
  1073. 42:27to have a robust process to filter out.
  1074. 42:29Mhm. Let's take a break for a minute
  1075. 42:31there, guys, cuz I want to tell you
  1076. 42:32about our incredible sponsor,
  1077. 42:33Tradezeller. Tradezeller is the number
  1078. 42:36one trading tool in the entire trading
  1079. 42:38industry. Tradezella allows you to
  1080. 42:40become a more profitable trader. Allows
  1081. 42:43you to make immense progress as a
  1082. 42:45trader, no matter if you're a beginner
  1083. 42:46or an advanced level trader, because it
  1084. 42:48makes journaling easy. It makes
  1085. 42:50journaling something that is fun and
  1086. 42:52enjoyable and something that is
  1087. 42:54interactive. So, no matter if you're a
  1088. 42:56crypto trader, no matter if you're a
  1089. 42:57futures trader, no matter if you're a
  1090. 42:58forex trader, no matter if you're a
  1091. 43:00stock trader, all you have to do is
  1092. 43:02select your broker, your platform of
  1093. 43:04choice, and connect it to Tradesella,
  1094. 43:07and it will automatically sync your
  1095. 43:09trades and pull all of that data onto
  1096. 43:12the dashboard, making journaling and
  1097. 43:14finding your [music] edge and adapting
  1098. 43:16your edge so easy. In collaboration with
  1099. 43:19Tradzella and Chart Fanatic
  1100. 43:21specifically, we are actually getting
  1101. 43:23the playbooks from the episodes that
  1102. 43:25we're filming with these incredible
  1103. 43:27verified traders and adding [music] them
  1104. 43:29as playbooks onto Trade Zela. So, you
  1105. 43:31can actually go on there and see the
  1106. 43:33rule sets already predefined. So, make
  1107. 43:36sure you check that out as well. Now,
  1108. 43:37you can actually get 10% off your
  1109. 43:40monthly subscription using CF10 on
  1110. 43:42Tradzella right now. But more
  1111. 43:44importantly, I would say CF20 for 20%
  1112. 43:48off your yearly subscription with
  1113. 43:50Tradezella. The links for Tradezella are
  1114. 43:52in the description below. So, make sure
  1115. 43:54you go check them out. Use CF20, get 20%
  1116. 43:57off your yearly subscription, become a
  1117. 43:59better trader today. Now, let's get back
  1118. 44:01to the episode. So, um yeah, so here
  1119. 44:05this is a strategy that is um
  1120. 44:09generated. So now we're going to import
  1121. 44:11the code and um export it into the
  1122. 44:16trading station that we use and you will
  1123. 44:18see that um once it's imported and
  1124. 44:21exported into the trading station it
  1125. 44:23will automatically send the trade.
  1126. 44:25>> Okay. The process in itself is easy but
  1127. 44:28what is difficult is having a robust
  1128. 44:30strategy.
  1129. 44:31>> Yeah. So when you talk about that
  1130. 44:32robustness as well in terms of the
  1131. 44:34different criteria is that where you
  1132. 44:36would adjust it in the uh the building
  1133. 44:40phase that we we originally started on
  1134. 44:42you would adjust these different RSI
  1135. 44:44filters.
  1136. 44:44>> Yes.
  1137. 44:45>> And see the performance. Do you collect
  1138. 44:47the the data together? Was it all
  1139. 44:50separate?
  1140. 44:51>> Uh no it's all separate. So here we have
  1141. 44:54what you call a we can do it here but we
  1142. 44:58have what we call a custom project.
  1143. 44:59Right. So this is all workflow right? So
  1144. 45:05let's take this workflow, right? This is
  1145. 45:07the build phase.
  1146. 45:08>> Mhm.
  1147. 45:09>> That we did, right?
  1148. 45:11>> Yeah.
  1149. 45:11>> It's going to start building and after
  1150. 45:13that it's going to retest it on another
  1151. 45:16out of sample data, right? And after
  1152. 45:18that it will test it on another time
  1153. 45:20frame.
  1154. 45:21>> Okay. So what our original one was
  1155. 45:23Apple.
  1156. 45:23>> Yeah.
  1157. 45:24>> Um on the daily time frame. Yes. Right.
  1158. 45:26So in this case it would then test it on
  1159. 45:28say Tesla.
  1160. 45:29>> Yes. Yes, on a 4 hour time
  1161. 45:31>> on the on the NASDAQ, on gold, on bonds.
  1162. 45:34>> So it will do different assets first and
  1163. 45:38then it will do time frame after or
  1164. 45:39same.
  1165. 45:40>> It depend on your workflow that you
  1166. 45:41want. Okay.
  1167. 45:42>> This is just a generic workflow, right?
  1168. 45:45>> Yeah. This is on there, right?
  1169. 45:46>> Yeah. Yeah. This is a generic workflow.
  1170. 45:48But just for uh example, yeah, it's a
  1171. 45:52generic thing. Yeah. So if we go to the
  1172. 45:54custom project here and we click start
  1173. 45:57you will see first it will clear the
  1174. 45:59data bank and it will start building
  1175. 46:01strategy right and this is ES
  1176. 46:05>> okay
  1177. 46:06>> may take a little bit longer because we
  1178. 46:07are on a hourly time frame so there is a
  1179. 46:10lot of data to for strategy X
  1180. 46:12>> how far back does it go
  1181. 46:14>> the
  1182. 46:15>> as much as the data allows it to
  1183. 46:17>> oh
  1184. 46:19for early 2000
  1185. 46:21>> so you have 25 year data.
  1186. 46:25>> So if you have a strategy that make it
  1187. 46:27to the end
  1188. 46:29>> you have more confidence because you
  1189. 46:30have 25 year on of data from 2000 to
  1190. 46:342025 we have a lot of bare market a lot
  1191. 46:37of a lot of volatility event and if your
  1192. 46:40strategy survive this
  1193. 46:43>> you have high confidence to trade it
  1194. 46:46live it doesn't mean it would work don't
  1195. 46:48get me wrong it may fail. Yeah,
  1196. 46:50>> right. Even if it fail, it's okay. We're
  1197. 46:53going to stop it because look, we have
  1198. 46:56hundred if not thousand of strategy
  1199. 46:58which will be running on the background.
  1200. 47:00We call this incubation.
  1201. 47:02>> Mhm.
  1202. 47:03>> Incubation is when you run your strategy
  1203. 47:05with simulation money, right? So what?
  1204. 47:09>> Okay. So like before you go live.
  1205. 47:11>> Yeah. Simulation money. So
  1206. 47:12>> and even when you go live, as you
  1207. 47:13mentioned, it could still not work.
  1208. 47:15>> Exactly.
  1209. 47:15>> You still have more in that incubation
  1210. 47:17phase to phase in, phase out. Exactly.
  1211. 47:19So if the one doesn't work, I know a
  1212. 47:22strategy that is working on simulation
  1213. 47:24one. Okay.
  1214. 47:24>> Is performing.
  1215. 47:26>> So I have an additional confident
  1216. 47:28because it work on seen data.
  1217. 47:30>> Yeah.
  1218. 47:30>> New data and it did well.
  1219. 47:32>> Mhm.
  1220. 47:33>> So I'm going to just grab it, replace
  1221. 47:35the one that is not performing and trade
  1222. 47:37it.
  1223. 47:38>> Yeah.
  1224. 47:38>> Right.
  1225. 47:39>> In terms of right now it's doing the
  1226. 47:40building strategies again.
  1227. 47:42>> Yes.
  1228. 47:42>> Does it then wait to complete that to
  1229. 47:44then move on to the phase three?
  1230. 47:45>> Exactly. So now it's going to go to the
  1231. 47:47phase three and after it finished from
  1232. 47:49the phase three probably now here we
  1233. 47:51have 44 strategy right we will probably
  1234. 47:54have less less strategy after that it's
  1235. 47:56going to go retest time frame here
  1236. 47:58>> by the time it gets to final you might
  1237. 48:00only have five
  1238. 48:01>> exactly
  1239. 48:02>> but those are robust at this point
  1240. 48:03>> exactly
  1241. 48:04>> okay but you can customize all of these
  1242. 48:06elements
  1243. 48:07>> exactly
  1244. 48:07>> that are there so if we were to take
  1245. 48:09just the example we were on so we did
  1246. 48:11Apple originally y so let's say just run
  1247. 48:13us through what that would look like for
  1248. 48:14you um not that we actually have to do
  1249. 48:17it cuz it probably take a lot of time
  1250. 48:18but just generally for the flow for
  1251. 48:19people at home who might be look
  1252. 48:20thinking of doing this
  1253. 48:22>> what would that look like for you in
  1254. 48:23terms of okay Apple number one we had
  1255. 48:25daily time frame what would those
  1256. 48:27adjustments look like for you if you
  1257. 48:28were to be doing that yourself
  1258. 48:30>> okay
  1259. 48:31>> through that flow of like steps to
  1260. 48:33>> so this is a generic workflow this is
  1261. 48:35not my own workflow right I have my own
  1262. 48:38workflow I have a lot more uh steps yes
  1263. 48:42more much more steps
  1264. 48:44>> and Just to give you an idea here. Um,
  1265. 48:47well, I'm going to we already have 200
  1266. 48:50strategy. And if we look at uh let's say
  1267. 48:53I'm going to click uh this one.
  1268. 48:56>> So, yeah. So, this one just $240.
  1269. 48:59>> So, when you're looking at that, what
  1270. 49:01would what are you thinking? You're
  1271. 49:02looking at this one. You're looking at
  1272. 49:03the data. You're thinking, okay, what
  1273. 49:05are the key markers you're looking at to
  1274. 49:07go this is no good. This is good.
  1275. 49:10Um well first it has to generate a lot
  1276. 49:13of strategy because I think there is a
  1277. 49:15bug here but when you look for instance
  1278. 49:17at
  1279. 49:19um the trading metrics such as profit
  1280. 49:22factor
  1281. 49:23>> right you can see that we have between
  1282. 49:251.4 1.5 we have interesting return
  1283. 49:28annual return
  1284. 49:31>> look here annual percent rate of return
  1285. 49:33is about 77%.
  1286. 49:35>> Right. And this is trading future.
  1287. 49:37>> Yeah
  1288. 49:37>> right. So this is a return on margin
  1289. 49:40right look this is crazy return 208
  1290. 49:44>> Mhm. return like I've said these
  1291. 49:47strategy are are most likely curfeitted
  1292. 49:50if you don't apply the robustness test
  1293. 49:53on it right but let's say I'm going to
  1294. 49:55>> when you look at that you wouldn't go
  1295. 49:56>> no no no I'm not going well
  1296. 49:58>> you're going to go yeah
  1297. 49:59>> okay something's wrong there
  1298. 50:00>> so not something is wrong but um I'm I
  1299. 50:04have to wait and to go to all this
  1300. 50:06process to maybe judge it so let's say
  1301. 50:09I'm going to just stop it here I'm going
  1302. 50:10>> would you let's say for example when you
  1303. 50:12go through this process let's say
  1304. 50:13there's one as you say 208%.
  1305. 50:15>> Yeah.
  1306. 50:16>> Going through that process and it still
  1307. 50:18makes it out the other end, would it be
  1308. 50:20would it have adjusted do you think to
  1309. 50:21then be more accurate? Let's say if it's
  1310. 50:23gone down to 100%. But it's gone through
  1311. 50:25your the robustness test and gone
  1312. 50:27through all the steps. Then is that
  1313. 50:30something you go okay this is more of a
  1314. 50:32realistic we yes I will have more
  1315. 50:34confidence for sure and uh I'll have to
  1316. 50:37look at the draw down right. So to to be
  1317. 50:41to size it, you can see here the draw
  1318. 50:42down of the 208% we're talking about
  1319. 50:4513,000,
  1320. 50:47right? So if I'm going to allocate
  1321. 50:50$100,000 to Yeah.
  1322. 50:52>> this strategy, then my return will be
  1323. 50:56lower.
  1324. 50:56>> Mhm.
  1325. 50:57>> Than this on thingy is this uh I know
  1326. 51:00obviously we ran a random test. Is it
  1327. 51:01on? I know the original one was on
  1328. 51:0325,000.
  1329. 51:04>> Yes. But this is our future.
  1330. 51:06>> Okay. It's on future and it use the
  1331. 51:09margin required to trade.
  1332. 51:11>> So that's why you see higher number
  1333. 51:14because if you need $25,000 to trade the
  1334. 51:17one ES future contract then it will
  1335. 51:20calculate the return based based on
  1336. 51:21that. Got
  1337. 51:22>> right
  1338. 51:24so um let me yeah so here the initial
  1339. 51:29capital is on 10,000. So the return is
  1340. 51:31calculated based on $10,000,
  1341. 51:33>> right?
  1342. 51:34>> But this is the first step of the
  1343. 51:36workflow.
  1344. 51:36>> Yep.
  1345. 51:37>> It's not time to get excited. [laughter]
  1346. 51:40>> We have to continue.
  1347. 51:41>> It's very easy to get. Yeah.
  1348. 51:43>> So if I run the project, let's say from
  1349. 51:46another out of sample test.
  1350. 51:48>> Okay. So this is taking is it going to
  1351. 51:52take the number that we had stopped at?
  1352. 51:53Yeah.
  1353. 51:54>> And run it through this now.
  1354. 51:55>> Exactly.
  1355. 51:56>> Okay. So it's we're going to retest out
  1356. 51:58of sample another time frame.
  1357. 52:01>> Where was it out of sample? Where is it
  1358. 52:03testing?
  1359. 52:04>> This is the workflow. So have
  1360. 52:06multi-step. We were in the build uh
  1361. 52:09build step strategy. Now we are on the
  1362. 52:12retest step strategy.
  1363. 52:14>> Is that the Monte Carlo?
  1364. 52:15>> No, Monte Carlo is here. Step five MC MC
  1365. 52:19test.
  1366. 52:20>> So when it says out of sample, what does
  1367. 52:22that mean?
  1368. 52:23>> We were looking at ES is it then? And is
  1369. 52:25that where it's doing on S&P for
  1370. 52:26example?
  1371. 52:27>> Yeah. No. So in algo trading when you
  1372. 52:30build a strategy you have to use the in
  1373. 52:33sample and out of sample.
  1374. 52:34>> Okay.
  1375. 52:35>> Right. So you will say to SQX look build
  1376. 52:39a strategy from 2000 to 2008.
  1377. 52:42>> Okay.
  1378. 52:42>> Right. And after that once you build a
  1379. 52:44strategy I want you to test it on 2008
  1380. 52:48to 2025 to see how it's perform.
  1381. 52:50>> Okay.
  1382. 52:51>> This the this is a step to reduce curve
  1383. 52:53fitting. Mhm.
  1384. 52:54>> Because you will see if the strategy is
  1385. 52:56not perfect, it will likely perform on
  1386. 52:58inseen data out of sample. It is just
  1387. 53:01insane data. The software doesn't look
  1388. 53:03at it,
  1389. 53:04>> right? Um
  1390. 53:06>> so then it'll be like raw. It would just
  1391. 53:07be like how did this actually perform in
  1392. 53:09this?
  1393. 53:10>> Yes.
  1394. 53:11>> So you have the in sample,
  1395. 53:12>> you have the strategy, let's say the one
  1396. 53:14that have 200%. But if you tested on
  1397. 53:17from 2008 to 2025 which is out of sample
  1398. 53:21and seen data the software does did not
  1399. 53:24see this data.
  1400. 53:25>> Okay.
  1401. 53:26>> You will see how it perform.
  1402. 53:27>> Okay.
  1403. 53:28>> If the performance is rep representative
  1404. 53:32of the in sample that's we may have a
  1405. 53:35potential candidate
  1406. 53:37>> start to build more confidence.
  1407. 53:38>> Exactly. Exactly.
  1408. 53:40So for you for example like if you're to
  1409. 53:43do that process for yourself right now
  1410. 53:45what what data would you use as in
  1411. 53:47sample and then what would you use as
  1412. 53:48out sample?
  1413. 53:49>> Very good question. Very good question.
  1414. 53:51Um I like to use
  1415. 53:55uh a a diverse range of market regime in
  1416. 54:00both.
  1417. 54:00>> Okay.
  1418. 54:01>> Right. You know the saying that say that
  1419. 54:04everybody is a genius in a bull market.
  1420. 54:06Yeah.
  1421. 54:06>> Right. But the same logic apply with
  1422. 54:08this kind of software. You have to
  1423. 54:11select a data set that you have multiple
  1424. 54:14>> bare market, bull market, very volatile
  1425. 54:18event, even low volatility events. So
  1426. 54:22you want to make sure that your strategy
  1427. 54:24is doing okay during this period. And
  1428. 54:28after that, you're going to test it on a
  1429. 54:30set that was not seen by by SQX to see
  1430. 54:33if it's performed well. How does that
  1431. 54:34how does that work in terms of it wasn't
  1432. 54:36seen by SQX? What does that mean?
  1433. 54:38>> Well, surely it has all the data, right?
  1434. 54:40>> Yes, it has all the data, but the data
  1435. 54:42that's it used to build the strategy, it
  1436. 54:45will not uh use the out of sample data.
  1437. 54:48>> Okay.
  1438. 54:48>> So,
  1439. 54:49>> so then it will how does it so it will
  1440. 54:50just run the parameters. Does that make
  1441. 54:52sense? Like in the outer sample, it will
  1442. 54:54just run the parameters of the
  1443. 54:55>> it will run the strategy on the out of
  1444. 54:57sample data set,
  1445. 54:58>> right? So, let me let me just show you
  1446. 55:00here.
  1447. 55:02>> Um let's take
  1448. 55:04that.
  1449. 55:04>> So you can see here this is the init
  1450. 55:06sample.
  1451. 55:07>> Yeah.
  1452. 55:07>> Out of sample. So here it used all the
  1453. 55:11data which is not good. So what we want
  1454. 55:14to do
  1455. 55:20when we build the strategy we go to
  1456. 55:22data.
  1457. 55:23>> Mhm.
  1458. 55:25>> And we will select you see here data
  1459. 55:28range part.
  1460. 55:29>> Yep. So you see OOS this mean out of
  1461. 55:33sample test. This mean that strategic
  1462. 55:35quant X will not use this data from 2014
  1463. 55:39to 2019 to build the strategy. It will
  1464. 55:42only use from 2007 to 2014 to build the
  1465. 55:46algo.
  1466. 55:47>> Okay.
  1467. 55:47>> And after that once it's build it here
  1468. 55:50it will test it here.
  1469. 55:51>> Okay.
  1470. 55:52>> Right. It is inseene data. Yeah. So when
  1471. 55:54you say build it, it's going to build it
  1472. 55:57using the parameters and or or checking
  1473. 55:59the parameters that we selected, right?
  1474. 56:02>> So the ticker of Apple, let's say daily
  1475. 56:04time frame, and then we chose, you know,
  1476. 56:06certain indicators or technical patterns
  1477. 56:09>> for it to build it from. So like RSI,
  1478. 56:11yeah, uh daily high, low close, uh the
  1479. 56:14volume, etc. We selected these so that
  1480. 56:16when we select the the date range for
  1481. 56:18the in sample, it uses that data to
  1482. 56:22formulate the algo and show you you know
  1483. 56:25sharp ratio expectations. Right.
  1484. 56:28>> And then from that you then select the
  1485. 56:30outer sample and it will run the algo on
  1486. 56:32that out sample.
  1487. 56:32>> Exactly.
  1488. 56:33>> Okay.
  1489. 56:33>> And this is when you see if your
  1490. 56:35strategy is robust or no.
  1491. 56:37>> Okay.
  1492. 56:38>> Because if it just lose money that's
  1493. 56:40when that's it is not robust enough.
  1494. 56:42>> Right. That's why it's important to have
  1495. 56:44multiple strategy to see which one will
  1496. 56:47perform an out of sample data.
  1497. 56:49>> Yeah.
  1498. 56:50>> So uh yeah if we go back
  1499. 56:58say in this workflow
  1500. 57:01generic one it they didn't use the outer
  1501. 57:03sample they just use the foot but on my
  1502. 57:06methodology
  1503. 57:07>> I always use out of sample. It's
  1504. 57:09important. It's the first step to make
  1505. 57:12sure if your strategy is robust or not.
  1506. 57:14Right.
  1507. 57:15>> Um, so this is the Monte Carlo test that
  1508. 57:20I was talking you about.
  1509. 57:21>> Mhm.
  1510. 57:21>> Right. Let me just
  1511. 57:25here. Do you do remember that we had at
  1512. 57:28some point $13,000?
  1513. 57:30>> Yeah.
  1514. 57:31>> By reshuffleling the trade, the worst
  1515. 57:34outcome were $34,000.
  1516. 57:37Right.
  1517. 57:37>> Mhm. So this mean that um you you do not
  1518. 57:42have to consider the first dry down
  1519. 57:44figure that that you see on the back
  1520. 57:46test.
  1521. 57:47>> This one's more important.
  1522. 57:48>> Yeah, definitely. Definitely because
  1523. 57:50this is the real the worst case the
  1524. 57:53worst outcome at 95% confidence level.
  1525. 57:56So we have 34,000 and here you can see
  1526. 57:59different equity curve.
  1527. 58:00>> Yes,
  1528. 58:00>> this is the first one. You can see this
  1529. 58:02one is the poorest one.
  1530. 58:04>> It doesn't mean that uh you lost money
  1531. 58:06at the end. At the end you make money.
  1532. 58:08>> Yeah.
  1533. 58:08>> But look at the volatility of the equity
  1534. 58:11curve.
  1535. 58:11>> And does it come back to as you said at
  1536. 58:12the near beginning?
  1537. 58:13>> Yeah.
  1538. 58:14>> What is your draw down tolerance or risk
  1539. 58:16tolerance? So you look at that and go
  1540. 58:18okay this is the average over here we
  1541. 58:20can see the cluster
  1542. 58:22>> but here is an outlier. However that is
  1543. 58:24a reality that could take place.
  1544. 58:25>> So am I willing to accept this? And if
  1545. 58:29the answer is no then you would
  1546. 58:30obviously move on or retest some things,
  1547. 58:31reshuffle some things.
  1548. 58:32>> Yes. Uh if the answer is yes then
  1549. 58:35>> or maybe size more.
  1550. 58:37>> Okay.
  1551. 58:37>> Right. So if um instead of allocating
  1552. 58:4130,000 and you one still want to trade
  1553. 58:43the strategy instead of allocating
  1554. 58:4630,000 you can allocate $60,000
  1555. 58:49because if the draw down come
  1556. 58:51>> Mhm.
  1557. 58:51>> the proportion will be lower by the fact
  1558. 58:54that you sized bigger. I don't know if
  1559. 58:56it makes sense.
  1560. 58:57>> Yeah.
  1561. 58:58>> Yeah.
  1562. 59:00So yeah. So let's say um
  1563. 59:04the workflow is done um and you're
  1564. 59:07satisfied with some strategy.
  1565. 59:10We you can see that we can access the
  1566. 59:12code just uh here this is the source
  1567. 59:17code already generated. You can see we
  1568. 59:20have different platform we have trade
  1569. 59:22station multi chart we have uh expert
  1570. 59:24advisor we have uh meta trader we have
  1571. 59:28many platform I use multi chart. Mhm.
  1572. 59:31>> So now it will update the code.
  1573. 59:34See this is the full code.
  1574. 59:36>> Yeah.
  1575. 59:37>> We can see
  1576. 59:40this is the rule. Do you do remember I
  1577. 59:43wanted not a lot of rule right? We can
  1578. 59:46see long entry signal. We have two value
  1579. 59:49x signal two two value. Right. We copy
  1580. 59:55the code.
  1581. 59:57Right. Copy here.
  1582. 59:59and we go to the trading platform here.
  1583. 1:00:03I am with multi- chart
  1584. 1:00:07we'll say apple test res.
  1585. 1:00:12Okay.
  1586. 1:00:15We paste it. All right.
  1587. 1:00:18And we compile the code.
  1588. 1:00:24Once we compile the code,
  1589. 1:00:28we just opened a chart
  1590. 1:00:35with Apple and we answer today and it
  1591. 1:00:38will trade automatically.
  1592. 1:00:43>> I didn't write any single line of code.
  1593. 1:00:46>> I know I [laughter]
  1594. 1:00:47is incredible. But what is interesting
  1595. 1:00:49and I think would uh well not only is it
  1596. 1:00:50that that you can do that no code and
  1597. 1:00:53have these parameters especially I think
  1598. 1:00:55the indicator element that we talked
  1599. 1:00:57about would you know change the game for
  1600. 1:00:58a lot of people because you know they
  1601. 1:01:00might not use your traditional
  1602. 1:01:02indicators that are already loaded in
  1603. 1:01:04there and I know a lot of people are
  1604. 1:01:06very much interested in their
  1605. 1:01:07discretionary trading styles that a lot
  1606. 1:01:10of them like I said building indicators
  1607. 1:01:12for and are available to them. So then
  1608. 1:01:14now knowing that they can imp implement
  1609. 1:01:16it into this platform start developing
  1610. 1:01:19back test using it even you know the
  1611. 1:01:21interesting thing is using that data
  1612. 1:01:23just from a back testing data collection
  1613. 1:01:25perspective as a discretionary manual
  1614. 1:01:27trader is very beneficial no doubt um
  1615. 1:01:29and being able to see these different
  1616. 1:01:31iterations and what the worst case
  1617. 1:01:32scenario can be as a discretionary
  1618. 1:01:34trader is very powerful which a lot of
  1619. 1:01:37discretionary traders avoid doing right
  1620. 1:01:39collecting that data
  1621. 1:01:41>> especially on the back test front um so
  1622. 1:01:43That's beneficial. But equally, being
  1623. 1:01:45able to do that is 100% something that a
  1624. 1:01:49lot of people will probably open their
  1625. 1:01:50eyes to. But as I said, what's super
  1626. 1:01:52interesting, however, is that even as an
  1627. 1:01:55algo trader, there's a lot of work and
  1628. 1:01:59input that's necessary on a manual
  1629. 1:02:01perspective of doing these iterations,
  1630. 1:02:03making sure to review the data, is this
  1631. 1:02:06robust enough or not, doing those
  1632. 1:02:08reflections. it's still necessary to get
  1633. 1:02:10to the point where you have an algorithm
  1634. 1:02:12trading for you because I think a lot of
  1635. 1:02:14people assume ah algo trading hands off
  1636. 1:02:17not too much work right they think it's
  1637. 1:02:19easy right and before we wrap up on this
  1638. 1:02:21segment and we'll go to the podcast we
  1639. 1:02:22will dive deeper into the processes and
  1640. 1:02:24then of course your own journey
  1641. 1:02:27>> what's the reality when it comes to
  1642. 1:02:30uh the changes you're making you know in
  1643. 1:02:32terms of these algorithms how often are
  1644. 1:02:34you phasing some out bringing some in
  1645. 1:02:36how often are you having to run these
  1646. 1:02:38tests on on a day-to-day basis.
  1647. 1:02:40>> A very good question. Um,
  1648. 1:02:43monitoring my portfolio of algo is
  1649. 1:02:46definitely the longest um part of the
  1650. 1:02:49job because as you see, generating the
  1651. 1:02:51algo doesn't take a lot of time if you
  1652. 1:02:53have a powerful computer enough, right?
  1653. 1:02:56>> Um, but like I said, it's like managing
  1654. 1:02:59a sports team. Uh, I monitor on a
  1655. 1:03:01portfolio level all all the performance
  1656. 1:03:04of my strategy. doesn't mean that if I
  1657. 1:03:07have a red mount or two red mount on a
  1658. 1:03:09single strategy I will just turn it off
  1659. 1:03:11as you saw with Monte Carlo test we can
  1660. 1:03:14have worse outcome that's the draw down
  1661. 1:03:17that we saw in the back test
  1662. 1:03:19>> so I will just let it play out but in
  1663. 1:03:22the meantime I have my incubation
  1664. 1:03:25bank of algo I have 100 if not thousand
  1665. 1:03:29so I surveil my incubation list and I
  1666. 1:03:34look at which strategy is performing.
  1667. 1:03:36>> Mhm.
  1668. 1:03:36>> And I try to do to do the comparison
  1669. 1:03:39with my life algo. If I see that let's
  1670. 1:03:42say I have three month of loss, my dry
  1671. 1:03:44down I is near the maximum D that I saw
  1672. 1:03:48on my back test. I will either reduce
  1673. 1:03:51the size dramatically or just turn it
  1674. 1:03:55off and grab a strategy from my
  1675. 1:03:58incubation one and trade it with uh live
  1676. 1:04:01money. When turning off, is there an
  1677. 1:04:03element where it's just sort of shelved
  1678. 1:04:05and it can come back or is that one done
  1679. 1:04:07now and you have to
  1680. 1:04:08>> definitively it can come back. I just
  1681. 1:04:10turn it off. It will keep running but
  1682. 1:04:13it's going to be run on simulation
  1683. 1:04:14money.
  1684. 1:04:15>> Okay. So, it just essentially gets
  1685. 1:04:16turned off from live back onto
  1686. 1:04:18simulation. If you start to notice uh
  1687. 1:04:20the data picking up again, you can then
  1688. 1:04:22obviously turn it back live.
  1689. 1:04:23>> Definitely. Yeah.
  1690. 1:04:24>> Interesting. Now, how many would you say
  1691. 1:04:25on average algos do you have running at
  1692. 1:04:27once? on my end I have easily uh more
  1693. 1:04:31than uh
  1694. 1:04:33150 go already.
  1695. 1:04:34>> Yeah.
  1696. 1:04:35>> And what's the process of you managing
  1697. 1:04:37all of those in terms of keeping track
  1698. 1:04:39etc.
  1699. 1:04:40>> Yeah. So as um if you remember we talked
  1700. 1:04:43about exposure. So I have a lot of algo
  1701. 1:04:46that will enter in and out quickly.
  1702. 1:04:49>> So I like algo that have
  1703. 1:04:53acceptable return with lower exposure. M
  1704. 1:04:57so this algo are watching on the
  1705. 1:04:58sideline
  1706. 1:05:00it depend on the period there's some
  1707. 1:05:02period that's where many of my algo
  1708. 1:05:05failed and this is completely normal and
  1709. 1:05:07this is where I have to really work and
  1710. 1:05:10do the job to reback this all the
  1711. 1:05:12portfolio look uh look at my trading
  1712. 1:05:15metric and do the replacement but
  1713. 1:05:19I I can't give you an exact figure but
  1714. 1:05:22I'll say if the algo goes all
  1715. 1:05:26across the workflow
  1716. 1:05:28it has about 60% for it to perform life
  1717. 1:05:33right I know it's not uh 100% like some
  1718. 1:05:37people may think but it is around 60%
  1719. 1:05:41but if it fail not a big deal there's
  1720. 1:05:43other one that's will be working and
  1721. 1:05:46like I I always say that's um with
  1722. 1:05:49quantity quality emerge
  1723. 1:05:51>> right with uh a lot of ago that I have
  1724. 1:05:54at some point I will figure out an A+
  1725. 1:05:57algo that I will trade for many months
  1726. 1:06:00even many years
  1727. 1:06:01>> because I have it in simulation. Yeah.
  1728. 1:06:04So to get back to your question it
  1729. 1:06:06depend in uh some phases some months I
  1730. 1:06:08just do nothing at all to just execute
  1731. 1:06:11trade and some months I have to work a
  1732. 1:06:12lot and do the change that I told you
  1733. 1:06:15about here. We we showed an example of
  1734. 1:06:18generating and I'll go for one ticker.
  1735. 1:06:21>> You may have people that say okay look
  1736. 1:06:24me I I don't trade just one ticker. I
  1737. 1:06:27trade a whole universe of stock. Let's
  1738. 1:06:29say the S&P 500.
  1739. 1:06:31>> Mhm.
  1740. 1:06:33>> There is 500 stock I want. So I there is
  1741. 1:06:37a possibility with strategic quant X to
  1742. 1:06:41um trade a whole universe of stock. So
  1743. 1:06:45if we go so let's say here um it trade
  1744. 1:06:49the S&P 100 the 100 more capitalized
  1745. 1:06:54stock in the US market it will
  1746. 1:06:57rank. So here it says, okay, the open of
  1747. 1:07:00the stock has to be above 250 SMA.
  1748. 1:07:04>> Okay,
  1749. 1:07:04>> the RSI has to be below 30, the close
  1750. 1:07:07has to be above $10, and the volume has
  1751. 1:07:10to be at least 25,000
  1752. 1:07:13share, right? And after that, it will
  1753. 1:07:16use what we call a ranking score.
  1754. 1:07:20>> Mhm. So here so let's say we apply this
  1755. 1:07:23filter and we have 20 stocks available
  1756. 1:07:26to buy right but your strategy you said
  1757. 1:07:29okay me I I want only a max open
  1758. 1:07:32position of five how will it rank these
  1759. 1:07:3520 stocks to choose only five
  1760. 1:07:38>> mhm
  1761. 1:07:39>> it will rank them based on this example
  1762. 1:07:41rate of uh change so the the the rate of
  1763. 1:07:45change the stock that has the biggest
  1764. 1:07:48change positive or for the last let's
  1765. 1:07:50say 15 day it will select the five best.
  1766. 1:07:54>> Yeah.
  1767. 1:07:54>> Then it will execute the trade on these
  1768. 1:07:56five. I don't know if it makes sense.
  1769. 1:07:58>> No, it does make sense.
  1770. 1:07:59>> Yeah.
  1771. 1:07:59>> So it's just like a ranking filter.
  1772. 1:08:01>> Yeah.
  1773. 1:08:02>> So taking say the 100 basket bringing it
  1774. 1:08:04down through the filters, it brings it
  1775. 1:08:06down to which ones are most in play and
  1776. 1:08:07then so on and until you get to
  1777. 1:08:09obviously your
  1778. 1:08:10>> desired results that are worth trading
  1779. 1:08:12and then it will exact
  1780. 1:08:13>> fail accordingly.
  1781. 1:08:14>> Exactly. This is another style of algo
  1782. 1:08:16trading. people prefer to trade a
  1783. 1:08:19universe of stocks and you have people
  1784. 1:08:21like me who prefer to trade
  1785. 1:08:23>> individual
  1786. 1:08:24>> individual stock because I noticed that
  1787. 1:08:27not all stock have the same personality
  1788. 1:08:30>> now I noticed that for instance Apple
  1789. 1:08:32don't not don't trade the same as Costco
  1790. 1:08:36>> completely different price action right
  1791. 1:08:39>> so this is where you can use the power
  1792. 1:08:41of strategic quant x toify these edges
  1793. 1:08:44we're going to build a second algorithm
  1794. 1:08:47and this one is going to be on the S&P
  1795. 1:08:50500.
  1796. 1:08:51We're going to exploit known property of
  1797. 1:08:54this market. The S&P 500 has a tendency
  1798. 1:08:58to uh mean revert most of the time. So
  1799. 1:09:02the same logic apply as the gold uh
  1800. 1:09:07algo. I'm going to click on new. Select
  1801. 1:09:10single acid strategy sample editor.
  1802. 1:09:16We're going to make sure that we have
  1803. 1:09:18the right instrument with the right
  1804. 1:09:21engine and the right time frame. We're
  1805. 1:09:24going to use a daily bar here. Going to
  1806. 1:09:27reset the date and we're going to select
  1807. 1:09:30the ES minis S&P 500.
  1808. 1:09:35As for the money management, we're going
  1809. 1:09:38to um trade on fixed size one contract
  1810. 1:09:42and we're going to use the initial
  1811. 1:09:44capital of $25,000
  1812. 1:09:47around 1.5 to2 time the initial margin
  1813. 1:09:51requirement uh from your usual broker.
  1814. 1:09:57This strategy has to have a market
  1815. 1:10:00regime. It's going to be a long only
  1816. 1:10:02strategy.
  1817. 1:10:05In this situation, we're going to use a
  1818. 1:10:07simple market regime, which uh mean that
  1819. 1:10:10we want to buy only when the close of
  1820. 1:10:14the market is above the 200 sample
  1821. 1:10:18moving average. Right? So, we're going
  1822. 1:10:21to select close here. You can see it's
  1823. 1:10:23going to appear here. Close is above
  1824. 1:10:29moving average
  1825. 1:10:33simple moving average
  1826. 1:10:37200.
  1827. 1:10:39Oops.
  1828. 1:10:42Then the logic here close above the SMA
  1829. 1:10:46200. This is the first entry condition.
  1830. 1:10:49We're going to add a second entry
  1831. 1:10:50condition. Pretty simple. Also, we're
  1832. 1:10:53going to be using a pretty popular
  1833. 1:10:55indicator, which is RSI, the relative
  1834. 1:10:59straight index.
  1835. 1:11:01And we want to buy when the RSI is below
  1836. 1:11:06or lower than a certain level. In this
  1837. 1:11:08case, we're going to use the level 20.
  1838. 1:11:13We want it to be our soul. And we're
  1839. 1:11:14going to use this period, period two.
  1840. 1:11:18So when the RSI 2 is below 20, the algo
  1841. 1:11:22will buy and it has also to be above the
  1842. 1:11:26200 moving average.
  1843. 1:11:30We're going to add an exit. We want to
  1844. 1:11:34sold
  1845. 1:11:36this the sorry we want to sell when the
  1846. 1:11:38RSI is above 70.
  1847. 1:11:41So the same logic apply. RSI is higher
  1848. 1:11:45than level
  1849. 1:11:4870.
  1850. 1:11:50We're going to use the same period.
  1851. 1:11:57So two entry two two entry condition
  1852. 1:12:01right for entry and one exit condition.
  1853. 1:12:03Pretty simple. We're going to run the
  1854. 1:12:05back test.
  1855. 1:12:09So here strategic quant x generated the
  1856. 1:12:13back test pretty quickly.
  1857. 1:12:15We can see that uh the yearly average
  1858. 1:12:18return is 34%
  1859. 1:12:22and the dry down is around 22%.
  1860. 1:12:26And we are right 77% of the time. This
  1861. 1:12:30is pretty nice.
  1862. 1:12:33And one other indicator that I like to
  1863. 1:12:36see is exposure. we are only exposed 24%
  1864. 1:12:40say 25% in the market which is pretty
  1865. 1:12:43good. So the back test run from 2009 to
  1866. 1:12:482026
  1867. 1:12:51say 25 because we just started the year
  1868. 1:12:54and um very interesting we only have one
  1869. 1:12:58two three four four losing year across
  1870. 1:13:01many many year with many market regime
  1871. 1:13:04many volatile event
  1872. 1:13:07when the back test you have to look at
  1873. 1:13:09many
  1874. 1:13:11um indicator I I like to
  1875. 1:13:15look at as [snorts] I've said the
  1876. 1:13:17exposure. I like to look at my max
  1877. 1:13:20consecutive loss, my average loss, my
  1878. 1:13:23average win and I size based on all this
  1879. 1:13:26information.
  1880. 1:13:28You can also have the list of your
  1881. 1:13:30trade. You can see by yes one you see
  1882. 1:13:34the profit and loss. So once you are
  1883. 1:13:38satisfied with your algo here, you go to
  1884. 1:13:41the source code and you select your
  1885. 1:13:45trading engine. Right? On my end, I
  1886. 1:13:48trade on multi chart. You only copy the
  1887. 1:13:52code and paste it into your trading
  1888. 1:13:55engine and uh you're good to go. Very
  1889. 1:13:58simple here.
  1890. 1:14:02So we're going to build an algorithm
  1891. 1:14:04with strategic quant X. This is a
  1892. 1:14:06software that lets you build an algo
  1893. 1:14:08without writing a single line of code.
  1894. 1:14:11So we're going to build a simple
  1895. 1:14:14strategy on gold future. So when you
  1896. 1:14:18download the software,
  1897. 1:14:21you go into ago wizard and you just
  1898. 1:14:25click new
  1899. 1:14:27strategy. We're going to click select
  1900. 1:14:30and here this is the user interface. So
  1901. 1:14:35we're going to build it on gold. So we
  1902. 1:14:38have to make sure that we have first the
  1903. 1:14:40right engine. On my part I use multi
  1904. 1:14:42chart. So let's click on gold future.
  1905. 1:14:50Let's see gold and we're going to trade
  1906. 1:14:53it on the daily bar. I'm going to reset
  1907. 1:14:56the dates. So the back test will start
  1908. 1:14:59on 2009 and it will end on 2026.
  1909. 1:15:04We want to make sure that we're going to
  1910. 1:15:05be using a fixed size of one, which mean
  1911. 1:15:08that every time the logic is true, it's
  1912. 1:15:11going to buy one future contract. And I
  1913. 1:15:15like to use as initial capital one 1.5
  1914. 1:15:19time the initial margin on gold future,
  1915. 1:15:24right?
  1916. 1:15:26And I'm going to add one new entry
  1917. 1:15:28condition. So we're going to try to
  1918. 1:15:31build the popular gold rush strategy.
  1919. 1:15:34Basically this strategy will buy every
  1920. 1:15:37Thursday. The logic behind is during the
  1921. 1:15:40weekend there is a lot of volatility
  1922. 1:15:43that happens such as a war geo
  1923. 1:15:45geopolitical stuff. So we want to select
  1924. 1:15:50the Thursday gonna go well day of the
  1925. 1:15:54week as you can see bar day of the week
  1926. 1:15:59as you can see here the bar day of the
  1927. 1:16:00week if we set it up to zero the algo
  1928. 1:16:03will buy every Sunday if we set it up to
  1929. 1:16:06one it will buy every Monday two Tuesday
  1930. 1:16:09three Wednesday in our case we want it
  1931. 1:16:11to buy every Thursday if the condition
  1932. 1:16:15is true it mean that equal four. So,
  1933. 1:16:21um we're going to click confirm.
  1934. 1:16:24We you can see here day of the week we
  1935. 1:16:27want it to be equal.
  1936. 1:16:29So, we're going to click comparison
  1937. 1:16:33equal
  1938. 1:16:36to four. If you remember, four is
  1939. 1:16:38Thursday, right? So here. So, this is
  1940. 1:16:42the first logic. The second entry
  1941. 1:16:44condition, we want the market to be a
  1942. 1:16:47little bit uh oversold.
  1943. 1:16:49So, we're going to just click RSI
  1944. 1:16:53and we want RSI to be lower than a
  1945. 1:16:57certain level. So, let's say 40. In that
  1946. 1:17:01case,
  1947. 1:17:04we're going to use a standard step stop
  1948. 1:17:07loss of average true range. I like this
  1949. 1:17:11kind of stop losers because it use the
  1950. 1:17:12volatility of the the the current sle.
  1951. 1:17:16So if the average true range in the last
  1952. 1:17:20day are let's say $5, it's going to use
  1953. 1:17:22a $5 stop. If it's $10, it's going to
  1954. 1:17:25use a $10 stop. So in this situation,
  1955. 1:17:28I'm going to just use one unit of an ATR
  1956. 1:17:32based value and we're going to exit the
  1957. 1:17:36trade after three bar. In this case,
  1958. 1:17:38since we are trading
  1959. 1:17:40a daily bar, it's going to exit the
  1960. 1:17:42trade after 3 day. So we before back
  1961. 1:17:46testing, we just want to make sure that
  1962. 1:17:48we are using the correct
  1963. 1:17:52symbol
  1964. 1:17:54gold multi chart. This is the start
  1965. 1:17:57date, the end day, money management one,
  1966. 1:18:02future contract, initial capital of
  1967. 1:18:0425,000. And we're going to run the back
  1968. 1:18:06test.
  1969. 1:18:11So um
  1970. 1:18:20so here um this is the equity curve. Uh
  1971. 1:18:23it is a little bit volatile. Why?
  1972. 1:18:25Because we included the short. So when
  1973. 1:18:29this is
  1974. 1:18:31on it mean that the reverse logic will
  1975. 1:18:34be applied to go short. But since it is
  1976. 1:18:39um a long only strategy,
  1977. 1:18:43we're going to remove all this rule and
  1978. 1:18:45we're going to reback test it again.
  1979. 1:18:48So yeah, so this is the correct back
  1980. 1:18:51test. Here we have a yearly average
  1981. 1:18:54return of 22.62%.
  1982. 1:18:56We have 167 trade. We have a draw down
  1983. 1:19:00of roughly 25%.
  1984. 1:19:03If we go in details,
  1985. 1:19:06um the exposure here is really
  1986. 1:19:09interesting about 11.9%.
  1987. 1:19:12We are not always exposed to the market.
  1988. 1:19:14This is good because there is a lot of
  1989. 1:19:16volatility then and you don't want to be
  1990. 1:19:18100% exposed to the market. And um this
  1991. 1:19:22is a strategy that I trade live with my
  1992. 1:19:25real money.
  1993. 1:19:26And you also can see that across many
  1994. 1:19:29year right from 2009 to 2025 we only
  1995. 1:19:33have uh three negative year. The rest uh
  1996. 1:19:36were always positive.
  1997. 1:19:38So this is a very interesting well
  1998. 1:19:41tested strategy. We call it the gold
  1999. 1:19:44rush uh strategy.
  2000. 1:19:47So for the third strategy, this is not
  2001. 1:19:50really a strategy but this is a nice
  2002. 1:19:52feature on strategic quant x. We can use
  2003. 1:19:55AI to code and generate our logic. So on
  2004. 1:19:59the previous algo, you saw me select
  2005. 1:20:05every entry condition by selecting the
  2006. 1:20:07close, the moving average, the day of
  2007. 1:20:10the week, and the same thing for the
  2008. 1:20:12exit. But with algo uh AI wizard here,
  2009. 1:20:17right? We can select um we we can write
  2010. 1:20:22what we want and the AI will generate
  2011. 1:20:25the strategy logic for us. So that
  2012. 1:20:29that's prompted. You are professional
  2013. 1:20:33outstensive trader
  2014. 1:20:36and you want to practice the popular
  2015. 1:20:43strategy
  2016. 1:20:45that is
  2017. 1:20:47turn around
  2018. 1:20:50Tuesday
  2019. 1:20:53on the ES
  2020. 1:20:56future market.
  2021. 1:21:04generate
  2022. 1:21:06the algo wizard logic.
  2023. 1:21:11Going to click send.
  2024. 1:21:15Now the AI is thinking
  2025. 1:21:18and it is crafting the strategy. So it's
  2026. 1:21:22going to take a little bit of time to
  2027. 1:21:25generate the code. that this is a absudo
  2028. 1:21:28code that it will generate. So once it
  2029. 1:21:31generate you can simply just export it
  2030. 1:21:34to algo wizard right. So here it already
  2031. 1:21:39generated the pseudo code right on ES
  2032. 1:21:42right this is the the signal
  2033. 1:21:45so we're going to send it to Algo wizard
  2034. 1:21:48which is the the platform where we code
  2035. 1:21:52inside strategic font x.
  2036. 1:21:57So now it is preparing the strategy for
  2037. 1:22:00ago wizard. So this platform is what we
  2038. 1:22:03call the algo wizard.
  2039. 1:22:08going to be take a little bit of time
  2040. 1:22:10but uh you can see here it it took
  2041. 1:22:13literally some minute to just generate
  2042. 1:22:15all this line of code.
  2043. 1:22:18So, we're going to
  2044. 1:22:21all right
  2045. 1:22:23save as a new strategy.
  2046. 1:22:26Going to use the existing one.
  2047. 1:22:30Right. Going to go to the ES
  2048. 1:22:34and we're going to load it.
  2049. 1:22:38So here you see that um I clicked
  2050. 1:22:42nothing and the strategy has been fully
  2051. 1:22:45generated with AI right
  2052. 1:22:49we're going to just make sure that we
  2053. 1:22:52have the right market
  2054. 1:22:55here fixed size one I'm going to use
  2055. 1:22:5925,000
  2056. 1:23:02the initial capital and
  2057. 1:23:06let's see the back
  2058. 1:23:12See,
  2059. 1:23:14it generated the back test for you,
  2060. 1:23:16right? I didn't write a single line of
  2061. 1:23:19code, but with AI,
  2062. 1:23:22it um completely generated the logic and
  2063. 1:23:26I just back tested, right? So this is a
  2064. 1:23:29nice feature uh for um the AI wizard
  2065. 1:23:34inside strategic quant x.
  2066. 1:23:37If you have a logic a strategy just type
  2067. 1:23:40it and you can quickly back test it. So
  2068. 1:23:44you will let data guide your trading
  2069. 1:23:49decision and you will know beforehand
  2070. 1:23:52before before taking a trade. And this
  2071. 1:23:53is the benefit of being an algo trader.
  2072. 1:23:56You can back test different strategy see
  2073. 1:24:00how it perform during different market
  2074. 1:24:03and you can then craft a portfolio with
  2075. 1:24:07different strategy you have gold you
  2076. 1:24:11have yes you have let's say soybean and
  2077. 1:24:15many many different instrument to have a
  2078. 1:24:18well diversified portfolio to trade uh
  2079. 1:24:21with your hard earned money
  2080. 1:24:24>> well but everyone drop a takeaway or
  2081. 1:24:26your biggest comment from this episode.
  2082. 1:24:29Any questions you may have, even throw
  2083. 1:24:30them in the chat there cuz of course
  2084. 1:24:32we'll probably have you back again, no
  2085. 1:24:34doubt, uh to dive deeper into this cuz I
  2086. 1:24:36think as I said at the very beginning
  2087. 1:24:37and as we know, algorithm trading is
  2088. 1:24:39going to continuously grow and expand
  2089. 1:24:41and change the nature of markets over
  2090. 1:24:44time as it has done in the past and will
  2091. 1:24:46continue to do so. So, drop a comment
  2092. 1:24:47with your biggest takeaway or questions
  2093. 1:24:49right below there. Other episodes are on
  2094. 1:24:52screen. Links all about will be in the
  2095. 1:24:54description below. So check those out as
  2096. 1:24:55well. And this has been Charax.

About this transcript

This page contains the full transcript of Master ALGO Trading In Less Than 90 Minutes (NO Coding) | $1M+ Profits by Chart Fanatics, generated from the public captions YouTube serves with the video. The transcript has 13,690 words across 2,096 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.