Building a trading robot based on a simple strategy, H/L pivots + Swing failure pattern

MQL5 Indicators Scripts

Specification

The strategy is based on taking trades off of a Swing Failure Pattern, it is when there is a "wick" or "shadow" sweeping off previous lows/ highs and closing the body of a candle inside the previous high or low.


On the sweep of a high we take a short, on the low we take a long. Simple. 

The way to detect a previous high or low is a HH LL indicator on trading view,  (i can provide the pinescript, or we can review it together), also happy to discuss details.


TP: custom percentage from the entry, SL: below/above the end of the wick (or shadow as some call it)


very simple strategy, happy to answer any questions you may have

Responded

1
Developer 1
Rating
(624)
Projects
981
47%
Arbitration
32
38% / 34%
Overdue
96
10%
Working
Published: 6 codes
2
Developer 2
Rating
(249)
Projects
311
28%
Arbitration
33
27% / 64%
Overdue
10
3%
Free
3
Developer 3
Rating
(500)
Projects
967
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Loaded
Published: 1 article, 6 codes
4
Developer 4
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
5
Developer 5
Rating
(58)
Projects
85
27%
Arbitration
24
13% / 58%
Overdue
7
8%
Loaded
6
Developer 6
Rating
(2)
Projects
3
0%
Arbitration
8
13% / 88%
Overdue
1
33%
Free
7
Developer 7
Rating
(28)
Projects
31
45%
Arbitration
1
100% / 0%
Overdue
3
10%
Free
8
Developer 8
Rating
(16)
Projects
22
41%
Arbitration
6
33% / 50%
Overdue
0
Free
9
Developer 9
Rating
(1)
Projects
3
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(3)
Projects
4
0%
Arbitration
2
50% / 50%
Overdue
0
Free
11
Developer 11
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
Projects
1
0%
Arbitration
1
100% / 0%
Overdue
0
Free
13
Developer 13
Rating
(159)
Projects
284
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Loaded
14
Developer 14
Rating
(14)
Projects
14
21%
Arbitration
0
Overdue
0
Working
15
Developer 15
Rating
(265)
Projects
596
35%
Arbitration
64
20% / 58%
Overdue
147
25%
Working
Published: 1 article, 22 codes
16
Developer 16
Rating
(8)
Projects
7
0%
Arbitration
3
0% / 100%
Overdue
2
29%
Free
17
Developer 17
Rating
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
20
Developer 20
Rating
(307)
Projects
551
35%
Arbitration
79
32% / 42%
Overdue
199
36%
Loaded
21
Developer 21
Rating
(5)
Projects
7
0%
Arbitration
8
13% / 75%
Overdue
3
43%
Free
22
Developer 22
Rating
(2296)
Projects
2891
63%
Arbitration
122
44% / 25%
Overdue
429
15%
Working
23
Developer 23
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Published: 2 codes
24
Developer 24
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
Free
25
Developer 25
Rating
(338)
Projects
407
53%
Arbitration
20
55% / 15%
Overdue
29
7%
Loaded
26
Developer 26
Rating
(168)
Projects
199
48%
Arbitration
3
33% / 33%
Overdue
2
1%
Free
27
Developer 27
Rating
(143)
Projects
167
49%
Arbitration
22
14% / 55%
Overdue
22
13%
Free
28
Developer 28
Rating
(1)
Projects
1
0%
Arbitration
2
0% / 0%
Overdue
0
Working
29
Developer 29
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
30
Developer 30
Rating
(4)
Projects
7
0%
Arbitration
3
33% / 33%
Overdue
3
43%
Working
31
Developer 31
Rating
(21)
Projects
25
52%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
32
Developer 32
Rating
(8)
Projects
9
22%
Arbitration
0
Overdue
1
11%
Busy
33
Developer 33
Rating
(77)
Projects
242
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Working
Published: 1 article
34
Developer 34
Rating
(11)
Projects
14
43%
Arbitration
1
100% / 0%
Overdue
0
Free
35
Developer 35
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
36
Developer 36
Rating
(2630)
Projects
3345
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
37
Developer 37
Rating
(249)
Projects
255
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
38
Developer 38
Rating
(270)
Projects
552
49%
Arbitration
57
40% / 37%
Overdue
228
41%
Working
39
Developer 39
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
40
Developer 40
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
41
Developer 41
Rating
(2)
Projects
3
0%
Arbitration
1
100% / 0%
Overdue
0
Free
42
Developer 42
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
43
Developer 43
Rating
(163)
Projects
236
32%
Arbitration
30
27% / 30%
Overdue
26
11%
Free
44
Developer 44
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
45
Developer 45
Rating
(588)
Projects
1062
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Working
Published: 1 article, 8 codes
46
Developer 46
Rating
(21)
Projects
28
4%
Arbitration
4
25% / 0%
Overdue
3
11%
Working
47
Developer 47
Rating
(11)
Projects
14
14%
Arbitration
5
20% / 20%
Overdue
4
29%
Loaded
48
Developer 48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
49
Developer 49
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
51
Developer 51
Rating
(295)
Projects
471
39%
Arbitration
102
40% / 24%
Overdue
78
17%
Busy
Published: 2 codes
52
Developer 52
Rating
(542)
Projects
624
33%
Arbitration
39
36% / 49%
Overdue
11
2%
Busy
53
Developer 53
Rating
(2)
Projects
3
0%
Arbitration
0
Overdue
0
Free
54
Developer 54
Rating
(19)
Projects
27
11%
Arbitration
11
9% / 55%
Overdue
12
44%
Free
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Developer 56
Rating
(128)
Projects
167
39%
Arbitration
9
44% / 0%
Overdue
29
17%
Loaded
57
Developer 57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
50 - 2500 USD
Deadline
from 1 to 14 day(s)