Disliked{quote} Imagine an expert advisor, indicator, or any software as an office building with several rooms, each having a specific function.Ignored
1
I Will Learn Coding in 1 Month - Give me the 80/20 of MT4 Coding 14 replies
Auto Pivot Point in MetaTrader coding assist please 10 replies
Coding Example Wanted 1 reply
Primer for coding MT4 3 replies
Overly Complex Coding and Trading Systems. 32 replies
DislikedPlease Sirs I'm trying my hand on coding with chatgpt can someone debug this and make it work //+------------------------------------------------------------------+ //| DCA_BE_MODES_EA.mq4 | //| Break-Even EA with BE1 (Close All), BE2 (Close Half), BE3 (Wait) | //+------------------------------------------------------------------+ #property strict input int BreakEvenBufferPoints = 10; #define MAX_SYMBOLS 50 string trackedSymbols[MAX_SYMBOLS]; int beMode[MAX_SYMBOLS]; // 0 = OFF, 1 = BE1 (), 2 = BE2 (
), 3 = BE3 (
)...
Ignored
Disliked{quote} On the first page and in the videos, I explained how to debug. You can provide the same warnings, which are called logs, to the AI so it can fix them. Below, I have included a visual guide on how to do this. {image}{image}{image}{image}{image} Since this is an expert advisor (EA), I am not sending any code and I haven’t even tested how the code works. However, in the image below, you can see the parts I changed to fix the code bug. {image}Ignored
Disliked{quote} But why "indicator" when it's supposed to be an EA? If the compiler is returning this indicator property warning, it means that the coder placed this file in the Indicators folder. So, it can't work as an EA from the Indicators folder. Also, if the "coder" doesn't even know which folder an EA belongs, there is no point to explain anything to that person about coding.Ignored
DislikedHello colleagues, has anyone received a complete code or complete execution of a given task from AI? By task I mean automating/writing code for a small system or indicator. I personally have several automated systems and in each of them there is a small gap in the logic invisible at first glance. After which, despite detailed explanations, it is not corrected and what has been done is ruined. Thanks in advanceIgnored
DislikedHello, everything you point out is true and I think I approached the task to the AI in detail. This is a lot of material as chat and explanations and I don't want to fill the topic here. As proof, I will give a specific example of automation of one of my ways of working for years - I have been working with a TDI indicator for 20 years. I personally work with it both on H1 and for scalping on M1. I have mainly used the histo variant of the indicator for greater categoricalness of the cross because the original version is not visible well and the histo is red and green. The original is embedded in the robot. I apply it as proof that it can and was entirely created by AI based on my explanations and requests, taking into account that I am not a coder. The preparation and presentation of the data are only based on practice and written explanations to the AI. I apply 2 variants, the first one we got somewhere - about 99% completed and the second a broken variant of the first. And this result is the basis of my summary. I have also used a paid version of AI, but not the professional one, and I am currently on the free one and honestly I don't find any difference. The task of the first one is 99% completed, as a small inaccuracy leads to large losses. This is that the robot, when using a dynamic lot in a group of consecutive losses/operations, has an operation with a positive outcome, which, however, is not enough to cover the realized losses, terminates/resets the dynamic lot and starts with the initial one on the next entry, at which it realizes a loss. In the second variant, the AI corrects the application of a dynamic lot to the correct outcome but breaks its application. The result is a dynamic lot from beginning to end. This is a failed logic and also changes other small things in the syntax of the robot. Here are the two robots, as you can see for yourself during the tests for the above, and for those who can rely on them, I am attaching the source code. If someone fixes it, I will be grateful and everyone will be able to use it with health. Cheers {file} {file}Ignored
Disliked{quote} An AI cannot fix any logic which you didn't provide. So, my conclusion is that You are not providing the correct logic for when to reset, and when to continue. Also, how in the world can anybody prevent losses??? If you didn't fully recover, for example, you (the EA) could check if the previous losses have been recovered or not, and then continue based on the fact if they have been recovered or not. Or even in some other way, to attempt to recover the part which wasn't recovered, only. So, it would be advisable to tell the AI to create a...Ignored
Disliked{quote} You clearly didn't understand me, in the first option I set a task that is not 100% completed despite its clarity and simplicity, and in the second one I not only don't correct my mistake but also spoil what I get. If you don't see it or don't want to admit it, that's your problem. Mine remains unresolved, besides, my opinion is that AI doesn't complete things that have positive results and it sees them very well. I've been doing this manually for years and there's no power or opinion that can tell me that it can't be done. So have a nice...Ignored
DislikedHello colleagues, has anyone received a complete code or complete execution of a given task from AI? By task I mean automating/writing code for a small system or indicator. I personally have several automated systems and in each of them there is a small gap in the logic invisible at first glance. After which, despite detailed explanations, it is not corrected and what has been done is ruined. Thanks in advanceIgnored
DislikedI used CHATGPT since it came out. It could convert old .mq4 code to the current .mql4 code OK. I never got a viable bot out of it. Some indicator code was OK. If you had any kind of problems, it was a rabbit hole. One problem became four problems exponentially, on and on. I use A.I. for writing books and CHATGPT just couldn't haul the load. With all the advancements in A.I., I decided to see what was out there. I immediately found Claude A.I. I was shocked. For writing, performance picked up 1000%. Faster, more capacity, smarter. So, I tried it...Ignored
Disliked{quote} Off topic: Don't want to appear super smart, but if someone catches a virus/malware via PDF then it's not the fault of the PDF file, but of the user using the wrong PDF reader. Especially one should never use Microsoft, Acrobat or Google readers. It's these softwares which are responsible for - unfortunate - user harm/infections.Ignored