v0.2.0
What's Changed
Bug Fixes
- Fix
ta.ema()returning all NaN when input contains interspersed NaN values (#73) — EMA now scans for the firstlengthnon-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 thestrnamespace 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
strnamespace: 94.4% → 100% official API coverage- Overall in-scope coverage: 92.6% (289/312 official functions)
Full Changelog: v0.1.7...v0.2.0