akumidv / tradingview-assistant-chrome-extension

An assistant for backtesting trading strategies and checking (showing) external signals in Tradingview implemented as a Chrome browser extension.
GNU General Public License v3.0
159 stars 56 forks source link

Fix for plugin "Strategy not found" 02/23/2023 #98

Closed stefantabakovq closed 1 year ago

stefantabakovq commented 1 year ago

This error is happening because of a change in the paths on TradingView's side.

Change CSS selectors in content_scripts > selector.js to: strategyTesterTab: '#bottom-area > div.bottom-widgetbar-content.backtesting' .... strategyCaption: '#bottom-area div[class^="backtesting"] [class^="strategyGroup"] div[data-strategy-title]'

note that data-qa-strategy-title is now data-strategy-title

kypexin commented 1 year ago

Unfortunately does not work for me. After altering the file I am getting this error:

Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. Context popup/assistant.html#content-1 Stack Trace popup/assistant.html#content-1:0 (anonymous function)

Basically, pop-up window is not shown at all on 'Test strategy' button.

kypexin commented 1 year ago

UPDATE: now it worked. Mystery, and many thanks for your help.

dayu998 commented 1 year ago

非常感谢!

VincenzoUrso commented 1 year ago

how to do that?

stefantabakovq commented 1 year ago

how to do that?

Download files (zip), edit content_scripts > selector.js with the changes above, then go to 'chrome://extensions' > Load unpacked and select files folder. Remove old version first though (it will wipe your settings unfortunately)

akumidv commented 1 year ago

The problem is fIxed in the new 2.2 version that was send to Google for review before publishing