@xbuilder Try this:

@ramisignals Can you please show a screenshot?
@ambrogio That's weird because that block works perfectly fine to me in all my EAs. Honesntly I cannot seen any falw in the logic.
@xbuilder Can you please provide some more info?
@ramisignals You're right, sorry. Substitute the first block by an 'If trade' block.
@lvang1126 Can you please share a screenshot of your fxDReema my indocator's window to check it out?
@albyxx Yes, he told me he fixed it. Is that your case?
@len-1 You forgot to position all variables inside the 'modify variables' block! 
@k4rl0s De nada. Lamento decir que fxDreema sólo sirve para crear robots, no indicadores, lo siento.
@kestra In effect, 'check profit (unrealized)' calculates the overall sum of pips or money for all your open trades right now, but only for the open ones. As they are closed, they are not counted by that blocck anymore.
@tonyramirez said in auto tp:
Maybe someone else can find the problem or propose another way of doing it.
Please tonyramirez do not mix your thread content with other threads.
@tonyramirez They are measuring different things. 'Check profit (average)' calculated the average price of all open trades. This average number is a ponderate average of all profits and losses right now. On the other hand 'check profit (unrealised)' is the arithmetuc sum of all open trades, with no averaging bias. The do not provide the same final number.
@01punchman Can you please share you project?
@xbuilder Could you please provide some more info?
@shack11 This is the easiest 'cooling' period structure:
https://fxdreema.com/shared/uQiDJkvyc
You need to create a boolean variable (see block 3). Then you need to add a 'condition' block as per block 3 on top of your launching tree. Immediately after it you change the caondition into 'false' so that no new trades will be open while the coolin period is active.
@ramisignals What message box? There isn't any in the project? Did you create it?
@l-andorrà Sorry to insist, but are you multiplying periods 3 and 2?
@sovpips Can you please provide some more details? At the bottom/top of what?