I have a strategy that begins by retrieving the last high/low "swing" bars. I'm seeing an odd behaviour that seems to happen if one of those values returns to "-1"...the entire strategy shuts down and does not calculate on later bars.
I've setup a screenshot showing this, you can see in the Output Window that no other output is there for the later bars on the chart. This happens with different instruments as well. It seems the strategy runs correctly if the first bars do not return "-1"...any ideas?

Comment