ezyquant.indicators.ta.TA.zigzag#
- static TA.zigzag(high: DataFrame, low: DataFrame, close: DataFrame, up_thresh: float = 0.05, down_thresh: float = -0.05) DataFrame #
Zig Zag.
- Parameters:
high (pd.DataFrame) – dataset ‘High’ dataframe.
low (pd.DataFrame) – dataset ‘Low’ dataframe.
close (pd.DataFrame) – dataset ‘Close’ dataframe.
up_thresh (float = 0.05) – up threshold value.
down_thresh (float = -0.05) – down threshold value.
- Returns:
Zig Zag value. If the value is 1, it means high. If the value is -1, it means low.
- Return type:
pd.DataFrame