Feniks2020
New member
I'm halfway there.....need to assign a "value" color (WHITE) for my Labels, editor won't allow me to do it....
input SYMB1 = “/NQ”;
input SYMB2 = “/ES”;
input SYMB3 = “UVXY”;
def AD1 = close (symbol = SYMB1);
def AD2 = close (symbol = SYMB2);
def AD3 = close (symbol = SYMB3);
AddLabel(yes, “NDX: ” + ” = ” + AD1, if AD1 < AD1[1] then Color.RED else Color.GREEN);
AddLabel(yes, “SPX: ” + ” = ” + AD2, if AD2 < AD2[1] then Color.RED else Color.GREEN);
AddLabel(yes, “UVXY: ” + ” = ” + AD3, if AD3 < AD3[1] then Color.RED else Color.GREEN);
input SYMB1 = “/NQ”;
input SYMB2 = “/ES”;
input SYMB3 = “UVXY”;
def AD1 = close (symbol = SYMB1);
def AD2 = close (symbol = SYMB2);
def AD3 = close (symbol = SYMB3);
AddLabel(yes, “NDX: ” + ” = ” + AD1, if AD1 < AD1[1] then Color.RED else Color.GREEN);
AddLabel(yes, “SPX: ” + ” = ” + AD2, if AD2 < AD2[1] then Color.RED else Color.GREEN);
AddLabel(yes, “UVXY: ” + ” = ” + AD3, if AD3 < AD3[1] then Color.RED else Color.GREEN);
Last edited: