You're right. Just connected it with "Once per bar" and it works as expected.

P.S. Anyway I suppose that "Once per tick" should be the default behaviour, because "Sell" was in "onTick" tab.