Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,379 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Strategy decline after update to Zorro 1.51 #462933
11/07/16 09:18
11/07/16 09:18
Joined: Aug 2016
Posts: 12
Stuttgart
S
savvy Offline OP
Newbie
savvy  Offline OP
Newbie
S

Joined: Aug 2016
Posts: 12
Stuttgart
Hi. I am testing a trading system that performed fairly well with Zorro 1.46. With and without setting the TICK flag, Profit factor, Sharpe ratio, R2 coeff., Ulcer index and Cycle performance were all in a good range. Even with parameters that deviated quite a bit from their optimum the system appeared robust for the whole test period, although less profitable.

Now, after updating to Zorro 1.51 the system performance is entirely gone. It's almost as if I am trading a different system. The trades of both versions are hardly comparable anymore. Is it because of the changed data formate from .bar to .t6?

What might be the reason for such a drastic decline? Maybe my system was futile from the beginning but how can I know that the current test results with the new data formate are any more reliable than the old ones?

Re: Strategy decline after update to Zorro 1.51 [Re: savvy] #462935
11/07/16 09:36
11/07/16 09:36
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
See the "Updating" remarks under "What's New". If your script is scalping and exploits tiny intrabar price changes, you should set the EXTRADATA flag. Otherwise the bar open and close prices are simulated only.

Re: Strategy decline after update to Zorro 1.51 [Re: jcl] #462937
11/07/16 10:35
11/07/16 10:35
Joined: Aug 2016
Posts: 12
Stuttgart
S
savvy Offline OP
Newbie
savvy  Offline OP
Newbie
S

Joined: Aug 2016
Posts: 12
Stuttgart
Thank you. You are right it's all there. I am using tight stop losses and the missing EXTRADATA flag was the problem.

Re: Strategy decline after update to Zorro 1.51 [Re: savvy] #462938
11/07/16 13:31
11/07/16 13:31
Joined: May 2016
Posts: 180
Prague
pcz Offline
Member
pcz  Offline
Member

Joined: May 2016
Posts: 180
Prague
Wow, seems like it was the source of my problem too. My BarPeriod is 60 and I use only SMA of close prices with period 5 for entries. Without EXTRADATA flag I got AR 41% and SR 0.46, with the flag I get AR 72% and SR 0.75. I guess I'll use the flag as default.

Re: Strategy decline after update to Zorro 1.51 [Re: pcz] #462940
11/07/16 18:18
11/07/16 18:18
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
I just asked for this in another thread and was told that the difference should be marginal. If it is not, there could be a large randomness in the strategy. I face this problem even on daily bars and I'm not quite sure how to handle it.

Re: Strategy decline after update to Zorro 1.51 [Re: Sphin] #462941
11/07/16 18:28
11/07/16 18:28
Joined: May 2016
Posts: 180
Prague
pcz Offline
Member
pcz  Offline
Member

Joined: May 2016
Posts: 180
Prague
Originally Posted By: Sphin
I just asked for this in another thread and was told that the difference should be marginal. If it is not, there could be a large randomness in the strategy. I face this problem even on daily bars and I'm not quite sure how to handle it.


Don't know which thread it is so I'll continue in this one...

I don't think there's much randomness in the strategy I'm testing. It's a simple mean reversion strategy based on SMA and hourly data. It makes hundreds of trades per year so some minor differences should be lost in the large sample.

It's this one (you can check it and judge for yourself):

http://people.brandeis.edu/~blebaron/wps/fxnyc.pdf

If anyone's interested I can paste the code too.

Re: Strategy decline after update to Zorro 1.51 [Re: pcz] #462942
11/07/16 19:01
11/07/16 19:01
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
It was not my opinion but jcl's. For me it's more interessting what comes closer to reality. If a strategy includes calculations based on open and close prices of a bar and without EXTRADATA both are simulated I guess setting this flag includes the real prices - so I think setting this flag might be more realistic in this case. But maybe I didn't understand it, as said, I'm not sure.

Re: Strategy decline after update to Zorro 1.51 [Re: Sphin] #462943
11/07/16 19:17
11/07/16 19:17
Joined: May 2016
Posts: 180
Prague
pcz Offline
Member
pcz  Offline
Member

Joined: May 2016
Posts: 180
Prague
Originally Posted By: Sphin
It was not my opinion but jcl's. For me it's more interessting what comes closer to reality. If a strategy includes calculations based on open and close prices of a bar and without EXTRADATA both are simulated I guess setting this flag includes the real prices - so I think setting this flag might be more realistic in this case. But maybe I didn't understand it, as said, I'm not sure.


I know - I hope he'll read it here eventually laugh

And I agree with the rest you wrote - seems like with the flag the results should be more realistic. Because of that I would prefer if it was default (implicit). IMHO this new feature has potential to cause lot of confusion in the future (and among new users).

Re: Strategy decline after update to Zorro 1.51 [Re: pcz] #462955
11/08/16 12:53
11/08/16 12:53
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
You have a point in making that flag default. Maybe we'll do that in the next update. We found not much difference with the workshops and Z systems, but it might be different with other systems.

Re: Strategy decline after update to Zorro 1.51 [Re: jcl] #462961
11/08/16 16:09
11/08/16 16:09
Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
F
Finstratech Offline
Junior Member
Finstratech  Offline
Junior Member
F

Joined: Feb 2014
Posts: 73
Montreal, Qc Canada
I use range bars and was not aware aware that I need EXTRADATA flag to rely on precise closing prices. My entries did act "wacky" without the flag. I will test it with the flag now.

Page 1 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1