PyneComp v6.0.68 — Converted and compiled scripts now match TradingView's results more…
Fixes
- A function that reads an outside series with
[n](for examples[1]) and is called only on some bars now gets the value from its previous call, as on TradingView. Before, it got the previous bar’s value, which could produce very different plots. - Converting a v4 script with a line like
qty := (qty * close >= strategy.equity) ? a : bno longer turns it into a different calculation. The comparison stays as written instead of being folded intoqty *=. - Converting v5 scripts to v6 now keeps parentheses that change the result, such as
ma * ((100 + lvl) / 100) * mult. Before, they were dropped, and plotted values could be off by a tick after rounding. last_baris no longer treated as a built-in variable, since it does not exist in Pine Script.