Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

oakscriptjs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oakscriptjs

PineScript v6 compatible technical analysis library for JavaScript/TypeScript

latest
Source
npmnpm
Version
0.2.8
Version published
Maintainers
1
Created
Source

OakScriptJS Logo

OakScriptJS

OakScriptJS is a TypeScript/JavaScript library that provides PineScript v6 compatible technical analysis functions. Build trading indicators, run backtests, or integrate TA calculations into any JavaScript environment.

Quick Start

Install

npm install oakscriptjs

Calculate an indicator

import { Series, ta } from 'oakscriptjs';

const prices = [44, 44.5, 45, 45.5, 46, 46.5, 47, 47.5, 48, 48.5];
const close = new Series(prices);
const sma = ta.sma(close, 5);

console.log(sma.toArray());

Documentation

  • Guide — Getting started and core concepts
  • Function Inventory — All available TA functions

Keywords

pinescript

FAQs

Package last updated on 04 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts