This is what i found:
(See the attached photo)
I set 2 limit orders and 2 Take profits on 15% and 16% fib retracement.
As long as the High of the entry bar covers the target price, the strategy tester will take profit on the same bar.
Once the target is not covered in the entry bar, it will look for the target on the following bars.
In the photo, I excepted to see both of the Take profit orders filled on the following bars.
Is this the way that the strategy tester works? or it might be a bug in my code?
Thanks.
Comment