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.
help!
I've already wracked my brains!
how can i make e.g. the minimum price of the last 20 candlesticks be written to a custom array instead of LOW
help!
I've already wracked my brains!
how do i make e.g. the minimum price of the last 20 candlesticks to write into a custom array instead of LOW
You could do that. Not the best option, though.
for (i=Bars-5; i==Bars; i++)
{
as[i]=iLow(Symbol(),0,i);
Print (GetLastError());
}
Print (as[1]);
return(0);
Hi, just signed up and decided to start a thread. I think it's the right thing to do as I have a lot of questions myself.
I'm tired of looking for answers on other forums, some flooders. I have no idea what to do with the topic.
The only difference is that they do not have enough information for the brokers.
I have something, but in my opinion there are mistakes, look at your leisure poh.
Advise a beginner on a simple working system.
Hi, just signed up and decided to start a thread. I think it's the right thing to do as I have a lot of questions myself.
I'm tired of looking for answers on other forums, some flooders. I have no idea what to do with the topic.
The only difference is that they do not have enough information for the brokers.
I have something, but in my opinion there are mistakes, look at your leisure poh.
Advise a beginner on a simple working system.
for (i=Bars-5; i==Bars; i++)
{
as[i]=iLow(Symbol(),0,i);
Print (GetLastError());
}
Print (as[1]);
return(0);
The first print says there is no error.
The second one gives the correct value of the array element.
Although, if Bars equals 5, you can get a different value.
Make a loop from 0 for checking at least.
Advise a beginner on a simple working system.
The easiest one is head and hands.
int start()
{
for (i=0; i==5; i++)
{
as[i]=iLow(Symbol(),0,i);
Print (GetLastError());
}
Print (as[0]);
return(0);
}
>> Run this one.
It's not working.