Skip to content

Commit

Permalink
Add compatibility alias for Zema
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Dec 12, 2023
1 parent dde4ff5 commit 91968a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions technical/indicators/overlap_studies.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ def dema(dataframe, period, field="close"):
return ta.DEMA(dataframe, timeperiod=period, price=field)


# Compatibility alias for Zema
# https://github.com/freqtrade/technical/pull/356 for details.
zema = dema


# EMA Exponential Moving Average
def ema(dataframe: DataFrame, period: int, field="close") -> Series:
"""
Expand Down

0 comments on commit 91968a0

Please sign in to comment.