{紫黄同现股票将大涨}
DRAWTEXTREL( 10,10 ,'紫黄同现股票将大涨' ),COLOR555555;
A1:EMA(C,7)-EMA(C,21),LINETHICK2,COLORRED;
A2:MA(A1,4),COLORGREEN,LINETHICK2;
B1:EMA((0.668*REF(A1,1)+0.333*A1),1),COLORSTICK;
X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
做多:=IF(A1>=B1,A1,B1);
做空:=IF(B1-A1,B1,A1);
DRAWTEXT(cross(A1,A2) AND A1-A2>0.03 and A2<-0.1,A2*1.2,'★买入'),COLORRED;
DRAWTEXT(cross(A2,A1) and A2>0.1,A2*1.25,'★卖出'),COLORYELLOW;
强庄:STICKLINE(CYS13>5,0,-做空,2,0 ),COLORYELLOW;
主力强度:STICKLINE(X3>0 AND 做多>0,做多+0.1,做多,1,0),COLORFF80FF;