Closed g001613001 closed 10 months ago
i see changes in the tabs section, can't find other changes
<div class="tabs-qk6xG5kt"><div class="scroll-wrap-JlIG6zP0 size-small-JlIG6zP0" data-name="underline-tabs-buttons"><div id="id_indicator-properties-dialog-tabs_tablist" role="tablist" aria-orientation="horizontal" class="underline-tabs-JlIG6zP0"><button id="inputs" role="tab" tabindex="0" aria-selected="true" data-id="indicator-properties-dialog-tabs-inputs" class="underline-tab-asACDJHq size-small-asACDJHq selected-asACDJHq">Inputs</button><button id="properties" role="tab" tabindex="-1" aria-selected="false" data-id="indicator-properties-dialog-tabs-properties" class="underline-tab-asACDJHq size-small-asACDJHq">Properties</button><button id="style" role="tab" tabindex="-1" aria-selected="false" data-id="indicator-properties-dialog-tabs-style" class="underline-tab-asACDJHq size-small-asACDJHq">Style</button><button id="visibilities" role="tab" tabindex="-1" aria-selected="false" data-id="indicator-properties-dialog-tabs-visibilities" class="underline-tab-asACDJHq size-small-asACDJHq">Visibility</button><button aria-hidden="true" tabindex="-1" class="underline-tab-asACDJHq size-small-asACDJHq fake-asACDJHq">More<span class="arrow-icon-b2FB_70X size-small-b2FB_70X"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M5.5 6.44a.75.75 0 1 0-1 1.12l1-1.12zM9 10.5l-.5.56c.29.25.71.25 1 0L9 10.5zm4.5-2.94a.75.75 0 0 0-1-1.12l1 1.12zm-9 0l4 3.5 1-1.12-4-3.5-1 1.12zm5 3.5l4-3.5-1-1.12-4 3.5 1 1.12z"></path></svg></span></button></div></div></div>
now is like
<div class="scrollWrap-Rf5MOAG5"><div class="headerBottomSeparator-Rf5MOAG5"></div><div class="wrapOverflow-qKQlcmkd"><div class="wrap-qKQlcmkd"><div class="scrollWrap-qKQlcmkd noScrollBar-qKQlcmkd"><div class="tabsWrap-Rf5MOAG5"><div class="tabs-Rf5MOAG5 tabs-g47ZTMzc"><div class="tab-Rf5MOAG5 tab-g47ZTMzc active-g47ZTMzc" data-type="tab-item" data-value="inputs" data-name="tab-item-inputs">Inputs</div><div class="tab-Rf5MOAG5 withHover-Rf5MOAG5 tab-g47ZTMzc" data-type="tab-item" data-value="properties" data-name="tab-item-properties">Properties</div><div class="tab-Rf5MOAG5 withHover-Rf5MOAG5 tab-g47ZTMzc" data-type="tab-item" data-value="style" data-name="tab-item-style">Style</div><div class="tab-Rf5MOAG5 withHover-Rf5MOAG5 tab-g47ZTMzc" data-type="tab-item" data-value="visibilities" data-name="tab-item-visibilities">Visibility</div><div class="slider-g47ZTMzc slider-n4RgAWzv" style="transform: translateX(6px); width: 72px; opacity: 1;"><div class="inner-n4RgAWzv"></div></div></div></div></div><div class="scrollLeft-qKQlcmkd"><div class="iconWrap-qKQlcmkd"><span class="icon-qKQlcmkd"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 10" width="20" height="10"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M2 1l8 8 8-8"></path></svg></span></div></div><div class="scrollRight-qKQlcmkd"><div class="iconWrap-qKQlcmkd"><span class="icon-qKQlcmkd"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 10" width="20" height="10"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M2 1l8 8 8-8"></path></svg></span></div></div></div></div></div>
I can confirm this is an issue on my side too
Thinking is has something to do with : selector.js
tabInput: 'div[data-name="indicator-properties-dialog"] div[data-value="inputs"]',
tabInputActive: 'div[data-name="indicator-properties-dialog"] div[class*="active"][data-value="inputs"]',
tv-ui.js:
tvUi.changeDialogTabToInput = async () => {
let isInputTabActive = document.querySelector(SEL.tabInputActive) if(isInputTabActive) return true let inputTabEl = document.querySelector(SEL.tabInput) if (!inputTabEl) { throw new Error('There are no parameters in this strategy that can be optimized (There is no "Inputs" tab with parameters)') } inputTabEl.click() isInputTabActive = await page.waitForSelector(SEL.tabInputActive, 2000) return isInputTabActive ? true : false }
I did that but now the error is "could not find any strategy with parameters among...."
Also do i, got that notify. Now cannot test my indicator. What can i do now bro?
Is this notify come from TradingView updated their code or our internal problem? Sorry i just newbie :D
This happens when TV updates their code. Usually it takes a few days to amend the extension.
Error reproduced and fixed. I'm checking version before publish. I'll send it to Google WebStore in an few hours. Probably on weekend or on Monday it will be published.
Error reproduced and fixed. I'm checking version before publish. I'll send it to Google WebStore in an few hours. Probably on weekend or on Monday it will be published.
Could you share commit of the fix so that we can use before Chrome publishes? Thank you for all!
workaround: Change these lines in the selector.js file as follows; tabInput: 'div[data-name="indicator-properties-dialog"] div[data-value="inputs"]', tabInputActive: 'div[data-name="indicator-properties-dialog"] div[class*="active"][data-value="inputs"]',
new version : tabInput: 'div[data-name="indicator-properties-dialog"] button[id="inputs"]', tabInputActive: 'div[data-name="indicator-properties-dialog"] button[id="inputs"]:nth-child(1)',
note: before running the extension, you need to select the inputs option in the strategy window. (The "tabInputActive" on the top line doesn't work properly. I'll share it here when the problem is resolved)
I belive you need to have :: instead of a single : at button[id="inputs"]:nth-child(1)
Work for me: change 3 selectors in selector.js
tabInput: 'div[data-name="indicator-properties-dialog"] button[id="inputs"]',
tabInputActive: 'div[data-name="indicator-properties-dialog"] button[id="inputs"]',
tabProperties: 'div[data-name="indicator-properties-dialog"] button#properties',
Work for me: change 3 selectors in selector.js
tabInput: 'div[data-name="indicator-properties-dialog"] button[id="inputs"]',
tabInputActive: 'div[data-name="indicator-properties-dialog"] button[id="inputs"]',
tabProperties: 'div[data-name="indicator-properties-dialog"] button#properties',
Mashallah the missing piece, it works! Thank you!
Edit: I feel like TV staff mess around with the UI just to troll us.
👍🏼 - Thanks back up and running...
For the people who can't wait to get the official fixed version, you can download it from the link :)
Hi guys, the extesion is still not working, how to edit selector.js or to instal the files provided above?
Thank you!
All these problem was fixed in v.2.5. Today I've sent to publishing in Google WebStore version 2.6. Can you check it?
Hi friend, it does not work, I have removed the extension an added again to the browser, closed and opened the browser again, still doesn`t work. Thank you! Popescu George Bogdan,Kunden Broker S.A., Sucursala B1, cod 1907,0732976252
On Wednesday, April 19, 2023 at 06:51:48 AM GMT+3, Andrei Kuminov ***@***.***> wrote:
All these problem was fixed in v.2.5. Today I've sent to publishing in Google WebStore version 2.6. Can you check it?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
All these problem was fixed in v.2.5. Today I've sent to publishing in Google WebStore version 2.6. Can you check it?
Hi, can you help me to edit the code that will automatic download the result after backtest. Without click on this popup?
I think it will me more convenience for us. Many thanks and best regards
All these problem was fixed in v.2.5. Today I've sent to publishing in Google WebStore version 2.6. Can you check it?
Hi, can you help me to edit the code that will automatic download the result after backtest. Without click on this popup? I think it will me more convenience for us. Many thanks and best regards
I'll add this to next version
This will be in next published v.2.9.0 version (implemented in current version in repository)
There is not strategy parameters input tab. Test stopped. Open correct page please
Error:Could not find any strategy with parameters among the indicators. Add it to the chat and try again.