TradingView-API icon indicating copy to clipboard operation
TradingView-API copied to clipboard

Unable to Access Invite Only Indicator: study_not_auth:Script@tv-scripting-507 undefined

Open lordbritish888 opened this issue 2 years ago • 1 comments

Attempting to access Invite Only Indicator yields the following:

study_not_auth:Script@tv-scripting-507 undefined image

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.

lordbritish888 avatar Sep 02 '23 01:09 lordbritish888

I'm also having problems accessing private indicators. Did you find a solution yet?

leota avatar Sep 06 '25 09:09 leota