Trabajo finalizado
Tarea técnica
It is intended to create EA to use in Forex, based on the "Martingale" theory with a dialog box (imputs) with 5 parameters. There should be a button to start and stop the EA.
1. Currency pair;
2. Direction (Sell/ Buy)
3.Volume of the Lot
4. Balance sheet (Loss / profit);
5. Spread (pips).
After defining the inputs and the order is given by the operator to start, the EA operates continuously until it is stopped by the operator! This means that the EA must operate (give new orders) for hours, days or weeks whenever there is a sperad inferring to the one defined in (<5).
An example to make it easier to understand (value loaded in the imput):
1. EURUSD
2. Buy
3. 0.10
4. € 10
5. 16
After the operator gives the order to the EA to start, a Buy(2) order of 0.10(3) EURUSD(1) is created with a loss/profit of € 10.00(4).
Balance reached from:
+ € 10.00, the EA closes the order and starts a new one with the initial parameter values;
- € 10.00, the EA closes the order and initiates a new order with double the lot and the balance of the previous one but with the remaining imputs. This creates a new Buy order of 0.20 EURUSD with a loss / profit of € 20.00. Despite continued losses, the EA must continue to give order as long as the balance allows.
Note: if the market conditions exceed the spread defined in (> 5) the EA must suspend the new orders (either in case of gain or loss) and resume when the spread returns to the defined range (<5).
Any question...
Sorry for bad English ... it's not my native language!
Any question... Sorry for bad English ... it's not my native language! Any question... Sorry for bad English ... it's not my native language!