Awesome Red or Grenn

 
Hello everyone, I have to insert a special condition in my marker.

The histogram of the "Awesome" for a Sell must be red, for a BUY to be Green.......They do not need other conditions, such as negative, positive or particular values, but only the color of the spark plug 1 but with this my code does not work


&& Close[1+i] == iCustom(NULL, PERIOD_CURRENT, "Awesome", 2, 1+i) //Candlestick Close is equal to Awesome
 

I solved it by entering this code thanks:


&& (iCustom(NULL, PERIOD_CURRENT, "Awesome", 2, 1+i) < 0 || iCustom(NULL, PERIOD_CURRENT, "Awesome", 2, 1+i) > 0)
Reason: