BarsPeriod
Definition
The primary Bars object time frame (period type and interval).
This property should NOT be accessed within the OnStateChange method before the State has reached State.DataLoaded
Property Value
A Bars series object representing the time frame of the Bars.
Syntax
When creating custom BarsTypes, it is recommended to pick high, unique enumeration value to avoid conflict from other BarsTypes that may be used by a single installation.
BarsPeriod = new BarsPeriod { BarsPeriodType = (BarsPeriodType)123456, BarsPeriodTypeName = “MyCustomBars”, Value = 1 };

