While I wouldn't be able to debug your conditions I can make a recommendation of starting with a more simple test so that you are certain to understand how BarsInProgress works.
A simple way to observe if the series is calling OnBarUpdate would be to use a print:
protected override void OnBarUpdate()
{
Print(BarsInProgress);
You can also use prints for the values you used in the conditions.
To execute logic for the secondary series you would surround that with a condition like you are using.
if (BarsInProgress ==1)
{
}

Comment