Spécifications
Hello Coders!
This is what I need:
EA-Settings table:
|
Example (Variables) |
Pair A |
USDJPY |
Pair B |
USDCHF |
Direction of A |
BUY |
Direction of B |
SELL |
Lot Size for A |
0.05 |
Lot Size for B |
0.07 |
Max. Spread A |
4 Pips |
Max. spread B |
3 Pips |
Magic Number |
12345 |
Delta-Take-Profit |
20 Pips |
Inifinte Cycle |
ON |
Explanation:
- Spread-Checking and Opening trades:
- Check Pair A Spread
- Check B Spread
- If both spreads are below the maximum spread indicated in the Settings at the same time, then this EA should place 2 market orders simultaneously in both pairs with lot size and direction indicated in the Settings
- Example with Settings above: The EA is running since 14:03:10 o'clock and at 14:03:12 o'clock USDJPY has a spread of 1.2 and USDCHF a spread of 1.5 (both below indicated max spreads in the Settings (4.0 and 3.0). So now the EA simply places a 0.05 lot market order buy with Magic number 12345 for USDJPY and a 0.07 lot market order sell for USDCHF with Magic number 12345 in the most simultaneous manner technically achievable! The quicker the better. There should never ever be a single only position with the same Magic number at the same time.
- Profit-Monitoring and closing trades:
- We now have 2 positions in 2 different pairs.
- EA should now monitor as frequent as technically possible the difference of profit pips that occurs between those two positions.
- If the Profit reaches the indicated Profit Delta-TP in the Settings, both positions should immediately Close simultaneously regardless of the spread.
- The EA should be able to differentiate between this profit-difference (let's call it Delta-Profit) between pairs of unique Magic numbers only, so that it can be run on different pair-couples also at the same time.
- Example with Settings above: The P/L of the USDJPY buy Position is currently at -12 pips and the USDCHF sell Position is currently at +42 Pips, this equals a Delta-Profit of +20 pips (-12+42) in the same MagicNumber and the EA should now immediately and simultaneously Close both positions.
- Repeat-Cycling:
- If the Cycling-Setting from Settings is switched ON, the EA should wait some time (let's say 10 seconds)after having closed the positions in profit and then repeat the same procedure from beginning with checking spreads e.t.c.
Répondu
1
Évaluation
Projets
670
33%
Arbitrage
60
17%
/
32%
En retard
113
17%
Travail
2
Évaluation
Projets
395
28%
Arbitrage
155
20%
/
52%
En retard
112
28%
Gratuit
Informations sur le projet
Budget
20 - 30 USD
TVA (19%):
3.8
- 5.7
USD
Total:
23.8
- 35.7
USD
Pour le développeur
18
- 27
USD
Délais
de 1 à 3 jour(s)