Preciso converter robô de profitchart para mt5

Tarea técnica

quero converter esse codigo de profitchart para metatrader 5


     a estrategia é para mini indice: sempre que o preço cai 1.60% em relação a maxima do dia ele compra e sempre que sobre 1.60% em realação a minima ele vende 
alvo para compra é de 900 e stop de 250
alvo para venda é de 1800 e stop de 100 


input
  variaçao(1.60);
var
  numa,c,v,op,b               : integer;
  alvoxx,stopxx,max,min,varic : float;
  compra,venda                : boolean;
begin
  max := highD(0);
  min := lowD(0);
  varic := (variaçao / 100) + 1;
  //definindo as condições de compra e venda
  compra := (close < max / varic);
  venda := (close > min * varic);
  //fazendo o código da estratégia
  if (IsBought = false) and (iSSold = false) and (time < 1650) and (op = 0) then
    begin
      b:=0;
      numa := 0;
      if (compra) and (c = 0) then
        BuyAtMarket;
      if (venda) and (v = 0) then
        SellShortAtMarket;
    end;
  if (IsBought) then
    begin
      c := 1;
      v := 0;
      op := 1;
      numa := numa + 1;
      alvoxx := BuyPrice + 900;
      stopxx := BuyPrice - 250;
      if (close>buyprice+649) then b:=1;
      //alvo
      selltocoverLimit(alvoxx);
      //stop
      if (b=0) then
      selltocoverstop(stopxx,stopxx - 1000);
      if (b=1  ) then
      selltocoverstop(buyprice,buyprice - 1000);
    end;
  if (isSold = true) then
    begin
      c := 0;
      v := 1;
      op := 1;
      numa := numa + 1;
      alvoxx := SellPrice - 1800;
      stopxx := SellPrice + 100;
      //alvo
      buytocoverLimit(alvoxx);
      if (close<sellprice-649) then b:=1;
      //stop
      if (b = 0) then
        buytocoverstop(stopxx,stopxx + 1000);
      if (b = 1) then
        buytocoverstop(sellprice,sellprice + 1000);
    end;
  if (time > 1700) then
    begin
      c := 0;
      v := 0;
      op := 0;
      ClosePosition;
    end;
  plot(max);
  plot2(min);
end;

Han respondido

1
Desarrollador 1
Evaluación
(2)
Proyectos
6
33%
Arbitraje
0
Caducado
2
33%
Libre
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(571)
Proyectos
662
32%
Arbitraje
42
45% / 45%
Caducado
12
2%
Trabaja
4
Desarrollador 4
Evaluación
(11)
Proyectos
17
59%
Arbitraje
2
0% / 100%
Caducado
2
12%
Libre
5
Desarrollador 5
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
100%
Arbitraje
1
0% / 100%
Caducado
0
Trabaja
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(3)
Proyectos
3
67%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
(Please read carefully to fully understand the job) I am looking for a developer who has real knowledge in HFT strategies and the ability to create an EA that can run on a real account and be profitable. I already have an EA that performs well on a demo account, but not on a real account. This EA can be used as an example to build a new strategy. I repeat: it should only be used as a reference, not to modify or
Project Description: I am looking for a Senior MQL5 Developer to build a high-precision Expert Advisor (EA) for the US30 (Dow Jones) index, based on Smart Money Concepts (SMC) and ICT methodologies. The EA must handle multi-timeframe analysis and execute trades with mechanical precision. 1. Multi-Timeframe Analysis & Structural Logic • D1 (Confluence): Automatic plotting of Daily Fair Value Gaps (FVG) and Order

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
de 1 a 7 día(s)