Steve=True
Well-known Member
- Joined
- May 27, 2011
- Messages
- 993
Hi, I have a set of data.
Date........Price........Volume
7am.........99............10
701am......98.............2
702am......98.5..........12
etc.
Record set of 46k rows so looking for the most efficient formula.
I want to graph the volume shifts but struggling with an efficient formula to do these things:
If we set a price watch target of $10
A) Sum the volume every time the data shifts more than or equal to the price watch target of $10
Example
Row2= Price at 7am = 99
Row56=Price at 756am = 109
Sum of Volume from 7am-756am = 479
Row56=Price at 756am = 109
Row402=Price at 902am = 119
Sum of Volume from 7am-756am = 961
Row402=Price at 902am = 109
Row421=Price at 915am = 109
Sum of Volume from 7am-756am = 1461
I want to plot a graph of this data
xaxis 756am.....479 volume (datapoint)
xaxis 902am.....961 volume (datapoint)
xaxis 915am.....1461 volume (datapoint)
Thanks in advance!
Date........Price........Volume
7am.........99............10
701am......98.............2
702am......98.5..........12
etc.
Record set of 46k rows so looking for the most efficient formula.
I want to graph the volume shifts but struggling with an efficient formula to do these things:
If we set a price watch target of $10
A) Sum the volume every time the data shifts more than or equal to the price watch target of $10
Example
Row2= Price at 7am = 99
Row56=Price at 756am = 109
Sum of Volume from 7am-756am = 479
Row56=Price at 756am = 109
Row402=Price at 902am = 119
Sum of Volume from 7am-756am = 961
Row402=Price at 902am = 109
Row421=Price at 915am = 109
Sum of Volume from 7am-756am = 1461
I want to plot a graph of this data
xaxis 756am.....479 volume (datapoint)
xaxis 902am.....961 volume (datapoint)
xaxis 915am.....1461 volume (datapoint)
Thanks in advance!