__Please, make some project that contains only these blocks (or only blocks that are needed) to show the problem that is. This project contains almost 100 blocks. I don't know it's logic. When I put it to work I can see many trades created, but I don't know why and I don't know what to look at. I'm just lazy to even try to understand how this project works, sorry 
Otherwise you can also use "Comment" or "Trace" to see the value of any Variable realtime. I'm pretty sure that you are capable of finding the problem. Or at least the block that does not work as expected. And this is all I want to know. I want to know if there is a block that does not work as expected, and which one is it :)[/quote:zznbsszj]
I don't know how to create something that is not already what it is. I'm not trying to be difficult or lazy, I just wouldn't know how to configure something else.
There is nothing up top that really matters of needing to know how it works other than to know that there are blocks that have a fixed TP of 10 pips and others under certain fixed conditions there are blocks that will close trades at -10 pips.
The scenario is simple. The start date of the backtesting 29.01.2016 on GBPUSD that I am looking at which I think this will simplify it all.
The EA will take trades +10 pips and - 10 pips in some places and all I want it to do is look at the last 3 closed trades.
At some point, the EA will be looking at the profit (unrealized) of both buys & sells. Under a normal configuration, if all (unrealized) profit is greater or equal to 10 pips as a sum of all open trades regardless of lot size or position calculated by P/L it would close all positions.
This particular configuration, I just want it to do the same but also take in consideration the last 3 trades.
I should have made it clearer as when I said 6 blocks but actually it is 12, 6 blocks on each side.
Only one side of the project trades in any given time so far.
The configuration I have used was to look at last 3 trades closed, calculate what is unrealized profit - last 3 trades closed and close all trades when unrealized profit - last 3 trades closed = 10 pips as a sum of P/L buys & sells regardless of lot size or position on the chart.
During the backtest, the last 3 closed trades were +10 pips, - 10 pips and +10 pips for a net sum of + 10 pips.
So, when the (unrealized) profit is calculated, I want it to take in consideration that it only needs to close 10 pips lower that a normal (unrealized) profit close.
What I have done in my current project is remove the 6 blocks I was talking about in order to replicate the normal circumstances of the trade close without taking any previous trades closed in consideration.
I have decided not to put the 6 blocks back as I see it pointless for you to look at if it doesn't do what it needs to do in the EA but this is the description.
Please do not be distracted by all the blocks as the left side only does the same thing as the right but in an opposite sense. One is for an uptrend and the other is for the downtrend.
......
Screenshot_1.png
Screenshot_2.png