I just found a bug today in this EA. It modified one of my manual orders. I'm looking at it right now and it seems like it doesn't check the magic number before it modifies orders.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Bug in coding
I just found a bug today in this EA. It modified one of my manual orders. I'm looking at it right now and it seems like it doesn't check the magic number before it modifies orders.
Bug fixed
I fixed the problem with magic number checking prior to modifying orders. I'll upload it in a little bit.
Bug
Unfortunately the bug that I found will affect every order that is placed on the account along with this EA.
Here is the fixed EA.
Open trades:
Open trades for this EA right now:
It is the situation right now:
All the orders were closed.
And for this week:
+1098 pips
or
7,806.42 dollars.
-------------
Calculation using the forward results since September 2006
Max drawdown
for EURUSD: 17.15%.
for GBPUSD: 13.56%.
For GBPUSD:
Profit factor 1.69
pips 2,400.
dollars 17,446.93.
All the orders were closed.
And for this week:
+1098 pips
or
7,806.42 dollars.
-------------
Calculation using the forward results since September 2006
Max drawdown
for EURUSD: 17.15%.
for GBPUSD: 13.56%.
For GBPUSD:
Profit factor 1.69
pips 2,400.
dollars 17,446.93.Which Envelope EA are you testing? I've seen quite a few different versions.
2.11 from here https://www.mql5.com/en/forum/176044
I am testing this one https://www.mql5.com/en/forum/173366/page13
Envelope, open trades right now: