Hi dear coders,
I found this EA posted in the mql5 forums. It is a basic tunnel martingale ea that opens a random position with certain SL/TP and then reverses it if the SL was hit with a lot size multiplier till it hits the TP and starts all over. The ea is working fine, however, it works as intended only at one chart at a time, for some reason it does not work properly when attached to multiple charts at the same time (even though i have changed the magic number on each chart). If lets say the EURUSD position closed in a loss it multiplies the lot size for other currency pairs and does not open position and all charts attached.
I would really appreciate if someone could have a look at the ea logic and finds out why that happens and how to fix it.
Thanks in advance.
P.S. The EA is working perfectly as described if attached to one chart only, so feel free to play around with it if that suits you.