CODE FOR SIGNAL

MQL4 Aconselhamento

Trabalho concluído

Tempo de execução 18 horas
Comentário do desenvolvedor
Good customer. He won't delay you for any reason Thanks
Comentário do cliente
good job

Termos de Referência

MQL 4   programmer to change signal to work  correctly .

following   code works  to give signal , but   the  following part of the code  does not work   for price distance   of 40,000  from high .


if(Bid >= iHigh(NULL, PERIOD_D1, iHighest(NULL, PERIOD_D1, MODE_HIGH, 180, 1)) - 10000 * _Point)

                                    if(Bid >= iHigh(NULL, PERIOD_D1, iHighest(NULL, PERIOD_D1, MODE_HIGH, 180, 1)) - 40000 * _Point)

EA WILL NOT BE PROVIDED


This is the full code for the signai


 if(ar_useSign2[global_z])

                    {

              

                     //New signal will be signal+step +custom slippage level = signal price

                     //(if this value is less than this signal price  , enter buy trade , if price is > than signal+ step).

                     int shift = 0;

                     if(ar_useMonday[global_z])

                        shift = DayOfWeek() - 1;

                     datetime time = iTime(NULL, PERIOD_D1, shift) + ar_hourStart[global_z] * 60 * 60 + ar_minuteStart[global_z] * 60;

                     double monday_price = iOpen(NULL, PERIOD_H1, iBarShift(NULL, PERIOD_H1, time));

                     if(TimeCurrent() >= time)

                        if(MathAbs(Bid - monday_price) <= ar_CustomSlippage[global_z]*Point)

                          // if(iLow(NULL, PERIOD_H1, 1) > iMA(NULL, PERIOD_D1, 60, 0, MODE_LWMA, PRICE_CLOSE, 1))

                           //   if(iLow(NULL, PERIOD_H1, 1) > iMA(NULL, PERIOD_D1, 30, 0, MODE_LWMA, PRICE_CLOSE, 1))

                                  if(Bid >= iHigh(NULL, PERIOD_D1, iHighest(NULL, PERIOD_D1, MODE_HIGH, 180, 1)) - 10000 * _Point)

                                    if(Bid >= iHigh(NULL, PERIOD_D1, iHighest(NULL, PERIOD_D1, MODE_HIGH, 180, 1)) - 40000 * _Point)

                                {


                                 ar_message[global_z] = "Signal 2 buy";

                                 price = monday_price;

                                 return 1;

                                }

                    }

Arquivos anexados:

TXT
SIGNAL.txt
2.1 Kb

Respondido

1
Desenvolvedor 1
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
2
Desenvolvedor 2
Classificação
(162)
Projetos
209
61%
Arbitragem
10
80% / 0%
Expirado
0
Livre
Publicou: 1 código
3
Desenvolvedor 3
Classificação
(54)
Projetos
102
23%
Arbitragem
12
25% / 17%
Expirado
13
13%
Livre
4
Desenvolvedor 4
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando

Informações sobre o projeto

Orçamento
50 - 100 USD
Prazo
para 1 dias