Thank you for your note.
Each of your bar types should have a different number passed, otherwise the 2nd duplicate will be ignored. In the statement below it would be as simple as changing 666 to another number.
BarsPeriod = new BarsPeriod { BarsPeriodType = (BarsPeriodType) [B]666[/B], BarsPeriodTypeName = "AlanPercentBarType", Value = 1 };
Leave a comment: