Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lordbritish888 opened this issue Sep 2, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lordbritish888
Copy link

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 lordbritish888 added the bug Something isn't working label Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants