Hi.
I'm having problems reading intraday volume.
First, I tried this formula:
It cumulates the volume of each time period, but from the begining of the chart until today. The reading don't reset at the end of the time period. How to make it reset itself, starting the count from zero in the begining of each time period?
But then I tried this formula:
And I noticed that the cumulative volume is not being made correctly.
The volume of the bar that starts the time period indicates 42158 contracts but the cumulative volume indicates 6076335 for that same bar
Where is he going to find that number? It should show the same number as the volume of that first bar.
Where is the problem?
Regards,
ptcman
I'm having problems reading intraday volume.
First, I tried this formula:
Code:
if time > 1430 and time < 2100 then
plot1(cum(volume));
It cumulates the volume of each time period, but from the begining of the chart until today. The reading don't reset at the end of the time period. How to make it reset itself, starting the count from zero in the begining of each time period?
But then I tried this formula:
Code:
if lastcalcdate = date then begin
if time > 1430 and time < 2100 then
plot1(cum(volume));
end;
And I noticed that the cumulative volume is not being made correctly.
The volume of the bar that starts the time period indicates 42158 contracts but the cumulative volume indicates 6076335 for that same bar
Where is he going to find that number? It should show the same number as the volume of that first bar.
Where is the problem?
Regards,
ptcman