Can someone create this simple EA to automatically set a SL?

I need something that adds a SL to each opened trade automatically and considers the spread. If SL value is 10 pips and actual spread 2 pips, it will create a SL of 12 pips.

Compared to regular stop loss EAs, the Bid/Ask values need to be switched, to add the spread into the SL.

For sell orders it would be ASK price(BUY button) + /PLUS/ SL value.
For buy orders it would be BID price(SELL button) - /MINUS/ SL value.

TP is not important, it should only have the SL function. If there is a TP function, there should be an option to disable it.

Thanks!

Problem solved, no need to reply anymore. :slight_smile: