brewmanz:
A) I don't see OrderSelect() being used. Maybe it's taken for granted and excluded.
B) Add some error checking (+display) to OrderModify (and any other Order...). code. That 'OrderModify error 1' doesn't give much away
Thank you. That was it. I forgot the OrderSelect. Because it was modifing the order, I thought it was in the logic. But, I couldn't find and error. Again, thank you.

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
Hi,
Newbe needs help. I am trying to move my sl to break even once i am 1/3 of the way to tp and again to 1/3 once I am 2/3 of the way to tp. I have two problems with my code. 1.) the modified sl is cycling between break even and 1/3 profit??? 2.) I am getting OrderModify error 1??? Please help. I can't find the break down in my logic.