Can Pine script call back outside Api?

Viewed 1890

I want to use Pine script to build a strategy in Tradingview website, and use outside data. Can Pine script call back outside Api?

2 Answers

Maybe you could elaborate on what you mean on "call back outside Api"? Of course you can use Pine Script to create an alertcondition putting POST data in JSON format in the message argument and sending it to a webhook URL.

Simple No! You cant make Api call directly, you can use alert which triggers webhook that you catch and forward to the Api you wanted. But remember webhook is only available in paid version.

Related