Blog
Updates and stories from the PyneSys team — about Pine Script, Python, trading, and the craft of building tools for traders.
Your Pine comments now come through to Python
Since PyneComp 6.1.3, the Pyne code you get back keeps every comment of your Pine script, in the place you wrote it. Library annotations become docstrings, and the spacing follows PEP 8. The compiled program does not change.
Read more →One compiler for every Pine version
PyneComp now has a single compiler behind the API, the v6 converter and the PyneIDE language server. It is built from what matching TradingView taught us, it supports Pine v1 to v6, and it rejects what TradingView rejects. What changed for you, how it was checked, and what is still missing.
Read more →TradingView replaced the arithmetic behind math.sum and ta.sma
Between July 31 and October 29, 2026 the same Pine script started producing different last digits from math.sum and ta.sma. Measured bar by bar, with the old and the new summation scheme, a script you can paste, and what it means for anyone who relies on reproducible Pine results.
Read more →What PyneCore does to your Python before it runs it
Pyne code looks like ordinary Python, but Python forgets everything between calls and Pine remembers. Here is the rewrite that closes that gap, shown on a real script, and how I made it more than twice as fast without changing a single byte of its output.
Read more →Pine Script has no integers
Pine's int type has no runtime existence: it is an IEEE-754 double that loses digits above 2^53, never overflows, and whose na is a NaN. Measured from Pine itself, with a script you can paste into the editor.
Read more →Use Pine Script indicators and strategies in FreqTrade — without rewriting them
Two CC0 examples that bridge Pine Script and FreqTrade through PyneCore: drop Pine indicators into your Python strategy, or let a Pine strategy generate the buy/sell signals FreqTrade executes.
Read more →Why ChatGPT / Claude can't properly convert Pine Script to Python — and why it matters
AI tools produce Python that looks right but computes different values than TradingView. Here's why — stateful execution, na propagation, warming behavior, request.security, look-ahead bias — and what to do about it.
Read more →Our Logo, Rendered in Pine Script
See how a Pine Script indicator draws the PyneSys logo with candlesticks, and copy the complete source to render the pine tree on a TradingView chart.
Read more →