Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m excited

TradingView widget: how to programmatically add events/marks to the chart? how to load custom script?

Is there any way through an API or a Javascript to add events to an existing TradingView widget installed on an external website? Let's say i have an automated strategy running and i'd like it to mark on the chart where the trade was open and where it was closed.

I know there's a custom script feature - is it possible to load custom script to a TradingView widget via smth like Javascript? Not using GUI buttons but programmatically?
13 people have
this question