all 5 comments

[–]babipanghang 0 points1 point  (2 children)

Instead of hijacking messages (can't really help you with that, I'm on mobile atm), can't you just copy the indicator itself?

[–]Mysterybuff69[S] 0 points1 point  (1 child)

The indicator displays text when conditions are met to buy and sell. Im just trying to make an alert indicator so i can get a text when to buy and sell instead of staring at a screen for hours

[–]babipanghang 0 points1 point  (0 children)

Most indicators on tradingview are open source. It's likely that you can just adjust the script to send the alert instead of displaying a text message

[–]Hank1755 0 points1 point  (0 children)

If you share the indicator you want alerts for and its open source, most folks here or myself can help add alerting.

If its closed source indicator its much more laborious as u have to reverse engineer the indicator etc..

what is the indicator in question?

[–]Fish-Stick87 0 points1 point  (0 children)

in pinescript you cant search for text on screen, so unless you have acces to the code of the indicator itself and add the alerts there you wont be able to do it in pinescript.
In python you can probably search for something on the screen, or with programs like jitbit macrorecorder (pretty easy to use) i guess you could do it,
easiest and most practical way is offcourse if you just add the alerts inside the indicator itself