BUG: Buy/sell triggers not correct in example. Thanks @FerMartin.