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

[amibroker] Re: Timestops



PureBytes Links

Trading Reference Links

// EXIT DELAYS
x=Optimize("x",19,1,20,2);
y=Optimize("y",13,1,20,2);

// TRADING RULES
Sell=Ref(Buy,-x);// SELL X BARS LATER
Short=your condition here;
 
// COVER
Cover=Ref(Short,-y);// COVER Y BARS LATER

 Don

--- In amibroker@xxxxxxxxxxxxxxx, "Dennis" <Dennis.Metz@xxxx> wrote:
> Hi
> 
> Is it possible to use timestops, i.e. exit after x days?
> 
> Best regards,
> Dennis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/CNxFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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