Trabajo finalizado
Tarea técnica
I am looking for an EA that will close all orders (open & pending) trades when equity level (positive or negative) has been reached. Once all trades have been closed the equity level automatically gets reset and the process starts again.
Below is an example:
When EA is loaded to a chart the starting equity is recorded (e.g. €1,000)
Set EA settings:
Equity increase increments: 100 (this means that when equity increases by €100 from the starting equity number all open trades will close. Calculation: starting equity (€1,000) + equity increase increments (€100) = equity increase target (€1,100)
Equity decrease increments: 100 (this means that when equity decreases by €100 from the starting equity number all open trades will close) Calculation: starting equity (€1,000) - equity decrease increments (€100) = equity decrease target (€900)
The equity increments are defined in the settings and can be changed at any time.
So the equity targets for our example:
Increase: €1,100
Decrease: €900
Lets say that equity reaches €1,100. All all open trades are close immediately.The EA will take the new equity number as the starting equity (€1,100 in our example) and the process starts again.
In this situation the new equity target would be:
Increase: €1,200
Decrease: €1,000
A new equity number (and increase/decrease targets) is created every time the equity target (up or down) is hit and all open/pending trades close.
The EA must be able to show on the chart:
Account Equity: (real time)
Account Balance: (real time)
Equity increase target: (starting equity number + equity increase increments)
Equity decrease target: (starting equity number - equity decrease increments)
Full EA settings
Allow EA to close all open trades: True/False
Alerts on/off: True/False
Alert notification: Email/Push/Sound
Show info on chart: True/False
Equity increase increments 100 (default)
Equity decrease increments: 100 (default)
Magic nr: EA should work with specific Magic number. Orders are opened by another EA, that have the same Magic nr.
EA must work with other EAs. As orders are created from other EAs.
Thanks