Giter Site home page Giter Site logo

Comments (15)

Andddyyyyy avatar Andddyyyyy commented on May 25, 2024 1

I'm having exactly the same issue as above, if the repo can be updated that'd be amazing!

from tradingview-machine-learning-gui.

tmmatherne avatar tmmatherne commented on May 25, 2024 1

Same here.... incorrect xpath
It’s possible the class=“title-xxx” is unique to the stock being tested

I wouldn’t know how to fix this but sure TreborNamor could

from tradingview-machine-learning-gui.

tmmatherne avatar tmmatherne commented on May 25, 2024 1

Ahh yes. I had that same issue as well. Here is the fix for that. Go to Firefox address bad and type the following

about:preferences#privacy
The button next to History, select Use Custom Settings.

Turn off Always Use Private Browsing Mode Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

This will keep you logged into tradingview

from tradingview-machine-learning-gui.

TreborNamor avatar TreborNamor commented on May 25, 2024 1

hello everyone, it looks like the elements on Tradingview had changed. I updated the elements and added some extra fixes to script. If you guys are still having problems please download the new repository.

from tradingview-machine-learning-gui.

JulioCesarAntonyFraga avatar JulioCesarAntonyFraga commented on May 25, 2024

Looks like i had to change the elemment index to 1 instead of 2. Now I got some other elemments that I have to fix the name the script is looking for.

from tradingview-machine-learning-gui.

JulioCesarAntonyFraga avatar JulioCesarAntonyFraga commented on May 25, 2024

The elements the script is looking for are not correct. They may have changed. Can you guys please update?

from tradingview-machine-learning-gui.

JulioCesarAntonyFraga avatar JulioCesarAntonyFraga commented on May 25, 2024

I've been trying to fix it, and I kind of understood which elements they're trying to choose and all. At some point, it just can't find the element ".table-roles" or something like that ( I don't really remember the name). It just doesn't find it. I did tests, I replaced the code with the correct elements names, but in the end, this element just can't be find (even if it exists, and it actually does, at least it is shown in the page source code).

from tradingview-machine-learning-gui.

tmmatherne avatar tmmatherne commented on May 25, 2024

I’ve managed to get it working.
change the xpath location as you pointed out in your comment title- and also the innerInput one as well. Make sure you are logged into TradingView and that you only have stoploss checked within settings when running stoploss script.

from tradingview-machine-learning-gui.

JulioCesarAntonyFraga avatar JulioCesarAntonyFraga commented on May 25, 2024

I’ve managed to get it working.
change the xpath location as you pointed out in your comment title- and also the innerInput one as well. Make sure you are logged into TradingView and that you only have stoploss checked within settings when running stoploss script.

I've made an account but the script always open the browser with it logged out.

I will try to apply the things you told me tomorrow. Thank you for the help.

Could help me with the account stuff though?

from tradingview-machine-learning-gui.

JulioCesarAntonyFraga avatar JulioCesarAntonyFraga commented on May 25, 2024

Ahh yes. I had that same issue as well. Here is the fix for that. Go to Firefox address bad and type the following

about:preferences#privacy
The button next to History, select Use Custom Settings.

Turn off Always Use Private Browsing Mode Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

This will keep you logged into tradingview

Thank you, man! I appreciate your help.

from tradingview-machine-learning-gui.

Andddyyyyy avatar Andddyyyyy commented on May 25, 2024

Thanks for the help guys! I'm getting top to the point now ehere it will open the settings box to upodate the Stop loss/Take profit values but get this error:

Loading script...
script has timed out.
Traceback (most recent call last):
File "C:\Users\Andyf\OneDrive\Desktop\TradingView_Machine_Learning-master\scripts\takeprofit_linear.py", line 76, in
run_script(webdriver.driver)
File "C:\Users\Andyf\OneDrive\Desktop\TradingView_Machine_Learning-master\scripts\takeprofit_linear.py", line 41, in run_script
best_key = find.best_key()
File "C:\Users\Andyf\OneDrive\Desktop\TradingView_Machine_Learning-master\functions\find.py", line 5, in best_key
best_in_dict = max(profits, key=profits.get)
ValueError: max() arg is an empty sequence

Any ideas?

from tradingview-machine-learning-gui.

JulioCesarAntonyFraga avatar JulioCesarAntonyFraga commented on May 25, 2024

Ahh yes. I had that same issue as well. Here is the fix for that. Go to Firefox address bad and type the following

about:preferences#privacy
The button next to History, select Use Custom Settings.

Turn off Always Use Private Browsing Mode Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

This will keep you logged into tradingview

Hey man! I can't manage to open the browser already logged in. I've done the stuf`f you said, but it just doesn't work. I have saved the account in the account settings at firefox but nothing sems to work. Do you have any idea?

from tradingview-machine-learning-gui.

tmmatherne avatar tmmatherne commented on May 25, 2024

Did you save the root Directory or Local? Not sure if matters but I used the root directory
image

from tradingview-machine-learning-gui.

batuhan3526 avatar batuhan3526 commented on May 25, 2024

Hello Are u guys got this error ? Could u help me ?
error
error3
@tmmatherne @JulioCesarAntonyFraga @Andddyyyyy

from tradingview-machine-learning-gui.

tmmatherne avatar tmmatherne commented on May 25, 2024

thanks @TreborNamor

from tradingview-machine-learning-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.