Access to advanced aggregations
Using the available aggregation types in your code
Theory
Available aggregation classes
Tick aggregation
new HistoryAggregationTick(int ticksCount);var tickhistoricalData = this.Symbol.GetHistory(new HistoryRequestParameters()
{
Symbol = this.Symbol,
FromTime = DateTime.Now.AddHours(-3),
ToTime = DateTime.Now,
HistoryType = this.Symbol.VolumeType == SymbolVolumeType.Volume ? HistoryType.Last : HistoryType.BidAsk,
Period = Period.TICK1,
Aggregation = new HistoryAggregationTick(1),
});Time aggregation
Heiken-Ashi aggregation
Range Bars aggregation
Renko aggregation
Line break aggregation
Kagi aggregation
Points & Figures aggregation
Volume Bars aggregation
Practice

Input parameters
OnRun method
OnGetMetrics method
OnStop method
Last updated