double slowMa = iMA(_Symbol, PERIOD_CURRENT, slowPeriod, slowMaShift, MODE_SMA, PRICE_CLOSE);A mixture of MT4 (returning a double) and MT5 (iMA handle).
Stop using ChatGPT.
Help needed to debug and fix an AI EA - Trading Systems - MQL5 programming forum (2023)
ChatGPT (the worst), “Bots Builder”, “EA builder”, “EA Builder Pro”, EATree, “Etasoft forex generator”, “Forex Strategy Builder”, ForexEAdvisor (aka. ForexEAdvisor STRATEGY BUILDER, and Online Forex Expert Advisor Generator), ForexRobotAcademy.com, forexsb, “FX EA Builder”, fxDreema, Forex Generator, FxPro, Molanis, Octa-FX Meta Editor, Strategy Builder FX, Strategy Quant, “Visual Trader Studio”, “MQL5 Wizard”, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.
Since you haven't learned MQL4/5, therefor there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.
We are willing to HELP you when you post your attempt (using Code button) and state the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own.
ChatGPT |
|
bot builder | Creating two OnInit() functions.* |
EA builder | |
EATree | Uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.) |
ForexEAdvisor |
|
FX EA Builder |
|
A mixture of MT4 (returning a double) and MT5 (iMA handle).
Stop using ChatGPT.
Help needed to debug and fix an AI EA - Trading Systems - MQL5 programming forum (2023)
ChatGPT (the worst), “Bots Builder”, “EA builder”, “EA Builder Pro”, EATree, “Etasoft forex generator”, “Forex Strategy Builder”, ForexEAdvisor (aka. ForexEAdvisor STRATEGY BUILDER, and Online Forex Expert Advisor Generator), ForexRobotAcademy.com, forexsb, “FX EA Builder”, fxDreema, Forex Generator, FxPro, Molanis, Octa-FX Meta Editor, Strategy Builder FX, Strategy Quant, “Visual Trader Studio”, “MQL5 Wizard”, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.
Since you haven't learned MQL4/5, therefor there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.
We are willing to HELP you when you post your attempt (using Code button) and state the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own.
Thank you very much William. Your reply was quick and very much needed. I have been trying to soak up as much information as I can when attempting to learn. I have zero dollars for a legit education in coding at the moment. Chat GPT came out and believe it or not, I am learning. Granted it is not the proper foundation for any education, but I will continue to learn what I can, when I can, and how I can. The chart you provided is of big help and much appreciated.
Thank you very much William. Your reply was quick and very much needed. I have been trying to soak up as much information as I can when attempting to learn. I have zero dollars for a legit education in coding at the moment. Chat GPT came out and believe it or not, I am learning. Granted it is not the proper foundation for any education, but I will continue to learn what I can, when I can, and how I can. The chart you provided is of big help and much appreciated.
Learn to search here. Searching is our ChatGPT and the results are lot better and they all do work :)
https://www.mql5.com/en/search
There's virtually nothing that hasn't already been programmed for MT4/MT5 and is ready even for you!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am trying to create an indicator that calculates the average distance between MA's, display those calculations in STDeviation form, and the creates a buy/sell signal if the deviation threshold variable is exceeded. However I am stuck on the errors...
OnCalculate function declared with wrong type or/and parameters 57 8
OnCalculate function not found in custom indicator 1 1
I am new to coding and if anyone could point me in the right direction to correcting these errors, I would greatly appreciate it.