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
Installed it at home - brought it on a flash drive.
Tested! admin is happy. no beers asked for.
There will be no updates...
Will not update...
repeat the algorithm.
Updated at home - brought it on a flash drive.
Checked! Admin is doubly happy.repeat the algorithm
Updated at home - brought it on a flash drive.
Checked it out! Admin is doubly happy.Looks like the fourth lung at 503 again... :-(
Now - it's working...
Looks like the fourth lung at 503 again... :-(
Now - it's working...
I'm racking my brains... the stop just won't set... and a lot of errors. this is what's left of the experiment, and it won't work anymore
If you do this, there are no errors, but the stop-loss is still not set
I'm racking my brains... the stop just won't set... and a lot of errors. this is what's left of the experiment, and it won't work anymore
If you do this, there are no errors, but the stop-loss is still not set
There is a magic ZeroMemory() function. Apply it to initialize or reuse.
And about stops, see if your broker doesn't support setting stops at once (e.g. at exchange execution), then they can be added separately.
it doesn't work on a standard demo from metaquotes... if the demo doesn't support setting stops right away... is mt5 made specifically to drain the depo?)
a simple function and it doesn't work... what else could it be about?
The mt5 has the same effect as the brokers that I've always thought it would be better to place stops with the help of mt5.
so i'd rather not disturb those who tell me to use standard libraries. i like to know what my EA does than hope it won't flatten out later.
It doesn't work on a standard demo from metaquotes... if the demo doesn't support setting stops right away... is mt5 made specifically to drain the depo?)
Use standard trade classes, they will hide all the complexity of filling orders and simplify the code. For example, CTrade gives very simple trading methods.
Since you have questions even on the simple filling of trade order fields, it's best to look in the source code of the corresponding trade classes and find a solution there. Use them specifically - they simplify programming and give full control over errors.