Are you sure you correctly emulated all input parameters and buffers as explained in this tutorial?:
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
Are you sure you correctly emulated all input parameters and buffers as explained in this tutorial?:
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
@zedeai2 Then you need to use this block on top of 'For each trade':

Martingales never work in the long run. I strongly suggest you to fins an alternative approach to the market. That said, do you have an initial project to begin with?
Yes, but as I explained, there is no guarantee it will stop exactly at $40.00 all the time. That will depend on the quote arriving to the terminal when conditions is true.
@Crispypata You can build an equity protector by using a general structure like this:
https://fxdreema.com/shared/LHZfs3gvb
In my example, the bot is blocked when some profit is hit today and will be switched on tomorrow. You can use it for a max daily loss too, of course.
I don't think anyone here would do that. What you are requesting is an extraordinary effort even for experienced programmers. Just my opinion.
The end time of your time filter block needs to be later that the start time. This is why it doesn't work.
@roar Just curious. Could I use this custom code to confirm if a trade was open in any candle different from the current one, ie on candle ID 1 or bigger?
You will need a programmer to do that. No block in fxdReema can do that.
Let's move step by step. Can you please share the link to your last version of the project? I will take a look at it.
Yes, it is as far as those new symbols are correctly specified on your bot.
Then you do not need a full EA, just a bot to close all trades opened bu a different EA, right?
@benjaminkudumpal In general, 'visible' means that is available on the chart all the time uninterruptedly whereas 'apperar' means the opposite. It can be visible or not at different moments in time.
Me alegro de que lo hayas solucionado. Felicidades. 
Well that depends on what 'first order' means How many orders will there be between the 'first' one and the one you want? 1, 5, 10 or 100?
@Campero Easy. You can select an indicator as your initial take profit by doing this:

However, you will have to be sure that this makes sense, because the TP for a buy needs to be ABOVE current price when the trade is open. Otherwise the MT4 will not be able to execute it.
Because you selected profit should be >40 and 50 is above 40. That means occasionally when there is a sudden move in the price your profit will be beyond that figure.