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.
This results in a channel that tracks percent-changes rather than absolute dollar-value changes.
הערות שחרור:
Added alerts when channel thresholds are crossed.
הערות שחרור:
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)
Add rising/falling alerts (can enable them independently)
Fix signed-ness bug (now works with tickers like "0-VIX" (i.e. inverted)
הערות שחרור:
update chart to include bars for 0-VIX