![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 may be being stupid here but how about something simple like
explain where did you do that after orderopening ??
Sorry for not explaining this very well.
Assume you call the function correctly then look to above....
What is this doing ???
What is it doing the next trade ???
What is SL ???
TP same
Assume you call the function correctly then look to above....
What is this doing ???
What is it doing the next trade ???
What is SL ???
TP same
GENIUS! Thanks a million. I understand completely now. I set SL and TP as globals via extern, then when another order is created the old SL value is re-called and is thus completely beyond the scope of price. That is why an OrderModify() would succeed and then fail later on.
Thanks a million.
Happy Trading DeVries