You know what’s funny about PineScript? It’s 2025 and we’re writing trading indicators like it’s 1995. One file. Everything global. No modules. No imports. Just you, your code, and the slow descent into madness.

I’d been putting up with this for a while. I had a fairly complex indicator that used code I’d split across multiple TradingView libraries. Seemed like the right thing to do at the time. Separate concerns. Keep things clean. Very professional.

Then I needed to change one function.

The Workflow From Hell

Here’s what updating a library function looked like:

  1. Edit the code locally
  2. Push to git
  3. Copy-paste into TradingView’s editor
  4. Republish the library
  5. Note the new version number
  6. Open my indicator script
  7. Update the import statement with the new v…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help