Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Amount Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
ansinzhou
Posted : Thursday, August 13, 2015 3:04:24 PM
Registered User
Joined: 10/6/2014
Posts: 34

Hi, 

Is there an indicator for the dollar amount traded for a stock on that day. 

Bruce_L
Posted : Thursday, August 13, 2015 4:20:50 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You can do a simple approximation in a daily time frame by multiplying the price times the volume.

Plot = Price.Close * Volume.Value

A slightly more sophisticated measure might involve using all of the price components, but there is no way to know if it is a closer approximation or not.

Plot = (Price.Open + Price.High + Price.Low + Price.Close) * Volume.Value / 4

You could get something which might be closer in an intraday time frame (but no guarantees) and possibly even come up with an exact number using a tick time frame (assuming there enough bars available).

'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com 
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Dollar Volume
'|******************************************************************
Static DollarVolume As Double
If isFirstBar Then
	DollarVolume = Single.NaN
Else If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear Then
	DollarVolume = 0
End If
DollarVolume += Price.Last * Volume.Value
Plot = DollarVolume


-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.