TradeZoro
Notifications

Cookbook

Volume spike marks

Mark bars with unusually high volume.

//@zscript 1
indicator("Volume spikes")
mult = input.float(2.0, "Times the average", step=0.1)
avg = ta.sma(volume, 20)
spike = volume > avg * mult
plot(volume, "Volume", style=plot.style_columns, color=spike ? color.orange : color.gray)
plot(avg, "Average", color=color.white)
-120440100015592119
Sample bars, not market data. Volume spikes.

How it works

Orange columns are bars where volume was more than mult times its 20-bar average.

Education only. Not financial advice. Examples are teaching samples, not trading results.

Zscript is coming soon

The manual opens when Zscript launches.

Back to home