@mieyhr I like to use pips rather than price fragments. So how I do it in my projects is:

on Init tab: create a custom MQL code block. Create an double variable (here: dPipsMultiplicator)
enter the foloowing code:
//
dPipsMultiplicator = MathPow(10,_Digits-1);
//

0_1570549247905_1f3c0522-ce09-4263-a888-847b18353719-image.png

Create 2 double constants (here: cdSLAtrMult and cdTPAtrMult), so you can change the multiplicator from the EA settings.

0_1570549218065_06a9d012-4a63-4764-ba7d-504191afdcb6-image.png

on Tick: Create the following sequence

0_1570549330318_a396f950-c1cb-4f53-aecd-00a1502c9c29-image.png

I created a comment block that shows me the values of the variables and it looks like that on the chart:
0_1570550605492_8e800196-8c30-44cc-8d28-eaeb9946eecd-image.png

Finally you can use the SL and TP eg in a modify Stops block like that

0_1570550640659_13878391-08b2-4930-b155-6c8a1a13ed0f-image.png

As I took the parts from my actual project, the last part isn't tested, yet. But I think it will work like that.