A free and open source Trading View bot written in Python

TradeView is a free and open source Trading View bot written in Python. It is designed to support all major exchanges. It contains back testing, money management tools as well as strategy optimization by machine learning.


This software is for educational purposes only. Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.

We strongly recommend you to have coding and Python knowledge. Do not hesitate to read the source code and understand the mechanism of this bot.


  • Based on Python 3.8+: The bot will work on any operating system – Windows, macOS and Linux.
  • SL/TP Generator: Let the bot decide what stop loss or take profit you should use.
  • Functions: A growing library of functions you can use to optimize your script.


#1. Download Pycharm, Firefox, and TradingView_Machine_Learning folder here.

PyCharm Community Edition


TradingView_Machine Learning

#2. Extract Zip File And Open The Folder With Pycharm.

#3. Go to Terminal And type code below to get pip packages.

  • pip install beautifulsoup4
  • pip install selenium
  • pip install webdriver-manager
  • pip install numpy
  • pip install termcolor

#3. Go To functions folder in PyCharm, and click You’ll need to put your firefox profile in that file to make sure Python can find your web browser.

  • profile = webdriver.FirefoxProfile(r’C:UsersRobertAppDataRoamingMozillaFirefoxProfileskwftlp36.default-release’)
  • if you need help finding firefox profile go to this website and copy the root directory folder into script.
  • it should look like this. “C:UsersRobertAppDataRoamingMozillaFirefoxProfileskwftlp36.default-release”
  • Find Profile

#4. Go To Scripts Folder

  • In the scripts folder you’ll find scripts to optimize stoploss, take profit, or both files.

#5. Click A Script And Run It.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

An easy to use mood tracking app build with react and and Tailwind CSS

Testing Library and why I use React Testing Library.