Displaying fundamental data on PricePane
Author: jasonforish
Creation Date: 1/27/2012 12:52 PM
profile picture

jasonforish

#1
Well i'm a newb. I'm trying to do something easy like capture outstanding shares and stock price multiply them together (market cap) and output the string to the Chartpane. I'm using WLP 6.2. is my string close?

DrawText( PricePane, "Market Cap= " + (Close * FundamentalDataSeries("common shares outstanding")), 200, 50, Color.Black, Color.Empty );
profile picture

Eugene

#2
Almost right:
CODE:
Please log in to see this code.

You might want to take a look at the WealthScript Programming Guide (Help menu) > DataSeries > Accessing a Single Value from a DataSeries.
profile picture

Cone

#3
Remember, if you want 1 value, you have to specify the bar.. not the entire series, which is something you would plot.

CODE:
Please log in to see this code.
profile picture

jasonforish

#4
you guys are the bomb! have an awesome weekend!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).