Creating an EA, based on Envelopes

MQL5 Experts

Job finished

Execution time 4 days
Feedback from customer
6th order and always the best service

Specification

General information: The EA is used on the current timeframe, indices and FOREX. It works on VPS solution from MQL5, too.

Demonstration of Signals for Entry and Exit see enclosed sheet



Entry - Long: 
The market price crosses the high band of the envelope upward   

Exit – Long (optional)
The market price crosses the high band of the envelope downward

Entry - Short: 
The market price crosses the low band of the envelope downward

Exit – Short (optional)
The market price crosses the low band of the envelope upward.

Please note:
A trade can just be opened, after a bar is finished. 
e.g. by using M5, a trade can be opened at 9:05 or 9:10, but not at 9:03.

There should  always be 1 open position, only! 

Optional: 
In the input parameters, I´m  asked, if the exit-strategy should be used. Even if the exit-strategy should not be used (Input-Parameter: FALSE) there should always be 1 position, only. 

S/L and T/P:
They are calculated by ATR (Average True Range). e.g if the parameter is 3, this means ATR is multiplied by 3 based on the current timeframe. 

Trading-hours:
To avoid higher spreads at night, the VPS should sometimes work at typical trading hours, only.
I should have the possibility to choose, if all open orders should be closed at e.g. 22:00

Trailing:
Trailing should start, if the trade is in the profit zone with fixed pips. After reaching this point the drawdown can go to a maximum of fixed pips. 
For example: 
After x pips trailing starts: eg. 100
Accepted drawdown in pips: e.g 20

This would have the following consequences: 
- If the position is 100 pips in  the profit zone, the miminum profit would be 80 pips.
- If the profit goes to 99 pips, the trailing would not get activated. 
- If the profit goes to 178 pips, the position would be closed with a profit of 158 pips

Input-Parameters:
Lot size:  starts at 0.01

Envelopes
Period:
Moving:
Deviation:
Method: Simple /Exponential / Smoothed / Linear Weighted
Use: Close can be fixed

Exit-Strategy
Use of Exit-Strategy: True / False

T/P – S/L
T/P – ATR multiplied by:   e.g. 3.2
S/L – ATR multiplied by:   e.g. 1.8.

Trading-hours:
Trading from:  e.g. 8:00
Trading to:      e.g. 22:00
Close all open trades: Yes / No

Trailing:
After x pips trailing starts: eg. 100
Accepted drawdown in pips: e.g 20

Please name the file „Envelopes_EA“

Responded

1
Developer 1
Rating
(442)
Projects
698
34%
Arbitration
33
70% / 9%
Overdue
22
3%
Free
2
Developer 2
Rating
(361)
Projects
643
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
3
Developer 3
Rating
(1278)
Projects
1701
49%
Arbitration
52
71% / 12%
Overdue
38
2%
Free
4
Developer 4
Rating
(2310)
Projects
2906
63%
Arbitration
122
44% / 25%
Overdue
429
15%
Free
5
Developer 5
Rating
(2642)
Projects
3357
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
6
Developer 6
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
7
Developer 7
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
8
Developer 8
Rating
(295)
Projects
474
39%
Arbitration
103
41% / 23%
Overdue
79
17%
Busy
Published: 2 codes
9
Developer 9
Rating
(549)
Projects
635
33%
Arbitration
41
39% / 46%
Overdue
11
2%
Busy

Project information

Budget
80 - 100 USD
Deadline
from 1 to 2 day(s)