Download MetaTrader 5

An Expert Advisor based on a personal view of markets is needed

2018.04.26 Experts Scripts

Specification

To whom it might concern,

My strategy is really simple : Using the close price of the previous trading session as base. A trading session can only be a whole day or whole week. The close price of the previous trading session forms the base line.

There are two levels, upper and lower equally appart from the base line (The close of the previous day/ previous week) by the distance alpha/2 (alpha parameter manually set). Each time the close of candle bar (of price action) ends above the upper level, there is a sell and each time it ends below the lower level. The stop loss is entered manually (either the amount in dollar or a percentage of the total trading account, by default SL = alpha). Only one trade at the time, no overlapping. 

The idea 1 is to achieve the weekly goal with the least number of trades and risks. For example, we fix the weekly goal of XAUUSD (gold's symbol) at 1000 pips. If at the first open position, the price action increases of +1000pips, then the EA stops trading that whole week because the goal was met. Therefor, each traded opened has a take profit equaling the weekly goal manually entered. Since we are trying to limit losses, the more there will be the more the take profit of the next trade increases. Here is an example to enlighten you :
Instrument : XAUUSD
Weekly Goal : 1000 pips
Stop loss : -250 pips
Alpha :  250 pips so the base line distances the upper and lower levels from 125pips
Trade 1 : -250 pips (SL hit)
Trade 2 : TP at 1250 pips instead of 1000pips.  Let's assume SL hit, -250pips outcome.
Trade 3 : TP at 1500 pips instead of 1000pips.  
and so on... Any current position held when approaching the end of the week should be closed. 

The idea 2 is to open trades ideally without the stop loss being hit until we reach the bar before the last candle bar of the week. Here is an example to enlighten you :
Instrument : XAUUSD
Stop loss : -250 pips
Alpha :  250 pips so the base line distances the upper and lower levels from 125pips 
Trade 1 : -250 pips (SL hit)
Trade 2 : Stop Loss not hit since, market is closing soon, trade closed. Outcome : +1000pips profit.
 

To sum up the parameters of each EA idea :
Idea 1
Stop loss
Weekly Goal (If reached, no further trade the whole week).  
Current Take profit  = Weekly goal + Losses of the previous trades of the same week. By default the weekly goal at 1st trade.
Alpha
Number of  losses ( Number of losses that would outcome a break with no further trade for the week).

Idea 2
alpha 
Stop Loss
Take Profit
Number of  losses ( Number of losses that would outcome a break with no further trade for the week).

I hope I brought more precisions, let me know if you need a further assistance.

Kind regards, 

Responded

2
Developer 2
2018.04.26
Rating
4.97
(62)
Projects
68
18%
Arbitration
5
20% / 20%
Overdue
38
56%
Busy
3
Developer 3
2018.04.26
Rating
5
(11)
Projects
14
29%
Arbitration
4
0% / 25%
Overdue
4
29%
Loaded
4
Developer 4
2018.04.26
Rating
4.96
(1236)
Projects
1573
62%
Arbitration
46
41% / 15%
Overdue
467
30%
Loaded
5
Developer 5
2018.04.26
Rating
0
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
6
Developer 6
2018.04.26
Rating
4.94
(497)
Projects
891
77%
Arbitration
48
33% / 35%
Overdue
355
40%
Busy
8
Developer 8
2018.04.26
Rating
5
(85)
Projects
142
44%
Arbitration
2
0% / 50%
Overdue
39
27%
Working
9
Developer 9
2018.04.26
Rating
4.58
(45)
Projects
75
40%
Arbitration
37
16% / 38%
Overdue
39
52%
Working
10
Developer 10
2018.04.26
Rating
4.77
(101)
Projects
170
43%
Arbitration
59
25% / 37%
Overdue
88
52%
Loaded
11
Developer 11
2018.04.26
Rating
4.7
(152)
Projects
265
43%
Arbitration
103
17% / 43%
Overdue
114
43%
Loaded
12
Developer 12
2018.04.26
Rating
4.9
(136)
Projects
229
61%
Arbitration
5
40% / 0%
Overdue
101
44%
Free
13
Developer 13
2018.04.26
Rating
4.99
(490)
Projects
809
49%
Arbitration
9
78% / 0%
Overdue
125
15%
Working
14
Developer 14
2018.04.26
Rating
5
(48)
Projects
93
57%
Arbitration
5
80% / 0%
Overdue
49
53%
Busy
15
Developer 15
2018.04.26
Rating
4.79
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
34
25%
Free
16
Developer 16
2018.04.26
Rating
0
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
2018.04.26
Rating
4.91
(43)
Projects
102
29%
Arbitration
4
25% / 50%
Overdue
29
28%
Working

Project information

Budget
100 - 1000 USD
Deadlines
to 10 day(s)

Customer

Placed orders1
Arbitrage count0