Compiler messages: names and types

AlgoBarsX compiler messages about names and types, with what each code means and the real message where there is one: AS0201, AS0202, AS0203, AS0204, AS0205, AS0206, AS0207.

AS0201unknown_nameerror#

crosses_abve isn't a function. Did you mean crosses_above?

Quick fix Change to crosses_above

AS0202duplicate#

AS0203future_valueerror#

close[-1] would read a future bar. History counts back from the current bar: close[1] is the previous bar.

AS0204type_mismatcherror#

+ needs numbers, but this combines a price and text.

AS0205not_callable#

AS0206bad_argumenterror#

length must be at least 1.

AS0207missing_argumenterror#

crosses_above needs b (series or level crossed).

AS0208unknown_membererror#

top isn't a field of Bands.

AS0209read_only#

AS0210used_before#

AS0211unknown_type#

AS0212bad_return#

AS0213bad_loop_control#

AS0214unknown_settingerror#

max_opn isn't a strategy setting. Did you mean max_open?

Quick fix Change to max_open

AS0215bad_setting#

AS0216unresolved_import#

AS0217not_iterable#

AS0218unknown_eventerror#

on candle isn't an event. Events are start, bar close, tick, fill(order), exit(trade), session open, day change and render(canvas).

AS0219input_not_fixed#

AS0220nested_declaration#

Try this in the Terminal. AlgoBars is free: $0 a month, no card needed.

Create my free account