Account Protector

I'm using a grid based ea where I want to close all my trades an hour before a high impact news when the floating pnl turns green. This is currently working well. However after the news, I often turn on the Autotrading button but forgotten to toggle this ea switch to off.

I would like to keep the Actions settings as I would need to reselect 5 options each time.
I assume you also have DoNotDisableConditions set to true? If you disable it, you will be able to effectively turn the EA on and off by ticking/unticking your condition's checkbox.
 
Hi there, admin. How do I set up this EA to achieve the following:

1. Single position size limit (e.g., set to 0.5 lots): If I open 0.8 lots, the EA will close 0.3 lots (keeping 0.5 lots).

2. Total position volume limit (e.g., set to 2.0 lots): When this limit is hit, no new positions are allowed—any new position opened will be closed immediately (not liquidating all existing positions, just the newly opened one).

3. It would be perfect if this EA supports translation.

(Note: This EA does not natively support partial closing or "close only new positions"—additional tools like Position Sizer are needed to achieve these functions.)
 
Last edited by a moderator:
Hi there, admin. How do I set up this EA to achieve the following:

1. Single position size limit (e.g., set to 0.5 lots): If I open 0.8 lots, the EA will close 0.3 lots (keeping 0.5 lots).

2. Total position volume limit (e.g., set to 2.0 lots): When this limit is hit, no new positions are allowed—any new position opened will be closed immediately (not liquidating all existing positions, just the newly opened one).

3. It would be perfect if this EA supports translation.

(Note: This EA does not natively support partial closing or "close only new positions"—additional tools like Position Sizer are needed to achieve these functions.)
Sorry, but this EA cannot do any of that. I will probably consider adding some volume-based restrictions to it in the future, but it looks more appropriate to create a separate EA to do that.
 
Hello, does AP work in an MT5 account where there are more than 1 EAs? Ex 2 EA on gold with diff time and usdjpy? How to set it up? Thx
I don't think AP cares how many other EAs you are running in the terminal. It never interacts with other EAs. What it does is toggling the platform's auto-trading switch.
 
Hi! How can I set Account Protector to be activated at X time?
The current timer is only to process "Actions" to be executed not activation time to check for conditions.

My use case is to activate Account Protector 1 hour before a high impact news.
 
Hi! How can I set Account Protector to be activated at X time?
The current timer is only to process "Actions" to be executed not activation time to check for conditions.

My use case is to activate Account Protector 1 hour before a high impact news.
There is no way to do that right now.
 
Hello admin,
first I would like to thank you for giving such a nice product.
I see in the attached picture there are more options in the v1.12. But in v1.13 I only see less options.
I need to control the number of positions, But I can not see that option in v1.13
Is it possible me to get the v1.12 ?
 

Attachments

  • conditions-tab.png
    conditions-tab.png
    29.1 KB · Views: 1
Hello admin,
first I would like to thank you for giving such a nice product.
I see in the attached picture there are more options in the v1.12. But in v1.13 I only see less options.
I need to control the number of positions, But I can not see that option in v1.13
Is it possible me to get the v1.12 ?
Extra conditions are enabled via input parameters.
 
Extra conditions are enabled via input parameters.
Thanks. My bad. I did not noticed that.

By the way, I tested some functions and there is an issue with order direction. Even I select Long only, it opens both buy and sell orders and both type of pending orders too.

Also when I click emergency button it closes only selected positions related to the order direction.
(If I selected Long only it closes only all buy orders and buy pending orders. All sell orders and sell pending orders do not close
and vise versa)

Apart from that everything looks perfect
 
Thanks. My bad. I did not noticed that.

By the way, I tested some functions and there is an issue with order direction. Even I select Long only, it opens both buy and sell orders and both type of pending orders too.

Also when I click emergency button it closes only selected positions related to the order direction.
(If I selected Long only it closes only all buy orders and buy pending orders. All sell orders and sell pending orders do not close
and vise versa)

Apart from that everything looks perfect
Could you please elaborate? What exactly are you doing and what is happening? Normally, Account Protector shouldn't be opening any orders at all - irrespective of how you set it up.
 
Could you please elaborate? What exactly are you doing and what is happening? Normally, Account Protector shouldn't be opening any orders at all - irrespective of how you set it up.
I am using an EA which opens both buy and sell orders and also placing both buy stop and sell stop orders. I wanted to open only buy and buy stop orders OR sell and sell stop orders. So in AP I selected Long only in order direction filter and activate my EA. But it opened both buy and sell orders and both type of pending orders too. when I click emergency button it closed only buy and buy stop positions. All sell orders and sell pending orders did not close.
 
I am using an EA which opens both buy and sell orders and also placing both buy stop and sell stop orders. I wanted to open only buy and buy stop orders OR sell and sell stop orders. So in AP I selected Long only in order direction filter and activate my EA. But it opened both buy and sell orders and both type of pending orders too. when I click emergency button it closed only buy and buy stop positions. All sell orders and sell pending orders did not close.
AP cannot control what other EAs do - the Filters tab is used to filter the orders/positions for AP only. So, when you set the filter to Long only, you configured the AP to work with long orders only - hence its emergency button behavior.

Unfortunately, you cannot use AP to make another EA to open only long orders. This cannot be done from outside of that specific EA.
 
AP cannot control what other EAs do - the Filters tab is used to filter the orders/positions for AP only. So, when you set the filter to Long only, you configured the AP to work with long orders only - hence its emergency button behavior.

Unfortunately, you cannot use AP to make another EA to open only long orders. This cannot be done from outside of that specific EA.
Ok got it. Thank you very much