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

[amibroker] AFL Help



PureBytes Links

Trading Reference Links




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,
Brian






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.