How to best use AI to improve your MT5 Scripts
0 replies

Theo Gottwald
8 months ago #287817
There are many ways to leverage artificial intelligence to enhance your MetaTrader 5 scripts, whether you’re fixing errors, adding new features, or simply seeking an assessment.
The top choices include GPT-4.0 with Canvas, available through an OpenAI subscription for about $20/month, and the GPT-4-O1 Preview.
However, the Anthropic Claude 3.5 console is even better, as you pay per use.
You just need to obtain an API key, enter your credit card info, and pay a small fee based on usage.
In my experience, ChatGPT often mixes MetaTrader 4 code into MetaTrader 5 code without much distinction, a mistake that Claude 3.5 avoids. Therefore, I generally recommend using Cllaude 3.5.
Here’s a tip:
Both models occasionally reach a point where they introduce errors that they cannot easily correct themselves. Even with Claude 3.5, you might encounter a situation where it introduces an error into the script and struggles to correct it after several attempts.
The trick is to first ask it what and why the error is there.
This activates a mechanism that helps Claude 3.5 fix the mistake. I’ll share the prompt for this below.
<p data-pm-slice=”1 1 []”>Below is a MT5 Library file that needs to be completed.</p>
Please analyze what it is doing, then tell me why these script is incorrect, what is wrong with these lines.Before you make any changes tell me what you would do and re-evaluate if the error would then be gone or not.
????????✨????????????????
#MetaTrader5 #AI #Cloth3.5 #GPT4 #ScriptingTips
**Mit besten Grüßen | With best regards | Cordiali saluti**
**Theo Gottwald**
*Leading Expert in SPR & Visual Automation*
???? **What's New in the Q4 Update?**
1️⃣ Open AI Vision: Empower your SPR with cutting-edge visual recognition. See the unseen. ????????
2️⃣ Open AI TTS: Seamlessly transform text into natural, lifelike speech. Hear the difference. ????️????
3️⃣ GPT-4 with 128k Token Context Window by OpenAI: Dive into unparalleled depth in AI conversations. Think deeper. ????????
4️⃣ DALLE-3 by OpenAI: Command revolutionary AI to generate stunning images. Imagine more. ????️????
5️⃣ ElevenLabs Text to Speech: Experience text-to-speech so lifelike, it speaks to you. ????️
6️⃣ Stable Diffusion Local & Online via Automatic1111: Unlock creativity with both local and cloud-based image generation. Create anywhere. ☁️????
7️⃣ GPT4All & LM Studio: Harness powerful offline AI capabilities. Your studio, smarter. ????️????
8️⃣ DeepL Translator with SPR Integration: Achieve real-time, accurate translations. Speak the world's language. ????????
9️⃣ ChatGPT by OpenAI: Engage with your SPR through natural, dynamic conversations. Connect genuinely. ????️
???? WHISPER by OpenAI: Convert voice to text with effortless precision. Listen, transcribe, act. ????️????
???? Mistral AI: Scale your AI integration with seamless efficiency. Elevate your AI journey. ????????
???? Claude 3 by Anthropic: Experience next-level AI understanding and interactivity. Discover AI with a human touch. ????????
???? **Address:**
Herrenstr. 11, 76706 Dettenheim, Germany
???? **Phone:**
Office: +49 (7247) 9851112
Mobile: +49 160 6688 222
Fax: +49 (7247) 9851113
???? **Email:**
[[email protected]](mailto:[email protected])
???? **Websites:**
[IT-Berater](http://www.it-berater.org) | [Smart Package](http://www.smart-package.com)