Ben,
Can you please help on below question? I'm trying a create a watch list column with below code.
Here I am watching 2 symbols (ESTY and NET). If close of these stocks falls within below range for each symbol then I want to highlight.
Thanks
Can you please help on below question? I'm trying a create a watch list column with below code.
Here I am watching 2 symbols (ESTY and NET). If close of these stocks falls within below range for each symbol then I want to highlight.
Code:
def Data = close("ESTY");
addLabel(1, "ESTY = " + Data, if Data >= 182.65 and data <= 187.22 then color.Green else color.RED);
def Data1 = close("NET");
addLabel(1, "NET = " + Data1, if Data1 >= 75.90 and data1 <= 77.80 then color.Green else color.RED);
Thanks