This bot on MT5 opens trades when the 10 and 40 EMAs cross, only if the price is above the 200 EMA. The risk is calculated automatically using the available balance and the Stop Loss is set at the low of the last 20 candles. A real example of step-by-step automation.
#trading #algotrading #metatrader