Sherri, what am I doing wrong here?
I want to go back through the candles and if the high of the previous candle is not higher than the current candle then set the H1R or H1S value to the high of the current candle and determine support/resistance. It gives me an unbalanced parenthesis error.
// 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);
"remember the mayonaise jar...keep cool but don't freeze"