Can a price breakout be programmed

Anything can be programmed as long as you have fixed set of buy/sell rules which can be quantitatively defined. As far as price breakout is considered, below is an interesting AFL based on support resistance breakout:

If you have any specific breakout strategy in mind, please let me know.