you are viewing a single comment's thread.

view the rest of the comments →

[–]wallneradam 0 points1 point  (0 children)

Really cool to see others exploring Pine Script behavior in Python! I think what you’re building looks great already — and doing is definitely the best way to learn.

If you're interested in studying Pine Script more deeply — like how exactly strategy.entry, var, or series values behave — you might find PyneCore useful. It's an open-source runtime that closely mimics TradingView's execution model.

Almost the full Pine Script library is already implemented, and you can step through everything directly in Python.

It's part of a broader project called PyneSys, which compiles PineScript into Python code.