1.0.3 • Published 1 year ago

@omdr/momentum-oscillator v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@omdr/momentum-oscillator

A powerful, lightweight collection of momentum oscillators for financial and stock market analysis. This package includes a wide range of technical indicators to support algorithmic trading strategies, market momentum detection, and quant-based analysis.

Installation

npm install @omdr/momentum-oscillator

Features

This library includes the following technical momentum oscillators:

  • RSI (Relative Strength Index)
  • Stochastic %K and %D
  • CCI (Commodity Channel Index)
  • Williams %R
  • Ultimate Oscillator
  • Chande Momentum Oscillator (CMO)
  • Money Flow Index (MFI)
  • Force Index
  • ROC (Rate of Change)
  • Awesome Oscillator
  • Know Sure Thing (KST)
  • Coppock Curve
  • Elder-Ray Index
  • Detrended Price Oscillator (DPO)
  • Mass Index
  • Relative Vigor Index (RVI)
  • Gopalakrishnan Range Index (GAPO)
  • Choppiness Index
  • Qstick

Example

const oscillators = require('@omdr/momentum-oscillator');

const prices = [120, 121, 122, 125, 124, 126, 127, 128, 126, 124, 123, 122, 121, 120];
const result = oscillators.rsi(prices);
console.log('RSI:', result);

Designed For

  • Node.js scripts
  • Web apps (React, Angular, Vue, etc.)
  • VS Code extensions
  • Trading dashboards
  • Custom strategy engines

🙌 Support This Project

If you find this useful, you can buy me a ☕:

👉 Support via PayPal


Author & Website

Built with love by Offline Pixel

Follow me for more trading tech magic.


License

MIT — Free to use and extend, commercial or personal.

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago