CODE FOR SIGNAL

MQL4 Consultation

Job finished

Execution time 18 hours
Feedback from employee
Good customer. He won't delay you for any reason Thanks
Feedback from customer
good job

Specification

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;

                                }

                    }

Files:

TXT
SIGNAL.txt
2.1 Kb

Responded

1
Developer 1
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
2
Developer 2
Rating
(162)
Projects
209
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
3
Developer 3
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
4
Developer 4
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working

Project information

Budget
50 - 100 USD
Deadline
to 1 day(s)