Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
Some progress indeed - thank you! I have it and it opened this window. I tried pasting the folder there but it didn't work. Can't also seem to be able to access my computer's files through there. What now?View attachment 24255
If you control-click on the Experts folder there (in the Navigator) does it let you open the folder? Is it the same one where you paste the Account Protector folder?
Screenshot 2023-06-21 134301.png
 

Cherryc44

Newbie
Jun 21, 2023
1
0
1
26
I was able to figure out how to set the daily drawdown but is there a way to configure an absolute or maximum drawdown? Not a drawdown for during just the day but an overall account drawdown
 

Spice

Trader
Jun 21, 2023
10
0
6
37
If you control-click on the Experts folder there (in the Navigator) does it let you open the folder? Is it the same one where you paste the Account Protector folder?
View attachment 24256
Yes I can see exactly what you show in your screenshot. Upon clicking "Open Folder" it opens the classic Finder folder I first told you about though =/

Screenshot 2023-06-22 at 6.56.21 AM.png
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
Yes I can see exactly what you show in your screenshot. Upon clicking "Open Folder" it opens the classic Finder folder I first told you about though =/

View attachment 24257
But is it the same folder that you opened before? This one doesn't have an Account Protector folder as far as I can see.
 

Spice

Trader
Jun 21, 2023
10
0
6
37
But is it the same folder that you opened before? This one doesn't have an Account Protector folder as far as I can see.
Yes it is the same folder. It doesn't show the Account Protector because I deleted the folder and re-put it there to see if that would work. Too the screenshot in-between doing that. I just put the folder back, did al the refreshing and restarting, and it still looks the same...
 

Attachments

  • Screenshot 2023-06-22 at 4.16.14 PM.png
    Screenshot 2023-06-22 at 4.16.14 PM.png
    19.1 KB · Views: 1
  • Screenshot 2023-06-22 at 4.18.12 PM.png
    Screenshot 2023-06-22 at 4.18.12 PM.png
    209 KB · Views: 1

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
Yes it is the same folder. It doesn't show the Account Protector because I deleted the folder and re-put it there to see if that would work. Too the screenshot in-between doing that. I just put the folder back, did al the refreshing and restarting, and it still looks the same...
Are you running it under Wine or is it a normal macOS MT5 installation?

If it's the former (Wine), you'd need to navigate to the Program Files folder of your Wine drive_c and find the installed platform there and then copy the files to the \MQL5\Experts\ folder there.

If it's the latter (native macOS app), try the following method:
  1. Run MetaEditor.
  2. Close all windows in MetaEditor.
  3. Drag and drop the Account Protector.mq5 file to MetaEdtior.
  4. Select File->Save As and save it to the proposed folder.
  5. Repeat steps 3-4 with the three remaining files.
  6. Return to the Account Protector.mq5 file in MetaEditor and try compiling it.
Please let me know if any of this works for you.
 

Spice

Trader
Jun 21, 2023
10
0
6
37
Are you running it under Wine or is it a normal macOS MT5 installation? If it's the former (Wine), you'd need to navigate to the Program Files folder of your Wine drive_c and find the installed platform there and then copy the files to the \MQL5\Experts\ folder there. If it's the latter (native macOS app), try the following method:
  1. Run MetaEditor.
  2. Close all windows in MetaEditor.
  3. Drag and drop the Account Protector.mq5 file to MetaEdtior.
  4. Select File->Save As and save it to the proposed folder.
  5. Repeat steps 3-4 with the three remaining files.
  6. Return to the Account Protector.mq5 file in MetaEditor and try compiling it.
Please let me know if any of this works for you.

Thank you for getting back to me, and apologies for the late reply.

I am running MT5's native MacOS version, downloaded directly from their website.

I just clean deleted the app, reinstalled it, and followed your instructions.

Upon clicking compile I get a bunch of errors. Below are the screenshots of what I saw during the process.
 

Attachments

  • Screenshot 2023-06-28 at 8.46.47 AM.png
    Screenshot 2023-06-28 at 8.46.47 AM.png
    6.3 KB · Views: 1
  • Screenshot 2023-06-28 at 8.46.03 AM.png
    Screenshot 2023-06-28 at 8.46.03 AM.png
    306.2 KB · Views: 1
  • Screenshot 2023-06-28 at 8.45.53 AM.png
    Screenshot 2023-06-28 at 8.45.53 AM.png
    294.1 KB · Views: 1
  • Screenshot 2023-06-28 at 8.45.43 AM.png
    Screenshot 2023-06-28 at 8.45.43 AM.png
    288.1 KB · Views: 1
  • Screenshot 2023-06-28 at 8.45.15 AM.png
    Screenshot 2023-06-28 at 8.45.15 AM.png
    289.8 KB · Views: 1
  • Screenshot 2023-06-28 at 8.47.41 AM.png
    Screenshot 2023-06-28 at 8.47.41 AM.png
    52.9 KB · Views: 1

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
Thank you for getting back to me, and apologies for the late reply.

I am running MT5's native MacOS version, downloaded directly from their website.

I just clean deleted the app, reinstalled it, and followed your instructions.

Upon clicking compile I get a bunch of errors. Below are the screenshots of what I saw during the process.
All the files have to be saved in the same folder (Experts). It looks like you were saving the .mqh files into Include.
 
  • 👍
Reactions: Spice

Spice

Trader
Jun 21, 2023
10
0
6
37
All the files have to be saved in the same folder (Experts). It looks like you were saving the .mqh files into Include.
That did it. THANK YOU! You're awesome.

Does this EA (or any other you know of) have a function that only allows me to enter a position when spread is below X pips?

I usually trade market orders, but I only want the EA to execture the position once the spread is under X. The idea is to click "buy market order" just once and have the EA only execute it once the spread is below X.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
That did it. THANK YOU! You're awesome.

Does this EA (or any other you know of) have a function that only allows me to enter a position when spread is below X pips?

I usually trade market orders, but I only want the EA to execture the position once the spread is under X. The idea is to click "buy market order" just once and have the EA only execute it once the spread is below X.
No, I don't have such an EA, but you could probably modify the Timed Order EA to do that if you know some coding:
https://www.earnforex.com/metatrader-expert-advisors/Timed-Order/
 

Spice

Trader
Jun 21, 2023
10
0
6
37
Hello again.

I used to be able to place a trade using this EA by pressing "escape" and clicking on my desired entry and SL, with a preselected size. Was this changed or am I missing something?

Thanks in advance.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
I used to be able to place a trade using this EA by pressing "escape" and clicking on my desired entry and SL, with a preselected size. Was this changed or am I missing something?
You are probably confusing the Account Protector with some other EA. It was never meant to be able to open any trades.
 

Forex Jedi

Newbie
Jun 9, 2023
11
0
2
46
Hi there, is it possible to set it so that autotrading is disabled when a certain % of the account is reached either loss or win? For example, I would like to set it so that if my account reaches a 4% loss, then the autotrading on MT5 turns off.
 

chrissezhi

Trader
Jan 19, 2023
22
0
17
53
Hi and thank you for you product. Currently use with auto scheduler as well. I have autoscheduler set to multiple times. What I would like to do with Account Protector is set a "fixed" amount, for example $35. Once this is hit, AP will disable autotrading along with some other actions. What I need help with is, the $ amount ($35.00). Where do I set this so once MT5 is triggered to come on, once profit is hit, AP will disable EA and then AS will turn back on at next scheduled and then repeat. Hopefully this makes sense. Is the area I need to input "floating profit rises to currency units"? I would input $35.00 here so each time the schedule is set to come on, it will always disable at $35.00 profit and then follow schedule and profit?
 

davidngtv

Newbie
Jul 1, 2023
1
0
1
58
Thank you for an awesome EA!! Will it be possible to add a function to auto take a SNAPSHOT of Equity at a time when broker server reset? This will be useful for props accounts which calculate the daily drawdown base on equity at start of the trading day i.e 5.00 EST. Thanks in advance
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
Hi there, is it possible to set it so that autotrading is disabled when a certain % of the account is reached either loss or win? For example, I would like to set it so that if my account reaches a 4% loss, then the autotrading on MT5 turns off.
Yes, please read the EA's description page.