It looks like you have two statements to be executed if the if portion is true....parentheses are required for more than one statement. FWIW, it would be good to get in the habit of using indentation - makes it easier to spot syntax issues (and easier for other people to read ;-))
Code should be basically like this:
// 1 Hour resistance
for(t=0; t<limit; t++)
if(iHigh(NULL,60,t+1)!>iHigh(NULL,60,t))
(
H1R==High[t];
return(0);
)
// 1 Hour support
for(t=0; t<limit; t++)
if(iLow(NULL,60,t+1)!<iLow(NULL,60,t))
(
H1S==Low[t];
return(0);
)
One thing I am curious about is why you have the return in each of those statements? If you don't need it, you could also leave the code like this:
// 1 Hour resistance
for(t=0; t<limit; t++)
if(iHigh(NULL,60,t+1)!>iHigh(NULL,60,t))
H1R==High[t];
// 1 Hour support
for(t=0; t<limit; t++)
if(iLow(NULL,60,t+1)!<iLow(NULL,60,t))
H1S==Low[t];