An assistant for backtesting trading strategies and showing external signals in Tradingview

Latest Version

Version
2.10.1
Update
November 28, 2024
Size
1.17MiB
Developer
Category
Users
10,000+
Rating
4.11429 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
UnlimitedStorage
ActiveTab
See more

Tradingview assistant Extension

Functionality
1. Backtesting trading strategies, optimisation of the strategy's parameters:
* automatic getting a list of parameters and their types (numeric, lists and checkboxes are supported)
* generation of the testing range according to the rule: the beginning value is 2 times less than the current one, the end is 2 times more than the current one.
* saving the generated parameters of testing a trading strategy for their correction as a template in a file in CSV format
* Loading adjusted parameter ranges from a CSV file
* Configuring the optimization model:
* Choosing the type of optimization: searching for the maximum or minimum values
* Selecting an optimized value from the entire list of strategy results in Tradingview (Net Profit, Ratio Avg Win / Avg Loss, Sharpe Ratio, Sortino Ratio, etc.)
* Choosing a search strategy in the parameter space(random, sequential, annealing method)
* Filtering of unsuitable results. For example, the number of tradings is less than necessary
* Setting the number of cycles to search for parameters.
* Performing automatic selection of parameters with storing all the results in the browser storage and the ability to save them as CSV files after testing, including in case of an error or page reloading
* Showing backtesting results on 3d chart to analyze the effect of various parameters on the result.

2. Upload external signals to Tradingview chart

Loading external buy or sell signals by timestamps from a CSV file

Optimization Methods

The sequential improvements optimization method is implement adjusting the best value already found. It does not perform a complete search of the entire parameter space.
The logic of it work is as follows. The current best state (parameters for max results) is taken. The first parameter is taken and all its values in the range are checked sequentially. If the best result is found, then further verification is carried out from this state. Then the next parameter is taken and all its values in the range are checked and etc.

The brute force optimization method implement backtesting all values in strategy space of parameters.

The annealing method is an optimization method in which the search for the maximum possible result is carried out in fewer steps https://en.wikipedia.org/wiki/Simulated_annealing
The method works this way: first, the best state and its parameters are determined. One parameter is randomly determined, then its value from range of possible values is randomly selected. The status in this value is checked. If it is better, then it is remembered and further parameter changes are made from it.
As the number of tests increases, the spread of parameter values decreases around those already found. That is, if at the beginning of testing the values are randomly selected from the entire range of possible parameter values, then as optimization is carried out, this spread decreases (\"cools down\") near current values. So in first phase of test - this method is search the most possible state around all space on the finish stage this method trying to improve found best state.
So that the system does not get stuck in one parameter area, as it happens with the sequential method, not one random parameter changes periodically, but all at once.

The random improvements method is the simplest. One parameter is randomly determined and then a value is randomly selected for it from the entire range of possible values. If the condition is better, then it is remembered. And then the parameters from this state are randomly changed.

The random method - always selects random values for all parameters at once (default)


Declaimer.

This extension is open source and aims to reduce the manual operations of users when working with the Tradingview by implementing the technology of emulation of user actions. At the same time, parsing of the data displayed by the Tradingview's UI is used to obtain data. Extension do not interact with the Tradingview servers. If the interface changes, the extension may stop working and give errors.
The developer is not responsible for any possible violation by the user of the extension of the rules for using the Tradingview.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "author": "Andrei Kuminov (akumidv)", "description": "An assistant for backtesting trading strategies and showing external signals in Tradingview", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAj2IHrKJZFtHWl1+9GrlGW0WZJGjxEjcOQ96cC0G/asn3n1L+Olgzy0BVLUpwAc1pJpMdU8sSf19YceyaL612EnVTIIUdIjk4kIiVLXTpwbcUsU/tk/zDZWQgxv0F72p5k6eOOYMyaMHgPlOkLp53NkCFTtE7Q+/kfaVBbHjvuZpAZ1v78zBFzBdoGcUZn7z3IrnxxUVkUoaLufJFoI3LWA81U5n7OQ9xu2GE2u5sH64JdHWjaAei9DrFi/2dJ1Kit9O8RgYqX9DGSP3rzSr1yq7ri4d/yabuyO7eifL+7k65UaQxf26l7H7jcEPyP2E/0K6Jr/ngwoiy28/jYYH1gQIDAQAB", "name": "Tradingview assistant", "version": "2.10.1", "icons": { "16": "images/tv_assist_16.png", "32": "images/tv_assist_32.png", "48": "images/tv_assist_48.png", "64": "images/tv_assist_64.png", "128": "images/tv_assist_128.png" }, "content_scripts": [ { "matches": ["https://*.tradingview.com/chart/*"], "js": [ "content_scripts/selector.js", "content_scripts/page.js", "content_scripts/ui.js", "content_scripts/tv.js", "content_scripts/tvChart.js", "content_scripts/file.js", "content_scripts/storage.js", "content_scripts/signal.js", "content_scripts/model.js","content_scripts/backtest.js", "content_scripts/action.js", "content_scripts/controller.js"], "run_at": "document_end" } ], "permissions": ["storage", "unlimitedStorage", "activeTab"], "action": { "default_icon": { "16": "images/tv_assist_16.png", "32": "images/tv_assist_32.png", "48": "images/tv_assist_48.png", "64": "images/tv_assist_64.png", "128": "images/tv_assist_128.png" }, "default_title": "TV", "default_popup": "popup/assistant.html" }, "web_accessible_resources": [{ "resources": ["page-context.js", "fonts/fa-solid-900.woff2", "lib/plotly.min.js"], "matches": [""] }]}
Read more

How to download and manually install Tradingview assistant extension for Chrome

Looking for a way to install Tradingview assistant extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Tradingview assistant extensions manually, this article outlines two simple methods to effortlessly install Tradingview assistant extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Tradingview assistant extension and manually install through Drag &Drop

If you ever need to manually install a Tradingview assistant extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Tradingview assistant Extension by clicking the "Download CRX" button on the website.

Look for the Tradingview assistant extension you wish to install. Go to the website and download the Tradingview assistant extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Tradingview assistant extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Tradingview assistant extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Tradingview assistant extension for Chrome and install in Developer Mode

This is another method to install Tradingview assistant extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Tradingview assistant extension file

Select and download the Tradingview assistant extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Tradingview assistant extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Tradingview assistant extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Tradingview assistant extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Tradingview assistant extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

TradingView Strategy Finder Extension · Productivity 10,000+ 42 ★ 145KiB

icon

TradingTuning Extension · Productivity 10,000+ 1 ★ 316KiB

icon

TradingView Scraper Extension · Developer Tools 10,000+ 2 ★ 921KiB

icon

Trade Optimiser Extension · Developer Tools 10,000+ 3 ★ 1.17MiB

icon

Trading Power Tool Extension · Productivity 10,000+ 0 ★ 115KiB

icon

TradingView Parameters Extension · Productivity 10,000+ 11 ★ 442KiB

icon

OptiPie TradingView Optimizer Extension · Productivity 10,000+ 25 ★ 5.26MiB

icon

Trend Switcher Finder Pro for TradingView Extension · Productivity 10,000+ 2 ★ 440KiB

icon

NewHorizon Optimizer Extension · Productivity 10,000+ 16 ★ 4.63MiB

icon

ATR Finder Pro for TradingView Extension · Productivity 10,000+ 0 ★ 444KiB

icon

Ranking of Tradingview Traders | Finbeet Extension · Productivity 10,000+ 3 ★ 210KiB

icon

Pine Optimizer Extension · Productivity 10,000+ 1 ★ 23.66KiB

icon

TradingView Ideas Prediction Extension · Productivity 10,000+ 2 ★ 3.23MiB

icon

Profit Sniper Strategy Finder Pro Extension · Productivity 10,000+ 10 ★ 446KiB

icon

RoboTV Extension · Productivity 10,000+ 1 ★ 942KiB

icon

TV_Xtractor Extension · Productivity 10,000+ 2 ★ 442KiB

icon

TVAlertsManager Extension · Productivity 10,000+ 205 ★ 405KiB

icon

Tradingview - Terminal Leader.Trade Extension · Productivity 10,000+ 5 ★ 7.01MiB

icon

TV Enhance Extension · Productivity 10,000+ 2 ★ 102KiB

icon

AlgoPro Optimizer Extension · Productivity 10,000+ 4 ★ 1.24MiB

icon

TradingView Button Extension · Accessibility 10,000+ 2 ★ 8.48KiB

icon

QuickAlerts Extension · Productivity 10,000+ 12 ★ 267KiB

icon

Tradingview Alarm Extension · Productivity 10,000+ 1 ★ 503KiB

icon

The Optimiser - TradingView Strategies Extension · Productivity 10,000+ 97 ★ 1.82MiB

User reviews

icon

Jozeph Mayson (ID: 000000ead6682c80) Voted 5 ★ - Updated 11/14/2023 все супер, только как исправить "There is no data for conversion" ??

icon

Abdullah (Koro) (ID: 00000074309c06df) Voted 5 ★ - Updated 09/04/2023 thank u so much

icon

智明 (ID: 000000c23a46febe) Voted 5 ★ - Updated 08/07/2023 我今天被官方警告了,让我禁止使用api等插件,如何避免出现这个问题?

icon

Bekir İlker Süer (ID: 0000004d12ef59a0) Voted 5 ★ - Updated 07/25/2023 Thanks Andrei, keep up the good work!

icon

Arthur Sergeev (ID: 000000f8e0a45114) Voted 5 ★ - Updated 07/10/2023 Андрей Куминов, спасибо за эту работу, благодарю Вас. Вы сделали мою жизнь сильно проще и лучше! Спасибо Вам огромное, всех благ мира! Не бросайте апдейты ради любви и мира на земле! 20 июня 2023: Андрей, здравствуйте! ТВ изменили интерфейс, выдаёт ошибку: "Error: There is not timeframe element on page. Open correct page please". 22 июня 2023: Андрей, здравствуйте! Спасибо за быструю реакцию! Вчера, 21го июня работало без ошибок, сегодня снова вылезает та же ошибка. Подскажите кто-нибудь как пользоваться глубоким бэктестом, ведь, ведь после изменения настроек индикатора нужно либо перезагружать страницу, либо вручную переключить "Deep backtest" - такой функционал был всегда сколько помню опцию "deep backtest". Когда включаю глубокое тестирвоание, тестер делает первую итерацию и потом перебирает, считывая одни и те же данные первой итерации, которые застыли.