Fixed for the time being !I have tried the replacement file
I get an error when trying to compile the file as instructed
I attach screen grab of compiler errors.
I assume this file is OK for MT4
Regards,
Sorry! That was my bad. That file was from my "work in progress" version, so it wasn't really functional. Re-attaching the fixed one here if you need it.Fixed for the time being !
I commented out the line and then recompiled the file.
All writes to the file take place OK.
Many thanks to you.
Many thanksSorry! That was my bad. That file was from my "work in progress" version, so it wasn't really functional. Re-attaching the fixed one here if you need it.
Hi Enivid,Many thanks
Most appreciated
Regards,
You cannot run two EAs on the same chart. You will have to open two charts and add them separately.Sorry for the beginner question - How do i get Account Protector to with antoher EA on same chart ?
Thanks got it appreciatedYou cannot run two EAs on the same chart. You will have to open two charts and add them separately.
What do you mean? It is already available for MT5.
It is possible with one exception - it won't close the chart it is attached to. Otherwise, it won't be able to finish other actions.Hello
Will it be possible in a future update to include the option to close all charts first, to ensure other EAs are disabled, and then start closing the orders?
There are some EAs that open very fast new orders if they got closed, and with a big grid is a problem and some remained opened witouth the EA managing them
Thanks for considering
Thanks for quick replyIt is possible with one exception - it won't close the chart it is attached to. Otherwise, it won't be able to finish other actions.
In any case, I will consider adding this as an action in the next version of the Account Protector. Thank you for your suggestion!
What do you mean? What steps do you take and what happens?i use 1.08 why I can not save the set parameters?
I guess you mean fall below 95% of initial values? There is no condition for balance. For equity, you just take a snapshot and set the Equity <= % of snapshot to 95. In Actions, you set Close and Delete. I didn't get if you want to disable autotrading or not, but if you do, then you also need to tick the Disable action.What would be the right setting for this requirement: monitor both equity and balance. If any of the 2 which at any time is smaller, that will be watche, if that component falls under 5 percent then close all orders, all open and pending orders, then allow trading again after daily reset
I set parameters save in presets as account_protector_042022, when I attach the ea again and go to input, then load the acount_protector_042022 I expect every box should look like I filled previously, but nothing filled. all fields emptyWhat do you mean? What steps do you take and what happens?
I guess you mean fall below 95% of initial values? There is no condition for balance. For equity, you just take a snapshot and set the Equity <= % of snapshot to 95. In Actions, you set Close and Delete. I didn't get if you want to disable autotrading or not, but if you do, then you also need to tick the Disable action.
You won't be able to restart everything with one instance of Account Protector. You can set up another instance with ticked 'Enable autotrading' option by Timer.
If you want the first instance to start monitoring everything again, you should also set the DoNotDisableActions and DoNotDisableConditions input parameters to true for the first instance. Also, "Recapture snapshots" action needs to be ticked there for equity snapshot to refresh and for the AP to work with that new action when new trades start opening.
However, as I said, it won't be able to detect balance change as there is no condition for that. You can try using "Daily profit/loss <= %" condition (by setting it to -5) - in theory, it should work in your case too.
.set files don't store the panel field values, they only store the input parameter values.I set parameters save in presets as account_protector_042022, when I attach the ea again and go to input, then load the acount_protector_042022 I expect every box should look like I filled previously, but nothing filled. all fields empty
If you mean to catch only daily drawdown, then yes, via the "Daily profit/loss <= %" condition". If you mean overall (over several days), then that's possible only for equity, not for balance.that requirement is for prop fund evaluation. So yourr program monitor equity, and % DD? It may work. I had used other program where account balance was under monitor, but because open P/L going lower than 5% DD, I failed the evaluation hence my question: could we stop trading, close active orders when % DD happens?
Yes, if you close some losing trades, but have some profitable open, you can have balance much lower than equity.You said here we dont monitor balance Is there any possible cause that balance gets smaller than equity, and loses 5% from its initial value?
Thank you.set files don't store the panel field values, they only store the input parameter values.
If you mean to catch only daily drawdown, then yes, via the "Daily profit/loss <= %" condition". If you mean overall (over several days), then that's possible only for equity, not for balance.
Yes, if you close some losing trades, but have some profitable open, you can have balance much lower than equity.