Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Custom Index Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dmarkie
Posted : Thursday, July 5, 2007 3:00:18 PM
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
StockGuy
Posted : Thursday, July 5, 2007 3:07:11 PM

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.
dmarkie
Posted : Sunday, July 15, 2007 1:29:29 PM
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
Bruce_L
Posted : Monday, July 16, 2007 9:23:37 AM


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
dmarkie
Posted : Saturday, July 21, 2007 11:35:55 PM
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
Bruce_L
Posted : Monday, July 23, 2007 12:06:08 PM


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 781 time(s).
WatchList Sum Volume.pane - 5 KB, downloaded 764 time(s).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dmarkie
Posted : Monday, July 23, 2007 9:51:05 PM
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
Bruce_L
Posted : Tuesday, July 24, 2007 11:31:35 AM


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 774 time(s).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.