How to create a trading bot in Meta trader 5 | Expert advisor | Algo trading

PROMPT:

create an MQL5 code for my strategy

Strategy
When i attached EA to the 15m time frame chart it must plot 5 EMA (shorter ema ) and 11 ema (longer ema) on the chart based on the previous candles. And when the 5 ema crossed the 11 ema from the bottom market BUY entry is placed and the stoploss is below the recently closed candle . Risk per trade is 1% of the balance. And risk reward is 1:3. When the priced moved half of the target SL is moved to break even.
In the same way for sells. When the 5 ema crosses 11 ema from the top then take market sell order with the stoploss above the recently closed candle high. Risk per trade is same and is 1% of the balance. Risk to reward is also same 1:3. Breakeven logic is also same. When price moved half , move the SL to breakeven.

Entries must be taken only after the ema cross over is completed

EMAs must be drawn according to the chart time frame

EA attachment time should not matter. Everything is based on chart candle timing

Required inputs:
Chart time frame : 15m
Shorter EMA: 5
Longer EMA: 11
RISK per trade : 1% of balance
Risk to reward: 1:3

instagram id : tendul_siva