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
(254)
Projects
283
65%
Arbitration
6
17% / 33%
Overdue
10
4%
Loaded
2
Developer 2
Rating
(56)
Projects
92
62%
Arbitration
0
Overdue
4
4%
Free
3
Developer 3
Rating
(39)
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
(42)
Projects
52
50%
Arbitration
6
83% / 0%
Overdue
0
Free
6
Developer 6
Rating
(564)
Projects
933
47%
Arbitration
302
59% / 25%
Overdue
125
13%
Loaded
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
100+ USD
For the developer
90 USD