This is a fully automated trading algorithm used in one of my Base 2 Tecnologia presentations.
if RSI indicator is lesser than 30
if RSI indicator is greater than 70
if price reachs stop loss or take profit, which is fixed iniatially in 150 points.
The number of contracts, stop loss and take profit levels can be changed by the user directly on MetaTrader 5.