DeMarker

demarkeroscillatorsForge API 1

Pressure from higher highs against lower lows, from 0 to 1.

Inputs

NameTypeDefaultRange
periodint141 to 5000

Outputs

NameTypeRequiredDescription
demarkervalueOptionalcolor 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.