Tomasz thanks again, yesterday I studied the manual all day ... but you are sure that the second AMA formula is correct?
So instead of: avrg1=(1-alpha)*Ref(avrg1,-1)+alpha*yield1; you should write: avrg1= AMA( yield1, alpha ); and instead of: dvst1=sqrt((1-alpha)*Ref(dvst1,-1)*Ref(dvst1,-1)+alpha*(yield1-avrg1)*(yield1-avrg1)); you should write dvst1=sqrt( AMA( yield1, alpha )); by
