germanburrito
Active member
Is there a way to have a label that turns green if price hits 60 percent or above the current candle, or red if 40 percent or below the current candle. i have this so far.
Code:
# germanburrito
def bound_high = high ;
def bound_low = low ;
def difference = bound_high - bound_low;
def T = difference* .4;
def L = difference* .6;
def up = bound_low + L;
def down = bound_low + T;
AddLabel(yes, Concat(" 60 UP = ", down), Color.yellow);
AddLabel(yes, Concat(" 60 Down = ", up), Color.yellow);
Last edited by a moderator: