[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] WEEKLY function workaround



PureBytes Links

Trading Reference Links

A suggestion I made at the AmiBroker site recently was a "WEEK" 
function similar to "MONTH".  I don't, however,  think it will happen 
any time soon.

I used MONTH to look back over several years to find which months 
each of my various systems worked the best - and worst.  It was a 
very valuable exercise.

I would like to go one step further now, and break each month into 
two portions:  the 1st thru the 15th, and the 16th to the end of 
month.  

Can any of you suggest a way I might separate the year into 24 
separate trade entry time periods and be able to Backtest without 
regard to the year?  What I mean is, I'd like to lump together my 
System trades which are entered in the first 2 weeks of January (for 
instance) over the last 5 or 10 years, and compare them to the 
results for trades entered in the other 2-week periods.

Any suggestions or thoughts would be welcome.





Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006