PyneComp v6.1.5 — converted scripts now evaluate parenthesized arithmetic the way…
Fixes
- Expressions like
a + (b - c),a * (b * c)orx += (y + z)could come out a hair off TradingView’s values, because TradingView regroups some parentheses depending on the Pine version and on whether the values are constants, inputs or series. Converted scripts now follow the same rules, so these results match TradingView. - Pine v1 and v2 scripts using
security()were converted as if they usedlookahead_off, which shifted the values by a full higher-timeframe period, even with the usualexpression[1]pattern. The converted call now keepslookahead = barmerge.lookahead_on, as TradingView runs these versions.