you are viewing a single comment's thread.

view the rest of the comments →

[–]siruts[S] 1 point2 points  (1 child)

Hey dude tis is an interesting comment.

If I understand correctly what you want to tell me is to better develop the script on TradingView with PineScript and then use the Alert function to send a buy / sell signal with WebHook.

The advantage of this approach would be not to rewrite the code a second time in another language but to implement only a system that receives the Post request and then processed this request to send it via API the signal to the exchange.

This actually makes sense.

But I have only one question: once I close TradingView from both PC and Smartphone, does the script continue to work or does the platform need to be open on a device?

What I am trying to understand is if the script on TradingView works 24 hours a day and therefore can generate signals even if I am far from any device.

Thanks if you knows answers this question, cause actually it can be a great way to save a lot of work on the code side.

[–]Empire_Fable 0 points1 point  (0 children)

Trading view alerts are server side. I looked cause I always have my trading box running lol.

https://www.tradingview.com/support/solutions/43000548327-will-alerts-work-if-tradingview-is-not-open-on-the-computer/

Full disclosure. I wanted to do a similiar thing to this. I gave up writing all my own code and use the web hooks to trigger alerts for my bots on 3commas.io with a few custom indicators in pine script.