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

Re: [amibroker] AFL help



PureBytes Links

Trading Reference Links

Anthony,
hmm. Dunno, I interpreted "previous and following day"
as meaning yesterday and the day before; ie.  "following"
to the past. Otherwise it would mean the day after yesterday,
which is today, and that wouldn't make sense IMHO.

Let the original poster decide which he was meaning.

UM


----- Original Message ----- 
From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, April 17, 2003 4:22 PM
Subject: Re: [amibroker] AFL help


> Um,
>  
> Does your formula satisfy the original statement by the poster:
>  
>  "looking for High greater than the previous and following day and the close
> being greater than the close two days earlier."
>  
> // run in Scanner
> Buy  = H > Ref(H, -1) 
>    and H > Ref(H, -2)
>    and C > Ref(C, -2);
>  
> I read your formula as this....High today > high yesterday and high today >
> high 2 days ago and close today > close 2 days ago. Note the words PREVIOUS
> and FOLLOWING DAY.
>  
> Wouldn't this satisfy the statement:
> 
> PAT = Ref(H,-1) > Ref(H,-2) AND Ref(H,-1) > H AND C > Ref(C,-2);
> 
> Anthony



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get a FREE REFINANCE QUOTE - click here!
http://us.click.yahoo.com/2CXtTB/ca0FAA/i5gGAA/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/