PyneComp v6.0.66 — converting an older Pine script now keeps the three-state bool…

Fixes

  • Converting a v1–v5 script that let a bool hold na no longer collapses it to plain false — the converted script keeps the same three states the original ran with.
  • A bool-typed function parameter (e.g. f(simple bool flag = true)) is now recognised as a bool, so scripts that only reach na through such a parameter convert correctly.
  • A comparison written against a literal na (like na == na or na != 1) now converts to the value your original Pine version produced — v2/v3, v4 and v5 each folded these differently, and the conversion previously used only one of those answers.