Menu
Brokers
MT4 Forex Brokers
MT5 Forex brokers
PayPal Brokers
Skrill Brokers
Oil Trading Brokers
Gold Trading Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Bitcoin FX Brokers
PAMM Forex Brokers
With Cent Accounts
With High Leverage
Cryptocurrency Brokers
Forums
All threads
New threads
New posts
Trending
Search forums
What's new
New threads
New posts
Latest activity
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Forums
Trading Platforms
MetaTrader Expert Advisors
Account Protector
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
[QUOTE="Ssantos, post: 217199, member: 97573"] Hi Enivid. I don't know if this is the intended behavior, but in my opinion this is a bug. Let me try to explain the scenario. 1- I open the EA, no options are selected. 2- The I have chosen the first three option in the actions tab a) Close 100% b) Delete all pending orders c) Disable autotrading 3- Then I have open four orders. Because of the spread they were all negative around -100 USD. 4- Then I have Condition tab I have chosen "Floating point rises to currency units:" and I have not changed the value from 0 to any other value. Then in the same moment the EA has closed all the four orders. In the MT4 experts tab the following message appeared; Account Protector AUDCAD M1: CONDITIONS IS MET: Floating loss rose to 0.00 USD In my opinion the following condition should be added (in the file Account Protector.mqh function CAccountProtector::CheckAllConditions()): // Floating loss rose to <Actual number> <currency ISO code>. if ((!DisableFloatLossRiseCurr) && (sets.doubleLossQuanUnits != 0) && // This additional validation should be done , exclude the case when it is zero (floating_profit <= -sets.doubleLossQuanUnits)) Besides this situation all the others variables fields in the Conditions should be changed to include this new condition. To only consider it when the respective value is not zero. BTW other questions: 1- The send email is not working, there is not place to add the destination email address. Why ? 2- I would be nice if there was an option to save the configurations the user prefers. Because every time I want to use it all the options I have selected before disappeared, specially when I have selected the "Disable autotrading" option and I press the Auto Trading button back to on. 3- I don't know if it makes sense, but it could be useful and option to trigger the EA only when the user wants, that is the user setups all the EA options and only when he wants the EA will kickoff and execute the actions according to the configurations. Otherwise the EA triggers immediatly just before you have finished all the setup steps, especially if you don't have left the conditions setup as the last step. I hope you understand my points. Best Regards SSantos [/QUOTE]
Insert quotes…
Verification
Post reply
Top
Bottom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…