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

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". Когда включаю глубокое тестирвоание, тестер делает первую итерацию и потом перебирает, считывая одни и те же данные первой итерации, которые застыли.