# Docs

- Get Started
  - [Quickstart](/platform/getting-started/introduction): Start learning about how LuxAlgo works within minutes.
  - [What Is LuxAlgo?](/platform/getting-started/what-is-luxalgo)
  - [FAQ](/platform/getting-started/faq): Get answers to frequently asked questions including how to get access, product questions, and everything you need to know about billing.
- Quant
  - [Introduction](/platform/quant/introduction)
  - [Features](/platform/quant/features)
  - [Prompting Tips](/platform/quant/prompting-tips)
- AI Strategies
  - [Introduction](/platform/ai-backtesting/introduction)
  - [Fetching Strategies](/platform/ai-backtesting/fetching-strategies)
  - [Backtest Viewer](/platform/ai-backtesting/backtest-viewer)
  - [Fetching Information](/platform/ai-backtesting/fetching-information)
  - [Troubleshooting](/platform/ai-backtesting/troubleshooting)
  - Backtesters
    - Backtester (S&O)
      - [Introduction](/platform/ai-backtesting/backtesters/s-o/introduction)
      - [Entry Rules](/platform/ai-backtesting/backtesters/s-o/entry)
      - [Exit Conditions](/platform/ai-backtesting/backtesters/s-o/exits)
      - [Take Profit & Stop Loss](/platform/ai-backtesting/backtesters/s-o/tpsl)
      - [Optimization](/platform/ai-backtesting/backtesters/s-o/optimization)
    - Backtester (PAC)
      - [Introduction](/platform/ai-backtesting/backtesters/pac/introduction)
      - [Entry Rules](/platform/ai-backtesting/backtesters/pac/entry)
      - [Exit Rules](/platform/ai-backtesting/backtesters/pac/exits)
      - [Take Profit & Stop Loss](/platform/ai-backtesting/backtesters/pac/tpsl)
    - Backtester (OSC)
      - [Introduction](/platform/ai-backtesting/backtesters/osc/introduction)
      - [Entry Rules](/platform/ai-backtesting/backtesters/osc/entry)
      - [Exit Conditions](/platform/ai-backtesting/backtesters/osc/exits)
      - [Take Profit & Stop Loss](/platform/ai-backtesting/backtesters/osc/tpsl)
    - Strategy Scripting
      - [Strategy Scripting](/platform/ai-backtesting/backtesters/strategy-scripting/introduction)
      - [Placeholders](/platform/ai-backtesting/backtesters/strategy-scripting/placeholders)
      - [Actions](/platform/ai-backtesting/backtesters/strategy-scripting/actions)
      - [LUCID Connectors](/platform/ai-backtesting/backtesters/strategy-scripting/lucid-connectors)
    - [Forecasting](/platform/ai-backtesting/backtesters/forecasting)
    - [Alerts](/platform/ai-backtesting/backtesters/alerts)
- AI Strategy Alerts
  - [Introduction](/platform/ai-strategy-alerts/introduction)
  - [Creating Alerts](/platform/ai-strategy-alerts/creating-alerts)
  - [Notifications](/platform/ai-strategy-alerts/notifications)
  - [Webhooks](/platform/ai-strategy-alerts/webhooks)
- TradingView Plug-ins
  - [Access on TradingView](/platform/algos/access-on-tradingview)
  - Price Action Concepts
    - [Introduction](/platform/algos/price-action-concepts/introduction)
    - [Market Structure](/platform/algos/price-action-concepts/market-structures)
    - [Volumetric Order Blocks](/platform/algos/price-action-concepts/order-blocks)
    - [Liquidity Concepts](/platform/algos/price-action-concepts/liquidity)
    - [Imbalance Concepts](/platform/algos/price-action-concepts/imbalances)
    - [Premium & Discount Zones](/platform/algos/price-action-concepts/pdzones)
    - [Highs & Lows MTF](/platform/algos/price-action-concepts/previous-high-low)
    - [Fibonacci Retracements](/platform/algos/price-action-concepts/fibonacci)
    - [Alerts](/platform/algos/price-action-concepts/alerts)
    - [Settings Reference](/platform/algos/price-action-concepts/settings)
  - Signals & Overlays
    - [Introduction](/platform/algos/signals-overlays/introduction)
    - [Signal Modes](/platform/algos/signals-overlays/signals)
    - [Signal Settings](/platform/algos/signals-overlays/signal-settings)
    - [Indicator Overlay](/platform/algos/signals-overlays/indicator-overlay)
    - [TP/SL Points](/platform/algos/signals-overlays/tp-sl-points)
    - [Candle Coloring](/platform/algos/signals-overlays/candle-coloring)
    - [Dashboard](/platform/algos/signals-overlays/dashboard)
    - [Alerts](/platform/algos/signals-overlays/alerts)
    - [Settings Reference](/platform/algos/signals-overlays/settings)
  - Oscillator Matrix
    - [Introduction](/platform/algos/oscillator-matrix/introduction)
    - [HyperWave](/platform/algos/oscillator-matrix/hyperwave)
    - [Smart Money Flow](/platform/algos/oscillator-matrix/smart-money-flow)
    - [Reversal Signals](/platform/algos/oscillator-matrix/reversal-signals)
    - [Confluence](/platform/algos/oscillator-matrix/confluence)
    - [Alerts](/platform/algos/oscillator-matrix/alerts)
    - [Settings Reference](/platform/algos/oscillator-matrix/settings)
  - Alert Scripting
    - [Alert Scripting](/platform/algos/alert-scripting/introduction)
    - [Placeholders](/platform/algos/alert-scripting/placeholders)
    - [Operators](/platform/algos/alert-scripting/operators)
    - [Actions & Methods](/platform/algos/alert-scripting/actions-methods)
    - [Usage](/platform/algos/alert-scripting/usage)
    - [Pre-made Templates](/platform/algos/alert-scripting/readymade-scripts)
  - Screeners
    - Screener (S&O)
      - [Introduction](/platform/algos/screeners/s-o/introduction)
      - [Elements](/platform/algos/screeners/s-o/elements)
      - [Filtering](/platform/algos/screeners/s-o/filtering)
      - [Sorting](/platform/algos/screeners/s-o/sorting)
    - Screener (PAC)
      - [Introduction](/platform/algos/screeners/pac/introduction)
      - [Elements](/platform/algos/screeners/pac/elements)
      - [Filtering](/platform/algos/screeners/pac/filtering)
      - [Sorting](/platform/algos/screeners/pac/sorting)
    - Screener (OSC)
      - [Introduction](/platform/algos/screeners/osc/introduction)
      - [Elements](/platform/algos/screeners/osc/elements)
      - [Filtering](/platform/algos/screeners/osc/filtering)
      - [Sorting](/platform/algos/screeners/osc/sorting)
  - [What Is TradingView?](/platform/algos/what-is-tradingview)
  - [TradingView Alerts](/platform/algos/tradingview-alerts)
  - [How To Get Updates](/platform/algos/how-to-update)

# PineTS

- [PineTS](/developers/pinets): PineTS is a TypeScript implementation of the Pine Script language, allowing you to write trading indicators and strategies using TypeScript.
- [Getting Started](/developers/pinets/getting-started): PineTS is a JavaScript/TypeScript runtime that enables execution of Pine Script indicators in JavaScript environments. It supports two input formats:
- [Initialization and Usage](/developers/pinets/initialization-and-usage): This guide explains how to initialize PineTS and run indicators or strategies with detailed documentation of all available options and return values.
- [Indicator](/developers/pinets/indicator)
- [Alerts](/developers/pinets/alerts)
- [Pagination & Live Streaming](/developers/pinets/pagination)
- Architecture
  - [Architecture](/developers/pinets/architecture)
  - Transpiler
    - [Transpiler](/developers/pinets/architecture/transpiler)
    - [Scope Manager](/developers/pinets/architecture/transpiler/scope-manager): One of the transpiler's most critical jobs is managing variable scope and state persistence across bar iterations.
    - [Transformers](/developers/pinets/architecture/transpiler/transformers): The transformation logic is split into specialized transformers found in src/transpiler/transformers/.
    - [Transpilation Examples](/developers/pinets/architecture/transpiler/examples): This page shows actual transpiler output to help understand the transformation process.
  - Runtime
    - [Runtime](/developers/pinets/architecture/runtime): The runtime environment executes the transpiled code. It simulates the Pine Script execution model where the script runs once for every bar in the dataset.
    - [Context Class](/developers/pinets/architecture/runtime/context): The Context is the central object (usually named $) passed to the transpiled function. It acts as the container for:
    - [Series Class](/developers/pinets/architecture/runtime/series): The Series class is the bridge between JavaScript arrays and Pine Script semantics.
    - [Execution Flow](/developers/pinets/architecture/runtime/execution-flow): The run() method orchestrates the execution.
  - Namespaces
    - [Namespaces](/developers/pinets/architecture/namespaces): PineTS mimics Pine Script's namespacing (ta., math., request.) through modular namespace classes attached to the Context.
    - [Technical Analysis (ta)](/developers/pinets/architecture/namespaces/ta)
    - [Math (math)](/developers/pinets/architecture/namespaces/math): This directory contains the implementation of Pine Script's math. namespace functions. These functions provide standard mathematical operations adapted for time-series data.
    - [Array (array)](/developers/pinets/architecture/namespaces/array): This directory contains the implementation of Pine Script's array. namespace functions. These functions manage dynamically sized arrays, distinct from time-series variables.
    - [Request (request)](/developers/pinets/architecture/namespaces/request): This directory contains the implementation of Pine Script's request. functions, primarily request.security for multi-timeframe analysis.
    - [Input (input)](/developers/pinets/architecture/namespaces/input): This directory contains the implementation of Pine Script's input. namespace functions. These functions handle user inputs/parameters for indicators.
    - [Property-Like Access](/developers/pinets/architecture/namespaces/property-access): This document explains how PineTS handles Pine Script's property-like syntax where namespace members can be accessed without parentheses.
  - Specifics
    - [Specifics](/developers/pinets/architecture/specifics): This section covers specific architectural patterns used to solve complex problems in Pine Script emulation.
    - [Tuple Handling](/developers/pinets/architecture/specifics/tuples): Pine Script supports tuples (functions returning [a, b]). PineTS has a specific architecture to handle this while distinguishing tuples from time-series arrays.
    - [Request Security](/developers/pinets/architecture/specifics/request-security): PineTS creates a strictly Two-Level Hierarchy to prevent infinite recursion.
  - [Debugging Guide](/developers/pinets/architecture/debugging): This guide covers practical debugging techniques for PineTS development.
  - [Best Practices](/developers/pinets/architecture/best-practices): This guide covers common mistakes and recommended patterns when working with PineTS.
  - [Syntax Evolution](/developers/pinets/architecture/syntax-evolution): PineTS is evolving to provide a more unified and cleaner API surface. While older syntax patterns remain supported for backward compatibility, they may trigger runtime warnings.
- [Data Providers](/developers/pinets/data-providers): PineTS supports multiple market data providers out of the box. Each provider fetches OHLCV candle data and symbol metadata, which PineTS uses to run your indicators.
- [Syntax Guide](/developers/pinets/syntax-guide)
- [Strategy Namespace](/developers/pinets/strategy)
- [Language Coverage](/developers/pinets/lang-coverage): This document lists the features of the PineTS language and their status.
- API Coverage
  - [API Coverage](/developers/pinets/api-coverage): This is a list of all the functions in the Pine Script API and their implementation status.
  - [Input](/developers/pinets/api-coverage/input)
  - [Math](/developers/pinets/api-coverage/math)
  - [Technical Analysis](/developers/pinets/api-coverage/ta)
  - [Array](/developers/pinets/api-coverage/array)
  - [Barstate](/developers/pinets/api-coverage/barstate)
  - [Box](/developers/pinets/api-coverage/box)
  - [Builtin](/developers/pinets/api-coverage/builtin)
  - [Chart](/developers/pinets/api-coverage/chart)
  - [Color](/developers/pinets/api-coverage/color)
  - [Label](/developers/pinets/api-coverage/label)
  - [Line](/developers/pinets/api-coverage/line)
  - [Linefill](/developers/pinets/api-coverage/linefill)
  - [Log](/developers/pinets/api-coverage/log)
  - [Map](/developers/pinets/api-coverage/map)
  - [Matrix](/developers/pinets/api-coverage/matrix)
  - [Plots](/developers/pinets/api-coverage/plots)
  - [Polyline](/developers/pinets/api-coverage/polyline)
  - [Request](/developers/pinets/api-coverage/request)
  - [Runtime](/developers/pinets/api-coverage/runtime)
  - [Session](/developers/pinets/api-coverage/session)
  - [String](/developers/pinets/api-coverage/str)
  - [Strategy](/developers/pinets/api-coverage/strategy)
  - [Syminfo](/developers/pinets/api-coverage/syminfo): Symbol information namespace providing metadata about the current trading symbol.
  - [Table](/developers/pinets/api-coverage/table)
  - [Ticker](/developers/pinets/api-coverage/ticker)
  - [Timeframe](/developers/pinets/api-coverage/timeframe)
  - [Types](/developers/pinets/api-coverage/types)
  - [Constants Audit](/developers/pinets/api-coverage/constants-audit)
  - [Others](/developers/pinets/api-coverage/others)