An assistant for backtesting trading strategies and showing external signals in Tradingview
Tradingview assistant Extension
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.
Source Manifest.json
Similar Extensions
TradingView Strategy Finder 10,000+ 42 ★ 145KiB
TradingTuning 10,000+ 1 ★ 316KiB
TradingView Scraper 10,000+ 2 ★ 921KiB
Trade Optimiser 10,000+ 3 ★ 1.17MiB
Trading Power Tool 10,000+ 0 ★ 115KiB
TradingView Parameters 10,000+ 11 ★ 442KiB
OptiPie TradingView Optimizer 10,000+ 25 ★ 5.26MiB
Trend Switcher Finder Pro for TradingView 10,000+ 2 ★ 440KiB
NewHorizon Optimizer 10,000+ 16 ★ 4.63MiB
ATR Finder Pro for TradingView 10,000+ 0 ★ 444KiB
Ranking of Tradingview Traders | Finbeet 10,000+ 3 ★ 210KiB
Pine Optimizer 10,000+ 1 ★ 23.66KiB
TradingView Ideas Prediction 10,000+ 2 ★ 3.23MiB
Profit Sniper Strategy Finder Pro 10,000+ 10 ★ 446KiB
RoboTV 10,000+ 1 ★ 942KiB
TV_Xtractor 10,000+ 2 ★ 442KiB
TVAlertsManager 10,000+ 205 ★ 405KiB
Tradingview - Terminal Leader.Trade 10,000+ 5 ★ 7.01MiB
TV Enhance 10,000+ 2 ★ 102KiB
AlgoPro Optimizer 10,000+ 4 ★ 1.24MiB
TradingView Button 10,000+ 2 ★ 8.48KiB
QuickAlerts 10,000+ 12 ★ 267KiB
Tradingview Alarm 10,000+ 1 ★ 503KiB
The Optimiser - TradingView Strategies 10,000+ 97 ★ 1.82MiB
User reviews
Jozeph Mayson (ID: 000000ead6682c80) Voted 5 ★ - Updated 11/14/2023
Abdullah (Koro) (ID: 00000074309c06df) Voted 5 ★ - Updated 09/04/2023
智明 (ID: 000000c23a46febe) Voted 5 ★ - Updated 08/07/2023
Bekir İlker Süer (ID: 0000004d12ef59a0) Voted 5 ★ - Updated 07/25/2023
Arthur Sergeev (ID: 000000f8e0a45114) Voted 5 ★ - Updated 07/10/2023