demarker

forge.tafunctionSince Forge API 1
Functionpython
forge.ta.demarker(high: ArrayLike,low: ArrayLike,period: int = 14) -> np.ndarray

DeMarker: pressure from higher highs against lower lows, from 0 to 1.

Parameters

NameTypeDefault
highArrayLike
lowArrayLike
periodint14

Indicator: DeMarker

DeMax is the rise of the high and DeMin the fall of the low, each 0 when it did not move that way. The result is the simple mean of DeMax over the sum of both means; no movement reads 0.5. The first value is on bar period.

Classpython
forge.ta.DeMarker(**inputs: Any) -> None

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

Inputs

NameTypeDefaultRange
periodint141 to 5000

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.