Preciso converter robô de profitchart para mt5 baseado no Atr e volatilidade com stop e gain móvel

MQL5 Experten Konvertierung

Spezifikation

Input

Alvo(1.15);
Stop(0.90);
HoraInicio(920);
HoraFim(1700);
HoraFechamento(1740);


Var

Vol, sAtr : Float;

Inicio

  sAtr := StopAtr(2, 20, 0)|0|;
  Vol := AvgTrueRange(10, 0); 

  Se (IsBought) entao
    Inicio
      SellToCoverLimit(BuyPrice+(Vol*Alvo)); 
      SellToCoverStop(BuyPrice-(Vol*Stop), BuyPrice-(Vol*Stop)-100); 
    Fim;

  Se (IsSold) entao
    Inicio
      BuyToCoverLimit(SellPrice-(Vol*Alvo));
      BuyToCoverStop(SellPrice+(Vol*Stop), SellPrice+(Vol*Stop)+100);
    Fim;

  Se (HasPosition = False) e (Time >= HoraInicio) e (Time < HoraFim) entao
    Inicio
      Se (Minima > sAtr) entao
        BuyLimit(sAtr);

      Se (Maxima < sAtr) entao
        SellShortLimit(sAtr);
    Fim;

  Se (Time > HoraFechamento) entao ClosePosition;
Fim;








Bewerbungen

1
Entwickler 1
Bewertung
(2)
Projekte
6
33%
Schlichtung
0
Frist nicht eingehalten
2
33%
Frei
2
Entwickler 2
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(1)
Projekte
1
100%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Arbeitet
4
Entwickler 4
Bewertung
(206)
Projekte
333
35%
Schlichtung
66
12% / 58%
Frist nicht eingehalten
87
26%
Frei
5
Entwickler 5
Bewertung
(11)
Projekte
17
59%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
2
12%
Frei
6
Entwickler 6
Bewertung
(294)
Projekte
470
39%
Schlichtung
102
40% / 24%
Frist nicht eingehalten
78
17%
Überlastet
Veröffentlicht: 2 Beispiele

Projektdetails

Budget
30 - 50 USD