efficiency_ratio

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.efficiency_ratio(source: ArrayLike,period: int = 10) -> np.ndarray

Net move over period bars divided by the path length.

Parameters

NameTypeDefault
sourceArrayLike
periodint10

Indicator: Efficiency ratio

1 for a straight line, near 0 for noise. A flat window (path length zero) gives 0.