Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 4/8/2005 Posts: 12
|
Is it possible in TC to create a simple index of daily price and volume to aggregate multiple tickers (dozen or so)?
If not how would i do it in Blocks as i've not had any experience using this code yet.
Thx Dave
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
This isn't possible in TeleChart, but it is in Blocks. There is already an unweighted WatchList average study in Blocks. You choose the list and an unweighted average of price is plotted.
The same can be done with Volume as an average or total volume for a WatchList.
|
|
Registered User Joined: 4/8/2005 Posts: 12
|
Thx Stpckguy.
I have blocks 2.0 (trial period) and have created a custom wathclist of stocks. How do I now create the plot of aggregate price and vol (unweighted) for this group of stocks?
Thx Dave
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
dmarkie, Please try the following:
- Select Add Study to Chart () | Market Indicators | WatchList Average (unweighted). - Left-click on the name of the Watchlist in the upper left hand corner of the Study. - Left-click on the ".." to the right of the Watchlist name in QuickEdit. - Choose the desired Watchlist. - Select OK.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/8/2005 Posts: 12
|
Bruce; I built this index list as you directed but I don't think I'm getting what I want. I went to the properties and looking at the code blocks in this it seeems to be an average of the %price change for the watchlist (or something like that).
All I want is a cummulative total by bar of the price and volume for the watch list. I see a cummulative code block but can't seem to make that work for this.
So, if stock A is 45$ and B is 50$ in the 2 stock watch list the plot for that bar would be 95$. The volume for that bar would also be cummulated and ploted in a vol pane.
Dave
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
dmarkie, Please save the attached .pane files to:
My Documents\Blocks Files\Tool Parts\Chart
You can add them to any chart using the ADD STUDY button and then selecting Add Study | My Computer.
You can adjust the settings and view the Block Diagrams using QuickEdit.Attachments: WatchList Sum Price.pane - 5 KB, downloaded 832 time(s). WatchList Sum Volume.pane - 5 KB, downloaded 814 time(s).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/8/2005 Posts: 12
|
Thanks Bruce it worked as i needed however I can't seem to plot HLC bar. Just the line of price shows.
Also, if I can get the HLC bar to display i would prefer green on price and vol for up days and red for down.
Is this possible? Thanks Dave
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
dmarkie, Any High or Low values created would be artificial as the Highs and Lows of the Components will not normally occur simultaneously. That said, I have created a version that adds together the Open, High, Low and Close values to create an artificial Bar.
Please save the attached .pane file to:
My Documents\Blocks Files\Tool Parts\Chart
You can add i to any chart using the ADD STUDY button and then selecting Add Study | My Computer.
You can adjust the settings and view the Block Diagrams using QuickEdit.Attachments: WatchList Sum Artifical Bar.pane - 9 KB, downloaded 825 time(s).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |