TEST XAUUSD

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(153)
Projetos
240
34%
Arbitragem
20
45% / 30%
Expirado
3
1%
Livre
2
Desenvolvedor 2
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
3
Desenvolvedor 3
Classificação
(39)
Projetos
65
34%
Arbitragem
4
25% / 50%
Expirado
9
14%
Trabalhando
4
Desenvolvedor 4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
30+ USD