Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (EternallyCurious, Quad, vicknick), 700 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Optimizing timeframe? #440236
04/21/14 06:52
04/21/14 06:52
Joined: Jan 2013
Posts: 68
I
ibra Offline OP
Junior Member
ibra  Offline OP
Junior Member
I

Joined: Jan 2013
Posts: 68
Hi,

I've never thought of it before, but then I looked into the thread (http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=431959#Post431959) that dusktrader made which "suggests" that one also could optimize the timeframe for a system.

I've read in the manual that this is supposed to be done in a special way.
Quote:
Parameters that affect the price data array, such as BarPeriod, require special handling for optimization. They can not be changed during the simulation, so they can not be walk forward optimized; for a walk forward test they must be optimized in a separate training run before all other parameters. They can also not be read from the .par file, so their optimized value must be entered directly in the script as start parameter of the optimize call before further optimizing, testing, or trading the strategy.


What's your though about optimizing the timeframe? Is there a reason NOT to do it?

The thing I come to think of is, that the most common timeframes being used in trading is 1 hour, 4 hour and the daily. It just feels weird to me if a systems selects like for example a barperiod of 2 hours and 35 mins... You know what I'm saying?

Ibra

Re: Optimizing timeframe? [Re: ibra] #440243
04/21/14 08:34
04/21/14 08:34
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I would not optimize the time frame. Better optimize time frame dependent parameters directly, such as the time period of indicators.

Re: Optimizing timeframe? [Re: jcl] #440342
04/24/14 01:34
04/24/14 01:34
Joined: Jul 2013
Posts: 522
D
dusktrader Offline
User
dusktrader  Offline
User
D

Joined: Jul 2013
Posts: 522
I'm on (ancient) mobile at the moment, so I can't reference the link you posted above... but I would just like to comment that I think the biggest danger in optimizing BarPeriod could be overfitting.

It wasn't until Zorro came along that I even had the ability to do something like that, so it was an interesting thing to try.

My thought is that it could be helpful to "zone in" on a good frequency of bars, assuming you have a rudimentary logic and want to see which bar frequencies that it may be relevant in.

So far in my testing the optimizer tends to pick standard frequencies anyway (ie 15min, not 14min for example). Presumably this is because of the bigger tides.

Neat feature tho - I'm glad we have it at our disposal.


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