Description du Bot "UTBotStrategy" pour cTrader (cAlgo)
Le bot UTBotStrategy est un expert advisor (EA) développé en C# pour la plateforme cTrader (cAlgo). Ce bot utilise une approche basée sur l'ATR et un trailing stop dynamique pour identifier les signaux de trading et gérer automatiquement les positions. Voici un aperçu de ses principales fonctionnalités :
1. Paramètres d'Entrée
Le bot est hautement configurable via des paramètres d'entrée, qui comprennent :
- Indicateurs Techniques :
-
- Valeur Clé (Sensibilité du signal, multiplicateur de l'ATR)
- Période ATR (Période de l'ATR)
- Heikin Ashi (Option pour utiliser des chandeliers Heikin Ashi au lieu des chandeliers classiques)
- Gestion du Trading :
-
- Taille du Lot (Taille du lot)
- Stop Loss en pips
- Heures de trading (heure de début et de fin d'activité)
- Fermeture forcée des positions à une heure spécifique
- Trailing Stop Dynamique :
-
- Activation après un certain profit en pips
- Pas du trailing stop pour ajuster le niveau du stop loss
2. Logique de Trading
Le bot suit une stratégie basée sur un trailing stop calculé dynamiquement avec l'ATR (Average True Range). Voici son fonctionnement :
Phase d'Analyse (OnBar)
- Le bot calcule la valeur de l'ATR pour établir un trailing stop adaptatif.
- Vérifie le prix de clôture en utilisant Heikin Ashi (si activé).
- Compare la valeur actuelle avec le niveau du trailing stop pour déterminer la direction du marché.
- Conditions d'entrée :
-
- Signal Long : Le prix dépasse le trailing stop et confirme une tendance haussière.
- Signal Short : Le prix descend en dessous du trailing stop et confirme une tendance baissière.
- Exécute des ordres d'achat ou de vente avec un stop loss prédéfini.
Gestion des Positions
- Trailing Stop Dynamique :
-
- Lorsque le profit atteint un seuil prédéfini, le trailing stop se déplace en faveur de la position.
- Fermeture forcée :
-
- Si l'heure spécifiée est atteinte, ferme toutes les positions ouvertes.
3. Fonctionnalités Supplémentaires
- Graphiques avec Signaux de Trading : Le bot dessine des flèches sur le graphique pour signaler les opportunités d'entrée.
- Affiche les informations dans la console : Montre les valeurs du trailing stop, les prix et la direction du marché.
- Protection contre les heures hors trading : Empêche de trader en dehors de la fenêtre horaire spécifiée.
4. Objectif de la Stratégie
Cette stratégie est utile pour : ✅ Scalping ou Day Trading sur des time frames courts (1M, 5M, 15M).
✅ Suivi de tendance avec trailing stop dynamique.
✅ Automatisation du trading avec gestion des risques préétablie.
🔹 Points Forts : Flexibilité des paramètres, trailing stop intelligent, fermeture forcée pour éviter l'overnight.
🔸 Améliorations Possibles : Implémentation de filtres supplémentaires (RSI, MACD) pour réduire les faux signaux.
Description of the "UTBotStrategy" Bot for cTrader (cAlgo)
The UTBotStrategy bot is an expert advisor (EA) developed in C# for the cTrader (cAlgo) platform. This bot uses an ATR and dynamic trailing stop approach to identify trading signals and manage positions automatically. Here is an overview of its main features:
1. Input Parameters
The bot is highly configurable via input parameters, which include:
Technical Indicators:
Key Value (Signal Sensitivity, ATR Multiplier)
ATR Period
Heikin Ashi (Option to use Heikin Ashi candles instead of regular ones)
Trading Management:
Lot Size
Stop Loss in pips
Trading Hours (Start and End Time)
Forced Closing of Positions at a Specific Time
Dynamic Trailing Stop:
Triggered after a certain profit in pips
Trailing stop step to adjust the stop loss level
2. Trading Logic
The bot follows a strategy based on a dynamically calculated trailing stop with the ATR (Average True Range). Here is how it works:
Analysis Phase (OnBar)
The bot calculates the ATR value to set an adaptive trailing stop.
Checks the closing price using Heikin Ashi (if enabled).
Compares the current value with the trailing stop level to determine the market direction.
Entry Conditions:
Long Signal: The price breaks above the trailing stop and confirms an uptrend.
Short Signal: The price breaks below the trailing stop and confirms a downtrend.
Executes buy or sell orders with a predefined stop loss.
Position Management
Dynamic Trailing Stop:
When profit reaches a predefined threshold, the trailing stop moves in favor of the position.
Forced Close:
If the specified time is reached, closes all open positions.
3. Extra Features
Trading Signal Charts: The bot draws arrows on the chart to signal entry opportunities.
Print information to the console: Shows trailing stop values, prices and market direction.
Off-Trading Time Protection: Prevents trading outside the specified time window.
4. Strategy Objective
This strategy is useful for: ✅ Scalping or Day Trading on low time frames (1M, 5M, 15M).
✅ Trend Following with dynamic trailing stop.
✅ Trading automation with preset risk management.
🔹 Strengths: Flexibility in parameters, intelligent trailing stop, forced closing to avoid overnight.
🔸 Possible Improvements: Implementation of additional filters (RSI, MACD) to reduce false signals
5 | 100 % | |
4 | 0 % | |
3 | 0 % | |
2 | 0 % | |
1 | 0 % |