Contents:
Utils
Classes
EMATrend([short_window, long_window])
EMATrend
Exponential Moving Average (EMA) based Trend
Bases: object
object
This utility class computes trend value based on short and long exponential moving averages based on the respective window sizes.
Update current value and return trend
value (int | float) – The current value to update
trend – Trend value as -1, 0 or 1
int