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) {
final double result =
3 * wma.getValue(index).quote - 2 * sma.getValue(index).quote;
return createResult(
index: index,
quote: result,
);
}