Can't load indicator - (Study error: Study not allowed in this connection)
Describe the bug Im getting the "onError" event triggered when loading a Public Indicator with - "TradingView.getIndicator()".
Study error: Study not allowed in this connection ams1-charts-22-webchart-1@ams1-compute-22
Study error: [
'Study not allowed in this connection',
'fra2-charts-34-webchart-13@fra2-compute-34'
]
To Reproduce you can reproduce the Error with the [GraphicIndicator.js] in the /examples folder
Environment:
- tried on Node 16.x (on the server) and on Node 19.x (on the pc)
Additional context Used to work fine until today.. Most likely tradingview changed something on their side (api) ?
I am having same issue as well, the issue started to happen just today.
Having the same issue
Got the same error top since today. Any idea how to fix this? :-(
Hey trader fellas, I found a temporary fix that works on my side (in my use cases).
just change this 228 line in client.js
from
this.#ws = new WebSocket(wss://${server}.tradingview.com/socket.io/websocket, {
to
this.#ws = new WebSocket(wss://${server}.tradingview.com/socket.io/websocket?&type=chart, {
Worked for me! Appreciate it good sir
Worked for me as well, thanks !
For me too, thanks ;)
me too, thanks 👍🏼
This bug seems to be back. I changed line 228 but now get 'Study not allowed in this connection nje1-charts-30-webchart-10@nje1-compute-30'
This bug seems to be back. I changed line 228 but now get 'Study not allowed in this connection nje1-charts-30-webchart-10@nje1-compute-30'
Pull the main man, they fixed