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

[amibroker] JAYSON: Re: AFL script between two time points...


  • To: amibroker@xxxxxxxxxxxxxxx
  • Subject: [amibroker] JAYSON: Re: AFL script between two time points...
  • From: "cjbrennan123" <cjbrennan123@xxxxxxxxx>
  • Date: Fri, 26 Dec 2003 11:19:31 -0800
  • In-reply-to: <LOBBJMHOIFOLFIPFANHJMEFPFDAA.jcasavant@xxxxxxxxxxx>

PureBytes Links

Trading Reference Links

Thanks for the help!  I've been traveling for the holiday, otherwise 
I would have thanked you sooner.

Best Regards,
CB



--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> CB,
> I think that < > is indeed appropriate. My guess is that perhaps 
you did not
> code the time correctly. Try this...
> 
> 
> Filter=TimeNum()>=130000 AND TimeNum() =<160000 AND C>0;
> AddColumn(TimeNum(),"");
> Buy=Filter;
> Sell=C<0;
> 
> run it on a stock as a system test then click the test results to 
provide
> arrows on your interday chart. I think you will see that the 
arrows begin at
> 13:00:00 and end at 16:00:00. If this is what you are looking for 
then
> simply change the c>0 in the filter to your condition...
> 
> 
> Regards,
> Jayson
> -----Original Message-----
> From: cjbrennan123 [mailto:cjbrennan123@x...]
> Sent: Monday, December 22, 2003 12:26 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] AFL script between two time points...
> 
> 
> Hello:
> 
> Happy Holidays!
> 
> Could you please help me with a bit of AFL logic: (it's quite
> simple, but nonetheless elusive to me.)
> 
> I'd like to generate a BUY signal when conditions are right ONLY
> within a certain time window of 1300h and 1600h.
> 
> I later guessed that <  > operators were not appropriate when using
> timenum(), and that perhaps the cross function was needed here?
> Please help.
> 
> Thanks,
> CB
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> -------------------------------------------------------------------
---------
> ----
> Yahoo! Groups Links
> 
>   a.. To visit your group on the web, go to:
>   http://groups.yahoo.com/group/amibroker/
> 
>   b.. To unsubscribe from this group, send an email to:
>   amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>   c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


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 

Yahoo! Groups Links

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

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/