缠论MACD指标
No README in this version.
Indicator
Outputs
| Output | Plot | Panel | Style |
|---|
dif | line | lower | color #e5e7eb, width 2 |
dea | line | lower | color #f0b90b, width 2 |
hist | histogram | lower | color #9ca3af, 2 colors, width 0.65, colored by hist_sign |
hist_sign | data only | lower | default |
seg_area | area | lower | 2 colors, width 1, colored by seg_dir_out |
seg_dir_out | data only | lower | default |
zero | line | lower | color theme.muted, dashed |
seg_count | data only | lower | default |
prev_same | data only | lower | default |
area_ratio | data only | lower | default |
area_break | data only | lower | default |
dir_changed | data only | lower | default |
tag_xr | data only | lower | default |
tag_yr | data only | lower | default |
tag_xg | data only | lower | default |
tag_yg | data only | lower | default |
Handles
Drawings the Indicator creates, moves and removes across bars. A kind listed here is enabled and every new one starts with this look.
| Kind | Panel | Look |
|---|
line | lower | color #38bdf8, width 1, dashed, extend none |
Labels
| Label | Kind | Where | Text | Style |
|---|
tag_r_mark | label | x tag_xr, y tag_yr | tag_r | color #ef5350, size 10 |
tag_g_mark | label | x tag_xg, y tag_yg | tag_g | color #26a69a, size 10 |
Params
| Name | Default | Min | Max |
|---|
fast | 12 | 1 | 200 |
slow | 26 | 2 | 400 |
signal | 9 | 1 | 100 |
show_lines | 1 | 0 | 1 |
show_hist | 1 | 0 | 1 |
show_area | 1 | 0 | 1 |
show_bands | 1 | 0 | 1 |
area_alert | 0 | 0 | 100000 |
Inputs
| Input | Source | Selection |
|---|
close | ohlcv | field close |
bar_t | time | field bar_open_sec |
Provenance
| ABI | wrun-3 |
|---|
| Source | not published |
|---|
| Version | Published | Note |
|---|
| 0.1.3 | Oct 20, 2026 | |
| 0.1.2 | Oct 20, 2026 | |
| 0.1.1 | Oct 20, 2026 | |
| 0.1.0 | Oct 20, 2026 | |
| File | Size |
|---|
| om-package.json | 465 B |
| wrun/metadata.json | 5.9 KiB |
| wrun/module.wasm | 9.5 KiB |