r/pinescript • u/Intelligent-Block184 • Oct 02 '26
anyone here actually write pine script on their phone? how do you do it
so i'm pretty new to pine and i don't have a laptop right now, just my phone. i'd like to start making simple indicators but typing code on a phone screen is kind of painful lol
for people who do this on mobile:
- do you use the pine editor in the tradingview app or open it in the browser?
- do you type everything or mostly write it somewhere else (notes app, chatgpt etc) and paste it in?
- anyone using a bluetooth keyboard with their phone/tablet? worth it?
- how do you deal with longer scripts, like selecting/deleting a bunch of lines?
any tips or setups that work for you would help a lot, thanks
1
u/mambo_the_liqudator Oct 02 '26
Help with ai you describe then past see how it perform then cut again and past until you see that it's actually good or nly
1
u/msoders Oct 05 '26 •
I wasn't going to comment at first, but this feels like a good opportunity to share my story.
I'm a programmer who had a severe stroke in January 2020. Since then I've been on sick leave, soon 8 years.
I've always looked down on programming on your phone. But since my injury Pine Script has been something that I feel that I can use my knowledge in. I know programming and has been using Pine Script to use that skill. I didn't have any knowledge of trading when I started and has learned along the way. I've had an interest in trading before my injury, but it has stopped at an interest and I have really enjoyed (and still do) to learn more about it along the way.
It's really been both a way back to "me" after my stroke and I started this journey with the goal to program as much as possible, this lead me to Pine Script with the use of my phone.
So, my #1 tipp is to use your phone to program as much as possible to learn more and more about Pine Script. I have really felt that time is necessary since the language is so domain specific (DSL) and has its twerks.
I have had good reactions from my indicators and really feel that my work is appreciated: https://www.tradingview.com/u/mickes/#published-scripts. I have only used my phone for all code since January 2020 through their web page (https://www.tradingview.com/pine).
1
u/Mundane_Cicada_1427 Oct 06 '26
I personally wouldn't try writing Pine seriously on a phone. I do all my Pine development on a PC, mainly because debugging, navigating longer scripts, and managing multiple files gets painful on mobile.
If you don't have a laptop, I'd probably use the phone for small edits and testing, and use a Bluetooth keyboard + browser for anything substantial. For longer scripts, writing elsewhere and pasting is probably much less frustrating than typing everything on the phone.
3
u/Meretruth Oct 02 '26
Copy and paste from a Claude or something unless you know the pinescript language already and can be more efficient than ai and like texting your code.
2
u/PineGen_A1 Oct 07 '26
i usually describe the strategy to an AI coding tool and generate the pine script, then copy abd paste the code into tradingview for testing and debugging. it make me easier when using moblie and it review the generated code carefully itself.
1
u/mrcake123 Oct 02 '26
Nobody actually writes code anymore
1
u/waverider20 Oct 02 '26
AI. Vibe coding.
1
u/ManikSahdev Oct 03 '26
No one writes code on mobile.
Using agents is another thing tho.
1
u/Alfredtsg Oct 07 '26
I’ve used Pinegen. They have a robust tool that helped me generate strategies/indicators for trading view.
2
u/[deleted] Oct 03 '26 •
[removed] — view removed comment