Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Quad), 723 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Are all backtest results potentially flawed? [Re: Finstratech] #463405
12/02/16 10:50
12/02/16 10:50
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
It seems that in the new Zorro beta release (1.52) the issue is indeed fixed which is great. However it would be nice to know whether this bug had affected the backtest results of Z strategies.

I also think that it's worth considering whether to send an e-mail to registered users to let them know about this bug. For myself I can say that I've been running a losing strategy for 6 months because of this bug. People who don't read the forum and / or release notes that diligently might not notice and lose lot of money.

Another thing I noticed is that it makes no difference in the old version if you test with ".t1" data and TICKS flag set. And my question is: shouldn't Zorro in this particular case compute the slippage from real prices? (i.e. single ticks)

Re: Are all backtest results potentially flawed? [Re: pcz] #463408
12/02/16 14:50
12/02/16 14:50
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The Z strategies have not been affected. Using single ticks for determining the order fill is something different to slippage; it can be determined with the Fill mode. Slippage always picks a random price from the given range, regardless whether the simulation runs in ticks mode or not.

Re: Are all backtest results potentially flawed? [Re: jcl] #463415
12/03/16 14:41
12/03/16 14:41
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
Originally Posted By: jcl
Using single ticks for determining the order fill is something different to slippage; it can be determined with the Fill mode. Slippage always picks a random price from the given range, regardless whether the simulation runs in ticks mode or not.


So if I run a simulation with BarPeriod 100 ms and set Slippage to 5, it will choose one of the following 50 bars and pick a price from the estimated price curve (which in this particular case would be probably the same as OHLC of the bar). Is that correct?

Re: Are all backtest results potentially flawed? [Re: pcz] #463458
12/05/16 08:27
12/05/16 08:27
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Almost. It will not pick one of the next 50 bars, but use only the next bar for determining its volatility and direction. It then picks a price that fulfils those parameters, assuming that volatility increases with the square root of time.

Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1