compare between 2 time array ; how to define?

 

hi ;

how to compare 2 time array;

for ( int w==0; time1[w]<=time2[0]; w++ )
 
TIMisthebest:

hi ;

how to compare 2 time array;

What's you goal ?
 
angevoyageur:

thank for fast reply;

 there is 2 time array ; like below , i want to compare them  and use for a loop

for ( int w==0; time1[w]<=time2[0]; w++ )

how to compare

time1[w]<=time2[0]
 
TIMisthebest:

thank for fast reply;

 there is 2 time array ; like below , i want to compare them  and use for a loop

how to compare

Obviously you want to compare them, but for what purpose ? If I understand what you are trying to do, maybe I can help you.
 
angevoyageur:
Obviously you want to compare them, but for what purpose ? If I understand what you are trying to do, maybe I can help you.
in that domain in my indicator, i look for find max /min value of a parameter .
Documentation on MQL5: Array Functions / ArrayMaximum
Documentation on MQL5: Array Functions / ArrayMaximum
  • www.mql5.com
Array Functions / ArrayMaximum - Documentation on MQL5
 
TIMisthebest:
in that domain in my indicator, i look for find max /min value of a parameter .

And how this parameter is related to time1/time2 arrays ?

 
angevoyageur:

And how this parameter is related to time1/time2 arrays ?

there is no related between parameter and 2 array time ; time1[] & time2[]

 
TIMisthebest:

there is no related between parameter and 2 array time ; time1[] & time2[]

I am sorry but I don't understand anything on your issue.
 
angevoyageur:
I am sorry but I don't understand anything on your issue.

oh;

time1[] & time2[] ; are date time

 
TIMisthebest:

oh;

time1[] & time2[] ; are date time

Yes, I understand that, and then ?
 
angevoyageur:
Yes, I understand that, and then ?

in coding for

<=

between 2 array time ;

there is error .

how to define 

for ( int w==0; time1[w]<=time2[0]; w++ )