It's not myMAFastLength - myMASlowLength, but myMAFastLength[0] - myMASlowLength[0] for the last value of the series.