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!
Getting the Highest High and Lowest Low This line of code is telling Pine Script “Create me a variable named 'highestHigh'. Then use the built-in function 'highest()' to search through the past 100 candles to find the highest candle high and assign that value to my variable.”
To open it, click on the Pine Editor tab at the bottom of your TradingView chart. This will open up the editor's window. We will create our first working Pine script. Start by bringing up the “New” dropdown menu at the top right of the editor and choose Blank indicator script.
On TradingView, strategies are calculated on all the chart's available historical data (backtesting), and then automatically continue calculations when real-time data comes in (forwardtesting). By default, during both historical and real-time calculation, code is calculated on the bar's close.
TradingView has designed its own scripting language called Pine Script. It allows users to create custom indicators and run them on our servers. Pine was designed as a lightweight language focused on the specific task of developing indicators and strategies.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With