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

Re: [amibroker] Optimizing the Date Range



PureBytes Links

Trading Reference Links

Hello,

Use Range: All quotations 
and then filter out signals outside given range

For example:

StartYear = Optimize("StartYear", 2007, 1970, 2007, 1 );

InRange = Year() == StartYear;
OutRange = Year() != StartYear;

Buy = your original buy rule
Sell = your original sell rule

Buy = Buy AND InRange;
Sell = Sell OR OutRange;

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "arievt" <washington7755@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, December 12, 2007 9:21 PM
Subject: [amibroker] Optimizing the Date Range


> Hey Everyone!
> 
> Great software, real challenge to learn but it's very valuable. I have 
> a question for you guys... how do you optimize the date range? Like 
> instead of placing a static number like testing the last two months, 
> how can I optimize a date range that would of produced the best results?
> 
> Thanks!
> 
> Arie
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/