Skip to content

Feature: ability to add rules to a list #14

@Sebster7

Description

@Sebster7

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions