I looked at the code of the moving average indicator and it is using Bar.Close to calculate the average.
There is no Bar.Average or Bar.Data properties (where the data is a collection of the individual ticks, so I could calculate the average myself).
Is there any way to calculate the average of a bar?
Average of a Bar [SOLVED]
Re: Average of a Bar
In general there is no tick detalization for bars with minute or higher resolution.There is no Bar.Average or Bar.Data properties (where the data is a collection of the individual ticks, so I could calculate the average myself).
Re: Average of a Bar
Thanks Dru, I am on tick charts (100 tick per bar).
The logic says, if MC.NET had a way of constructing the bar and showing me the tick movements as they appear, then I should have access to this data through some API, even in non-aggregated format.
The logic says, if MC.NET had a way of constructing the bar and showing me the tick movements as they appear, then I should have access to this data through some API, even in non-aggregated format.