Bitcoin Forum

Economy => Trading Discussion => Topic started by: shark255 on January 11, 2014, 01:38:21 PM



Title: trying to understand ema algorithm
Post by: shark255 on January 11, 2014, 01:38:21 PM
So looking at ema 10/21 strategy https://cryptotrader.org/backtests/PqS7WC4NXv6PiF3RD

I see ema(10) and ema(21) which are number of short and long periods.

But what price values also send into ema function? Highest or lowest or average or open or close?



Title: Re: trying to understand ema algorithm
Post by: AdamWhite on January 12, 2014, 10:03:09 PM
exponential moving average would usually be applied to the close unless specified otherwise


Title: Re: trying to understand ema algorithm
Post by: shark255 on January 13, 2014, 10:20:05 AM
thanks, i searched for usual way - just want make some tests, of course i can apply any values to this function.