I need an indicator and an EA based on closing prices.

MQL5 Experten

Spezifikation

I need an indicator and an EA based on closing prices.

The indicator would be a histogram.

Parameter A: Number of close periods. Default: 10

Rules:
If Close > Close [PARAMETER A] -> Histogram green 
If Close < Close [PARAMETER A] -> Red Histogram

________________________________________________________
For the expert advisor:

Parameter A: Number of close periods
Parameter B: Take profit
Parameter C: Stop Loss
Parameter D: Start of Hours Trading HH: MM

Parameter E: End of Trading HH: MM

PARAMETER F: Make reversal? TRUE/FALSE. Default TRUE.



Same rule where Green = Buy and Red = Sell.

I would like to make optimized backtests with Parameter A and also with the exits criteria (B and C).

The take profit of the trade would be a fixed number of points: Parameter B

The stop loss is a fixed number: Parameter C



If the operation changes the signal make the reversal(Check PARAMETER F first).



Parameters D and E are to limit the EA to the day trade with more specific schedules that would be tested by me. If I leave it blank the EA would execute in Swing trade mode.

Bewerbungen

1
Entwickler 1
Bewertung
(2678)
Projekte
3428
68%
Schlichtung
78
49% / 14%
Frist nicht eingehalten
343
10%
Frei
Veröffentlicht: 1 Beispiel
2
Entwickler 2
Bewertung
(414)
Projekte
670
33%
Schlichtung
60
17% / 32%
Frist nicht eingehalten
113
17%
Arbeitet
3
Entwickler 3
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei

Projektdetails

Budget
31+ USD