| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
A comprehensive TypeScript trading indicators library with 127+ technical analysis indicators.
🚧 Development Status: This project is actively under development with 127+ indicators implemented. See CHECKLIST.md for the complete list of indicators and implementation status.
Clone the repository:
git clone https://github.com/NeaByteLab/Trading-Lib.git
cd Trading-Lib
npm installimport { sma, ema, rsi, macd } from './src/indicators'
// Calculate Simple Moving Average
const prices = [10, 12, 15, 14, 16, 18, 17, 19, 20, 22]
const sma20 = sma(prices, 20)
// Calculate RSI
const rsi14 = rsi(prices, 14)
// Calculate MACD
const macdResult = macd(prices, 12, 26, 9)npm test # Run tests
npm run lint # Run ESLint
npm run build # Build TypeScriptMIT License - see LICENSE file for details.
| Back | FazBrowse Home | New Git URL |