ema13:ema(c,13),colorwhite,linethick1;
ema34:ema(c,34),coloryellow,linethick1;
ema55:ema(c,55),colorff00ff,linethick1;
ema120:ema(c,120),colorffcc66,linethick1;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,2) );
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>1 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
drawtext(gr6 and gr7,h+0.13,'●'),colorRED;
VAR6:=REF(CLOSE,1);
VAR7:=((SMA(MAX((CLOSE - VAR6),0),6,1) / SMA(ABS((CLOSE - VAR6)),6,1)) * 100);
DRAWTEXT(CROSS(84,VAR7),(HIGH * 1.04),'◆'),coloryellow;