DeMarker
Pressure from higher highs against lower lows, from 0 to 1.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| period | int | 14 | 1 to 5000 |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| demarker | value | Optional | color theme.accent, style line, width 1 |
- Warm-up
- period bars (14 at the defaults)
- Repaints
- No
- Parity
- MetaTrader 5, within 1e-12
Formula
DeMax = the rise of the high when positive, else 0; DeMin = the fall of the low when positive, else 0
DeM = SMA(DeMax) / (SMA(DeMax) + SMA(DeMin)) over the last period bars
No movement reads 0.5.