Hello Mike:
Good. Now the next question, what would you
like to 'composite'?
For example you can add the volume and do a
composite of the volume of a group, or you can do new highs or Wilder's
Index?
Here's an example for building a composite and
plotting the arrays you built. Look in the Amibroker home page in the
resources for a white paper written by Herman van den Bergen a while back on
AddtoComposites for more information. http://www.amibroker.org/3rdparty/IntroToAtc.pdf
Let me know if you find a script to build a group
from a comma separate variable list. With QP you can clip and paste to create a
watch list but have not worked with groups.
Best regards
JOE
// Calculate Wilder's Index for all component stocks in Energy Sector
// Use Filter = Select Filter Energy Sector
// Range - n last quotations = 1
// Current Symbol - A stock with a lot of data bars in it's history
// Run a Scan
//===================Wilder ’s Directional Index (Composite for all Energy
Sector)===========
AddToComposite (PDI(14), "~EGpdi",
"X" );
AddToComposite (MDI(14), "~EGmdi",
"X" );
AddToComposite (ADX(14), "~EGadx",
"X" );
Buy = Sell = 0; // Lets AB run a SCAN without
balking
This goes in the Indicator Builder for plotting,
you'll have to change all the references to the ~NYSE*** to ~EG
_SECTION_BEGIN("NYSE Wilder Dir
Index"); //Wilder’s Directional Index (Composite for all NYSE
stocks) //AddToComposite(PDI(14), "~NYSEpdi", "X"
); //AddToComposite(MDI(14), "~NYSEmdi", "X" ); //AddToComposite(ADX(14),
"~NYSEadx", "X" );
Count = Foreign("~NYSEcount", "c"); nysePDI =
Foreign("~NYSEpdi", "c") / Count; nyseMDI = Foreign("~NYSEmdi", "C") /
Count; nyseADX = Foreign("~NYSEadx", "c") / Count; Plot(nysePDI,
"Composite +DI", colorGreen, styleLine); Plot(nyseMDI, "Composite -DI",
colorRed, styleLine); Plot(nyseADX, "Composite ADX", colorBlack,
styleLine); _SECTION_END();
----- Original Message -----
Sent: Monday, March 21, 2005 12:24
AM
Subject: Re: [amibroker] Add to Composite
With Quotes Plus Data Base
Joe,
My configuration appears to be identical to yours
- standard QP3 Layout. I'd be happy for now with converting some of
those groups to composites as a starting place......... though it appeared to
me that in order to do that, one needed to create a new numbered group to park
the composite indicator. I wasn't sure how QP3 updates would respond to
a restructured data base even if it was only additional folders - and I
didn't know if creating a new group to store the new composite was necessary
from reading all the instructions, though it appeared to be.
I'd appreciate any help you can offer to expedite
this - it appears I'm on a similar path to yours - at least in this
regard.
Thank you,
Mike
----- Original Message -----
Sent: Sunday, March 20, 2005 7:26
PM
Subject: Re: [amibroker] Add to
Composite With Quotes Plus Data Base
Mike - I have QP3 and just finished running a
bunch of AddtoComposites to develop breadth data on the the various markets
inclduing the index the Russell 2000.
I need to learn more about
your config before I can help.
When you go to Symbols, under the category ALL, do you see about 7-8000
stocks?
As far as groups go, when you configure the
database initially, you'll get the groups that QP provides you
as the BMP graphic attached shows from my
installation. I don't know how to get additional groups
automatically from QP unless you make them
your self in all the additional slots in the Groups area.
Hope this helps.
JOE
----- Original Message -----
Sent: Sunday, March 20, 2005 3:16
PM
Subject: [amibroker] Add to Composite
With Quotes Plus Data Base
I'm using a the Quote's Plus Data base and would
like to use the add to composite function. Since the QP data base
is not "local" I am having difficulty creating the groups required to
store the new composites, and also reading the QP groups that I'd like
to evaluate.
Any suggestions? I'm new at this, I've read the
help files for Add to Composite, but stopped on this one. I'm
probably missing something quite simple.
It appears to me that
I'll have to create a local data base with all the QP data, but I'd
like to avoid having to do an update like that, unless I can use the
add to composite function to recreate the entire QP data base - and
then add my own composites to that local data base.
I'd appreciate
any help and suggestions.
Thank
you,
Mike
Please note that this
group is for discussion between users only.
To get support from
AmiBroker please send an e-mail directly to SUPPORT {at}
amibroker.com
For other support material please check also: http://www.amibroker.com/support.html
Please
note that this group is for discussion between users only.
To get
support from AmiBroker please send an e-mail directly to SUPPORT {at}
amibroker.com
For other support material please check also: http://www.amibroker.com/support.html
Please
note that this group is for discussion between users only.
To get
support from AmiBroker please send an e-mail directly to SUPPORT {at}
amibroker.com
For other support material please check also: http://www.amibroker.com/support.html
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Sponsor |
ADVERTISEMENT
| |
|
Yahoo! Groups Links
|