how to write an exponential moving average function?


#1

I’m not sure how to write one