Tradingview assistant

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

什麼是Tradingview assistant?

Tradingview assistant是由akumidv開發的Chrome擴展程式,該擴展的主要功能是“An assistant for backtesting trading strategies and showing external signals in Tradingview”。

擴展截圖

screenshot
screenshot
screenshot
screenshot

下載Tradingview assistant擴展crx文件

下載Tradingview assistant擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        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.                    

擴展基本資訊

名稱 Tradingview assistant Tradingview assistant
ID pfbdfjaonemppanfnlmliafffahlohfg
官方網址 https://chromewebstore.google.com/detail/tradingview-assistant/pfbdfjaonemppanfnlmliafffahlohfg
簡介 An assistant for backtesting trading strategies and showing external signals in Tradingview
檔案大小 1.17 MB
安裝次數 8,662
目前版本 2.9.2
更新時間 2023-09-13
上架時間 2021-09-20
評分 4.54/5 共 52 次評分
開發者 akumidv
電子郵箱 [email protected]
付費類型 free
擴展官網 https://github.com/akumidv/tradingview-assistant-chrome-extension
說明頁面URL https://github.com/akumidv/tradingview-assistant-chrome-extension/issues
支援的語言 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": [
                ""
            ]
        }
    ]
}