UNPKG

stock-indicator-mapper

Version:

A function given to map on an array of objects containing daily stock EOD data.

5 lines (3 loc) 118 B
export default function minusDICalculation(minusDMSmooth, trSmooth) { return (100 * (minusDMSmooth / trSmooth)); }