[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need Help On If function



PureBytes Links

Trading Reference Links

According to If("My formula",1,-1,0)   try   If("My formula",green,red,0)

otherwise you can also try   If("My formula" =1,green,If( If("My
formula"=-1,red,0))


neo a écrit :

> I am trying to use the If function to break an indicator in two so that it
> plots in green if up and red if down. The problem is that I do not see a
> pure If function. The only one is an If, Then, Else. If I put a 0 for else
> then I get a color dot there I do not want. Is there something that could be
> put there that would plot no color?
>
> I have thought about creating a null function that would plot in the same
> color as the background. Is there another way?
>
> neo