LS1:=13;
LS2:=3;
LS3:=50;
LS4:=0.382;
LS5:=0.618;
LS6:=1.02;
LS01:=(2*C+H+L)/4;
LS02:=LLV(L,27);
LS03:=HHV(H,27);
LS04:=EMA((LS01-LS02)/(LS03-LS02)*100,LS1)-LS3;
LS05:=EMA(LS5*REF(LS04,1)+LS4*LS04,LS2);
XG:CROSS(LS04,LS05) AND C/REF(C,1)