Skip to content

Releases: deepentropy/oakscriptJS

v0.2.7

26 Feb 15:58

Choose a tag to compare

Features

  • Support per-bar plot coloring via optional color field on data points (#87)
    • plot() now accepts a colors?: string[] parameter
    • SeriesHandle.setData() accepts { time, value, color? } data points
    • TimeValue metadata type includes optional color
  • Support per-bar fill coloring via colors?: string[] on FillConfig and FillData (#88)

v0.2.6

26 Feb 15:19

Choose a tag to compare

Bug Fixes

  • Add 'color' to InputConfig.type union (#86)
  • Add histbase?: number to PlotConfig (#84)
  • Add fillgaps?: boolean to FillOptions (#85)

v0.2.5

25 Feb 21:23

Choose a tag to compare

Added

  • style field to PlotConfig interface (#82) — enables specifying plot styles (histogram, circles, columns, cross, area, etc.) directly in indicator configuration

v0.2.0

25 Feb 09:48

Choose a tag to compare

What's Changed

Bug Fixes

  • Fix ta.ema() returning all NaN when input contains interspersed NaN values (#73) — EMA now scans for the first length non-NaN values to compute the SMA seed and skips NaN in the recursive step, matching the official PineScript v6 spec.

New Functions

  • str.repeat(source, count, separator?) — Construct a string by repeating source N times with an optional separator. Completes the str namespace to 100% coverage of the official PineScript v6 API.

Documentation

  • Inventory rewrite — Cross-referenced all 457 official PineScript v6 language-reference doc files. Fixed inflated counts, added missing functions within tracked namespaces, added out-of-scope namespace listing, and separated custom additions from official API functions.

Stats

  • str namespace: 94.4% → 100% official API coverage
  • Overall in-scope coverage: 92.6% (289/312 official functions)

Full Changelog: v0.1.7...v0.2.0

v0.1.7 getSourceSeries and PlotConfig

09 Dec 22:23
ace7c73

Choose a tag to compare

Bump version from 0.1.6 to 0.1.7

v0.1.6

07 Dec 12:31

Choose a tag to compare

chore: auto-generate indicators from PineScript sources

- Generated TypeScript indicators
- Compiled JavaScript ES modules to indicators/dist/
- Updated indicator manifest

v0.1.5

07 Dec 11:55

Choose a tag to compare

chore: auto-generate indicators from PineScript sources

- Generated TypeScript indicators
- Compiled JavaScript ES modules to indicators/dist/
- Updated indicator manifest

v0.1.3 - Support indicator and plot

06 Nov 12:22

Choose a tag to compare

 Added explicit type annotation

v0.1.2 - Support Line, Box, Label types

05 Nov 12:51

Choose a tag to compare

v0.1.1 - Support Array functions

04 Nov 16:01

Choose a tag to compare

Add bump for automatic versionning