C1:=REF(SUM((C-REF(C,1))/C*100,5)<-15,1) OR REF(SUM((C-REF(C,1))/C*100,3)<-15,1);
C2:=REF(C,1)<REF(C,2)*0.97 AND C/REF(C,1)>1.03;
A1:=REF(CLOSE,1);
A2:=SMA(MAX(CLOSE-A1,0),6,1)/SMA(ABS(CLOSE-A1),6,1)*100;
A3:=CROSS(A2,20);
XG:=C1 AND C2 AND A3;
STICKLINE(XG,0.6,1,1,0),COLORRED;
STICKLINE(XG,0.3,0.6,1,0),COLORYELLOW;
STICKLINE(XG,0,0.3,1,0),COLORBLUE;
DRAWICON(XG,1.2,1);
{
选股公式:
C1:=REF(SUM((C-REF(C,1))/C*100,5)<-15,1) OR REF(SUM((C-REF(C,1))/C*100,3)<-15,1);
C2:=REF(C,1)<REF(C,2)*0.97 AND C/REF(C,1)>1.03;
A1:=REF(CLOSE,1);
A2:=SMA(MAX(CLOSE-A1,0),6,1)/SMA(ABS(CLOSE-A1),6,1)*100;
A3:=CROSS(A2,20);
XG:C1 AND C2 AND A3;
}