Edited MACDStrategy class