Hi,
I think each tick is when every time the option price changes and each bar is when every minute, hour passes? Since the script is calculated based on the bars, I think it should be every bar. But not sure if even each tick would be different.
Yea, it would be positive value. If it's negative, it'd be price drop. Not sure what Jeff Augen's price spike dictates, but if you want the price drop, you can modify the line where it calculates the currentSpike to be the absolute value difference,
def currentSpike = (AbsValue(close – close[1])) / m;
Best,
PC