TEST XAUUSD

Specification

Je voudrais creer un robot de trading similaire à "Shuttle Runner" en incluant
"
//--- include the file with the description of the MQL5 standard library #include <Trade\Trade.mqh> #include <Indicators\Bands.mqh> #include <Indicators\RSI.mqh> //--- create an instance of the CTrade class CTrade trade; //--- create instances of the indicator classes iBands bands; iRSI rsi; //--- input parameters input int GMT = 2; input bool Monday = true; input int MondayStart = 8; input int MondayStop = 14; input bool Tuesday = true; input int TuesdayStart = 8; input int TuesdayStop = 14; input bool Wednesday = true; input int WednesdayStart = 8; input int WednesdayStop = 14; input bool Thursday = true; input int ThursdayStart = 8; input int ThursdayStop = 14; input bool Friday = true; input int FridayStart = 8; input int FridayStop = 14; void OnInit() { //--- initialize the indicators bands.Create(_Symbol, PERIOD_CURRENT, 20, 2.0); rsi.Create(_Symbol, PERIOD_CURRENT, 14); } void OnTick() { //--- check if the symbol is XAUUSD if (_Symbol != "XAUUSD") return; //--- check if trading is allowed on the current day datetime time = TimeCurrent() + GMT * 3600; MqlDateTime dt; TimeToStruct(time, dt); bool tradeAllowed = false; switch (dt.day_of_week) { case 1: tradeAllowed = Monday && dt.hour >= MondayStart && dt.hour < MondayStop; break; case 2: tradeAllowed = Tuesday && dt.hour >= TuesdayStart && dt.hour < TuesdayStop; break; case 3: tradeAllowed = Wednesday && dt.hour >= WednesdayStart && dt.hour < WednesdayStop; break; case 4: tradeAllowed = Thursday && dt.hour >= ThursdayStart && dt.hour < ThursdayStop; break; case 5: tradeAllowed = Friday && dt.hour >= FridayStart && dt.hour < FridayStop; break; } if (!tradeAllowed) return; //--- get the current price data double"

Et tout rementtre le fichier dans l'ordre.

Merci

Responded

1
Developer 1
Rating
(153)
Projects
240
34%
Arbitration
20
45% / 30%
Overdue
3
1%
Free
2
Developer 2
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
3
Developer 3
Rating
(39)
Projects
65
34%
Arbitration
4
25% / 50%
Overdue
9
14%
Working
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Bonjour, Je recherche un développeur expérimenté en Python + MetaTrader5 pour créer un Bot Scanner. OBJECTIF DU BOT: Scanner n'importe quel graphique MT5 : Forex, Indices Synthétiques, Indices, Actions, Métaux, Crypto. Détecter uniquement des FIGURES CHARTISTES sans indicateur. Envoyer une alerte instantanée sur Telegram ou par mails avec : Paire, Timeframe, Nom de la Figure, fiabilité en % , Capture d'écran du
Rim crazzack 30 - 300 USD
Je souhaite développer un robot de trading automatique capable de fonctionner uniquement lorsque je suis connecté à mon compte de trading. Le robot devra respecter les règles suivantes : Il peut ouvrir positions que lorsque je suis connecté. Il doit analyser les marchés en temps réel sur les unités de temps M1 (1 minute), M5 (5 minutes) et M15 (15 minutes). Il doit identifier des opportunités d'achat ou de vente en

Project information

Budget
30+ USD