Alpha Default Value of EMA function
-
Hi
In the Q18 example-strategy 2, there's a EMA(exponential moving average) function, but I haven't found info.
What is the default value of alpha? -
@juzambranol The implementation of your library uses the standard choice:
alpha = 2(n+1),
where "n" is the number of periods of the related standard moving average.
-
@support But alpha should not be between 0 and 1 and 2(n+1) is larger than one, is maybe 2/(n+1)?
-
@gjhernandezp yes, correct, 2/(n+1), sorry for the typo, thanks for correcting
-
This post is deleted!