SMA 40 Trend Rider · Stop Fijo
Daily trend-following: long on a close above the 40 SMA, fixed stop at the 5-bar low, exit on a close below the SMA or stop hit. Plots entry/exit arrows. Not financial advice.
No README in this version.
Indicator
Outputs
| Output | Plot | Panel | Style |
|---|---|---|---|
sma | line | overlay | color #0a84ff |
stop | line | overlay | color #ff3b30 |
entrada | shape | overlay | color #34c759, width 3 |
salida_stop | shape | overlay | color #ff3b30, width 3 |
salida_curva | shape | overlay | color #ff9f0a, width 3 |
Params
| Name | Default | Min | Max |
|---|---|---|---|
period | 40 | 2 | 400 |
stopbars | 5 | 1 | 50 |
Inputs
| Input | Source | Selection |
|---|---|---|
close | ohlcv | field close |
low | ohlcv | field low |
Provenance
| ABI | wrun-1 |
|---|---|
| Source | not published |
| Version | Published | Note |
|---|---|---|
| 0.1.0 | Oct 8, 2026 |
| File | Size |
|---|---|
| om-package.json | 682 B |
| wrun/metadata.json | 2.0 KiB |
| wrun/module.wasm | 5.0 KiB |