# PineTS (/developers/pinets)



![PineTS — Pine Script® runtime for JavaScript](/images/pinets/banner.png)

PineTS is a TypeScript implementation of the Pine Script® language, allowing you to write trading indicators and strategies using TypeScript while leveraging the power of Pine Script®'s execution model and functions.

With PineTS, you can create, test and visualize technical indicators using modern web technologies while maintaining compatibility with the Pine Script® language features.

<CardGroup cols="2">
  <Card title="Getting Started" icon="rocket" href="/developers/pinets/getting-started">
    Learn the basics of converting Pine Script® to PineTS and understand key differences.
  </Card>

  <Card title="Initialization & Usage" icon="play" href="/developers/pinets/initialization-and-usage">
    How to initialize PineTS and run indicators: constructor parameters, run options, and return formats.
  </Card>

  <Card title="Indicator" icon="chart-line" href="/developers/pinets/indicator">
    The `Indicator` class: cached transpile, schema introspection, and runtime input/prop overrides.
  </Card>

  <Card title="Syntax Guide" icon="code" href="/developers/pinets/syntax-guide">
    Writing PineTS code equivalent to Pine Script®: declarations, series access, and control structures.
  </Card>

  <Card title="Alerts" icon="bell" href="/developers/pinets/alerts">
    The `alert()` and `alertcondition()` functions and how alert events are collected.
  </Card>

  <Card title="Pagination & Live Streaming" icon="refresh-cw" href="/developers/pinets/pagination">
    Incremental processing of historical data and live bar updates.
  </Card>

  <Card title="Strategy Namespace" icon="target" href="/developers/pinets/strategy">
    `strategy.*` order primitives, trade collections, risk management, and known divergences.
  </Card>

  <Card title="Data Providers" icon="database" href="/developers/pinets/data-providers">
    Built-in market data providers and how to implement your own.
  </Card>

  <Card title="Using within charts" icon="monitor" href="/developers/pinets/using-within-charts">
    Display Pine Script® indicators on a Vela™ chart with Vela-PineTS.
  </Card>

  <Card title="Architecture" icon="layers" href="/developers/pinets/architecture">
    How PineTS works internally: transpiler, runtime, and namespace implementations.
  </Card>

  <Card title="Language Coverage" icon="list-checks" href="/developers/pinets/lang-coverage">
    Pine Script® language features implemented in PineTS: execution model, time series, and more.
  </Card>

  <Card title="API Coverage" icon="table" href="/developers/pinets/api-coverage">
    Implementation status of Pine Script® API functions and methods in PineTS.
  </Card>

  <Card title="View on GitHub" icon="github" href="https://github.com/LuxAlgo/PineTS">
    Star the repo, report issues, or contribute to PineTS.
  </Card>
</CardGroup>
