Metastock EMA Formula

shukdeb

Newbie
Messages
1
Likes
0
Hi,

I am working in a plugin to my private software to get automatic buying and selling call.
I can get data from MASTER and Fx.Dat file and calculate 50 ema using below formula:
50EMA = previousEMA + smoothingConstant * (currentClosingValue- previousEMA);
where smoothingConstant =0.1

But I can get the exact value of 50ema given by MetaStack Professional Software.

Can any body help me to get the the value of 50Ema approximate as metastock calculated Ema value.

Regards
Shukdeb
 
Top