Disliked{quote} Thanks for your attachment of the long strategy test result so that I can find the problem. The problem is I deal with hedging cycles before the normal cycle and I forgot the code borrow from Icarus will read the situation of positions at each iteration of every tick value changed. I did not exit the iteration after closing the hedging position as well as the hedged position, I just let it go to deal with the normal cycles. After I settle the hedging position and the hedged position, there should be no position need be hedged, but the states...Ignored
I'd been running backtests on Robin_2.6_new, I realise the issue still persist. I'm still trying to debug but just to let you know the situation. You can reproduce this when you backtest XAUUSD from 2020/3/20 - 2020/3/24.
Order 77 will not be closed until end of the testing.
I'd attached the Set file too.
Let me know your email address if you need the test report, thanks!
Attached File(s)
XAUUSD Issue.set.zip
1 KB
|
27 downloads