Place the cursor on OrderSend and press F1 read and understand even the example.
got it, in case you also are stuck, here's
if (OrderSend(request, result))
now the last hurdle...
if (!SymbolIsSynchronized("EURUSD", "EURGBP", "GBPUSD", true, false)),
wrong parameter count again
the solution
if (!SymbolIsSynchronized(Symbol()))
again a hurdle, its not opening positions in backtesting
pcindia: I wonder what's wrong in this code?
Please insert your code properly using the CODE button (Alt-S).
EDIT: And please use proper spacing between words in your text.
Your topic has been moved to the section: Expert Advisors and Automated Trading — In the future, please consider which section is most appropriate for your query.
anyone know how to fix this
request.ticket = ticket;
'ticket' - undeclared identifier PP.mq5 32 12
We don't provide support for ChatGPT generated code. Ask for help to ChatGPT.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I wonder what's wrong in this code?