Trabajo finalizado
Tarea técnica
Brief project description
This drawdown protection EA(DPEA) will keep track of individual trades and all trades collectively opened in the account where DPEA is open in. When the drawdown threshold is exceeded by either individual trades(single_drawdown) or the drawdown of all open trades collectively(collective_drawdown) the single and/or collective trades will be automatically closed respectively.
DPEA will follow all the following behavioral rules:
1. Drawdown calculation will also include swap charges as well as the current value of the trade.
2. Individual trades will be closed if their drawdown exceeds the number(drawdown percentage) entered in the parameter single_drawdown.
3. If single_drawdown is set to 0(zero) then this parameter will be inactive and individual trades will not be closed based on their drawdown.
4. All trades collectively will be closed if their added drawdown exceeds the number(drawdown%) entered in the parameter collective_drawdown.
5. If collective_drawdown is set to 0(zero) then this parameter will be inactive and the added drawdown of all trades will not be used to closed all trades.
6. DPEA will also have a tracked_magic_number parameter if a number is entered then only trades by that magic number will be managed and/or closed.
7. If tracked_magic_number is left black then all trades open in the account where DPEA is active will be tracked and following the rules above if needed closed.
*Source code and all relevant files to this project must be provided by the developer once completed*
**Allow the project and/or prototype to be tested for a period of 2-3 weekdays**
P { margin-bottom: 0.08in; }
P { margin-bottom: 0.08in; }