Here is my short video from testing machine learning trading bot.
Depending on fulfill conditions it starts back/lay or lay/back trading session, or no trade is executed at all.
I have tested four different ML models. At the end of my video is some hint for those who prefer criteria based bot triggers. In such case Naive Bayes or Logistics Regression can be used to evaluate your criteria.