When I doing the minus operation, I am getting a value of 0
Log("Value of sma is" + sma +" and price is"+ price + "Difference is---" + (sma.Minus(price)));

Below is the log entry: 
2013-10-10 04:00:00 Value of sma is1.35003 and price is1.349855Difference is---0.0

Author