Custom Indicator to measure moves/candlesticks away from certain moving averages

MQL4 Indicators Scripts

Specification

I had an indicator built with what I needed a few years ago, I would like a cleaner updated version of this indicator possibly with an installer.


I need the indicator to count candlesticks between time the chart touches a moving average.  For example, it will keep a running total of "87 bars since last touch of the moving average" along those lines.


I would also like it to count pips, example: how far the candlesticks are away from the moving average.  


So I'd like something that can have data displayed on the chart in the upper right hand corner that says "80 bars since last touch and 55 pips away from moving average" 


These are just examples but that is what i'm looking for.  If you can help me, please message me.


Thanks,

Jared

Responded

1
Developer 1
Rating
(2311)
Projects
2908
63%
Arbitration
122
44% / 25%
Overdue
429
15%
Working
2
Developer 2
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
3
Developer 3
Rating
(393)
Projects
547
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Working
Published: 11 codes
4
Developer 4
Rating
(414)
Projects
478
40%
Arbitration
7
43% / 29%
Overdue
16
3%
Free
5
Developer 5
Rating
(54)
Projects
64
42%
Arbitration
5
20% / 60%
Overdue
4
6%
Free
Published: 1 code
6
Developer 6
Rating
(804)
Projects
1124
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
7
Developer 7
Rating
(332)
Projects
485
40%
Arbitration
82
11% / 63%
Overdue
77
16%
Free
Published: 1 code
8
Developer 8
Rating
(14)
Projects
23
17%
Arbitration
3
0% / 100%
Overdue
5
22%
Free
9
Developer 9
Rating
(94)
Projects
162
40%
Arbitration
20
15% / 75%
Overdue
73
45%
Free
Published: 3 codes
10
Developer 10
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
Published: 4 codes
11
Developer 11
Rating
(53)
Projects
79
18%
Arbitration
13
15% / 54%
Overdue
5
6%
Free
12
Developer 12
Rating
(38)
Projects
51
20%
Arbitration
15
27% / 67%
Overdue
7
14%
Free
Published: 1 code
13
Developer 13
Rating
(187)
Projects
262
69%
Arbitration
12
33% / 67%
Overdue
16
6%
Free
Published: 993 codes
14
Developer 14
Rating
(52)
Projects
133
44%
Arbitration
14
50% / 29%
Overdue
55
41%
Free
15
Developer 15
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
16
Developer 16
Rating
(2643)
Projects
3359
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
17
Developer 17
Rating
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
18
Developer 18
Rating
(91)
Projects
144
38%
Arbitration
67
15% / 48%
Overdue
55
38%
Free
19
Developer 19
Rating
(13)
Projects
34
76%
Arbitration
1
100% / 0%
Overdue
6
18%
Free
20
Developer 20
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
21
Developer 21
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes

Project information

Budget
35 - 100 USD
Deadline
from 3 to 5 day(s)