There’s a problem with the spread calculation:
vhands always uses the live spread. Since spreads are massively widened on the weekends, when most of the simulating you could run, you won’t get realistic results if you use vhands on the weekends.
Can someone tell me what lines and how should I modify in the code to set the spread to a fixed value (which is usual on weekdays at the times when you trade in fact)?
I’ve tried to change every occurrence of “Ask” to “(Bid + 12)” and set the “Spread = 12” where “MarketInfo(…, MODE_SPREAD)” function calls can be found, but this doesn’t work.
vhands always uses the live spread. Since spreads are massively widened on the weekends, when most of the simulating you could run, you won’t get realistic results if you use vhands on the weekends.
Can someone tell me what lines and how should I modify in the code to set the spread to a fixed value (which is usual on weekdays at the times when you trade in fact)?
I’ve tried to change every occurrence of “Ask” to “(Bid + 12)” and set the “Spread = 12” where “MarketInfo(…, MODE_SPREAD)” function calls can be found, but this doesn’t work.