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

MQL4 Indicadores Scripts

Trabalho concluído

Tempo de execução 5 dias
Comentário do cliente
Great work, thanks.

Termos de Referência

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.

Respondido

1
Desenvolvedor 1
Classificação
(885)
Projetos
1410
67%
Arbitragem
123
32% / 41%
Expirado
218
15%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(620)
Projetos
680
57%
Arbitragem
25
16% / 60%
Expirado
228
34%
Livre
3
Desenvolvedor 3
Classificação
(626)
Projetos
984
47%
Arbitragem
32
38% / 34%
Expirado
97
10%
Trabalhando
Publicou: 6 códigos
4
Desenvolvedor 4
Classificação
(414)
Projetos
670
33%
Arbitragem
60
17% / 32%
Expirado
113
17%
Trabalhando
5
Desenvolvedor 5
Classificação
(253)
Projetos
358
49%
Arbitragem
24
25% / 50%
Expirado
80
22%
Livre
6
Desenvolvedor 6
Classificação
(33)
Projetos
35
40%
Arbitragem
11
9% / 91%
Expirado
4
11%
Livre
Publicou: 4 códigos
7
Desenvolvedor 7
Classificação
(804)
Projetos
1124
43%
Arbitragem
47
49% / 23%
Expirado
84
7%
Livre
8
Desenvolvedor 8
Classificação
(53)
Projetos
79
18%
Arbitragem
13
15% / 54%
Expirado
5
6%
Livre

Informações sobre o projeto

Orçamento
30 - 60 USD
Prazo
de 3 para 5 dias