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

RE: [amibroker] Re: Afl help on trading in fixed days



PureBytes Links

Trading Reference Links

Simply replace the formula part you want
Example for next day after 1st January is
Buy = cross(day(),1) and month()==1;

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: ivador [mailto:ivano65@xxxxxxxxxx] 
Sent: Tuesday, 16 September 2003 9:24 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Afl help on trading in fixed days


No, day is "day of month"...
Example: if it is 1, the first of January the market is closed, then I
replace 1 with 2 in this situation, etc.

Thanks for reply.

--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> Try this, assuming by day you mean certain dates
> 
> Buy = Cross(DateNum(),1030913);
> 
> Cheers,
> Graham
> http://groups.msn.com/ASXShareTrading
> http://groups.msn.com/FMSAustralia
> 
> 
> -----Original Message-----
> From: ivador [mailto:ivano65@x...]
> Sent: Tuesday, 16 September 2003 8:41 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Afl help on trading in fixed days
> 
> 
> I try to setting this rules:
> 
> buy= day=<xx> or day="the nearest day of <xx> if  <xx> don't
exist"; buy=
> day=<yy> or day="the nearest day of <yy> if  <yy> don't exist";
> 
> Can you help me?
> 
> 
> ------------------------ Yahoo! Groups Sponsor -
--------------------~--> Buy
> Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer
> at Myinks.com. Free s/h on orders $50 or more to the US & Canada. 
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
> ------------------------------------------------
---------------------~->
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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://d
ocs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer
at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/