I Turned My RSI Divergence Strategy Into an Indicator — Transcript
Full transcript
- 0:00I've been trading the RSI divergence
- 0:01manually for years, and I've given you
- 0:03my secret sauce. And in this video, I'm
- 0:05going to give you the sauce, and I'm
- 0:07going to explain an experiment that I
- 0:09ran. The RSI divergence is probably the
- 0:11trading setup I trust more than anything
- 0:14else I use. And the problem is, I've
- 0:16always recognized it visually. I look at
- 0:19the chart, and then I look at the RSI,
- 0:21and I just know that's the divergence
- 0:23that I'd take, or that one's garbage.
- 0:25So, I wanted to see if I could take
- 0:26something that exists in my head and
- 0:29turn it into an actual indicator. Not
- 0:31some generic RSI divergence indicator. I
- 0:34mean my version of it. The exact thing
- 0:36that I'm looking for when I'm trading
- 0:38manually. And it turns out to be way
- 0:40harder than I expected. Because
- 0:42explaining my trading setups, like word
- 0:44for word in English, but in a way that a
- 0:47computer can understand, cuz they can't
- 0:50see like my hand movements. They're two
- 0:52completely different things. So, here's
- 0:54the setup. I first had to explain to AI
- 0:56what I'm looking for. And this is the
- 0:58secret sauce. For regular bullish
- 1:00divergence, my rule is very simple.
- 1:03Price makes a low, and then price makes
- 1:05another low at roughly the same level or
- 1:07lower, but the RSI does something
- 1:10different. The first RSI low has to be
- 1:12outside of the normal 70 to 30 range
- 1:15within the RSI indicator. So, for a
- 1:17bullish setup, I want the first RSI to
- 1:20be below 30. Then price comes back down
- 1:23again, making a lower low or a double
- 1:26bottom. But this time, the RSI makes a
- 1:29higher low. And the second RSI low is
- 1:32back within the 70-30 range. That's the
- 1:35important part. That's the secret sauce.
- 1:37I don't take every RSI divergence. That
- 1:40transition is like my secret recipe.
- 1:42First RSI low, below 30. Second RSI low,
- 1:46higher than the first and back above 30.
- 1:48Then once I see the RSI make that tiny
- 1:50little zigzag, basically, I can see that
- 1:53the second it forms on the chart, I
- 1:55enter a buy. Bearish divergence is
- 1:57exactly the opposite. Price makes a
- 1:59high, then later makes an equal high or
- 2:01a higher high. The first RSI peak is
- 2:04above the 70 range, and the second RSI
- 2:07peak has to be lower than the first, but
- 2:09now back within the 70-30 range. When
- 2:12the RSI makes that little turn
- 2:14downwards, I sell. That's what I've been
- 2:16trading manually. Then there's hidden
- 2:18divergences, and I also wanted the
- 2:19indicator to detect hidden divergences.
- 2:22This is where the Fibonacci trading
- 2:24strategy comes in. Let's say price makes
- 2:26a strong bullish impulse move up and
- 2:29then starts retracing. If I draw a
- 2:30Fibonacci tool from the bottom of that
- 2:32impulse to the top and then price pulls
- 2:35back. If price reaches the 0.618
- 2:37retracement and the RSI is showing a
- 2:40hidden bullish divergence, that's the
- 2:42setup I'm interested in. So, visually
- 2:44price is still making a higher low, but
- 2:46RSI is actually making a lower low
- 2:48compared to the RSI at the original
- 2:50bottom of the impulse move. Price has
- 2:53held its bullish structure, but momentum
- 2:55has reset much deeper. For me, if price
- 2:58reaches that 618 area, I can see the
- 3:00hidden divergence. That's enough
- 3:02confirmation for me. I don't need the
- 3:03same little RSI zigzag that I would wait
- 3:06for for a regular divergence. The
- 3:08Fibonacci itself is part of the
- 3:09confirmation. And obviously the bearish
- 3:12version is just flipped. Now, here's
- 3:13where it gets interesting because when I
- 3:15explain this to another trader, they
- 3:17probably understand what I mean
- 3:19immediately. They look at the chart,
- 3:20they can see the two lows, they can see
- 3:22the two RSI points, they can see the
- 3:24divergence, but a computer doesn't see
- 3:27any of that. It sees numbers. So, every
- 3:29part of my explanation suddenly has to
- 3:31become a mathematical rule. What is a
- 3:34low mean? What is roughly the same low
- 3:36mean? How many candles exist between the
- 3:38two points? How far does RSI need to
- 3:40move before I can officially call it a
- 3:42second peak or a zigzag? What counts as
- 3:46a meaningful Fibonacci impulse? How
- 3:48close does price need to get to the
- 3:500.618 retracement? Does it have to touch
- 3:54it exactly? Can it wick through it? Can
- 3:56it miss it by a few pips? All of these
- 3:59things feel obvious when I'm looking at
- 4:00a chart, but suddenly you need to
- 4:02quantify them and there needs to be
- 4:04numbers attached. And this is the part I
- 4:06think most traders underestimate when
- 4:07they say, "Oh, I'm just going to have AI
- 4:10code my strategy." Because AI can write
- 4:12the code, that's not necessarily the
- 4:14hard part. The hard part is figuring out
- 4:16exactly if you explained your strategy
- 4:19well enough for a computer to understand
- 4:21it and code it. So, we built the first
- 4:24version of the indicator. For a regular
- 4:26bullish divergence, AI interpreted my
- 4:28rules as find the first RSI zigzag below
- 4:3230, store the RSI value and then
- 4:35corresponding price low. Then wait for
- 4:37another RSI zigzag. If price makes an
- 4:40equal or lower low, but RSI makes a
- 4:43higher low, that's the second low and
- 4:46the second RSI low is back within that
- 4:4870-30 range, then wait for the RSI to
- 4:51make that small upward turn. Once that
- 4:53happens, print a buy signal. And for
- 4:55bearish divergence, it's the exact
- 4:57opposite. And for hidden divergences,
- 4:59this one was an absolute show that
- 5:02took me days. Cuz I had to do something
- 5:04completely different. It had to identify
- 5:07an impulse move, calculate the Fibonacci
- 5:09retracement automatically, watch the
- 5:120.618 area, compare the current RSI to
- 5:15the RSI at the original swing, and
- 5:17determine whether the price structure
- 5:19and RSI structure were diverging. That's
- 5:21already a hell of a lot more complicated
- 5:23than just saying, "Find an RSI
- 5:25divergence." And then I put it up on the
- 5:28chart. And this is the part that I was
- 5:29genuinely worried about cuz it was
- 5:31either going to look like dog or be
- 5:33relatively okay. Because it's easy to
- 5:36write something that compiles with no
- 5:38errors. But it's much harder to write
- 5:40something that looks like what I would
- 5:42actually see. So, I put it up on the
- 5:44charts and it was surprisingly close.
- 5:47I'd say around 80% of the way there. It
- 5:50was identifying most of the regular
- 5:51divergences I would take. It was finding
- 5:54hidden divergences. It was drawing them
- 5:56in places that made sense to me. And
- 5:58then something started happening. It was
- 6:00also identifying more divergences than I
- 6:03personally would have noticed. And then
- 6:05I looked at them. A lot of them were
- 6:07actually valid. They followed the rules
- 6:09I'd given it. I just wouldn't have
- 6:10necessarily spotted them manually. And
- 6:12that was interesting to me because now
- 6:14the computer wasn't just copying what I
- 6:16saw, it was applying my own rules more
- 6:19consistently on the charts than I was.
- 6:22And at the same time, it would
- 6:23occasionally miss something, especially
- 6:25some of the hidden divergences that I
- 6:28would have caught manually. Maybe it was
- 6:29the fact that they were further apart.
- 6:31And that shows exactly where the problem
- 6:33is. The computer doesn't structure
- 6:34things the way that you do. When I look
- 6:36at a chart, I don't subconsciously
- 6:38calculate every part of the structure.
- 6:40My brain sees the impulse, it sees where
- 6:42I would naturally draw Fibonacci, it
- 6:44sees the retracement, it sees the RSI
- 6:46relationship, and I recognize the setup
- 6:48almost instantly. But the code has to
- 6:51decide which exact swing low starts this
- 6:54exact impulse move, which exact swing
- 6:57high ends it. And that's much harder
- 6:59than it sounds. Sometimes the chart has
- 7:02several possible swing points. To me,
- 7:04one of them is obviously the correct
- 7:06one. To the computer, it's all just
- 7:07highs, lows, opens, and closes. Unless I
- 7:10give it a way to rank them. That's why
- 7:12hidden divergences has to be the hardest
- 7:14part of this entire project to
- 7:16translate. The regular divergences are
- 7:18much cleaner. They're easier to reduce
- 7:20to basic information like first extreme,
- 7:23second extreme, price relationship, RSI
- 7:26relationship, confirmation. But
- 7:28Fibonacci is so subjective. And I think
- 7:31this is a very important lesson if
- 7:33you're trying to build your own
- 7:34indicator using AI. Your first problem
- 7:36is not coding. Your first problem is,
- 7:39can you explain what you do in a way
- 7:41that removes ambiguity. Because most
- 7:44discretionary traders have rules they
- 7:45don't even realize they're using. You
- 7:47might say, I buy support. Okay, what is
- 7:50support? How many touches? How far
- 7:52apart? Do wicks count? Do candle bodies
- 7:55count? How close does price actually
- 7:57have to be to that support? What
- 7:58invalidates it? And you might say things
- 8:00like, I wait for momentum to turn. What
- 8:03exactly is momentum? RSI? Is it MACD? Is
- 8:06it candle size? Is it the rate of
- 8:08change? What does the word in your brain
- 8:10turn mean mathematically? You might say
- 8:12things like, oh it doesn't look like a
- 8:14real breakout. That sentence makes sense
- 8:16to a trader. You see the hesitation, but
- 8:19it means absolutely nothing to a
- 8:20computer. And that's the real hurdle.
- 8:23You have to take all of that
- 8:24subconscious pattern recognition that
- 8:26you've developed over the years of
- 8:28practicing trading and actually trading
- 8:30in the live markets and slowly convert
- 8:32it into like explicit rules. And again,
- 8:34this is where AI comes in as the most
- 8:36useful tool in human history. Because I
- 8:39don't need to know how to Pine Script
- 8:41well enough to build all of this from
- 8:42scratch. I can describe what I see. I
- 8:45can attempt to convert it into the code,
- 8:47then I can put it on the chart and
- 8:48compare it. Did I catch this one? Did I
- 8:50miss that one? Why did it take that one?
- 8:53I didn't even see this thing. Then we
- 8:54adjust. So then the workflow isn't
- 8:57describe a strategy once and AI builds a
- 8:59perfect indicator. It's more describe
- 9:02what you see in the best way possible
- 9:04and be as precise as possible. AI makes
- 9:08an interpretation, then you put it up on
- 9:10the chart, compare it to what your eyes
- 9:13actually see, then refine the
- 9:15interpretation. And the best way to do
- 9:17that is to weed out the differences.
- 9:21Look at the trades you would have taken,
- 9:23take screenshots of them, and say,
- 9:25"These are the good basket. These, I
- 9:27don't know what the you're talking
- 9:29about." And give that to the AI. And it
- 9:31will make the changes in accordance to
- 9:33what you're showing it. Your indicator
- 9:36doesn't perfectly have to match in
- 9:38version one. Mine definitely isn't, but
- 9:41if I can get 80% of the way there, then
- 9:44you've got something that you can work
- 9:45with. Because now the computer can scan
- 9:48thousands of candles, find every setup
- 9:50that matches those specific rules, and
- 9:53eventually we can start answering the
- 9:54question I actually care about. Why do
- 9:57some of these divergences work, and why
- 9:59do others fail? That's when this will
- 10:01get interesting. If you guys enjoyed
- 10:03this video, please share it with your
- 10:04friends. Thank you so much for watching,
- 10:06and we will see you in the next one.
About this transcript
This page contains the full transcript of I Turned My RSI Divergence Strategy Into an Indicator by The Moving Average, generated from the public captions YouTube serves with the video. The transcript has 1,892 words across 272 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.