pre-set stop loss and take profit

 
Hello guys, I couldnt find any example on codebase.

I'm pretty sure there is something out there about this.

A simple interface with two textboxes where you can define stop loss = 200 and take profit = 300 (for example)

and when you enter an order at market price (both values, sl and tp go along with the execution)

Is there such code  (no propaganda on here please) I would just appreciate a guidance so that I don't need to work on something that already exists.

Or if I have to code it myself, do you have any draft to start with?

Thanks a lot.
 
Pablo Jaguanharo Carvalho Pinheiro:
Hello guys, I couldnt find any example on codebase.

I'm pretty sure there is something out there about this.

A simple interface with two textboxes where you can define stop loss = 200 and take profit = 300 (for example)

and when you enter an order at market price (both values, sl and tp go along with the execution)

Is there such code  (no propaganda on here please) I would just appreciate a guidance so that I don't need to work on something that already exists.

Or if I have to code it myself, do you have any draft to start with?

Thanks a lot.
https://www.mql5.com/en/articles/2281
You mean this?
Reason: