GlobalVariableSet(ticket,number); }} if (OrdersTotal() != 0){ Print(OrdersTotal()); OrderSelect(GlobalVariableGet(ticket),SELECT_BY_TICKET); // If the next is available
- RTFM. What is the first parameter to GVSet? What is it's type? What type is ticket and it's value?
- Why are you using global variables? Use them only for communication between EA's. You can not use them for persistent storage.
- What are Function return values ? How do I use them ? - MQL4 forum
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
Hello,
since three days, i sit on this problem and don't find the problem. Maybe someone of you could help me.