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

[amibroker] Re: Is it that hard to get simple breadth indicators in AB?



PureBytes Links

Trading Reference Links

Thanks Jayson. Checked out the ATC tutorial by Hermann (thanks to him 
as well - nice) - looks pretty powerful - I was just confused as to 
why the "primitive" AB advissues, etc weren't working as I expected. 
Doesn't matter, if there's a way to do what I want.

Chris

--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> CBY,
> 
> the addtocomposite feature allows you to calculate a/d on any 
watchlist you
> want........
> 
> Scan a watchlist/market etc with the code below. In this example we 
have
> created a new composite called ~AD, we have stored a count of 
advancing
> issues to the close field,declining issues to the open field, 
advancing vol
> to High and declining volume to Low. You can now create an 
indicator using
> the data stored in the ~AD composite. To create the composite just 
drop the
> code below into the AA window and run scan on the watchlist/market 
of your
> choice. You could also use the Marketid function to set up a filter 
and
> create several different composites, based on the filter, in one 
scan.
> 
> You might want to take a look at the addtocomposite tutorial. 
Market breadth
> is a snap with AB and you are only limited by your imagination. For 
examples
> of breadth indicators take a look in the library found at the AB 
website.
> Dimitris has posted several examples. A search of this group also 
has many
> examples posted by myself and others regarding sector analysis 
which use
> breadth indicators......
> 
> 
> up=C>Ref(C,-1);
> dn=C<Ref(C,-1);
> upvol=IIf(up,V/C,0);
> dnvol=IIf(dn,V/C,0);
> 
> AddToComposite(up,~Ad,"C");
> AddToComposite(dn,~Ad,"O");
> AddToComposite(upvol,~Ad,"H");
> AddToComposite(dnvol,~Ad,"L");
> 
> 
> Regards,
> Jayson
> -----Original Message-----
> From: cby [mailto:cby1@x...]
> Sent: Wednesday, June 25, 2003 12:43 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Is it that hard to get simple breadth 
indicators in AB?
> 
> 
> I guess so - no one responded (see below, msg# 42605) except a "I
> have that question too". I thought it was just me. Anybody got some
> help here? I read the tutorial - I played around for about 2 hours
> trying to get it to work - what's the magic? Composite Calculate
> settings are #A/D issues, All quotes, All markets.
> ==================================================
> I must have a shortage of Brain cells or something...let's say I 
want
> to calculate the Thrust Oscillator (or A/D line, etc) for the Nasdaq
> Composite with Yahoo quotes. Looks like there's no quote for
> Advancing issues, etc., so I use the Amibroker functions (e.g.,
> AdvIssues().
> 
> Even after looking at the tutorial in the archive, I can't seem to
> set things up right - I'm using the US Stocks DB, so that Markets
> should be set up right, and I set up the Base Index for the Nasdaq 
as
> ^IXIC (the Yahoo quote for the Nasdaq Composite).
> 
> Is this not right? Why do things like the A/D line never change when
> I select different indexes? It seems to want to base everything on
> the Dow...How do I get it to calc these things for Nasdaq when I
> select the Nasdaq? I got some kinda conceptual problem here. Using 
AB
> 4.3
> 
> Thanks in advance,
> Chris
> 
> 
> 
>       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.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/