3

In AmiBroker there is optimize option. It allows you to fine tune values for indicators or even any other parameters. Is there anything like that in pine script? couldn't find it easily using google.

Pravin
  • 35
  • 4
  • Do you mean changing the indicator's input parameters? – vitruvius May 20 '20 at 08:59
  • Yes, changing indicator parameters. PineScript should check permutation combinations of the parameters. e.g. Let's look at simple example, I want to trigger buy/sell when 5ema crosses 13ema and book the profit in 15 points and loss in 5 points. Now I want to find out whether this 15 point is right or should it be 11 or 12, or 13 or 14...also what should be the better SL points. – Pravin May 26 '20 at 19:24
  • No automatic optimization option available in pine script. – Devil predic Mahal Mar 30 '21 at 17:25

3 Answers3

0

No. Can't be done automatically yet on TV. Adding the feature is being considered though.

PineCoders-LucF
  • 8,288
  • 2
  • 12
  • 21
  • 1
    This is one place where you can vote on the concept, but TV is aware that it's a highly-requested feature, as are hundreds of others, so it's a matter of getting to it. While there is no ETA yet, it's a safe bet to assume it will happen at some point: https://getsatisfaction.com/tradingview/topics/platform-for-building-back-testing-optimizing-and-deploying-automated-trading-systems – PineCoders-LucF Oct 07 '20 at 16:47
  • 1
    Any updates on this feature. The request link is down. Other solutions?? – Edward Jan 26 '22 at 21:53
  • It still can't be done on TradingView. It's been discussed but it's not in the dev pipeline yet, so no ETA. – PineCoders-LucF Jan 30 '22 at 06:45
  • Any update on this? can u pl provide ETA? – Pravin Feb 08 '23 at 01:05
  • There is no ETA yet. – PineCoders-LucF Feb 09 '23 at 14:16
0

there are private chrome extensions. just a couple months ago there were some public versions but TV has started banning people and finding ways to shut down the extensions ability to properly see and feel the page

0

No. There is no optimization in Pine Script and no plans to add it. Here is the reply I got from support about this (on 23 February 2023):

"We currently have no plans to integrate machine learning or strategy optimization features, but we do plan to add a feature that will allow you to read external data sources from Pine, including .csv files"

Moebius
  • 329
  • 1
  • 7
  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/33923144) – e2e4 Mar 01 '23 at 13:06