I Turned My Trading Strategy Into a Bot — Transcript
Full transcript
- 0:00I ran an experiment. I took one of my
- 0:02trading strategies, turned it into a
- 0:04TradingView indicator, made sure it was
- 0:06finding the exact trades that I wanted
- 0:09to. So, it had a one-to-one visual
- 0:11representation of what I see when I look
- 0:13at the chart and what the indicator is
- 0:15telling me. And then I took the exact
- 0:17same rules and turned them into a
- 0:19completely automated trading bot on
- 0:21MetaTrader. Same strategy, same entries,
- 0:24same stop losses, same take profits. At
- 0:28least that's what I thought. Because
- 0:30when I started testing the bot,
- 0:31something really strange happened. It
- 0:33worked. It was taking trades. The
- 0:36backtest was profitable. Some of the
- 0:38numbers actually looked really good. But
- 0:40when I started going through the
- 0:41individual trades, I realized the bot
- 0:44wasn't always trading the strategy I had
- 0:46built. And one of the mistakes it made
- 0:48was so ridiculous that it completely
- 0:50changed the way I think about automating
- 0:52trading strategies. Now, let me show you
- 0:55what happened. The strategy itself isn't
- 0:56really the important aspect of this
- 0:58video, but I'll explain it quickly so
- 1:00you can understand what the computer was
- 1:02trying to do. I made a previous video
- 1:04about this, and I've traded RSI
- 1:05divergences for years. One particular
- 1:08setup that I like combines hidden RSI
- 1:10divergences with a Fibonacci
- 1:12retracement. Basically, there's a move
- 1:13in the market, price pulls back, and I'm
- 1:16looking for a very specific relationship
- 1:18between price, RSI, and the 0.618
- 1:22Fibonacci level. When everything lines
- 1:24up, that's my trade. Now, normally when
- 1:25I'm trading this myself, it's incredibly
- 1:28visual. I can look at the chart and say,
- 1:30"That's the move. That's the high,
- 1:31that's the low, that's the retracement,
- 1:33and that's the divergence." I look at
- 1:35how the candle looks at the Fibonacci
- 1:37level, and that's my entry. And that's
- 1:39important because before I automate
- 1:41anything, I first built it as an
- 1:43indicator on TradingView. And if you're
- 1:45thinking about using AI to build your
- 1:47own trading system, I really think that
- 1:48you should do this first. Don't
- 1:50immediately ask AI to build you a
- 1:52trading bot. Ask it to build you an
- 1:54indicator that shows what it thinks your
- 1:56strategy is. Because what you tell it
- 1:58and how it interprets it two completely
- 2:01different things. Now, the computer has
- 2:03to show its work. This was basically my
- 2:05first test. I explained my strategy and
- 2:07had it plot what I see visually on the
- 2:10chart. Whenever the computer thought
- 2:12there was a setup, it showed it to me.
- 2:14And I could sit there looking at the
- 2:15chart and compare what the computer saw
- 2:17against what I saw. Sometimes I'd look
- 2:19at a signal and think, "Yep, that's
- 2:21perfect. That's exactly what I would
- 2:23have traded." Then I find another one
- 2:24and think, "No, no, that's
- 2:26That's not right." So, I'd figure out
- 2:28why it was showing me that, change the
- 2:30rules, run it again, and slowly the
- 2:31computer started seeing the chart more
- 2:33like I did. That's one of the reasons I
- 2:35find AI to be extremely, extremely,
- 2:38incredibly useful. I'm not necessarily
- 2:41asking the AI find me a profitable
- 2:42strategy. I'm saying, "Here's what I
- 2:44already do. Help me explain it precisely
- 2:47enough so that a computer can do it for
- 2:49me." Those are two very different
- 2:50things. Eventually, I got the
- 2:52TradingView indicator pretty damn close
- 2:54to what I see. So, now came the actual
- 2:56experiment. I wanted to see what would
- 2:57happen if I took those rules and gave
- 2:59them to MT5, because now I could turn it
- 3:01into an expert advisor, an EA, and test
- 3:04the strategy mechanically longer across
- 3:07more years of market data. So, I
- 3:09translated everything over, and
- 3:11initially, it looked like it worked. MT5
- 3:14started taking trades. I had entries,
- 3:16stops, targets, winners, losers, an
- 3:18equity curve, all the stuff you normally
- 3:20look at when backtesting a strategy.
- 3:22But, there was one massive difference. I
- 3:24couldn't necessarily see its thought
- 3:26process nearly as clearly anymore. It
- 3:29just showed me entries. On TradingView,
- 3:31when I saw the trade, I could see why
- 3:32the trade existed. It had the start of
- 3:34the impulse move, the end of the impulse
- 3:36move, the Fibonacci retracement level,
- 3:38the level where it broke the previous
- 3:40structure, the take profit, and the stop
- 3:42loss, all on a single indicator. On MT5,
- 3:44I basically saw sell, and then it
- 3:46trades. And that's a problem, because I
- 3:48started comparing the individual trades
- 3:50between what TradingView was giving me
- 3:52and what MT5 was giving me. And some of
- 3:54them matched almost perfectly. Same
- 3:56setup, almost identical entries, same
- 3:58stop, same target, beautiful. But then,
- 4:01TradingView would take a trade and MT5
- 4:03wouldn't. Or MT5 would take a trade and
- 4:06TradingView didn't. And I remember I'd
- 4:08given the exact same strategy. So, how
- 4:10is this possible? It turned out one of
- 4:12the problems was something ridiculously
- 4:14small. The swing highs and the swing
- 4:16lows. As a human, this seems obvious.
- 4:18You look at a chart and there's a swing
- 4:20high. But the computer doesn't see a
- 4:22chart like you do. Imagine two candles
- 4:24next to each other with the exact same
- 4:26high point. Which one counts? The first
- 4:27candle? The second one? Both? Neither?
- 4:30That tiny decision matters. Because if
- 4:33the computer chooses a different high,
- 4:35now it's comparing RSI to a different
- 4:36point. That can change completely where
- 4:38the divergence exists. That can change
- 4:41where the impulse is measured. And that
- 4:43changes the Fibonacci level. One tiny
- 4:45difference at the beginning can produce
- 4:47an entirely different trade at the end.
- 4:49And that's when I started realizing how
- 4:50dangerous this was all becoming. One
- 4:52tiny little fraction decimal point of an
- 4:54error blows the strategy. And the issue
- 4:57is I wouldn't necessarily know it's
- 4:58happening. Because if I had just looked
- 5:00at the MT5 results, I wouldn't
- 5:02necessarily know any of this was
- 5:04happening. And this wasn't even the
- 5:05biggest problem. My first version
- 5:07entered trades at a market execution
- 5:09once the setup was confirmed. And then I
- 5:11tested that version for like eight
- 5:13years. It had about a 75% win rate. And
- 5:16now imagine that's where I stopped.
- 5:18Imagine I posted the screenshot online,
- 5:20"Trading bot gives 75% win rate. Looks
- 5:23incredible." Except I started inspecting
- 5:26the actual trades. The winners were much
- 5:28smaller than the losers. Nothing lined
- 5:31up to the original TradingView indicator
- 5:34where it had perfect structure, perfect
- 5:36placement for the stop loss, perfect
- 5:39placement for the take profit.
- 5:41Everything was ideal. And this was
- 5:43taking the same concept but completely
- 5:47skewing the structure of where the
- 5:49impulse move was measured to and from.
- 5:51And this is why I wanted to run this
- 5:53experiment and make this video because a
- 5:56lot of you guys are new into trading.
- 5:59You are interested in making a
- 6:01TradingView indicator. You want to
- 6:04create the perfect setup for your daily
- 6:06trading. And the issue is you must first
- 6:09learn that specific setup so that you
- 6:12can visually see it on the chart. Then,
- 6:15once you have a concrete idea of what it
- 6:17looks like, do your best to translate it
- 6:19into something a computer can understand
- 6:22and have it make version 1, version 2,
- 6:24version 15 until it matches exactly what
- 6:28you see and it shows its work on the
- 6:30indicator. It shows you with the exact
- 6:32levels what your structure is, what the
- 6:35price movement is, how the RSI
- 6:37divergences are working, what's bullish
- 6:39structure look like. All of those things
- 6:42need to be visually represented on the
- 6:44chart. That's why I always recommend
- 6:47start with a TradingView indicator
- 6:49because a lot of you guys are going to
- 6:50be tempted to immediately go into an MT5
- 6:53EA, automate everything, walk away. That
- 6:57is going to ruin your life entirely and
- 6:59blow account after account after account
- 7:02within the next month or so because this
- 7:04is extremely important to me, I'm going
- 7:06to do a tutorial video that's like an
- 7:08hour long, my exact process of how I'm
- 7:12going about structuring this and how I'm
- 7:15prompting AI to get what I'm thinking
- 7:18into its brain. But for now, what I want
- 7:21you guys to learn, whatever strategy
- 7:23you're working on or if you haven't
- 7:24learned one yet, learn one. Then, master
- 7:28it. Absolutely master it. Get something
- 7:30that makes sense to you so much so that
- 7:33you could explain it to a five-year-old.
- 7:35Then, make an extremely wordy version of
- 7:38that explanation to the five-year-old
- 7:41and start talking to your AI. Whether
- 7:43you're using chat GPT, whether you're
- 7:45using Grok, it doesn't matter. What I
- 7:48want you to do is use TradingView, use
- 7:51AI, and use your knowledge in a cohesive
- 7:54environment where you're getting almost
- 7:56a one-to-one depiction on your
- 7:58TradingView chart of what your eyes
- 8:00visually see. Let me know in the comment
- 8:02section if you actually want to see that
- 8:04hour-long tutorial. If this video was
- 8:07helpful for you, please share it with
- 8:08your friends. Thank you so much for
- 8:09watching, and we will see you in the
- 8:11next one.
About this transcript
This page contains the full transcript of I Turned My Trading Strategy Into a Bot by The Moving Average, generated from the public captions YouTube serves with the video. The transcript has 1,516 words across 226 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.