1. ChatGPT can't really code in MQL4/5. It can give us ideas on how to solve a problem, but it can't check if the code is going to actually work, or not.
2. Did you check if the histogram repaints or not? Because, if it repaints, then it is pointless to create an EA based on the histogram. And I'm, like 99% sure it repaints.
Though, I must admit that GPT did pretty well on this one!
Just a few corrections and it's working!
Attached File(s)
Attached File(s)
.ex4/.ex5 files cannot be fixed or converted
1