PyneComp v6.0.55 — converting older and library-heavy scripts now produces code that…

Fixes

  • Converting a Pine v4 strategy that passed 1 / 0 as the entry direction turned every short into a long. Numeric literals now convert too — 0 becomes strategy.short, anything else strategy.long.
  • label.all.size() and the same call on the other drawing collections now convert correctly instead of producing a script that fails at run time.
  • A script whose function is written above its import line now resolves the imported namespace, instead of converting to an import that fails when the script runs.
  • An input.*() call nested inside a function argument now honours the value you configured, and a source input reaches the function as the series it is rather than a bare name.
  • A statement wrapped across several lines survives blank lines between its continuation lines when converting v5 to v6.
  • bool x = na stays na through the v5 to v6 conversion instead of silently becoming false.