EA: Candle Average Trade

MQL5 Experten

Auftrag beendet

Ausführungszeit 7 Minuten
Bewertung des Kunden
Sehr guter und geduldiger Programmierer. Gerne wieder!
Bewertung des Entwicklers
Toller Kunde! Vielen Dank für die Bestellung!

Spezifikation

Hi,

I need an expert Advisor for MT5 which calculates the average of the last candle = ( High+Low)/2  (in every time frame the chart is) and then takes the following action:

If average (last candle) is above average from the candle before then if there is not already long position buy X points above high of last candle. X is to be defined. 

If average (last candle) is below average from the candle before then if there is not already short position sell X points below low of last candle.

The start and finish of the EA should also be set (time).

Trailing Stop and take profit can be predifined for current position or unset (which will results in a position that changes from long to short and the other way around).


example A: X=3  TrailingStop=10  Take Profit=8

candle 1 High: 1020 Low: 1010

candle 2 High: 1030 Low: 1005 (average higher)=> if there is no long position then BuyStop to 1033 (X=3)

candle 3 High: 1035 Low: 1015 (average higher)=> order has triggered: Buy @ 1033; Trailing Stop @ 1025; Take Profit @ 1041

candle 4 High: 1040 Low: 1031 (average higher)=> Trailing Stop @ 1030; Take Profit @ 1041

candle 5 High: 1045 Low: 1032 (average higher)=> Take Profit triggered @ 1041

candle 6 High: 1044 Low: 1031 (average lower)=> if there is no short position then SellStop to 1028 (X=3)

and so on...


example B: X=3  no Trailing Stop and no Take Profit

candle 1 High: 1020 Low: 1010

candle 2 High: 1030 Low: 1005 (average higher) => if there is no long position then BuyStop to 1033 (X=3)

candle 3 High: 1035 Low: 1015 (average higher) => order has triggered: Buy @ 1033

candle 4 High: 1040 Low: 1031 (average higher)

candle 5 High: 1045 Low: 1032 (average higher)

candle 6 High: 1044 Low: 1031 (average lower)=> if there is no short position then Stop of long position to 1028 + SellStop for new position to 1028 (X=3)

and so on...


Bewerbungen

1
Entwickler 1
Bewertung
(27)
Projekte
27
26%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
1
4%
Frei
2
Entwickler 2
Bewertung
(511)
Projekte
549
53%
Schlichtung
13
69% / 15%
Frist nicht eingehalten
3
1%
Frei
3
Entwickler 3
Bewertung
(547)
Projekte
630
33%
Schlichtung
38
39% / 50%
Frist nicht eingehalten
11
2%
Beschäftigt
4
Entwickler 4
Bewertung
(103)
Projekte
165
24%
Schlichtung
23
9% / 78%
Frist nicht eingehalten
16
10%
Arbeitet
5
Entwickler 5
Bewertung
(627)
Projekte
846
48%
Schlichtung
29
34% / 14%
Frist nicht eingehalten
63
7%
Arbeitet
6
Entwickler 6
Bewertung
(295)
Projekte
472
40%
Schlichtung
103
40% / 23%
Frist nicht eingehalten
78
17%
Überlastet
Veröffentlicht: 2 Beispiele
7
Entwickler 7
Bewertung
(2302)
Projekte
2898
63%
Schlichtung
122
44% / 25%
Frist nicht eingehalten
429
15%
Frei
8
Entwickler 8
Bewertung
(31)
Projekte
56
21%
Schlichtung
12
67% / 8%
Frist nicht eingehalten
2
4%
Frei

Projektdetails

Budget
50 - 120 USD
Ausführungsfristen
von 1 bis 3 Tag(e)