Get the original source first
The author listing is marked open source and documents a default lookback of 20 with thresholds of 1.5 and -1.5. Those are published defaults, not settings prescribed for every market. Read the source and its license before you modify or republish it.
Oscillator versus channel
A linear regression channel plots boundaries around price. ChartPrime’s oscillator is a separate pane-style reading. If your goal is price bands, verify the channel script itself; a momentum matrix will not draw the same geometry.
When another oscillator helps
Pineify’s catalog names Hyper Wave, Smart Money Flow, and Reversal within Oscillator Matrix. Those names do not establish a regression formula or equivalence. Check the source available through your account before comparing calculations.
Check signal timing on one fixed chart
Record the exchange feed, timeframe, script version, lookback, and thresholds. Observe a threshold signal before and after bar close, then reload the chart and compare its bar and value. Keep regression and channel results separate. This procedure checks timing; it does not establish profitable entries.