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.