Optimise TradingView Strategies An assistant for optimising (Optimize) & backtesting trading strategies in Tradingview

Latest Version

Version
1.58
Update
October 30, 2024
Size
1.82MiB
Developer
Category
Users
8,000+
Rating
4.27835 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
UnlimitedStorage
ActiveTab
Alarms
See more

The Optimiser - TradingView Strategies Extension

Optimise TradingView Strategies An assistant for optimising & backtesting trading strategies in Tradingview.
An optimizing assistant for backtesting trading strategies and showing external signals in Tradingview
An assistant for backtesting trading strategies and checking (showing) external signals in Tradingview.

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 optimisation model:
* Choosing the type of optimisation: searching for the maximum or minimum values
* Selecting an optimised 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 chartto 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 Tradingview.

Affiliations:

We are committed to transparency and responsible marketing. Our extension uses affiliate programs to support its development and provide enhanced features. Before installation and in our user interface, we want to inform you that we have partnerships with several affiliate platforms. These include ByBit, OKX, BingX, and BitGet. Participation in these programs helps us continue improving our service for you. For more details, please visit our Chrome Web Store page.

1.3.4
* Fixed color issues
* Fixed backtesting issues on Watch list.

1.4.1
* Added in & out of sample testing. Only for users with deep testing on TradingView.

1.4.6
* fixed a few updates
* added in and out of sample testing

1.5.6
* Updates for the placeholders on TradingView

1.5.8
* Removed the uploads of CSV feature.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "author": "Andrei Kuminov (akumidv)", "description": "Optimise TradingView Strategies An assistant for optimising (Optimize) & backtesting trading strategies in Tradingview", "name": "The Optimiser - TradingView Strategies", "version": "1.58", "icons": { "16": "images/clive_16.png", "32": "images/clive_32.png", "48": "images/clive_48.png", "64": "images/clive_64.png", "128": "images/clive_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-ui.js", "content_scripts/tv-chart.js", "content_scripts/file.js", "content_scripts/html2canvas.js", "content_scripts/storage.js", "content_scripts/model.js", "content_scripts/signal.js", "content_scripts/backtest.js", "content_scripts/worker-api.js", "content_scripts/action.js", "content_scripts/controller.js" ], "run_at": "document_end" }, { "matches": [ "https://*.bybit.com/*", "https://*.bitget.com/*", "https://*.okx.com/*", "https://*.kucoin.com/*" ], "js": [ "content_scripts/auto.js", "content_scripts/page.js" ], "run_at": "document_idle" } ], "host_permissions": [ "https://SendToDiscord.davidd.tech/backtest/api/v1.0/results", "https://*.tradingview.com/chart/*", "https://SendToDiscord.davidd.tech/message", "https://daviddtech.com/wp-json/daviddtech/v1/verify" ], "permissions": [ "storage", "unlimitedStorage", "activeTab", "alarms" ], "action": { "default_icon": { "16": "images/clive_16.png", "32": "images/clive_32.png", "48": "images/clive_48.png", "64": "images/clive_64.png", "128": "images/clive_128.png" }, "default_title": "TradingView Strategy Helper", "default_popup": "popup/clive.html" }, "background": { "service_worker": "background-worker.js" }, "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 8,000+ 42 ★ 145KiB

icon

Tradingview assistant Extension · Productivity 8,000+ 70 ★ 1.17MiB

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

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

icon

Goat Alerts TradingView Bot Extension · Productivity 8,000+ 15 ★ 3.22MiB

icon

TradeSage - TradingView Enhancement Suite Extension · Productivity 8,000+ 10 ★ 1.92MiB

icon

ProfitView Extension · Productivity 8,000+ 25 ★ 1.03MiB

icon

TradingView Alerts to MT4/MT5 Extension · Productivity 8,000+ 52 ★ 189KiB

icon

TradingView Alerts Extension · News & Weather 8,000+ 14 ★ 1.38MiB

icon

Watchlist Importer for TradingView Extension · Productivity 8,000+ 6 ★ 17.44KiB

icon

Trader Edge Extension · Productivity 8,000+ 6 ★ 3.62MiB

User reviews

icon

Viktor Shabunya (ID: 000000b3e2493ca3) Voted 5 ★ - Updated 11/01/2023 Beautiful work, David! This is an amazing tool that does an incredible job of testing strategies. One issue I am having (and it may be user error) is that I test two inputs for all available combinations, and it skips some possible combinations in the report. Is there an easy way to fix this behavior?

icon

EDWIN LIM (ID: 000000af9f5cd307) Voted 5 ★ - Updated 09/25/2023 Hi, Can you please fix this issue? I ran deep backtesting for MNQ1!, after a few tests (maybe 1-20?), the deep backtesting period goes back to recent 2-3months automatically. I think tradingview had some updates (I could see a tiny difference in UI) Always appreciate your hard work.

icon

Bruce Cecil (ID: 000000f3a1fe022b) Voted 5 ★ - Updated 09/09/2023 This extension will 100% improve your trading strategy game. Davidd is BRILLIANT! If you haven't checked out his Patreon site yet, you are missing out on some of the best trading tools available in the industry. I highly recommend the Optimiser and David.Tech!

icon

zowtourn vowtourn (ID: 000000ba56084fe6) Voted 5 ★ - Updated 09/09/2023 five stars. i love the feature where bybit link opens up and david channel

icon

Florian L (ID: 000000e191c4621a) Voted 2 ★ - Updated 09/09/2023 Since the last update the extension randomly opens chrometabs playing YouTube videos.