@kestra Then you can do this on the 'on trade' tab:

As you can see in this example, I selected the last 5 closed trades to gather the information of the combined profit/loss. You can select any other number you need, of course.
@kestra Then you can do this on the 'on trade' tab:

As you can see in this example, I selected the last 5 closed trades to gather the information of the combined profit/loss. You can select any other number you need, of course.
@darekl Agredd. I had to reject many MT5 indicators in the past for that same reason.
@general-melchett Move the 'partial' word to the 'Name contains' box instead.
@jameshovey85 But the MACD value is a number that need to be realted to current price in some way. How many pips is the SL supposed to be if MACD is 0.06, for example? The EA need to know where the SL needs to be as a price level, not as a MACD level.
@superzhi Do you have any initial fxDreema project to begin with?
@jjtrader You can add this blocks immediately above your 'buy now' block:

Then you will have to mirror it for your sells trades. In this example I requested the EA to search for the last closed trade and then chack that it cas closed at least 120 seconds ago. You can adjust that time as required.
@jerjer1223 If you are working on buys only:
@mr-lenny I'm afraid you will need a programmer to modify the code of the indicator to make it viable on fxDreema. Additionally, I'm afraid it repaints so I recommend NOT to use it.
@reyxv16 Are those pending orders too close to current price? Then the problem is with your broker for programming to close to it.
@kestra Wouldn't it be easier to calculate the profit/loss of the last closed trades instead of storing the maximum balance? If I understand correctly the strategy what you really need is compensating your losses, right?
@archer No problem. We'll help you here.
Can you please share the link to your project? I'll take a look at it.
@archer When you say 'lower open' do you mean open price for a bullish candle maybe? An open price is not the low proce except at the moment of a new candle is formed. And that is apparently what you show in your screenshot. Is that correct?
@pan4pips Can you please share the link to the project?
@pan4pips And what is the problem exactly? I see all numbers are apparently right.