Convert MT4 indicator to Tradingview

Other Design

Job finished

Execution time 8 days

Specification

I need to convert the attached mql4 file to PineScript.


Here are some ideas that could help you with this project:

1) To find two extermums of the indicator (functions isPeak&LastPeakIndex and isValley&LastValleyIndex).
2) To check if at these extremums we had as wel extremums of the price.
3) To compare extemums for the divergencies detection, usual approach for Regular divergencies, as described here, for example: https://www.babypips.com/learn/forex/regular-divergence


Example of usage are well represented in the functions BullishDivergence and BearishDivergence.


Also, just in case it'll be a helpful clue: in our indicators at the step #2 we use ZigZag. And, in fact, in our case this is a first step, i.e. we firstly detect the extremums of the price by ZigZag"


Files:

Responded

1
Developer 1
Rating
(317)
Projects
355
72%
Arbitration
7
43% / 29%
Overdue
20
6%
Working
2
Developer 2
Rating
(56)
Projects
92
62%
Arbitration
0
Overdue
4
4%
Free
3
Developer 3
Rating
(40)
Projects
55
35%
Arbitration
2
0% / 50%
Overdue
0
Free
4
Developer 4
Rating
(94)
Projects
190
66%
Arbitration
8
25% / 50%
Overdue
2
1%
Free
5
Developer 5
Rating
(47)
Projects
62
55%
Arbitration
7
86% / 0%
Overdue
2
3%
Free
6
Developer 6
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
100+ USD