r/pinescript • • 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

5 Upvotes

17 comments sorted by

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 • Heartwarming

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/Intelligent-Block184 Oct 06 '26

I am sorry for the stroke buddy, I hope you feel better.

Regarding the Pine on the phone, do you use typing thru voice? Or just simply typing? How does it feel? Do you use any additional tools?

→ More replies (1)

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.

2

u/Intelligent-Block184 Oct 06 '26

thanks, I was thinking of bluetooth keyboard too

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/[deleted] Oct 03 '26 • Heartwarming

[removed] — view removed comment

1

u/Intelligent-Block184 Oct 06 '26

I am on Android,

> Are you on Android or iPhone, and can you currently open the editor in the browser?

I can I guess if you tell me how tell me how to do it on the phonw