Account-Protector
Account-Protector copied to clipboard
Feature: ability to add rules to a list
Hi, right now, I can see I might need to run 8 or so instances of this EA on my terminal, because I'd want rules for:
- for Magic X, close buy trades when they are 50 points in profit (on average and accounting for costs)
- for Magic X, close sell trades when they are 50 points in profit (on average and accounting for costs)
- for Magic Y, close buy trades when they are 100 points in profit (on average and accounting for costs)
- for Magic Y, close sell trades when they are 100 points in profit (on average and accounting for costs)
- for Magic not Z, notify me if an order is created or opened over lot size A (this condition is not yet implemented)
- when Equity <= % of snapshot, notify me (or ideally, when Equity <= % of balance, notify me - but this condition is not yet implemented)
- when Margin Level <= %, notify me (this condition is not yet implemented)
- when H1 bar closes, send me a report of floating profit/loss, floating profit/loss %, total lot size open on any instrument and in either direction, margin %, and free margin (this appears to be another new feature request, but maybe another EA can do this?)
So, I was wondering if it would make sense instead to have an Add rule button, and the rule appears below the checkboxes in a little scrollable panel, or in a pop-up window, and one could Edit or Delete rules from there, and basically have multiple rules running per instance of the EA.
I appreciate this may add quite a lot of complexity to the EA, and therefore may not be something you want to do, but I put it out there in case!
Cheers!