PyneComp v6.0.59 — invalid argument lists in a Pine call are now reported as compile…

Fixes

  • Passing an argument without a parameter name after a named one — hline(overbought = obLevel, "Overbought", color = color.red) — used to compile successfully and hand you back a script that could not run at all. It is now reported as an error on the offending argument, exactly as TradingView rejects it.
  • A keyword argument no built-in has — hline(70, "Overbought", overbought = 5) — used to compile and only fail once you ran the script. Misspelled argument names such as ta.ema(source = close, len = 10) or strategy.entry("id", strategy.long, stoploss = 5) are now caught at compile time, in the editor as well as through the API.

This website uses cookies and similar technologies. By continuing to use the site, you accept this. Details in our Privacy Policy.