PMAR & PMARP
Price Moving Average Ratio & Price Moving Average Ratio Percentile
No README in this version.
Indicator
Outputs
| Output | Plot | Panel | Style |
|---|---|---|---|
scale_high | line | lower | color #ff0000 |
midline | line | lower | color #ffffff66 |
scale_low | line | lower | color #0000ff |
plot_line | line | lower | 9 colors, width 1, colored by plot_color_index |
plot_color_index | data only | lower | default |
historical_pmar_high | line | lower | 9 colors, colored by alert_color_index |
historical_pmar_low | line | lower | 9 colors, colored by alert_color_index |
alert_color_index | data only | lower | default |
signal_line | line | lower | 9 colors, width 1, colored by signal_color_index |
signal_color_index | data only | lower | default |
high_alert_level | line | lower | 9 colors, colored by alert_color_index |
low_alert_level | line | lower | 9 colors, colored by alert_color_index |
high_bg_on | data only | lower | default |
low_bg_on | data only | lower | default |
bg_color_index | data only | lower | default |
Params
| Name | Default | Min | Max |
|---|---|---|---|
src_price_field | 3 | ||
p_type_line | 1 | ||
ma_len | 20 | 1 | |
ma_typ | 4 | ||
c_typ_line | 0 | ||
c_typ_spctrm_line | 1 | ||
c_solid_line | 17179608040 | ||
p_width_line | 1 | 1 | 4 |
pmarp_lookback | 350 | 1 | 1900 |
show_signal_ma | 1 | 0 | 1 |
signal_ma_len | 20 | 1 | |
signal_ma_typ | 0 | ||
c_typ_sig | 1 | ||
c_typ_spctrm_sig | 1 | ||
c_solid_sig | 17179869160 | ||
p_width_sig | 1 | 1 | 4 |
hi_alert_pmarp | 99 | 0.1 | 100 |
lo_alert_pmarp | 1 | 0.1 | 100 |
hi_alert_pmar | 1.01 | 0.1 | 100 |
lo_alert_pmar | 0.99 | 0.1 | 100 |
c_alert_transp | 50 | 0 | 100 |
hi_alert_line_on | 1 | 0 | 1 |
lo_alert_line_on | 1 | 0 | 1 |
bg_hi_signal_on | 1 | 0 | 1 |
bg_lo_signal_on | 1 | 0 | 1 |
Inputs
| Input | Source | Selection |
|---|---|---|
src_price | ohlcv | field close |
volume | ohlcv | field volume |
Provenance
| ABI | wrun-2 |
|---|
| Version | Published | Note |
|---|---|---|
| 0.1.0 | Oct 5, 2026 |
| File | Size |
|---|---|
| om-package.json | 576 B |
| src/indicator.ts | 10.7 KiB |
| wrun/metadata.json | 14.3 KiB |
| wrun/module.wasm | 5.1 KiB |