YouTube2Text

Jesse 1.2.0: Indicator charts are finally here! — Transcript

by Algo-trading with Saleh · 1,778 words · 275 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Hey guys, it's Sole. Today I released
  2. 0:01version 1.2 of Jesse, which has huge
  3. 0:04improvements and bug fixes. And you can
  4. 0:06read about that in the blog post that I
  5. 0:09published about this release, and I'm
  6. 0:10going to link to it down in the
  7. 0:11description. But in this video, I want
  8. 0:14to show you the highlight of this
  9. 0:15release, which is probably the most
  10. 0:17requested feature from the community,
  11. 0:19and I couldn't be more proud of it. In
  12. 0:21fact, it's going to change how you do
  13. 0:22research with Jesse for your strategies
  14. 0:25forever. So, let's get right into it.
  15. 0:27So, to demonstrate how this new feature,
  16. 0:29which is about charts, works, I'm going
  17. 0:31to copy one of strategies from our
  18. 0:33strategies listing page.
  19. 0:36Let's get the code.
  20. 0:39Let's go to the strategies page, create
  21. 0:42a new one,
  22. 0:43and
  23. 0:44let's call it
  24. 0:46chart demo.
  25. 0:50And
  26. 0:52I'm going to paste it here.
  27. 0:55All right. So, let's go to back test,
  28. 0:57and first make sure the interactive
  29. 0:59charts option is disabled.
  30. 1:02I'm going to change the beginning to
  31. 1:052024, and
  32. 1:08lower the ending up until the third
  33. 1:11month.
  34. 1:12And actually, I forgot the time frame,
  35. 1:15so let's
  36. 1:16check it out again. It's the 4 hours.
  37. 1:18Okay. So, the 4 hours is fine. And we
  38. 1:22named it chart demo.
  39. 1:25The fast mode is on. All right. So,
  40. 1:27let's run it.
  41. 1:29Now, we're getting this error, which is
  42. 1:31actually an error I've seen so many
  43. 1:33beginners get, which is caused when you
  44. 1:35forget to change the name of the
  45. 1:37strategy you just copied to be the same
  46. 1:39as you entered before. So, let me show
  47. 1:41you what I mean.
  48. 1:42So, the name of it is chart demo, but if
  49. 1:44I go to the source code, it says trend
  50. 1:47swing trader, but in here is chart demo.
  51. 1:50So, let's change this
  52. 1:53to be chart demo.
  53. 1:55Go to the back test and run it again,
  54. 1:58and this time it should go through.
  55. 2:00All right. So, these are the results
  56. 2:01that we're getting.
  57. 2:03They are fine and decent.
  58. 2:07But we weren't really getting any charts
  59. 2:10for it, right? So, what if I wanted to
  60. 2:12make sure that the indicators are
  61. 2:14working the way we expected them, right?
  62. 2:16Now, we had this feature where you could
  63. 2:18export some settings and import it into
  64. 2:20TradingView and check it there, but it
  65. 2:22wasn't perfect, not at all. But now, I
  66. 2:25can go to the source code for this
  67. 2:26strategy. So, let me open my IDE. Going
  68. 2:29to open chart demo, and these are the
  69. 2:32indicators we're using, the ADX,
  70. 2:34the trend, which is using three moving
  71. 2:37averages,
  72. 2:39and that's it. Now, the cool thing about
  73. 2:42this new chart feature is that you can
  74. 2:44use them anywhere in your strategy, but
  75. 2:46it's probably the best to do it inside
  76. 2:48either the before or the after method of
  77. 2:50your strategy. So, I'm going to define
  78. 2:52an after method. Actually, let's
  79. 2:55run it first with the interactive charts
  80. 2:57option enabled.
  81. 3:02All right. So, this time, if I click on
  82. 3:04view chart, you can see we have an
  83. 3:06interactive chart, which I can zoom in
  84. 3:08or zoom out, and it will tell me the buy
  85. 3:11and sell points of the strategy.
  86. 3:13So, this is pretty useful, right?
  87. 3:16But as I said,
  88. 3:18what if what if you want to know the
  89. 3:20exact indicator values that like what
  90. 3:23was the EMA when we bought, what was it
  91. 3:26when we sold, stuff like that. So, let's
  92. 3:28go back to the IDE. And
  93. 3:31I'm going to define a new method called
  94. 3:34after. Now, you can use these new
  95. 3:36methods that I'm going to show you
  96. 3:38anywhere in your strategy, but it would
  97. 3:40be much more useful to do it inside
  98. 3:43either the after or the before methods
  99. 3:45of your strategy. And I'm going to use
  100. 3:47the after one. So, I'm going to say add
  101. 3:49line to candle chart.
  102. 3:54And the first value is the title,
  103. 3:57and I need this to be the the moving
  104. 4:01average. So,
  105. 4:03I'm going to copy these,
  106. 4:07paste them here.
  107. 4:09So, this is going to be
  108. 4:15the E1,
  109. 4:17and the value of it will be E1.
  110. 4:21And the color option is optional, so I'm
  111. 4:23going to let it be empty, but you can
  112. 4:26specify a color if you want it. And if
  113. 4:28you did, the syntax would be like this,
  114. 4:31right? So, actually, for the first one,
  115. 4:32let's do use it like this.
  116. 4:35For the second one, we're going to do
  117. 4:37E2, and the third one for E3.
  118. 4:41All right.
  119. 4:43So, let's go back,
  120. 4:45close this, rerun it.
  121. 4:50Now, if I go back here, you can see not
  122. 4:53only we have the candles, we also have
  123. 4:55the EMA values.
  124. 4:59All right. It's really beautiful and
  125. 5:01super helpful. So, we can see that yes,
  126. 5:04when the EMAs were the other way around,
  127. 5:07we started taking a short position.
  128. 5:09The other way around, we took a long
  129. 5:11position, and so on. We're also able to
  130. 5:14add horizontal lines. Now, an example of
  131. 5:16when you would use a horizontal line in
  132. 5:19this chart would be to specify, let's
  133. 5:20say, resistance and support lines. Maybe
  134. 5:23that is especially for a mean reversion
  135. 5:26or a grid strategy. But for this one,
  136. 5:29let's just assume that this line here is
  137. 5:32a support line, and we need to plot it
  138. 5:34for whatever reason. So, you see the
  139. 5:36price at this point was 42,500.
  140. 5:40So, let's go back to the code. So, I can
  141. 5:43say
  142. 5:44add horizontal line to candle chart. The
  143. 5:48first value would be title,
  144. 5:50so I'm going to say support.
  145. 5:53The value would be again
  146. 5:5742,500.
  147. 6:01And as for color, I can say, let's say,
  148. 6:04green.
  149. 6:05Now, we also have other options such as
  150. 6:06the line width.
  151. 6:10We can set it to two for a thicker line.
  152. 6:13And we also have the line style, which
  153. 6:15would accept either solid or I think
  154. 6:18dotted.
  155. 6:20Yes, dotted. All right. But I'm going to
  156. 6:24leave it.
  157. 6:25Now, if I go back
  158. 6:27and run it again.
  159. 6:29By the way, the really cool thing about
  160. 6:31this whole thing is that we we didn't
  161. 6:33specify the date. So, you just specify
  162. 6:36the value that you want to display. The
  163. 6:38date will be handled for you
  164. 6:40automatically behind the scenes, which
  165. 6:42is really cool. All right. So, let's go
  166. 6:44back and check out the chart, and as you
  167. 6:46can see, we now have a support line.
  168. 6:49All right. And there's no limit. You can
  169. 6:52plot as many as you like.
  170. 6:53Now, let's go to the strategy again.
  171. 6:56This time, I want to plot the ADX value,
  172. 6:59but there's an issue with that. Because
  173. 7:01the value for the ADX is between 1 and
  174. 7:04100, right? But the price range for what
  175. 7:08we are displaying here is BTC, and it's
  176. 7:10around 55,000.
  177. 7:13So, if I plot the values for ADX
  178. 7:16like what like we did for the moving
  179. 7:18average,
  180. 7:20it's not going to be pretty.
  181. 7:22So, let's say add line to candle chart,
  182. 7:27and this time say ADX,
  183. 7:31and give it the values.
  184. 7:34All right. So, let's see how this would
  185. 7:36look like.
  186. 7:39And as you see, the values of the ADX
  187. 7:43are barely visible, right? It looks like
  188. 7:45a horizontal line, but that's not really
  189. 7:47true. It's again, it's because they're
  190. 7:49not in the same range. So, it doesn't
  191. 7:51work. So, instead of add line to candle
  192. 7:54chart, I can say add line to extra
  193. 7:57chart.
  194. 8:00Now, this function
  195. 8:02will take one other parameter,
  196. 8:05which is the first one, and it is called
  197. 8:08the chart name. So, I'm going to give it
  198. 8:10the name ADX, also.
  199. 8:13And then the other one is the title.
  200. 8:15Now, why do we have both of these?
  201. 8:17Because you can have one chart with
  202. 8:19multiple lines on it. And if you want to
  203. 8:21do that, I would have to define another
  204. 8:24one, leave the chart name to ADX, but I
  205. 8:27could call this one something else. So,
  206. 8:29for example,
  207. 8:31so this is with the default period
  208. 8:33number, which is 14, right?
  209. 8:36So, I could define another one, and give
  210. 8:38it the period of 21.
  211. 8:40And here, I can give them the names, so
  212. 8:43we can distinguish them later. But
  213. 8:46again, the chart name has to be the same
  214. 8:48for them to be displayed on the same
  215. 8:50chart. So, now, actually, let's also
  216. 8:54change the color.
  217. 8:56Now, if we go back and rerun this.
  218. 9:03All right. So, we're not seeing them
  219. 9:04here.
  220. 9:05Right. It's because I chose the wrong
  221. 9:08function name. It's not add horizontal
  222. 9:10line, because we don't have a chart yet.
  223. 9:11So, needs to be add line add extra line
  224. 9:15chart.
  225. 9:16So, let's copy this, paste it here,
  226. 9:19go back, and rerun it.
  227. 9:25All right. So, now we have this other
  228. 9:28chart called ADX, and we have two lines
  229. 9:31on it, the ADX 21 and ADX 14,
  230. 9:35with different periods.
  231. 9:37And there's no limit for how many charts
  232. 9:39you can use, and there's also no limit
  233. 9:41for how many lines you can plot on each
  234. 9:44chart. So, for the ADX indicator, we
  235. 9:47typically want to display a threshold
  236. 9:49value, and only take trades when the
  237. 9:52value goes above that, right? So, we can
  238. 9:54easily do that. First, let's see what
  239. 9:57was our threshold.
  240. 9:59It was 25.
  241. 10:00So, here
  242. 10:02I'm going to say self add horizontal
  243. 10:05line to extra chart.
  244. 10:07The first value has to be the name of
  245. 10:08the chart, which was ADX.
  246. 10:11And
  247. 10:13as for title, let's say threshold.
  248. 10:17The value is 25. The color is red.
  249. 10:21The line what width is two. All right.
  250. 10:24Let's go back. We run it.
  251. 10:29And now we have that. So, we can easily
  252. 10:31see
  253. 10:32for example, why it didn't take any
  254. 10:33trades here.
  255. 10:35Why it didn't take trades
  256. 10:37let's say here, right? But here it did.
  257. 10:41All right. So, this is a super powerful
  258. 10:43feature that I just added. It's not
  259. 10:45perfect. I still need to add it for our
  260. 10:47live trading feature. And we also need
  261. 10:50to add another table where you can go
  262. 10:52through your trades and let's say click
  263. 10:55on whichever that looks suspicious to
  264. 10:57you and immediately find it on the chart
  265. 10:59to see what was going on in that moment.
  266. 11:01But as it is, I find myself to use it
  267. 11:03all the time when I'm researching a
  268. 11:05strategy and I couldn't be more in love
  269. 11:07with it. I hope you guys will enjoy it
  270. 11:09as much as I did. And if you have any
  271. 11:11feedback, any improvement you think I
  272. 11:12should add to it, please let me know in
  273. 11:14the comment section or on our Discord
  274. 11:16server. Happy trading and I'll see you
  275. 11:18in the next one.

About this transcript

This page contains the full transcript of Jesse 1.2.0: Indicator charts are finally here! by Algo-trading with Saleh, generated from the public captions YouTube serves with the video. The transcript has 1,778 words across 275 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 translate the transcript into 100+ languages.

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, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.