basic error, but it's not the same thing (line 80) ';' - open parenthesis expected
- 599.00 USD
- 2024.04.27
- www.mql5.com
- PROBLEM
- help for write my first EA in mql4
- OrderSend wrong parameters count
I guess your Point; is either _Point; or Point();
- 599.00 USD
- 2024.04.29
- www.mql5.com
You used ChatGPT to make this, right? When you do this, you spend more time finding bugs than actually learning/writing correct code.
Take a look at the OrderSend documentation and note that the parameters you're passing are actually incorrect - it expects only two arguments, that is, a MqlTradeRequest and a MqlTradeResult structure.
If you have no expertise with the language, I suggest you to read the algo book. If you already do know some of the functions/syntax, you can skip to the creating an EA section.
- www.mql5.com
