PureBytes Links
Trading Reference Links
|
Maybe you don't need cum() at all. Just calculate different for a day.
--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx>
wrote:
> MessageBrian,
>
> Are your tickers in a watchlist ?
>
> Anthony
> ----- Original Message -----
> From: Brian Elijah
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Tuesday, November 04, 2003 6:57 PM
> Subject: Re: [amibroker] AFL Help
>
>
> Graham,
>
> I am trying to create a indicator that was mentioned in the
book "Trading for a Living". It talks about taking the total number
of new highs and total number of new lows of the entire market and
creating a indicator that has the Total New Highs minus Total New
Lows.
>
> Brian
> ----- Original Message -----
> From: Graham
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Tuesday, November 04, 2003 5:44 PM
> Subject: RE: [amibroker] AFL Help
>
>
> Brian, do you want to find the values of the differences, or
number of times they happen?
> This should give you the count of the number of times they
occur and find the difference
>
> newh = Cross(C, ref(HHV,250),-1));
> newl = Cross( ref(LLV,250),-1),C);
>
> newhyr = cum(newh);
> newlyr = cum(newl);
>
> newtotalyr = newhyr - newlyr;
>
> Plot(newtotalyr, "", 4,4);
>
>
>
> Cheers,
> Graham
> http://groups.msn.com/ASXShareTrading
> http://groups.msn.com/FMSAustralia
>
> -----Original Message-----
> From: Brian Elijah [mailto:cadvantag@x...]
> Sent: Wednesday, 5 November 2003 6:31 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [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(HHV(Close, 250), -1);
>
> newl = Ref(LLV(Close, 250),-1);
>
> newhightotal = newhyr - newl;
>
> Plot( newhightotal, "New High-New Low", 4,4);
>
>
> Thanks,
> Brian
>
>
> 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
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
>
> 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
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
>
> 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
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/I3w.vC/hP.FAA/3jkFAA/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/
|