X1:=REF(C,1);
X2:=SMA(MAX(C-X1,0),12,1)/SMA(ABS(C-X1),12,1)*100;
X3:=MA(3*X2-2*SMA(MAX(C-X1,0),16,1)/SMA(ABS(C-X1),16,1)*100,3);
X4:=EMA(X3,8);
与庄共舞:CROSS(X3,X4),NODRAW;
STICKLINE(与庄共舞,C,O,3.2,0),COLOR000066;
STICKLINE(与庄共舞,C,O,2.0,0),COLOR000077;
STICKLINE(与庄共舞,C,O,1.5,0),COLOR000099;
STICKLINE(与庄共舞,C,O,0.9,0),COLOR0000CC;
STICKLINE(与庄共舞,C,O,0.5,0),COLOR0000FF;
STICKLINE(与庄共舞,O,C,0,0),COLORFFFFFF;
DRAWICON(与庄共舞,L,34);
DRAWTEXT(与庄共舞,L-0.05,'↖与庄共舞'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.1,0,'公式平台 公式源码 http://www.gspt.com'),COLOR222222;