On this one I have the if currentbar condition being Math.Max(Period*3,90) because there is an ATR data series that looks back 37 bars plus whatever the period is. I have tried making it bigger but it doesn't help so that isn't it.
The Swing Indicator from NT has 'cobc' in its code which can't be changed so I suspect that this indicator, which uses the swings, simply cannot be run in cobc=false. This is probably the same problem I have had in the CCLFib indicator. I did manage to get the Fib indicator to run fine when not accessing the Swing Indicator so am pretty certain that is the problem. Have posted code again in post at top of page and will investigate different swing determinants so that this indicator, with stats, can be set to cobc = false.