My ea is not working, I am trying to find resistance and support lines however there is no trades happening
- Use the debugger or print out your variables, including _LastError and prices and find out why. Do you really expect us to debug your code for you?
-
double id[]; ⋮ if(id[1]==0){ id[1]=PriceInfo[i].low; } if(id[2]==0){ id[2]=PriceInfo[i].low; } if(id[3]==0){ id[3]=PriceInfo[i].low; } if(id[4]==0){ id[4]=PriceInfo[i].low;
Why do you expect these if statements to ever be true?
Any help would be much appreciated.