Tarea técnica

//+------------------------------------------------------------------+
//| 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);
   }
}

Han respondido

1
Desarrollador 1
Evaluación
(28)
Proyectos
39
23%
Arbitraje
14
0% / 93%
Caducado
4
10%
Libre
2
Desarrollador 2
Evaluación
(153)
Proyectos
240
34%
Arbitraje
20
45% / 30%
Caducado
3
1%
Libre
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 8 ejemplos
4
Desarrollador 4
Evaluación
(1304)
Proyectos
1733
49%
Arbitraje
55
67% / 16%
Caducado
38
2%
Trabaja
5
Desarrollador 5
Evaluación
(2346)
Proyectos
2951
63%
Arbitraje
125
44% / 26%
Caducado
429
15%
Libre
6
Desarrollador 6
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
8
Desarrollador 8
Evaluación
(5)
Proyectos
7
0%
Arbitraje
8
13% / 75%
Caducado
3
43%
Libre
9
Desarrollador 9
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Titre du Projet : Développement d'un Expert Advisor (EA) Haute Performance pour Deriv MT5 Objectif Principal : Créer un EA rentable et robuste pour la plateforme Deriv MT5, capable de générer un rendement quotidien moyen de 3% du capital grâce à une stratégie de gains composés, tout en appliquant une gestion de risque extrêmement rigoureuse. Contexte : Je recherche un développeur MQL5 expert pour concevoir et livrer

Información sobre el proyecto

Presupuesto
30 - 200 USD
Plazo límite de ejecución
de 3 a 5 día(s)