Bot with spread

I can do forex with spread, but spread with very high value is difficult for me, how can I program myself a bot that only makes opening orders, when the spread is less than 12?
Jorge Merck: how can I program myself a bot that …

You learn to code and program it to do that.