Hello to all the dear members of the Forex Factory community
Today, I want to talk about an exciting and innovative topic: the use of AI in coding for MetaTrader and other trading programs.
Why AI?
AI can help us code topics much faster. It has been a huge help for me, allowing me to produce the necessary code more quickly, and I have also learned some good things from it.
I know there are many negative opinions about AI in coding, and I used to share a similar view, but my perspective has changed. First of all, I make no claims about my coding abilities; I am still learning. Within my experience, I can understand the logic of the code by looking at it, although those who are more professional can do this much better than I can.
I mention all this to highlight that individuals who usually post AI-generated code here often lack substantial knowledge about coding, and their codes are typically full of errors and flaws. Those who have experience in coding can quickly tell at a glance that the code is unusable. This is why people are often reluctant to help those who post AI-generated code.
Another reason is that AI combines codes and presents a mix of MQL5 and MQL4 codes to you.
Now, the main question is whether we can receive correct, error-free, and functional code from AI or not? My answer is yes; we can obtain good code.
To receive better code, AI needs training. Does it combine codes? Yes… but you need to emphasize what you want. You must specify that you do not want it to use MQL4 codes in MQL5; you need to clarify that it should only work with a specific language.
You must control the output and guide it to the right point.
To prove that good output can be achieved, I recorded a video of creating a very simple expert advisor in two parts. I uploaded the first part and will soon upload the second part as well. What you see in the video is a relatively simple example, and I have created something much more complete with additional features than what you see in the video for strategy testing and backtesting.
My intention has been to show how to guide AI to produce clean, problem-free, and functional code.
Of course, this is my experience working with AI, and I would be happy to hear your opinions and methods shared here. If you have had a similar experience or managed to code something with AI, please share how you did it so that we can all benefit from it.
My final thought is this: imagine someone who does not know how to use a phone right now… well, that doesn’t sound very good. In the near future, someone who doesn’t know how to use AI will be in the same situation as someone who doesn’t know how to use a mobile phone.
Today, I want to talk about an exciting and innovative topic: the use of AI in coding for MetaTrader and other trading programs.
Why AI?
AI can help us code topics much faster. It has been a huge help for me, allowing me to produce the necessary code more quickly, and I have also learned some good things from it.
I know there are many negative opinions about AI in coding, and I used to share a similar view, but my perspective has changed. First of all, I make no claims about my coding abilities; I am still learning. Within my experience, I can understand the logic of the code by looking at it, although those who are more professional can do this much better than I can.
I mention all this to highlight that individuals who usually post AI-generated code here often lack substantial knowledge about coding, and their codes are typically full of errors and flaws. Those who have experience in coding can quickly tell at a glance that the code is unusable. This is why people are often reluctant to help those who post AI-generated code.
Another reason is that AI combines codes and presents a mix of MQL5 and MQL4 codes to you.
Now, the main question is whether we can receive correct, error-free, and functional code from AI or not? My answer is yes; we can obtain good code.
To receive better code, AI needs training. Does it combine codes? Yes… but you need to emphasize what you want. You must specify that you do not want it to use MQL4 codes in MQL5; you need to clarify that it should only work with a specific language.
You must control the output and guide it to the right point.
To prove that good output can be achieved, I recorded a video of creating a very simple expert advisor in two parts. I uploaded the first part and will soon upload the second part as well. What you see in the video is a relatively simple example, and I have created something much more complete with additional features than what you see in the video for strategy testing and backtesting.
My intention has been to show how to guide AI to produce clean, problem-free, and functional code.
Of course, this is my experience working with AI, and I would be happy to hear your opinions and methods shared here. If you have had a similar experience or managed to code something with AI, please share how you did it so that we can all benefit from it.
My final thought is this: imagine someone who does not know how to use a phone right now… well, that doesn’t sound very good. In the near future, someone who doesn’t know how to use AI will be in the same situation as someone who doesn’t know how to use a mobile phone.
Theory of Everything is Liquidity...https://www.youtube.com/@FxArt.Trader