Spécifications

//+------------------------------------------------------------------+
//| M65 PRO ROBOT |
//| Trend + RSI + Risk Management |
//+------------------------------------------------------------------+
#property strict

input double LotSize = 0.01;
input int StopLoss = 100; // points
input int TakeProfit = 200; // points
input int RSI_Period = 14;

int rsiHandle;
int ema50Handle;
int ema200Handle;

//+------------------------------------------------------------------+
int OnInit()
{
   rsiHandle = iRSI(_Symbol, PERIOD_M5, RSI_Period, PRICE_CLOSE);
   ema50Handle = iMA(_Symbol, PERIOD_M5, 50, 0, MODE_EMA, PRICE_CLOSE);
   ema200Handle = iMA(_Symbol, PERIOD_M5, 200, 0, MODE_EMA, PRICE_CLOSE);
   return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
void OnTick()
{
   double rsi[], ema50[], ema200[];
   CopyBuffer(rsiHandle, 0, 0, 1, rsi);
   CopyBuffer(ema50Handle, 0, 0, 1, ema50);
   CopyBuffer(ema200Handle, 0, 0, 1, ema200);

   if(PositionSelect(_Symbol)) return;

   double Ask = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
   double Bid = SymbolInfoDouble(_Symbol, SYMBOL_BID);

   // BUY CONDITION
   if(ema50[0] > ema200[0] && rsi[0] > 55)
   {
      trade.Buy(LotSize, _Symbol, Ask, Ask - StopLoss * _Point, Ask + TakeProfit * _Point);
   }

   // SELL CONDITION
   if(ema50[0] < ema200[0] && rsi[0] < 45)
   {
      trade.Sell(LotSize, _Symbol, Bid, Bid + StopLoss * _Point, Bid - TakeProfit * _Point);
   }
}

Répondu

1
Développeur 1
Évaluation
(28)
Projets
39
23%
Arbitrage
14
0% / 93%
En retard
4
10%
Gratuit
2
Développeur 2
Évaluation
(153)
Projets
241
34%
Arbitrage
21
48% / 29%
En retard
3
1%
Gratuit
3
Développeur 3
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 8 codes
4
Développeur 4
Évaluation
(1305)
Projets
1735
49%
Arbitrage
55
67% / 16%
En retard
38
2%
Gratuit
5
Développeur 5
Évaluation
(2351)
Projets
2957
63%
Arbitrage
125
44% / 26%
En retard
429
15%
Travail
6
Développeur 6
Évaluation
(2)
Projets
2
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
7
Développeur 7
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
8
Développeur 8
Évaluation
(5)
Projets
7
0%
Arbitrage
8
13% / 75%
En retard
3
43%
Gratuit
9
Développeur 9
Évaluation
(298)
Projets
478
40%
Arbitrage
105
40% / 24%
En retard
82
17%
Chargé
Publié : 2 codes
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Je souhaite développer un robot de trading automatique (Expert Advisor) pour MetaTrader 5, capable de trader sur plusieurs marchés : Instruments : Forex : EURUSD, GBPUSD, USDJPY Or : XAUUSD Indices : US30, NAS100 Crypto : BTCUSD, ETHUSD Fonctionnalités : 1. Ouverture automatique de positions achat et vente selon la stratégie 2. Possibilité d'ouvrir plusieurs positions sur un même symbole 3. Paramètres réglables
Je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor (EA) automatique sur MetaTrader 5, principalement dédié au Gold (XAUUSD), avec possibilité d'intégrer EURUSD par la suite. 🎯 Objectif : développer un robot capable d'analyser automatiquement le marché et d'exécuter des BUY / SELL selon une stratégie combinant : 📈 Tendance & structure du marché 🟢 Supports / résistances ⚡ Breakout & Pullback
Golden boy 30+ USD
Je veux un bot qui achèteras et vendras au moment précis( qu’il trouvera bon) pour me permettre de miser peu et d’avoir plus gains.j’ai joins deux images prenez exemple sur la vente pour pouvoir améliorer le bot et j’aimerais qu’il soit facile à manier que même en dormons il ouvre des ordres et les fermes avant les pertes

Informations sur le projet

Budget
30 - 200 USD
Délais
de 3 à 5 jour(s)