Awesome Red or Grenn

Back to topics list To post a new topic, please log in or register
fly7680 2016.07.20 14:41
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
fly7680 2016.07.20 16:06 #

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)
Back to topics list  

To add comments, please log in or register