Fixed depth bug in MACD.
Fixed bun on MACD when updating an initial empty MACD.
Fixed update flipevent bug.