CS2006
error name has no parameter named param.
#What it means
A named argument (a key of the options object { name: value }) uses a name that the function does not have as a parameter.
#Typical cause
- A typo in the parameter name.
- A parameter name from a different function, such as
sizeonplot(a plot's thickness islinewidth).
#How to fix it
Use the parameter names shown in the reference or the editor's hover.
#Example
//@chartscript 1
indicator("Thick close", { overlay: true })
plot(close, { size: 2 })Fixed
//@chartscript 1
indicator("Thick close", { overlay: true })
plot(close, { linewidth: 2 })