I'm using this code with an input barsback. What am I doing wrong?Odd... I added it while I still had the original in place and the original stayed motionless while the alternate was moving with price action... Notice the lime colored line from the alternate...
def c2 = if !IsNaN(close) and IsNaN(close[-1])
plot priceLine = if isNaN(close[-barsBack])