TradeZoro
Notifications

Cookbook

Bar range as percent

How big is each bar, relative to price?

//@zscript 1
indicator("Range %")
pct = (high - low) / close * 100
plot(pct, "Range %", style=plot.style_columns, color=#00adb5)
plot(ta.sma(pct, 20), "Average", color=color.white)
-0.010.030.070.120.16
Sample bars, not market data. Range %.

How it works

Useful for comparing quiet and busy markets on the same scale.

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