@borhanEA You can do it this way:

@borhanEA You can do it this way:

@borhanEA You can do it this way:

Not sure I fully understand. If you already got both L0 and H0 lines, which candle is the one you are looking for exactly? A new L0 or H0 will immediately draw new lines.
Definitely a programmer is needed here. I guess ambrogio is right. It is not the fxDreema part that is not working right.
The you can import an ex4 indicator and try to emulate the buffers as explained in this tutorial:
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
However, it is not working 100% guaranteed.
@Chandler Are you completely sure the indicator doesn't repaint? That is the most common issue with custom indicators in fxDreema.
@govorushka In this example all trades will be closed exactly 1 hour after they were triggered:

@Spenza42 Did you check if the indicator repaints? Because if it does, the bot is doomed.
Does it happen on all your project or just one?
Is the EA using a custom indicator that is not available in your custom indicator pool maybe? If you can import it normally but cannot export it the most common issue is that or the use a some custom code calling for an external library, for example.
You need to use a custom indicator searching for those divergence. There is no fxDreema block doing it.
@saeed123 You should not use variables on the '?' box. You should manually type '*ATR_SL' instead.
Probably the bot's code is corrupt. I know this can be frustrating but you should try to rebuild the project from scratch.
In 99% of cases that means the indicator DOES repaint. You should confirm it happens by creating a small EA just drawing an arrow on the chart every time the indicator's buffer is confirmed. You'll be surprised of the result when you test it.
What do you exactly mean by '1st'? Do you maybe mean the 'immediately previous' trade?
Do you mean watching all open prices on the chart at the same time?
There is no quick way to implement that. It is an ambitious project. I' don't think many users here would be ready to do it for free. 
@nasserminaei You will need to use blocks on 2 tabs as jstap suggested: oninit, on chart and deinit. Like this: