Latest / AI Fire Daily / #243 Neil: Gemini 3 Vs Claude Which AI Is Actually Better For Crypto Trading
Transcript
- 0:00So here's the big question. Can Google's new
- 0:02genius AI, Gemini 3, actually write pine script
- 0:06code that makes you serious money in the crypto
- 0:09market? That is the high stakes question, isn't
- 0:12it? And we're talking about real rigorous testing
- 0:14here. Right. We found one successful code conversion
- 0:18that led to just a staggering 2 ,497 % total
- 0:23profit on Bitcoin. Wow. But, and this is the
- 0:26part we have to talk about, that massive return
- 0:28came with a terrifying catch, a 46 % maximum
- 0:32drawdown. OK. And that risk is the first thing
- 0:34we absolutely have to unpack. Welcome back to
- 0:36the deep dive. Today, we are really trying to
- 0:39shortcut your path to being well -informed about
- 0:41AI and algorithmic trading. Our source material
- 0:44is this meticulous multi -test analysis, and
- 0:47it's focused solely on Gemini 3's capability
- 0:49with Pinescript. That's the core language for
- 0:51TradingView. Yeah, and our mission today is just
- 0:53clarity. We want to show you exactly where the
- 0:56AI's new deep -thinking abilities really shine,
- 0:59like converting a visual indicator into an automated
- 1:01backdustful strategy. It's amazing at that. And
- 1:04critically, we're going to show you where it
- 1:06fails. I mean where it feels... spectacularly
- 1:09when it tries to invent a new strategy from scratch
- 1:12or you know fix a fundamentally flawed financial
- 1:15idea. Okay let's start under the hood then. I
- 1:17mean the chatter is that Gemini 3 is a huge step
- 1:20up from older models. For someone who might just
- 1:23be using say standard chat GPT -4 what's the
- 1:27core shift here? What makes this new model so
- 1:29relevant? It's all about what they call reasoning
- 1:31abilities. The older AIs they essentially looked
- 1:34at a prompt and tried to jump straight to the
- 1:38answer. They were just guessing. They were guessing.
- 1:40And sometimes very accurately. Like a high school
- 1:43student skipping the work to just circle the
- 1:45multiple choice answer. Exactly. The new AI,
- 1:48Gemini 3, it actually pauses first. It writes
- 1:51an internal plan before it generates the final
- 1:54output. A plan? They call it deep thinking. It
- 1:56makes the AI agentic, which just means it constructs
- 1:59this precise step -by -step list of what it needs
- 2:02to do. And for something like Pinescript, where
- 2:04a single missed bracket can cost you thousands.
- 2:07That planning skill is not just critical. It's
- 2:10essential. So the plan is the difference. And
- 2:13you mentioned file handling, this ability to
- 2:15upload images, CSVs, and video all at the same
- 2:18time. How does that change the game when you're
- 2:21analyzing trading history, which is usually just
- 2:23a long, boring spreadsheet? Oh, it's a massive
- 2:26efficiency boost. I mean, imagine being able
- 2:28to upload years of raw price data, a screenshot
- 2:32of a chart setup you like, and the old code of
- 2:34an indicator. All at once. All at once. The AI
- 2:38saves you hours of trying to explain all these
- 2:40visual concepts just through text. Which brings
- 2:43us to the famous context window, the memory.
- 2:46Can you define that simply for us? The context
- 2:48window is basically the AI's short -term memory.
- 2:51It's how much information you can hold at one
- 2:53time in a conversation without forgetting what
- 2:56you said at the beginning. So if a competitor
- 2:57like Claude can hold maybe a medium -sized book's
- 3:00worth of info. Gemini 3 is carrying around a
- 3:02massive library. We're talking up to two million
- 3:05tokens. Two million. It is a truly staggering
- 3:08amount of information. Two million tokens, though.
- 3:10I mean, that sounds like massive overkill for
- 3:12trading data. Was that huge memory capacity actually
- 3:15necessary in these PineScript tests, or is it
- 3:18more of a flex? It's a great question. For short
- 3:21scripts, no, it's not strictly necessary. But
- 3:25what it fundamentally unlocks for traders is
- 3:27huge. You can feed the AI 10 years of minute
- 3:30-by -minute price data without it forgetting
- 3:32the start. And that's vital for spotting those
- 3:35long -term macro trends that really impact your
- 3:37profit. So if we connect this to the bigger picture,
- 3:40it just means the AI can absorb way more granular
- 3:42history to inform its coding decisions. Precisely.
- 3:45It gives the AI more data points to work with
- 3:48for that internal plan we talked about. Let's
- 3:50move to the success story then, test one, converting
- 3:52an indicator into a full strategy. First, what's
- 3:55the actual difference between an indicator and
- 3:57a strategy? It's pretty simple. An indicator
- 4:00is just informational. It shows you arrows or
- 4:02lines on the chart based on some math. It's visual
- 4:05guidance. OK. But a strategy lets you automate
- 4:07those decisions. And this is the crucial part.
- 4:10It lets you do back testing. running the system
- 4:12against historical data to see how it would have
- 4:14performed. The testing process here, it really
- 4:17highlights the rigor you need. It wasn't just
- 4:20dumping a file in. The prep was intense. You
- 4:23had to get clean CSV price data, use that mandatory
- 4:27ISO time format, and critically turn off every
- 4:30single other indicator on the chart before exporting.
- 4:33Oh, that level of rigor is just non -negotiable.
- 4:36If you have messy data going in, you get unusable
- 4:39code coming out. But what's fascinating is the
- 4:41prompt they used, they gave Gemini a specific
- 4:43role expert Pinescript coder, a really clear
- 4:46task, and extremely strict rules. And these rules
- 4:51in ensured a dose of realism, right? Setting
- 4:53initial equity at $1 ,000, mandating 100 % equity
- 4:56usage, and forcing in a realistic 0 .1 % commission
- 5:00fee on every trade. And the AI handled it all
- 5:02perfectly. It wrote a usable, compliant script.
- 5:05The numbers on Bitcoin were just immense. The
- 5:07BTC results showed a total profit of 2 ,497%.
- 5:10Yeah. You see that number, and you immediately
- 5:12think you've cracked the code. This is where
- 5:14we have to pause. The massive asterisk here is
- 5:16the max drawdown. It hit 46%. And we need to
- 5:19linger on that, because drawdown is that scary
- 5:22number. It's what separates academic success
- 5:24from real -world trading. Explain drawdown again,
- 5:28just really clearly. Drawdown is the largest
- 5:30peak to trough drop you've experienced. So if
- 5:33your $10 ,000 account hit a high point of, say,
- 5:36$20 ,000, a 46 % drawdown means that $20 ,000
- 5:41balance later dropped all the way down to $10
- 5:43,800 before it recovered. That kind of volatility
- 5:46is just devastating for a person. And the risk
- 5:49profile got even more terrifying with something
- 5:51like Solana. The profit there soared to 50 ,000%,
- 5:55but the drawdown ballooned to 66%. Yeah. Wait,
- 5:5866 %? That's not a dip. That's blowing up most
- 6:01trading accounts. Is the AI just endorsing high
- 6:03-spakes gambling? Well, the AI is simply following
- 6:06the math of the indicator perfectly. It doesn't
- 6:09care about the emotional or practical consequences
- 6:11of that volatility. I still wrestle with prompt
- 6:13drift myself, and seeing that 66 % drawdown is
- 6:17a real -world wake -up call, even when the code
- 6:19itself is technically perfect. So beyond the
- 6:22success of the code itself, what lesson did that
- 6:25extreme drawdown teach us about relying on the
- 6:28AI? That the AI writes the code perfectly. But
- 6:31the human must still understand and manage that
- 6:34extreme account -crushing risk. That's the takeaway.
- 6:37Okay, let's pivot to the failure test, the flawed
- 6:40logic trap. The goal here was to take a working
- 6:43long -only strategy and try to improve it by
- 6:46adding shorting logic. You know, profiting when
- 6:48the price drops. Right. We specifically modified
- 6:50the Don Chin channel strategy. We asked Gemini3
- 6:53to short when the price closed below the lower
- 6:55band and then close that short when the price
- 6:58got back to the middle line. It sounds logical.
- 6:59It sounds totally logical. But the code executed
- 7:02and the results were disastrous. The original
- 7:05strategy was already delivering 2 ,700 % profit.
- 7:08And Gemini's improved version. It dropped down
- 7:11to a dismal 150 % profit. Just massive losses
- 7:14were introduced by this improvement. So we have
- 7:16to analyze the why here. This is where that agentic
- 7:19reasoning just failed. It completely failed to
- 7:22override a flawed financial premise. The AI wrote
- 7:26the code for those short signals perfectly. Flawlessly.
- 7:29But it failed to consider the overwhelming upward
- 7:32bias of the crypto market. It missed the domain
- 7:34expertise. It did. It prioritized coding execution
- 7:38over a sanity check of how the market actually
- 7:40works. Exactly. Crypto historically is long biased
- 7:44because of adoption, scarcity, inflation dynamics.
- 7:49Shorting is inherently a low probability bet
- 7:51over the long term. Gemini 3, despite all this
- 7:54deep thinking, did not act like a seasoned trader.
- 7:56It was just a brilliant code monkey. And it's
- 7:58important to note this wasn't just a Gemini failure.
- 8:01Grok and ChatGPT also failed this exact test.
- 8:04Even Claude couldn't beat the simple long -only
- 8:07version. Right, and it raises this really important
- 8:09question. Since the AI is supposed to be agentic,
- 8:12why didn't its internal plan include a step to
- 8:14challenge instructions that were mathematically
- 8:16guaranteed to lower profit? And the short answer
- 8:18is it prioritizes accurate code execution over
- 8:22challenging the user's potentially flawed financial
- 8:25premise. We're going to pause right there. When
- 8:27we come back, we'll look at why the ultimate
- 8:29dream prompt, the one everyone wants to run,
- 8:33failed spectacularly, and which AI tool is actually
- 8:36the undisputed champion for heavy -duty reliable
- 8:39coding. Welcome back to the deep dive. We're
- 8:43now diving into where Gemini 3 hits its computational
- 8:46and I guess ethical limitations. The first two
- 8:49tests were practical, but test 3 was aiming for
- 8:51the moon. It really was. The dream prompt Test
- 8:543 was simple. Find a pattern. Make me a strategy
- 8:57that wins with drawdown under 30%. With no indicators
- 9:00mentioned. No indicators. Just the raw price
- 9:02data. This is what every trader wants. New alpha
- 9:04discovery. So detail the result. What happened
- 9:06when you asked it for a new profitable pattern?
- 9:09Gemini 3's deep thinking icon, it's bunned for
- 9:11a while. It started the analysis, trying to write
- 9:13an internal plan to process all this data. And
- 9:16then it just crashed. Time down. And you tried
- 9:19again. I tried again thinking it was a fluke.
- 9:21It crashed again. Why? I mean if it has all this
- 9:24memory and this capacity to run a step -by -step
- 9:26plan, why did it give up on the most fundamental
- 9:29task of a data analyst? Because the task was
- 9:32just too vast. It was too vague. For the AI to
- 9:35truly find a new profitable pattern, it has to
- 9:39check billions of permutations. Billions. It
- 9:42would need to test every combination of moving
- 9:44averages, every oscillator setting, every volume
- 9:47threshold. against the entire data set. Whoa!
- 9:50Imagine scaling that to a billion queries. That
- 9:53level of computation just exceeds the AI's time
- 9:56limit for a single response. It's usually capped
- 9:58at around 60 seconds. It's not that it can't
- 10:01do it in theory, but it can't finish it within
- 10:03the constraints of the chat model interface.
- 10:05It needs direction. So the lesson here is you
- 10:08can't just ask it to find a strategy. No, you
- 10:10have to provide boundaries. You have to guide
- 10:12it. Tell it, use the RSI indicator combined with
- 10:15a 50 -day moving average or look for specific
- 10:17breakout price action. Specificity prevents the
- 10:20algorithmic overload. And the timeout. Exactly.
- 10:23That's a crucial operational lesson. Let's look
- 10:26at the final test, the ethical barrier. Asking
- 10:29the AI to reverse engineer a closed source indicator.
- 10:33This is a really common desire in the trading
- 10:35community. People pay hundreds for indicators
- 10:38with locked code. Right. We asked Gemini3 to
- 10:41look at screenshots of the indicators lines and
- 10:44raw data values and then try to recreate the
- 10:46underlying PineScript math. And the immediate
- 10:48response was? An immediate refusal. Gemini3 said
- 10:52very politely, I am having a hard time fulfilling
- 10:55your request and then it just stopped trying.
- 10:56What were the reasons for that besides just the
- 10:59sheer complexity of it? It's primarily the safety
- 11:01filters that Google put in place. There's a real
- 11:04fear of intellectual property theft or, you know,
- 11:06similar nefarious uses. And recreating proprietary
- 11:09code would trigger that. It's exactly the kind
- 11:11of task that triggers those strong safety locks.
- 11:13What's so fascinating here is the contrast with
- 11:15the competition. Absolutely. Yeah. Claude has
- 11:18succeeded in performing similar reverse engineering
- 11:20tasks before. So this tells us Gemini 3 either
- 11:23has much stricter filters, or it just has less
- 11:26patience for that complexity once the IP filter
- 11:28gets triggered. So we have a pretty clear dividing
- 11:31line now. What is the core difference between
- 11:33a successful prompt, like the conversion, and
- 11:36a timeout or crash prompt, like finding a new
- 11:39strategy? Success requires specific variables
- 11:41and strict boundaries. Vagueness leads to the
- 11:44AI timing out because the computation just becomes
- 11:46too massive. Okay, let's summarize the final
- 11:48rankings. After all this testing conversion,
- 11:51flawed logic, vague tasks... Where do the three
- 11:54major AI players stand for Pinescript crypto
- 11:57coding? Yeah, we have a clear hierarchy for utility
- 12:00here. Start with Gemini 3, our focus today. Gemini
- 12:033 is best for absolute beginners and for simple
- 12:05indicator conversions. The pros? It's fast, the
- 12:08interface is clean, and that multi -file upload
- 12:10is superb. And the cons? The cons. It gives up
- 12:13too easily on hard tasks and just have poor endurance
- 12:16for that long computational deep thinking. And
- 12:19Grok? Grok is the tool for analyzing real -time
- 12:21news. And that's simply because it has that great
- 12:24access to ex -Twitter data for sentiment analysis.
- 12:28But for coding? For pure coding rigor, it's average.
- 12:31The code can be pretty sloppy. Which leaves the
- 12:34undisputed winner for the heavy lifting, the
- 12:36one that acts like a true senior developer. That
- 12:38is Claude 3 .5 Sonnet or Opus. It is the winner
- 12:42for complex coding. When you give Claude a hard
- 12:45task, it just keeps iterating. It keeps working.
- 12:48It writes an incredibly long, clean code. And
- 12:51if you paste in an error message, it acts like
- 12:53a patient developer and just fixes it without
- 12:56you needing to start all over. The only real
- 12:58downside there is the lower message limit, which
- 13:00forces you to pay if you're doing a massive workload.
- 13:03Correct. But for high quality, complex code generation
- 13:06that requires that kind of perseverance, it's
- 13:08still superior. So the final practical advice
- 13:10is this. Use Gemini 3 to brainstorm ideas, maybe
- 13:14clean up your data, but then rely on Claude when
- 13:16you need that complex, final, robust code written
- 13:19for your TradingView bot. Exactly. And let's
- 13:22recap the core lesson for you, the listener.
- 13:24AI is an exceptional conversion tool for code.
- 13:27It can save you hours of manual work. But it
- 13:29is not capable of creating new profitable logic
- 13:32from scratch or fixing a fundamentally flawed
- 13:35financial idea that just contradicts basic market
- 13:38behavior. The core lesson is clear. AI is a tool,
- 13:42not a boss. You are the traitor. That's the mandate.
- 13:46Remember, always check that max drawdown number.
- 13:48Never trust the code blindly, even if the profit
- 13:51percentage looks amazing. And if the AI prioritizes
- 13:54perfect code execution over self -preservation,
- 13:56as we saw in that terrifying 66 % drawdown, what
- 14:00non -financial risks are we blindly automating
- 14:02in other complex fields just because the generated
- 14:04code works? What happens when the AI optimizes
- 14:07for a goal that we haven't properly checked for
- 14:09catastrophic failure? Something for you to mull
- 14:11over. Until next time. Take care.