PyneComp v6.0.52 — converted scripts now come back looking like the script you gave it,…
Fixes
- Converting a library that used
export typeorexport enumproduced a script that would not compile — TradingView’s own publishedZigZag/7library was one of them - Trailing spaces inside a multi-line text literal are part of the text your script prints, and are no longer removed
- A
linewidthvalue is no longer rewritten into amath.max(1, ...)call when it could never have been too small anyway
Features
- Conversion keeps your formatting: comments stay on their own lines at the column you put them, blank lines keep their original spacing, and comments on lines that get merged are kept in order without ever swallowing code
- Converted scripts keep their original behaviour: Pine quietly changed what some code means between versions, and a v4/v5 script converted to v6 now has those differences written into the script itself — including the older
strategy()defaults formargin_long,margin_shortandinitial_capital— so it still trades the way it did before conversion - The TradingView-identical conversion mode is unchanged and still reproduces TradingView’s output exactly