How to optimise parameters in a TradingView Pine script? [closed]
Asked Answered
T

3

11

I want to optimise indicator parameters in a TradingView Pine backtest. This is possible with other tools, but when I search for this functionality in TradingView I don't find anything. Can anybody please help?

If it isn't possible in TradingView, then is there a way of doing it with another tool?

Thanks in advance!

Telecommunication answered 26/2, 2018 at 23:41 Comment(3)
The only way I have found to do this was to make a script that programmatically presses the up/down buttons to change the parameters, checks the backtest results, and moves on to the next param when it has not received better results after a couple presses. I would share the script but unfortunately I lost it on a destroyed computer.Tied
Leave a feature request with TradingView anywhere you can - GetSatisfaction, Reddit, and of course via their support ticketing system.Retainer
@MikeFurlender manually making change and re-testing all the time consumes a lot of timeMylohyoid
S
4

There is a TSLab software package that is designed to create trading robots. The kit has an intuitive interface for writing trading strategies, it allows you to automate optimisation the selection of parameters for running strategies using historical data.

The program is free if you do not need to run the robot for real trading. Automatic optimisation of parameters for strategies will be available without restrictions.

Showthrough answered 19/1, 2021 at 12:29 Comment(2)
How can we run pine-script code on top of TSLab datasets?Mylohyoid
@alper, no way (or at least I do not know of such possibilities). In TSLab, you need to create a similar script.Showthrough
B
0

Not available now for version 4, I believe. Using AutoIt or similar software is just a temporary but inefficient solution.

Belanger answered 12/9, 2019 at 4:50 Comment(0)
G
-1

TradingView Strategy Finder (1.1.5) It´s a chrome plug in, and it does what you need.

Gaius answered 18/1, 2022 at 12:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.