three_outside

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.three_outside(open: ArrayLike,high: ArrayLike,low: ArrayLike,close: ArrayLike,allow_equal: bool = True) -> np.ndarray

Three outside: an engulfing confirmed by the third bar. Found: 1 up, -1 down.

Parameters

NameTypeDefault
openArrayLike
highArrayLike
lowArrayLike
closeArrayLike
allow_equalboolTrue

Indicator: Three outside

Up: the first two bars are a bullish engulfing and the third closes above the second close. Down: a bearish engulfing and the third closes below the second close.