# Compiler messages: where things may go

> AlgoBarsX compiler messages about where things may go, with what each code means and the real message where there is one: AS0401, AS0402, AS0403, AS0404, AS0405.

Source: https://algobarsx.com/docs/diag-where-things-may-go/

###  AS0401 `wrong_script` error

buy places or manages trades, which only strategies do. Use this indicator in a strategy instead.

###  AS0402 `management_placement` error

breakeven only works inside the management block of a buy or sell. Indent it under the entry.

###  AS0403 `pure_function` error

Only action functions can place or change orders; write action fn f.

###  AS0404 `needs_tick` error

on tick needs evaluate: tick in the header.

**Quick fix** Add evaluate: tick to the header

###  AS0405 `library_content` error

A library holds functions, types, enums and constants. Move this into a strategy, indicator or alert.
