Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
6 registered members (TipmyPip, Niels, dBc, Ed_Love, 3run, 1 invisible), 17,843 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
BarOffset / BarPeriod? #424999
06/25/13 10:42
06/25/13 10:42
Joined: Apr 2013
Posts: 107
UK
G
Geek Offline OP
Member
Geek  Offline OP
Member
G

Joined: Apr 2013
Posts: 107
UK
Say if i was backtesting using:

Quote:
BarPeriod = 15;


But then adjusted this to:

Quote:
BarPeriod =12;
BarOffset = 3;


Why do my backtesting results differ?

I would have though the second version amounts to a BarPeriod of 15 also and so the backtesting results should be exactly the same as each other?

Or am I not understanding this correctly?

Re: BarOffset / BarPeriod? [Re: Geek] #425002
06/25/13 11:12
06/25/13 11:12
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
The bar period determines the duration of a bar, the bar offset determines the time when the bar starts.

Re: BarOffset / BarPeriod? [Re: jcl] #425004
06/25/13 11:24
06/25/13 11:24
Joined: Apr 2013
Posts: 107
UK
G
Geek Offline OP
Member
Geek  Offline OP
Member
G

Joined: Apr 2013
Posts: 107
UK
Thanks JCL, i knew it was simple laugh

So the second example would simply be a 12 minute bar that starts 3 minutes ahead of the standard 15min bar period... Basically it's a customised bar, and you can do this with any figures to suit your strategy?

This is cool, and for some strange reason the backtesting results are much better with the second version.

Would you encourage this non standard way of picking Bar Periods and OffSets if the backtesting results significantly increase?

Thanks again for your help and for Zorro laugh



Last edited by Geek; 06/25/13 11:28.

Moderated by  Petra 

Gamestudio download | 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