
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, I have the following code below - it seems to work fine running live (don't worry, it's a non-profitable strategy) where the stop loss and profit targets are hit, but when I run it in Tester, it does not trigger then and instead just closes the position(s) on the very last data set. Do I need to program the EA to close the order if either my stop loss or profit target gets hit? I thought just passing them into OrderSend, that Tester would simulate it for me - or am I wrong on this? here's my code: