# Coverage

> Which parts of Pine Script v6 work on Tradequix, which are verified by our own tests, and which are not available.

Tradequix runs Pine through **PineTS 0.11.1**. This page combines PineTS's own coverage notes with what Tradequix has tested itself. It is honest rather than complete: "works" here means tested on this platform, not that every argument of every function has been compared with TradingView.

## Status key

| Mark | Means |
| --- | --- |
| **Verified** | Covered by Tradequix's own tests and rendered on a real chart |
| **Supported** | Implemented by PineTS; used by scripts here, not exhaustively tested |
| **Partial** | Works with known limits, listed alongside |
| **Not available** | Fails or returns `na`, with an explicit message |

## Language

| Feature | Status | Notes |
| --- | --- | --- |
| Bar-by-bar execution, series, `[]` history | Verified | |
| `var`, `varip`, `na`, `nz` | Verified | |
| `if`, `switch`, `for`, `for … in`, `while` | Supported | Infinite loops are stopped with an error |
| User functions `f(x) => …` | Verified | Including multi-line bodies |
| Tuples `[a, b] = f()` | Verified | |
| Arrays, matrices, maps | Verified | Representative operations tested |
| User-defined types, enums | Supported | |
| Methods, objects | Partial | Upstream marks these as in progress |
| `import` of libraries | Not available | Needs a library resolver this platform does not have |

## Namespaces

| Namespace | Status | Notes |
| --- | --- | --- |
| `ta.*` | Verified | Seventy-plus functions; all 62 built-ins use them |
| `math.*`, `str.*`, `color.*` | Verified | |
| `input.*` | Verified | Every type becomes a settings field |
| `plot*`, `hline`, `fill`, `bgcolor`, `barcolor` | Verified | All styles drawn natively |
| `plotshape`, `plotchar`, `plotarrow` | Verified | Draw where the series is true or non-zero |
| `plotcandle`, `plotbar` | Verified | |
| `label`, `line`, `box`, `table`, `polyline`, `linefill` | Verified | Some shapes and table layouts are approximate |
| `strategy.*` | Verified | Not every order variant tested |
| `request.security`, `request.security_lower_tf` | Verified | See [Multiple timeframes](/docs/timeframes) |
| `request.financial`, `earnings`, `dividends`, `economic`, `footprint` | Not available | Return `na` with a warning |
| `alert`, `alertcondition` | Partial | Shown in the editor console; no background delivery |
| `chart.left_visible_bar_time` and other viewport values | Partial | Not verified |
| `syminfo.*`, `timeframe.*`, `barstate.*` | Supported | Symbol, timeframe and precision come from the chart |

## Known differences from TradingView

- **Data.** Volume is a tick count, and the feed has no fundamentals or order flow. See [The data](/docs/data).
- **Rendering.** Values are exact; some marker and label shapes, proportional arrow sizes, curved lines and table layouts are close but not pixel-identical.
- **Realtime.** The last bar recalculates as it forms; exact rollback behaviour of `varip` on every tick is not verified.
- **Modified tickers.** Heikin Ashi, Renko and similar fail explicitly instead of serving plain candles.

For the status of each individual function, see the [function reference](/docs/reference), which lists every name the engine implements. For PineTS's own coverage tables, see the [PineTS language coverage](https://docs.luxalgo.com/developers/pinets/lang-coverage) and [API coverage](https://docs.luxalgo.com/developers/pinets/api-coverage) pages.
