LINA:= IF(CLOSE & gt; REF (high, 1), 1, 0);
LINB:= IF(CLOSE & lt; REF (low, 1), 1, 0); UH:IF(LINA= 1, LLV (low, 2), REF(LLV (low, 2), Barlast (Lina =1)), COLORYELLOWUL:IF(LINB= 1, HHV (high, DRAWTEXT (upper wear, L*0.998,' ← upper wear and buy');