Syntax
Names
Types and qualifiers
Arguments and scope
Compile-path-only rules
These pass the editor’s check and fail when the script is added to the chart (the phases are in The editor).indicator("Mintick", format=format.mintick) gives, when adding to the chart: The format argument of indicator() only accepts format.inherit, format.price, format.volume, or format.percent. Got format.mintick. The same phase refuses a plot or hline format other than format.price, format.percent, format.volume; any display but display.none and display.all on fill, barcolor, bgcolor; an indicator() title over 128 characters; and input.time(timestamp("2024-01-01")), since timestamp() is na there (Argument defval of input.time() cannot be na.): give milliseconds; and a length above 500 in talib.ema, macd, bbw, kc or kcw (the history message on Limits); and a switch inside a called function, which is refused with only Not Implemented (use if).