WY1001:=(2*CLOSE+HIGH+LOW)/3;
WY1002:=EMA(WY1001,3);
WY1003:=EMA(WY1002,3);
WY1004:=EMA(WY1003,3);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;
STICKLINE(XYS0<0,XYS0,0,2,0),COLOR205F20;
STICKLINE(XYS0<-1,XYS0,0,2,0),COLOR2D872D;
STICKLINE(XYS0<-1.5,XYS0,0,2,0),COLOR40C040;
STICKLINE(XYS0<-2,XYS0,0,2,0),COLORGREEN;
PJGJ:=AMOUNT/vol/100;
SSRYDJX:=MA(PJGJ,15);
SSRCJL:=EMA(VOL,15);
SSRCJE:=EMA(AMOUNT,15);
SSRCBJX:=SSRCJE/SSRCJL/100;
捕捞线:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,12);
STICKLINE(XYSHSL>6.1 AND 捕捞线>5 ,1.2 ,0 ,2 ,0 ),COLORMAGENTA;{紫色}
STICKLINE(XYSHSL>3.8 AND 捕捞线>5 ,0.9 ,0 ,2 ,0 ),COLORYELLOW;{黄色}
STICKLINE(XYSHSL>2.1 AND 捕捞线>5 ,0.6 ,0 ,2 ,0 ),COLORCYAN;{青色}
STICKLINE(XYSHSL>1.8 AND 捕捞线>5 ,0.3 ,0 ,2 ,0 ),COLORBLUE;{蓝色}
龙骨:MA(XYS0,1),COLORGREEN,LINETHICK3;
龙筋:MA(XYS0,2),COLORWHITE,LINETHICK1;
IF((龙骨>REF(龙骨,1)),龙骨,DRAWNULL),COLORYELLOW,LINETHICK3;
金叉:=crOSS(龙骨, 龙筋);DRAWICON(金叉,龙筋,38);