outside_bar
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.outside_bar(high: ArrayLike,low: ArrayLike,allow_equal: bool = True) -> np.ndarrayOutside bar: a bar whose range covers the previous bar's range. Found: 1.
Parameters
| Name | Type | Default |
|---|---|---|
| high | ArrayLike | |
| low | ArrayLike | |
| allow_equal | bool | True |
high[i] >= high[i-1] and low[i] <= low[i-1], strictly with allow_equal off. A bar
with the same high and low as the one before it is an inside bar only.