EA algostat
- Experts
- Francesco Lippo
- Version: 1.0
- Activations: 5
Voici la traduction en français de la description de l'Expert Advisor (EA) :
---
Cet Expert Advisor (EA) est conçu pour effectuer des opérations de trading automatisées basées sur une série de critères techniques sur un graphique de 1 heure pour la paire USDCHF. Voici une description détaillée de son fonctionnement :
### 1. **Taille du lot et nombre maximum d'entrées**
- **LotSize** : La taille du lot initial pour chaque opération est fixée à 0,1.
- **Max_Entries** : L'EA peut ouvrir jusqu'à 4 opérations simultanément. Pour chaque nouvelle opération, la taille du lot augmente proportionnellement (0,1, 0,2, 0,3, etc.).
### 2. **Indicateurs techniques utilisés**
- **ATR (Average True Range)** : Calculé sur une période de 14 bougies (1 heure chacune) pour mesurer la volatilité. L'ATR est multiplié par 2,0 pour déterminer les niveaux dynamiques de Take Profit (TP) et Stop Loss (SL).
- **MFI (Money Flow Index)** : Calculé sur une période de 14 bougies. Utilisé pour identifier des conditions de surachat (>80) ou de survente (<20).
- **ADX (Average Directional Index)** : Calculé sur une période de 14 bougies. Utilisé pour confirmer la force de la tendance, avec un seuil de 25.
- **RSI (Relative Strength Index)** : Calculé sur une période de 14 bougies. Utilisé pour confirmer des conditions de surachat (>70) ou de survente (<30).
### 3. **Logique d'entrée**
- L'EA vérifie s'il existe un motif haussier ou baissier identifié par des fonctions spécifiques (`isBullishPattern`, `isBearishPattern`).
- **Motif baissier** :
- L'EA recherche des motifs baissiers tels que le "Shooting Star", "Bearish Engulfing" ou "Evening Star".
### 3. **Logique d'entrée** (Suite)
- **Motif haussier** :
- L'EA identifie des motifs haussiers tels que le "Hammer", "Bullish Engulfing" ou "Morning Star".
- Si l'un de ces motifs haussiers est confirmé, et que les critères suivants sont remplis :
- L'ADX est supérieur à 25 (indiquant une forte tendance).
- Le MFI est inférieur à 80 (indiquant que le marché n'est pas en surachat).
- Le RSI est inférieur à 70 (indiquant que le marché n'est pas en surachat).
- L'EA ouvre une position d'achat (BUY) avec la taille de lot actuelle.
- **Motif baissier** :
- L'EA identifie des motifs baissiers tels que le "Shooting Star", "Bearish Engulfing" ou "Evening Star".
- Si l'un de ces motifs baissiers est confirmé, et que les critères suivants sont remplis :
- L'ADX est supérieur à 25 (indiquant une forte tendance).
- Le MFI est supérieur à 20 (indiquant que le marché n'est pas en survente).
- Le RSI est supérieur à 30 (indiquant que le marché n'est pas en survente).
- L'EA ouvre une position de vente (SELL) avec la taille de lot actuelle.
### 4. **Taille du lot et entrées successives**
- Si l'EA a déjà ouvert des positions, la taille du lot pour les nouvelles entrées augmente proportionnellement au nombre de positions déjà ouvertes, jusqu'à un maximum de 4 entrées. Par exemple :
- Première entrée : 0,1 lot.
- Deuxième entrée : 0,2 lot.
- Troisième entrée : 0,3 lot.
- Quatrième entrée : 0,4 lot.
### 5. **Take Profit (TP) et Stop Loss (SL) dynamiques**
- Les niveaux de Take Profit et de Stop Loss sont calculés dynamiquement en fonction de l'ATR. Cela permet à l'EA de s'adapter à la volatilité actuelle du marché :
- **TP** = ATR * ATR_Multiplier (2,0)
- **SL** = ATR * ATR_Multiplier (2,0)
### 6. **Filtre de volatilité**
- L'EA évite d'ouvrir des positions si l'ADX est inférieur à 25, car cela pourrait indiquer un marché latéral ou sans direction claire.
### 7. **Opérations sur USD/CHF en 1H**
- Cet EA est optimisé pour fonctionner sur le graphique de 1 heure de la paire de devises USD/CHF. Le choix de l'intervalle de temps et de la paire de devises est important car il influence directement la performance du trading automatisé. Sur cet intervalle de temps, l'EA recherche des opportunités de trading basées sur des motifs de chandeliers et confirme les signaux à l'aide des indicateurs techniques décrits ci-dessus.
### 8. **Conclusions**
- L'EA est conçu pour opérer sur des marchés avec une forte tendance et utilise des motifs de chandeliers pour déterminer les points d'entrée. La gestion du risque est dynamique grâce à l'utilisation de TP et SL basés sur l'ATR, et la taille du lot est adaptative en fonction du nombre de positions ouvertes.
---
Si vous avez d'autres questions ou besoin d'une aide supplémentaire, n'hésitez pas à me le faire savoir !