OPEN-SOURCE SCRIPT

PercentChannel

Updated
Similar to my "DollarChannel" script, this keeps track of lows and highs, but snaps a line whenever A) the high exceeds low+(low*ratio), or B) low falls under high-(high*ratio).

This results in a channel that tracks percent-changes rather than absolute dollar-value changes.
Release Notes
Added alerts when channel thresholds are crossed.
Release Notes
Update to v5
Add rising/falling alerts (can enable them independently)
Fix signed-ness bug (now works with tickers like "0-VIX" (i.e. inverted)
Release Notes
update chart to include bars for 0-VIX
Breadth IndicatorsTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer