Regression Trend [MiesOnCharts]
This indicator fits a linear regression line to price over a rolling window and draws a corridor around it based on the statistical error of that fit.
No README in this version.
Indicator
Outputs
| Output | Plot | Panel | Style |
|---|---|---|---|
regime_index | data only | overlay | default |
regression_mid | line | overlay | width 2 |
mid_color | data only | overlay | default |
upper_se_band | line | overlay | default |
lower_se_band | line | overlay | default |
band_color | data only | overlay | default |
fill_color_index | data only | overlay | default |
long_y | data only | overlay | default |
short_y | data only | overlay | default |
flip_up_gate | data only | overlay | default |
flip_down_gate | data only | overlay | default |
Params
| Name | Default | Min | Max |
|---|---|---|---|
src_field | 3 | ||
len | 65 | 10 | |
mult | 1.5 | 0.5 | |
show_bands | 1 | 0 | 1 |
show_fill | 1 | 0 | 1 |
band_trans | 45 | 0 | 100 |
Inputs
| Input | Source | Selection |
|---|---|---|
src | ohlcv | field close |
high | ohlcv | field high |
low | ohlcv | field low |
Provenance
| ABI | wrun-2 |
|---|
| Version | Published | Note |
|---|---|---|
| 0.1.0 | Oct 22, 2026 |
| File | Size |
|---|---|
| om-package.json | 721 B |
| src/indicator.ts | 3.8 KiB |
| wrun/metadata.json | 4.8 KiB |
| wrun/module.wasm | 7.7 KiB |