Thanks Matthias. It seems so simple when you know how :) It is just what i need. Thanks again.
Pete --- In [email protected], "Matthias K." <meridian...@...> wrote: > > Hi, > > I'm using this. It's pretty much self-explanatory. Works based on hours. > Depending on which data you use, the timestamp might be different. So to say > timestart might be 055900 instead of 060000. Watch out for Fridays, too, if > you don't wanna hold the trader over the weekend. > > > > timestart=060000;//Optimize("timestart",060000,000000,230000,10000); > > window=080000;//Optimize("windowlength",070000,040000,100000,10000); > > Check=timestart+window; > > timeok=TimeNum()>=timestart AND TimeNum()<=Check; > > > > Greetings, > > Matthias > > > > From: [email protected] [mailto:[email protected]] On Behalf > Of pcmoxon > Sent: Mittwoch, 28. Juli 2010 17:11 > To: [email protected] > Subject: [amibroker] Optimize Time Parameters > > > > > > Hi, > > I am working on an intraday system and want to optimize the trading hours > the system should trade. I have a Start Time parameter (using ParamTime) and > I would like to optimize the system using this field. > > Does anyone know how to optimize using Time fields? Any examples you know of > would really help. > > Kind Regards, > Pete >
