@khalids222 Then you need to do this on the 'on Trade' tab (for buys in this example):

@khalids222 Then you need to do this on the 'on Trade' tab (for buys in this example):

@mizan3005-0 Are you sure you want a martingale? They are never profitable in the long run.
@waynehan Blocks 4, 5 and 6 should be in a separated block tree, not as they are connected now.
@laudable222 Obviously the problem is the indicator. Do you have a mq5 version of it instead of the ex5, please?
@jstap Here you have it:

In this example, the pending order will be set at candle Id 1's close price.
@khacdiepvnc Do you really want a martingale? They are not profitable in the long run!
@cdwilder1 Impressive works from both of you. Congrats!
@er-arpit09 Try this:
https://fxdreema.com/shared/jFQ9jhBcc
You can specify the TP distance in pips in the block at the bottom
@cdwilder1 Not in the position you are asking for, I'm afraid. You can get that same result by creating a whole structure with several blocks.
@haidang8055 I'm afraid this is not my field of expertise, sorry. Maybe miro or any real programmer could help with that.
@laudable222 Can you please share your project?
@haidang8055 Can you please share the link of your project instead of the file?
@mizan3005-0 Some more infor would be appreciated. What do you exactly need?
@stijn Here you have it:
https://fxdreema.com/shared/1KiLR58nc
Let me know if that is what you need.
@gtoat777 No problem. I can help you. Did you try bigwave1's indocator?
@waynehan Can you please share your project?
@khalids222 Ok. Then you mean that there cannot be any other open thrades meanwhile. Correct? Once that trade is closed a new one should immediately open. Correct?
@kookser Just create as many variable to store those values as you need so that the can be used later.
@mauro0425 I thinh this tutorial may help:
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
@thilinawiz-0 You need to create them here:

Take a look at this first:
https://fxdreema.com/instructions/builder/constants-and-variables