calculate method
Calculates the value of this indicator for the given index without caching it.
Returns the result as a T.
Implementation
@override
T calculate(int index) => createResult(
index: index,
quote: _shortTermEma.getValue(index).quote -
_longTermEma.getValue(index).quote,
);