Disliked{quote} There is no error. It just halts suddenly and never continues. Do you have any loops or something going on when opening a new position? https://youtu.be/lC1wcx_ywvcIgnored
I've remove these code, and backtest should work smoothly.
Inserted Code
void TickData() { //while(IsTradeContextBusy()) Sleep(1); //while(!RefreshRates()) Sleep(1); }
...and the backtest result, still need fine tuning.
Attached File(s)
BBE.ex4
19 KB
|
333 downloads