SMA and EMA should now work properly.