Compiler messages: units and risk

AlgoBarsX compiler messages about units and risk, with what each code means and the real message where there is one: AS0301, AS0302, AS0303, AS0304, AS0305, AS0306.

AS0301r_outside_trade#

AS0302bare_numberwarning#

stop 25 has no unit. Did you mean 25 pips?

Quick fix Use 25 pips · Use 25 points

AS0303r_without_stoperror#

2R needs a stop to measure from. Add a stop to this trade, such as stop: 20 pips.

AS0304risk_without_stoperror#

Risk-based size needs a stop to measure risk from. Add a stop, such as stop: 20 pips.

AS0305percent_baseerror#

1% of what? A percentage needs a base here, such as 1% of 20 pips.

Quick fix Use 1% of 20 pips

AS0306incompatible_units#

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

Create my free account