At the end of a strategy tester run your open positions will be closed.
Tony Chavez: If you use an Expert does it automatically liquidate you position if you end it? Or do you keep the last position until you close them manually?
| If you terminate a EA by removing it, it must return from deinit within 3 seconds or it will be forcefully terminated. It doesn't have time to close orders. That function can not be built in. You must close them yourself, only in the tester are they closed |
Thank you that helps as I didn't want it to close the position but during back testing it does. That is what had me worried.
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
If you use an Expert does it automatically liquidate you position if you end it? Or do you keep the last position until you close them manually?
EX: If the Expert Buy 1 lot of USDJPY and you want to end the Expert does it automatically sell any open positions it created?