Looking for an MT4 EA / Script to do the following;
when a trade is executed above a user definable size it will then close all open positions of that pair that are below a user definable size.
eg:
EA is set to close positions below 0.05 when a new position of over 0.06 is opened
there are 6 X open sell positions on USDJPY at 0.04
a new position is opened at 0.7
the EA will close the 6 X positions that are 0.04
inputs:
max size of positions to be closed
min size of the position to trigger close
magic number of positions to be closed
magic number of trigger position to trigger close