The point is that it does not execute correctly the first time when I start MT with an indicator already placed on it. When a day has already passed and there is a new 8 o'clock, for some reason it doesn't see it until I restart the MT again or change the period.
for (y = 1; y <= 24; y++)
if (TimeHour(Time[y]) == 8)
{//Тут y будет не корректным, когда запускаешь МТ с уже повешенным индюкомPrint("y=",y," Time[y]=",TimeToStr(Time[y]));
i = y;
z = y;
x = i+count;
break;
}
Good evening! I am new to forex and I am not sure what the coloured and uncoloured Japanese candles on the chart mean. Please answer the question. Thank you in advance.
Alister: Good evening! I am new to forex and I am not sure what the coloured and uncoloured Japanese candles on the chart mean. Please answer the question. Thank you in advance.
Switch to the "Bars" view and you will understand.
Can you please tell me if it is possible to export the values of the indicated column to an external file and in what way? Any answers would be appreciated.
If export is not possible, do you know where these values are stored?
Hello! Guys, please help! I need an EA that repeats actions from one account or terminal on another. I've heard about them somewhere. I don't want it to just repeat the action, but to do the opposite. In other words, if on the first account it is bought, it needs to sell on the second one. In short, I want it to make lots on different accounts. I am trying to master master curry trade from two accounts. Perhaps there is something similar to this one, or may be ready to use. Thank you in advance.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
should it be exactly 13? No missed bars?
Well do the math, up to the 8 o'clock bar goes 13 bars :)
Well do the math, to the 8 o'clock bar goes 13 bars :)
I cannot count the bars on your terminal.
http://s2.ipicture.ru/uploads/20111018/RILIVMzb.jpg
Here's what it says:
2011.10.18 22:28:19 TEST__ EURGBP,H1: y=1 Time[y]=2011.08.04 08:00
2011.10.18 22:28:17 TEST__ EURGBP,H1: y=1 Time[y]=2011.08.03 08:00
2011.10.18 22:28:15 TEST__ EURGBP,H1: y=1 Time[y]=2011.08.02 08:00
2011.10.18 22:28:13 TEST__ EURGBP,H1: y=15 Time[y]=2011.08.01 08:00
Code:
I.e. as if everything is correct.
Good evening! I am new to forex and I am not sure what the coloured and uncoloured Japanese candles on the chart mean. Please answer the question. Thank you in advance.
Switch to the "Bars" view and you will understand.
Sorry, I'll repeat my question, it somehow got sidetracked...(...
Hello ! Could you please tell me how this can happen ?
i = 2, Open[i-2] = 1.5715
This is an excerpt from the log data during testing. 15-(13-1) should be 3. But in the tester it is 4. What is wrong?14:21:15 2011.01.12 18:08 My Fr Chekulaeva1 GBPUSD,M1: Low[i] = 1.5713, Low[i-1] = 1.5714
14:21:15 2011.01.12 18:08 My Fr Chekulaev1 GBPUSD,M1: Low[i+1] = 1.5714, Low[i-2] = 1.5715
14:21:15 2011.01.12 18:08 My Fr Chekulaev1 GBPUSD,M1: Open[i-2]-(Low[i]-1*PointX) = 0.0004
14:21:15 2011.01.12 18:08 My Fr Chekulaev1 GBPUSD,M1: 1*PointX = 0.0001
Can you please tell me if it is possible to export the values of the indicated column to an external file and in what way? Any answers would be appreciated.
If export is not possible, do you know where these values are stored?