Discover new MetaTrader 5 opportunities with MQL5 community and services
- 599.00 USD
- 2024.04.27
- www.mql5.com
MQL5: language of trade strategies built-in the MetaTrader 5 Trading Platform, allows writing your own trading robots, technical indicators, scripts and libraries of functions
Files:
Screenshot_8.jpg
254 kb
- PROBLEM
- help for write my first EA in mql4
- OrderSend wrong parameters count
I guess your Point; is either _Point; or Point();
Carl Schreiber #:
I guess your Point; is either _Point; or Point();
I guess your Point; is either _Point; or Point();
<Improperly formatted code removed by moderator>
Discover new MetaTrader 5 opportunities with MQL5 community and services
- 599.00 USD
- 2024.04.29
- www.mql5.com
MQL5: language of trade strategies built-in the MetaTrader 5 Trading Platform, allows writing your own trading robots, technical indicators, scripts and libraries of functions
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.
Documentation on MQL5: Trade Functions / OrderSend
- www.mql5.com
The OrderSend() function is used for executing trade operations by sending requests to a trade server. Parameters request [in] Pointer to a...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register