![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
Just might come in handy. :-)
Can you tell me if there is any "office" that provides its own server for testing EAs. That is, I upload my EA to their server, where it is tested in "on line" mode on a demo account.
Warning! In my post of 12.03.2008 07:24 I have changed the attachment SetOrder.mq4
I've tried your code, but it didn't work (maybe my hands are wrong :( ... ). When compiling shows a lot of errors.
Message' - the function is not defined - what is it?
'break' - 'break' or 'continue' used within some cycle only - what is wrong with loops?
'GetNameTF' - function is not defined - how to define it?
...etc. :(
I still can't figure it out. Please help me, if you're not in trouble.
'Message' - function is not defined - what is it?
'break' - 'break' or 'continue' used within some loops only - what's wrong with loops?
Ignore the break for now. Sort out the function descriptions first.
'GetNameTF' - function is not defined - how to define it?
Look for the ExistOrders function in this thread. I have already posted it. ErrorDescription is plugged in with the compiler directive:
Okay, there is still the GetNameOP function:
'Message' - function is not defined - what is it?
'break' - 'break' or 'continue' used within some cycle only - what's wrong with cycles?
Ignore the 'break ' for now. Sort out the function descriptions first.
'GetNameTF' - function is not defined - how to define it?
Look for the ExistOrders function in this thread. I have already posted it. ErrorDescription is plugged in with the compiler directive:
Okay, there's still the GetNameOP function left:
I feel like I should put the libraries (both of them) out there and do some outreach. The libraries will not be refused.
now all these functions show - Function "ххххххххх" is not referenced and will be removed from exp-file
maybe I put them in the wrong place... :( I hope you can help.
..it's hard for a beginner in MQL4 :)
I feel like I need to put the libraries (both of them) out there and do some explanatory work. I won't give up the libraries.
I'll probably post it... but not before we've gone through all the features... otherwise what am I here for? Put it on codebase, people would download it and forget about it. I'm like that myself :-) I've got a bunch of other people's code lying around untouched. And when you have the opportunity to probe, ask questions, it's quite another matter.
SZY. My files with prefix test_ compile and run fine.
Thank you - very helpful, but other problems again... :(
now all of these functions show - Function "xxxxxxxxxx" is not referenced and will be removed from exp-file
Maybe I put them in the wrong place... :( Hope you can help.
..I'm having a hard time with MQL4 :)
If I understand correctly, replacing OrderSend with OrderModify
can be used when modifying an order?
as well as when closing... ??
...but how can we combine these functions in one function?
also...
if (mn<0 || OrderMagicNumber()==mn)
why mn<0 ? can't Magic be negative?
if i understand correctly, by replacing OrderSend with OrderModify
can be used to modify an order?
?? as well as for closing ... ??
but how to combine this into one function so it doesn't repeat itself?
Later on there will be a function to modify
more...
if (mn<0 || OrderMagicNumber()==mn)
why mn<0 ? can't Magic be negative?