HGW:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,HGW,REF(HGW,1),4,0),COLORRED;
STICKLINE(A< B,HGW,REF(HGW,1),4,0),COLORGREEN;
XG1:=A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10 AND HGW>50 AND REF(HGW,1) < 50 AND C/REF(C,1)>1.02 AND C/REF(C,1)< 1.05 AND H/C< 1.03 AND C>O;
AAA:=A>B,HGW,REF(HGW,1);
XG2:=C/REF(C,1)>1.05 AND A>B AND REF(A,1)< REF(B,1) AND HGW-REF(HGW,1)>=10;
XG:=XG1 OR XG2;
AAQ:=C>MA(C,50);
乾坤线:50 DOTLINE;
AA:=A>B>乾坤线;
DRAWICON(crOSS(AAA,50),50*1.002,9);