Skip to content

StandardSeriesType

Summary

An enumeration of the standard data series types of a bar.

Signature

1
public enum StandardSeriesType

Namespace

cAlgo.API

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 using cAlgo.API;
 namespace cAlgo;
 [Indicator(AccessRights = AccessRights.None)]
 public class Test : Indicator
 {
     protected override void Initialize()
     {
         var openPrices = Bars.GetSeries(StandardSeriesType.Open);
         Print($"Last Open Price is: {openPrices.LastValue}");
     }
     public override void Calculate(int index)
     {
     }
 }
1
2
3
4
5
6
7
 import clr
 clr.AddReference("cAlgo.API")
 from cAlgo.API import *
 class Test():    
     def initialize(self):
         openPrices = api.Bars.GetSeries(StandardSeriesType.Open)
         print(f"Last Open Price is: {openPrices.LastValue}")

See Also

Fields

Open

Summary

Bar Open price.

Signature

1
StandardSeriesType.Open;

Return Value

StandardSeriesType

High

Summary

Bar High price.

Signature

1
StandardSeriesType.High;

Return Value

StandardSeriesType

Low

Summary

Bar Low price.

Signature

1
StandardSeriesType.Low;

Return Value

StandardSeriesType

Close

Summary

Bar close price.

Signature

1
StandardSeriesType.Close;

Return Value

StandardSeriesType

TickVolume

Summary

Bar tick volume.

Signature

1
StandardSeriesType.TickVolume;

Return Value

StandardSeriesType

Median

Summary

Bar median price.

Signature

1
StandardSeriesType.Median;

Return Value

StandardSeriesType

Typical

Summary

Bar typical price.

Signature

1
StandardSeriesType.Typical;

Return Value

StandardSeriesType

Weighted

Summary

Bar weighted price.

Signature

1
StandardSeriesType.Weighted;

Return Value

StandardSeriesType

Average

Summary

Bar average price.

Signature

1
StandardSeriesType.Average;

Return Value

StandardSeriesType