Registered User Joined: 1/20/2005 Posts: 129
|
Hi Bruce, Without bothering you, I tried to write a RealCode indicator to show how average minute volume progresses since the market open but it didn't come close to working:
Plot = VolumeToday / MinutesMarketIsOpen
I would appreciate it if you would write it properly. Also,
a) Each day should be considered on its own from the market open 9:30AM EST.
b) I watch 5-min candles most often but switch to several different intraday timeframes (in case that matters).
In advance, thanks. Richard
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following RealCode Indicator:
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Average Minute Volume
'|******************************************************************
Static Sum As Single
If isFirstBar Then
Sum = Single.NaN
Else If Price.DateValue.DayOfYear <> Price.DateValue(1).DayOfYear Then
Sum = 0
End If
Sum += Volume.Value
Plot = 100 * Sum / (Price.DateValue.Hour * 60 + Price.DateValue.Minute - 570)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|