PureBytes Links
Trading Reference Links
|
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
ADVERTISEMENT
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 the Yahoo! Terms of Service.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/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/
|