Unable to Access Invite Only Indicator: study_not_auth:Script@tv-scripting-507 undefined
Attempting to access Invite Only Indicator yields the following:
study_not_auth:Script@tv-scripting-507 undefined
The line that causes it is:
const STD = new chart.Study(indic);
To Reproduce Snag the id from the browser of an Invite Only Indicator.
Put that id into:
TradingView.getIndicator().then((indic) => {
const STD = new chart.Study(indic);
STD.onError((...err) => { console.log('Study error:', ...err); });
STD.onReady(() => {
console.log(STD '${STD.instance.description}' Loaded !);
});
STD.onUpdate(() => { console.log(STD.periods[0]); }); });
See if you get 'study_not_auth:Script@tv-scripting-507 undefined'.
Expected behavior Was expecting to access the data generated from the indicator as usual.
Environment: OS: [e.g. Windows 8] Node version: [e.g. v16.3.0]
Additional context Add any other context about the problem here.
I'm also having problems accessing private indicators. Did you find a solution yet?