Account-Protector icon indicating copy to clipboard operation
Account-Protector copied to clipboard

Feature: ability to add rules to a list

Open Sebster7 opened this issue 9 months ago • 4 comments

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:

  1. for Magic X, close buy trades when they are 50 points in profit (on average and accounting for costs)
  2. for Magic X, close sell trades when they are 50 points in profit (on average and accounting for costs)
  3. for Magic Y, close buy trades when they are 100 points in profit (on average and accounting for costs)
  4. for Magic Y, close sell trades when they are 100 points in profit (on average and accounting for costs)
  5. for Magic not Z, notify me if an order is created or opened over lot size A (this condition is not yet implemented)
  6. when Equity <= % of snapshot, notify me (or ideally, when Equity <= % of balance, notify me - but this condition is not yet implemented)
  7. when Margin Level <= %, notify me (this condition is not yet implemented)
  8. 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!

Sebster7 avatar Feb 03 '25 19:02 Sebster7