Skip to main content
0
P

PineTS

Run Pine Script anywhere. PineTS is an open-source transpiler and runtime that brings Pine Script lo

Rating

0.0

Votes

0

score

Downloads

0

total

Price

Free

No login needed

Works With

Claude CodeCursorWindsurfVS CodeDeveloper tool

About

Run Pine Script Anywhere Execute TradingView indicators in Node.js, browsers, and any JavaScript runtime PineTS enables algorithmic traders, quant developers and platforms to integrate Pine Script logic directly into their infrastructure.

Quick Start • Features • Live Demos • Usage • API Coverage • Docs

Sponsors  

What is PineTS?

PineTS is an open-source transpiler and runtime that seamlessly bridges Pine Script and the JavaScript ecosystem. Develop your indicators once and deploy them everywhere : on your servers, in the browser, or fully integrated into your trading platforms.

javascript
import { PineTS, Provider } from 'pinets';

const pineTS = new PineTS(Provider.Binance, 'BTCUSDT', '1h', 100);

// Run native Pine Script directly
const { plots } = await pineTS.run(`
//@version=5
indicator("EMA Cross")
plot(ta.ema(close, 9), "Fast", color.blue)
plot(ta.ema(close, 21), "Slow", color.red)
`);
About Pine Script™? Pine Script™ is a domain-specific programming language created by TradingView for writing custom technical analysis indicators and strategies.
_Disclaimer : PineTS is an independent project and is not affiliated with, endorsed by, or associated with TradingView or Pine Script™. All trademarks and registered trademarks mentioned belong to their respective owners._

Why PineTS?

ChallengePineTS Solution
Pine Script only runs on TradingViewRun indicators on your own infrastructure
Can't integrate indicators with custom appsFull JavaScript/TypeScript integration
Limited to TradingView's data sourcesUse any data source (Binance, custom APIs, CSV)
No programmatic access to indicator valuesGet raw values for backtesting, alerts, ML pipelines
Can't run indicators server-sideWorks in Node.js, Deno, Bun, browsers

Quick Start

Installation

bash
npm install pinets

Hello World

javascript
import { PineTS, Provider } from 'pinets';

// Initialize with Binance data
const pineTS = new PineTS(Provider.Binance, 'BTCUSDT', '1h', 100);

// Calculate a simple moving average
const { plots } = await pineTS.run(`
//@version=5
indicator("My First Indicator")
sma20 = ta.sma(close, 20)
plot(sma20, "SMA 20")
`);

console.log('SMA values:', plots['SMA 20'].data);

That's it! You're running Pine Script in JavaScript.

Features

Core Capabilities

Don't lose this

Three weeks from now, you'll want PineTS again. Will you remember where to find it?

Save it to your library and the next time you need PineTS, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.

⚡ Pro tip for geeks: add a-gnt 🤵🏻‍♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.

🤵🏻‍♂️

a-gnt's Take

Our honest review

This plugs directly into your AI and gives it new abilities it didn't have before. Run Pine Script anywhere. PineTS is an open-source transpiler and runtime that brings Pine Script lo. Once connected, just ask your AI to use it. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.

Tips for getting started

1

Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.

What's New

Version 1.0.06 days ago

Imported from GitHub

Ratings & Reviews

0.0

out of 5

0 ratings

No reviews yet. Be the first to share your experience.