If you dont refresh rates this is not a good method of closing.
Use OrderClosePrice() instead of bid / ask.
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
Close All Positions include pending ones.:
This one may not be the fastest, but it will definitely close all your positions.
Author: wds3817