ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

pinets

Run Pine Script indicators from the command line using pinets-cli. Use when asked to execute, test, or analyze Pine Script indicators, calculate technical analysis values (RSI, SMA, EMA, MACD, etc.), or fetch market data for crypto trading pairs. This tool can run PineScript indicators from .pine files or stdin and output the resulting plots and variables data.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/alaa-eddine/pinets
Or

pinets-cli — Run Pine Script Indicators from the Terminal

pinets is a CLI tool that executes TradingView Pine Script indicators via the PineTS runtime. It outputs structured JSON with calculated indicator values.

Installation

# Global install
npm install -g pinets-cli

# Or run directly with npx (no install needed)
npx pinets-cli run indicator.pine --symbol BTCUSDT -q

Verify (if installed globally):

pinets --version

When using npx, replace pinets with npx pinets-cli in all examples below.

Core command

pinets run [file] [options]

The indicator can be a file argument or piped from stdin.

Options

Data source (one required)

FlagDescription
-s, --symbol <ticker>Symbol from Binance (e.g., BTCUSDT, ETHUSDT, SOLUSDT.P for futures)
-t, --timeframe <tf>Candle timeframe: 1, 5, 15, 30, 60, 120, 240, 1D, 1W, 1M (default: 60)
-d, --data <path>JSON file with candle data (alternative to --symbol)

Output

FlagDescription
-o, --output <path>Write to file instead of stdout
-f, --format <type>default (plots only) or full (plots + result + marketData)
--prettyPretty-print JSON
--cleanFilter out null, false, and empty values from plot data
--plots <names>Comma-separated list of plot names to include (default: all)
-q, --quietSuppress info messages (essential when parsing stdout)

Candle control

FlagDescription
-n, --candles <N>Number of output candles (default: 500)
-w, --warmup <N>Extra warmup candles excluded from output (default: 0)

Debug

FlagDescription
--debugShow transpiled JavaScript code (to stderr)

Usage patterns

Run a .pine file with live Binance data

pinets run indicator.pine --symbol BTCUSDT --timeframe 60 --candles 100 -q

Run with warmup (important for long-period indicators)

# EMA 200 needs at least 200 bars to initialize
pinets r...

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-alaa-eddine-pinets": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.