gus:
Hi.
I need some help, again, sorry.
How must I change the following code lines in order to obtain that the line starts every 30 minutes?:
for(i = limit - 1; i >= 0; i--)
{
if( TimeHour(Time[i]) != TimeHour(Time[i+1]) ) { int t = i ; }
opn[i] = iOpen(NULL,0,t);
}
I attach the program.
Thanks in advance for your help.
gus
I already solved the problem.
Thanks.
gus

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi.
I need some help, again, sorry.
How must I change the following code lines in order to obtain that the line starts every 30 minutes?:
for(i = limit - 1; i >= 0; i--)
{
if( TimeHour(Time[i]) != TimeHour(Time[i+1]) ) { int t = i ; }
opn[i] = iOpen(NULL,0,t);
}
I attach the program.
Thanks in advance for your help.
gus