Functions to calculate S1, S2, S3, R1, R2, R3 and pivot point levels

MQL4 Indicators Scripts

Job finished

Execution time 5 days
Feedback from customer
Great work, thanks.

Specification

I'm looking for the following functions to calculate pivot points, support and resistance levels:

  • function to return the pivot point level using 3 different methods of five-point system and its common variations depending on the given parameter (1-3) or enum and the timeframe:
    • Pivot Point for Current = High (previous) + Low (previous) + Close (previous) / 3
    • P = ((Today\'s O) + Yesterday\'s (H + L + C)) / 4
    • Pivot point system was developed by Tom DeMark
  • function to return S1, S2, S3, R1, R2, R3 values for given timeframe and type of value (either separate functions or all in one):
    • Resistance 1 = (2 x Pivot Point) – Low (previous period) 
    • Support 1 = (2 x Pivot Point) – High (previous period) 
    • Resistance 2 = (Pivot Point – Support 1) + Resistance 1 
    • Support 2 = Pivot Point – (Resistance 1 – Support 1) 
    • Resistance 3 = (Pivot Point – Support 2) + Resistance 2
    • Support 3 = Pivot Point – (Resistance 2 – Support 2)

You can use MT4, but I also considering MT5. It would be great to work on both, but not necessary.

Suggested params: double getPivotPoint(ENUM_TIMEFRAMES tf, uint method), getSupportLevel(ENUM_TIMEFRAMES tf, uint n), getResistanceLevel(ENUM_TIMEFRAMES tf, uint n)

So you can either create 3 functions (for PivotPoint, Support and Resistance levels) or 7, it's up to you.

See Pivot Points page for more details.

Responded

1
Developer 1
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
218
15%
Free
Published: 1 code
2
Developer 2
Rating
(620)
Projects
680
57%
Arbitration
25
16% / 60%
Overdue
228
34%
Free
3
Developer 3
Rating
(626)
Projects
984
47%
Arbitration
32
38% / 34%
Overdue
97
10%
Working
Published: 6 codes
4
Developer 4
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
113
17%
Working
5
Developer 5
Rating
(253)
Projects
358
49%
Arbitration
24
25% / 50%
Overdue
80
22%
Free
6
Developer 6
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
Published: 4 codes
7
Developer 7
Rating
(804)
Projects
1124
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
8
Developer 8
Rating
(53)
Projects
79
18%
Arbitration
13
15% / 54%
Overdue
5
6%
Free

Project information

Budget
30 - 60 USD
Deadline
from 3 to 5 day(s)