However, adding the following indicator to such a chart shows that Q_TotalVolume is missing ticks. (Or am I missing something?)
Code: Select all
Variables:
IntraBarPersist PrevVolume(0);
if (LastBarOnChart_s = True) then begin
Print(TimeNow, "Ticks: ", Ticks, " totalVolume: ", Q_TotalVolume,
IffString(Q_TotalVolume = PrevVolume, " <--- ", ""));
PrevVolume = Q_TotalVolume;
end;
Code: Select all
11-07_15:07:31 Ticks: 139.00 totalVolume: 219780.00
11-07_15:07:44 Ticks: 149.00 totalVolume: 219790.00
11-07_15:07:50 Ticks: 153.00 totalVolume: 219794.00
11-07_15:08:09 Ticks: 14.00 totalVolume: 219808.00
11-07_15:08:09 Ticks: 84.00 totalVolume: 219894.00
11-07_15:08:10 Ticks: 86.00 totalVolume: 219897.00
11-07_15:08:10 Ticks: 100.00 totalVolume: 219897.00 <---
11-07_15:08:10 Ticks: 103.00 totalVolume: 219897.00 <---
11-07_15:08:10 Ticks: 106.00 totalVolume: 219900.00
11-07_15:08:10 Ticks: 109.00 totalVolume: 219913.00
11-07_15:08:10 Ticks: 119.00 totalVolume: 219913.00 <---
11-07_15:08:12 Ticks: 120.00 totalVolume: 219914.00
11-07_15:08:30 Ticks: 125.00 totalVolume: 219924.00
11-07_15:08:56 Ticks: 130.00 totalVolume: 220358.00
11-07_15:08:56 Ticks: 342.00 totalVolume: 220358.00 <---
11-07_15:08:56 Ticks: 343.00 totalVolume: 220358.00 <---
11-07_15:08:56 Ticks: 344.00 totalVolume: 220358.00 <---
11-07_15:08:56 Ticks: 518.00 totalVolume: 220358.00 <---
11-07_15:08:56 Ticks: 549.00 totalVolume: 220358.00 <---
11-07_15:08:56 Ticks: 564.00 totalVolume: 220358.00 <---
11-07_15:09:00 Ticks: 664.00 totalVolume: 220458.00
11-07_15:09:01 Ticks: 669.00 totalVolume: 220468.00
11-07_15:09:04 Ticks: 674.00 totalVolume: 220477.00
11-07_15:09:04 Ticks: 683.00 totalVolume: 220477.00 <---
11-07_15:09:10 Ticks: 687.00 totalVolume: 220481.00
Since Q_TotalVolume returns the same value as the volume in the chart's Status Line, does that also mean the reported volume in the Status Line is incorrect?
Using MultiCharts Version 8.0 Release (Build 5605).