LuxAlgo/PineTS ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript library that lets me run Pine Script in JavaScript, both in Node and in the browser.

I want to be able to paste in a TradingView style indicator or strategy, give it market data like candles from Binance or my own CSV data, and get back the calculated values and plots. It should support common technical indicators like moving averages, RSI, MACD, Bollinger Bands, lookback behavior, and multi timeframe style calls. If possible, also let me use a JavaScript friendly version of the same ideas for people who don’t want to write pure Pine.

Please make it easy to stream live updates too, so I can react to new prices in real time. I’d like a simple example I can run right away, plus tests and clear docs. If you need to check current Pine Script details online, go ahead and look them up.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab