JH:=(((H+L)/2+(C+O))/3+5*H)/6;
DBLS:ema(eMA(JH,810)+(1+540/720)*STD(JH,540),1);
xBLS:eMA(JH,270)+(1+180/270)*STD(JH,180);
XG:=(CROSS(EMA(C,3),DBLS) AND EMA(C,3) =xBLS) OR (cross(EMA(C,3),xBLS) AND EMA(C,3) =DBLS);
DRAWTEXT(XG=1,L*0.95,'★'),COLORRED;