Oh ok, “badtrades” seems to be the name of a variable in this case, it is not a specific instruction name in version 11! 😉
Once again, i’m sorry but I don’t know what code you are referring to? Could it be one of the martingale code that are present in the ProOrder/ProBacktest documentation?