DislikedHi Everybody! I found an EA which use Supply and Demand. I had a better SupDem indicator,which use only 2 colors on their boxes. One is the no touched/strong and the other is weak/retested. I'd like to use only the strong one,which color is SlateGray. My code work, but when I add to check the color, it give me different values. Here is my code: {quote} If I delete : && (ObjectGet("UPZONE",OBJPROP_COLOR)==clrSlateGray) my code works good and give me the good values,but it gives me the weak zones as well. How to properly call only those strong zones...Ignored
Or, you are not checking the correct zone?
There is nothing wrong with the if condition, basically, so how can anybody help you if they don't have all the rest?
If you're looking for the Holy Grail indicator - STOP!