Topic: Issue with position adding changing existing TP and SL levels
When testing position adding strategies in MT4 created by FSB Pro, the EA will change TP and SL levels of other open trades in the same direction, instead of simply adding to the position and leaving the SL and TP levels alone. This causes the other trades to have closer stop losses and further away take profits meaning many existing open trades become much more likely to close out and lose.
What is the workaround for this? I watched Popov cover this in a video once but I can't find the clip anymore after much searching. Is this simply a limitation within MT4 that you can't add to positions? Does MT5 fix this problem?
Here's an example from my log file in MT4:
0 07:58:11.270 '24536583': order sell market 0.05 GBPUSD sl: 1.32436 tp: 1.28586
0 07:58:11.691 '24536583': order was opened : #1878232 sell 0.05 GBPUSD at 1.31227 sl: 1.32436 tp: 1.28586
0 09:59:56.498 '24536583': order sell market 0.05 GBPUSD sl: 1.33054 tp: 1.30409
0 09:59:56.950 '24536583': order was opened : #1878480 sell 0.05 GBPUSD at 1.31473 sl: 1.33054 tp: 1.30409
0 09:59:56.950 '24536583': modify order #1875382 sell 0.05 GBPUSD at 1.30368 sl: 1.31998 tp: 1.29353 -> sl: 1.33054 tp: 1.30409
0 09:59:57.387 '24536583': order #1875382 sell 0.05 GBPUSD at 1.30368 was modified -> sl: 1.33054 tp: 1.30409
As you can see the new position (at 09:59:56.498) causes the first sell order's to be modified to the new TP and SL levels.
This obviously causes the first position to be disadvantaged with closer than normal SL and further away TP meaning that it is more likely to cause a loss.