TEST XAUUSD

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(144)
Projets
219
32%
Arbitrage
16
44% / 25%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(284)
Projets
459
39%
Arbitrage
95
43% / 18%
En retard
73
16%
Travail
Publié : 2 codes
3
Développeur 3
Évaluation
(39)
Projets
65
34%
Arbitrage
4
25% / 50%
En retard
9
14%
Travail
4
Développeur 4
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Hello, I am looking for a trading indicator (gold mainly) that will send me signal to take trades BUT I want the maximum of the lossing trades YES I want all trades negative in red on MT5. That is a weird demand but YES I want to lose all the trades the maximum of it
Je veux un Robot qui doit pouvoir déclencher des positions sur un niveau prédéfini du retracement de fibonacci combiné à la théorie de Dow en considérant la ligne de tendance. Seulement des ordres allant dans le sens de la tendance défini par la ligne de tendance d'une unité de temps standard. Il doit respecter le calcul de risque d'un montant standard en fonction d'un niveau de Stop Loss intégré qui ne va pas
( a brief explanation if interested let's talk and I would be even more precise ) 📘 Strategy (FAYE SESSION) 🕐 1. Trading Sessions (Senegal Time) You don't use this strategy that during these three specific sessions: Session Senegal Hours 🗾 Tokyo 00h00 – 09h00 🇬🇧 London 07h00 – 16h00 🗽 New York 12h00 – 21h00 🕯️ 2. Choosing the candle to trace the range When you log in, you observe the M3 bougie (ex. 07h03). And
Harrcoin 30 - 150 USD
Spécifiez vos exigences de spécification ici point par point. Essayez de décrire vos besoins de manière brève et claire, afin que votre développeur potentiel soit en mesure d'évaluer correctement sa complexité et son coût, ainsi que le temps d'exécution requis. Une mauvaise description ou une description trop générique aura pour conséquence un manque d’intérêt pour votre commande, ou que vous passerez beaucoup de
J'ai développé un expert advisor (EA), mais je rencontre des difficultés pour corriger plusieurs erreurs dans le code. Actuellement, il y a environ 30 erreurs que je ne parviens pas à résoudre seul. J'ai besoin de l'aide d'un expert en programmation MQL5 pour analyser et corriger ces problèmes afin que mon EA fonctionne correctement
Hello, I'm looking for an MQL5 programmer to program a bot. I have a strategy that works, but I don't know how to code. Bonjour, Je recherche un programmeur MQL5 pour programmer un bot. J'ai une stratégie qui fonctionne mais je ne sais pas coder

Informations sur le projet

Budget
30+ USD
TVA (20%): 6 USD
Total: 36 USD
Pour le développeur
27 USD