UNPKG

trading-signals

Version:

Technical indicators to run technical analysis with JavaScript / TypeScript.

10 lines 234 B
export function getMaximum(values) { let max = Number.MIN_SAFE_INTEGER; for (const value of values) { if (max < value) { max = value; } } return max; } //# sourceMappingURL=getMaximum.js.map