@l-andorrà yes indeed, whenever the EA has started it needs to created a horizontal line at 'ASK price' and the second horizontal line is 5 pips below. Whenever the price crosses above the highest line it needs to create a buy position and whenever it crosses below the lowest line it needs to create a sell position.
Something like this but then the correct way...
https://fxdreema.com/shared/Q1yt1pzxd