PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Brian,
Not
sure what you are trying to do. If you are trying to build something like an
advance decline line , looking at new highs/lows over a universe of stocks then
addtocomposite is the answer. Your code simply looks at the previous HHV of the
close over the last 250 bars. Perhaps you could try to explain in a bit more
depth what you are looking for??
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Brian Elijah
[mailto:cadvantag@xxxxxxxxxxxxxx]Sent: Tuesday, November 04, 2003
5:31 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
AFL Help
I am trying to write a scan that uses the total new
highs minus the total new lows and use it as a indicator.
I tried this but it doesnt give the total of new
highs or total of new lows. How do I get totals?
newhyr = Ref<FONT
size=1>(HHV(Close,
250), -<FONT
color=#ff00ff size=1>1);
newl = Ref(<FONT
color=#0000ff size=1>LLV(Close, <FONT
color=#ff00ff>250<FONT
size=1>),-1);
newhightotal = newhyr - newl;
Plot( <FONT
face="Courier New" size=1>newhightotal, <FONT
color=#ff00ff size=1>"New
High-New Low",
4<FONT
size=1>,4<FONT
size=1>);
Thanks,
BrianSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
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.
|