@abasali This should work, but I never tried:

@abasali This should work, but I never tried:

I'm not sure I fully understand. Do you mean comparing the price of a recently closed trade with the current candle's open price maybe?
@Humble_Fx It needs to be a separate tree AFTER all the previous ones have been executed in 'on tick' tab.
@l-andorrà You can store the UNIX time value of the open trade into a variable. Then add the required time period (in UNIX format) to that variable value and finally you can do something like that:

@kestra Then you need a custom structure using variables. You can find some inspiration with my custom martingale project doing exactly that:
@Kongpatchara As you can read in the post on top of yours, it cannot be open in fxDreema, sadly.
@DROGO Not that way. What I'm saying is that brokers do not apply the same rules on backtest and on real. I've experienced that myself MANY times. What you should do is trying other brokers in demo and reals to check it out. You'll be surprised.
@smille99 Then you can use this block immediately after the one limiting the max number of trades:

This block will recognize this symbol can still open trades.
Does the indicator work normally on your MT4 platform? I mean, can you import DLL files normally there?
You're welcome. That is what I'm trying to explain in your other thread. 
@s00071609 The admis definitely replies if you paid a full subscription. Sadly he can take up to 3 weeks to do it. 
You will need to use a variable like this:
No. Because of the 'once per bar' block on top, block 842 is irrelevant at all effects. What do you exactly need?
@smille99 Are you using the same bot on different charts or one only bot on one only chart?
@Humble_Fx You can do something like this, for example to close all trades when equity is 3% in profit right now:

@Humble_Fx As jstap said, you need to import the indicator as a custom indicator on fxDreema. Then you can use it normally as explained here:
https://fxdreema.com/documentation/builder/indicators
However, sktsec is also right. Many indicators repaint. If you indicator does it, the bot is doomed.
@nasserminaei You can use UNIX time to calculate that minimum time to happen after the last trade was closed. Are you familiar with using UNIX time?
@kestra I'm not sure I fully understand what you mean. Is your first question a question to me or to the thread title?
I guess you want to add a martingale structure to your bot. Is that what you mean in your previous question?