I am running into the following two issues when constructing a custom bar type:
1. The function
public override void ApplyDefaultValue(BarsPeriod period)
{
period.BarsPeriodTypeName = "MyBars";
period.Value = 6;
period.Value2 = 1;
}
period.BarsPeriodTypeName = "MyBars";
2. How do you set the default chartStyle to a custom style, say MyStyle?
DefaultChartStyle = ???


Comment