TradingView Backtesting Tool.

CryptoNTez
2 min readNov 21, 2019

Easy way to extract backtesting results into an excel from tradingview.

How it works

Requirements to use the TradingView AutoAlerts

  • Windows OS
  • Microsoft Office/Excel

How to install

  1. Download and install the Selenium library for Microsoft Excel from
    https://github.com/florentbr/SeleniumBasic/releases
  2. Download the latest ChromeDriver from google: http://chromedriver.chromium.org/
  3. Replace the Chromedriver found in C:\Users\CryptoNTez\AppData\Local\SeleniumBasic with the downloaded ChromeDriver file. (notice that “CryptoNTez” is my username, you should use your own on your pc!)
  4. Acquire access to the Tradingview Backtesting Tool from my website Store at Cryptontez.com/store

How to use

  1. Once you’ve installed all the files, open the TradingView Backtesting Tool
  2. Fill-in the table with all the Assets that you want to backtest in TradingView.

Important: Keep the naming convention, it needs to be exactly as it appears in TradingView.

3. Click Run Backtesting on TradingView

4. Once Tradingview opens, check that the only indicator added to the chart is the one you want to backtest , then click OK in the msgbox that excel will show.

5. Wait for it to finish and that’s it!

Potential Errors and Fixes

  • SessionNotCreatedError Line 33…:
    Download this custom version of the chromedriver patch.
  • Error 91:
    Go to the selenium folder
    there is a folder there that is called “scripts”
    try to run the one that is “Start Chrome”
    and install Frameworks 3.5 when requested.

Hope you find it useful and it saves a lot of time on your trading adventure :)

BTW, if you want a custom version for any other script, shoot me a DM on Twitter or Tradingview :)

Happy Trading!

--

--

CryptoNTez

Swing Trader | Automation Jedi | Technical Analyst | #Bitcoin | UCTS Developer | Telegram: http://t.me/CryptontezTA | UCTS Indicator : https://cryptontez.com