This EA never loss.But it has got a few bug.
First and second order's lots are replication.
They must be different.
For example: First order is 0.01 lot Buy
Second order is 0.02 lot Sell
But this EA First order is 0.01 lot Buy
Second order is 0.01 lot Sell
İt runs only 1 TP and It stop work.It needs reload EA.
Happy New Year.
followed by the following code. Make sure to delete those duplicates at the end of the EA.
PozisyonAc(Symbol(),OP_BUY,LotMiktari,MagicNumber, 1, "L1Buy_1");
PozisyonAc(Symbol(),OP_SELL,LotMiktari,MagicNumber, 1, "L1Sell_1");
this should work.
how long have you tried out this strategy? any statements to show? like half a year? i have tried something similar but martingale strategies dont really work well for smallish account.
Ea's work strategy this.
This strategy not only Martingale.And you work GBPUSD.
You need 5000$+ for surety.
Can you share ready ea?
Bug 1 Fixed
I can't backtest because Ea complate 1 order and later stop.We need reload ea.I can't fix Bug 2
Can you help?
sorry but i am not a coder. may be anyone in the forum can do that?
What is your advice_
Since you are not using stop loss or take profit, the thing you have to check is your closing logic. Your EA is opening orders as it should (as I can understand it) but conditions like this :
are probably preventing your EA to close positions (I am not sure that that line can be true in any condition). Check that and I think you will find a solution
Sorry, I must revoke what I told : this is your EA that opened and closed a bunch of positions, so it works OK. As you see it is opening multiple positions and closing them too.
What seem to be the problem is that Process variable never receives status "AlisAc" or "SatisAc" once when orders are closed. Check those