Names that do not exist
Habits that have a Lipi spelling (
array.size, timeframe.*, chart.point, plot.style_*, color.pink, str.format, ^, ;,
x = if ..., a function that sets a global, a field read off a call) are in
Names and conventions, which holds the full table of them.
var is not a valid type in variable declaration. Write static int count = 0.
request found. There is no way to read another symbol or interval.
Punctuation and operators
Forms the compiler refuses
Things that look wrong but work
ta.sma(...)andtalib.sma(...)are the same namespace.and,or,notand&&,||,!are the same operators.stepmay be a named argument:input.int(20, "Length", step=5).- A function may be declared with
funcor with no keyword:half(float a) => a / 2. (defdeclares a method; see Your own functions.) x == nacompiles but warns; writena(x).