Tradingview assistant

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

What is Tradingview assistant?

Tradingview assistant is a Chrome extension developed by akumidv, and its main feature is "An assistant for backtesting trading strategies and showing external signals in Tradingview".

Extension Screenshots

screenshot
screenshot
screenshot
screenshot

Download Tradingview assistant Extension CRX File

Download Tradingview assistant extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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.                    

Extension Basic Information

Name Tradingview assistant Tradingview assistant
ID pfbdfjaonemppanfnlmliafffahlohfg
Official URL https://chromewebstore.google.com/detail/tradingview-assistant/pfbdfjaonemppanfnlmliafffahlohfg
Description An assistant for backtesting trading strategies and showing external signals in Tradingview
File Size 1.17 MB
Installation Count 8,662
Current Version 2.9.2
Last Updated 2023-09-13
Publish Date 2021-09-20
Rating 4.54/5 Total 52 Ratings
Developer akumidv
Email [email protected]
Payment Type free
Extension Website https://github.com/akumidv/tradingview-assistant-chrome-extension
Help Page URL https://github.com/akumidv/tradingview-assistant-chrome-extension/issues
Supported Languages en
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",
    "name": "Tradingview assistant",
    "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAj2IHrKJZFtHWl1+9GrlGW0WZJGjxEjcOQ96cC0G\/asn3n1L+Olgzy0BVLUpwAc1pJpMdU8sSf19YceyaL612EnVTIIUdIjk4kIiVLXTpwbcUsU\/tk\/zDZWQgxv0F72p5k6eOOYMyaMHgPlOkLp53NkCFTtE7Q+\/kfaVBbHjvuZpAZ1v78zBFzBdoGcUZn7z3IrnxxUVkUoaLufJFoI3LWA81U5n7OQ9xu2GE2u5sH64JdHWjaAei9DrFi\/2dJ1Kit9O8RgYqX9DGSP3rzSr1yq7ri4d\/yabuyO7eifL+7k65UaQxf26l7H7jcEPyP2E\/0K6Jr\/ngwoiy28\/jYYH1gQIDAQAB",
    "version": "2.9.2",
    "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": [
                ""
            ]
        }
    ]
}