Skip to content

Tags: deepentropy/oakscriptJS

Tags

v0.2.8

Toggle v0.2.8's commit message
Fix CJS require() returning empty namespace (#89)

Rename CJS bundles to .cjs so Node parses them as CommonJS instead of
treating them as ESM under "type": "module". Bump version to 0.2.8.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

v0.2.7

Toggle v0.2.7's commit message
Support per-bar coloring for plots and fills

- Add optional color field to SeriesHandle.setData() data points (#87)
- Add colors parameter to plot() runtime function (#87)
- Pass per-bar colors through LightweightChartsAdapter (#87)
- Add color field to TimeValue metadata type (#87)
- Add colors array to FillConfig and FillData (#88)
- Bump version to 0.2.7

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.2.6

Toggle v0.2.6's commit message
Add missing type properties: color input, histbase plot, fillgaps fill

- Add 'color' to InputConfig.type union (fixes #86)
- Add histbase to PlotConfig (fixes #84)
- Add fillgaps to FillOptions (fixes #85)
- Bump version to 0.2.6

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.2.5

Toggle v0.2.5's commit message
Bump version to 0.2.5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.2.4

Toggle v0.2.4's commit message
Fix EMA seed window to slide past leading NaN values

Revert the fixed-window approach from v0.2.3 — EMA now collects
`length` valid (non-NaN) values starting from the first valid bar.
This fixes chained EMAs on derived series (MACD signal, TRIX,
DEMA/TEMA, Elder Force) where leading NaN caused complete
initialization failure or wrong seed values.

Closes #81

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.2.3

Toggle v0.2.3's commit message
Fix tsi() momentum seed and EMA SMA-seed window with NaN inputs

tsi: seed momentum[0] with NaN instead of 0 to match PineScript
(close - close[1] is na on bar 0).

ema: use fixed-width window of first `length` bars for SMA seed,
averaging only non-NaN values. Previously skipped NaN positions
entirely, shifting the seed index by one per NaN.

Closes #79
Closes #80

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.2.2

Toggle v0.2.2's commit message
Fix ta.percentrank() and ta.rci() to match PineScript behavior

percentrank: compare against previous `length` values only (exclude
current value), use count/length*100 formula.

rci: use tie-corrected Spearman formula so duplicate values in the
window produce correct results.

Closes #77
Closes #78

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.2.1

Toggle v0.2.1's commit message
Fix ta wrapper missing 29 functions (rci, percentrank, dmi, hma, cmo,…

… etc.)

Add Series wrappers for all taCore functions that were missing from the ta
convenience object. Bump version to 0.2.1.

Closes #76

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.2.0

Toggle v0.2.0's commit message
Bump version to 0.2.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.1.7

Toggle v0.1.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version from 0.1.6 to 0.1.7