T1:=IF((DATE<=1110331),1,0);
VAR212:=(2*CLOSE+HIGH+LOW)/4*T1;
VAR22:=EXPMA(EXPMA(EXPMA(VAR212,4),4),4)*T1;
JJ:=(VAR22-REF(VAR22,1))/REF(VAR22,1)*100*T1, COLORSTICK;
DD:=MA(JJ,3)*T1;
KK:=MA(JJ,1)*T1;
BIAS:=(C-MA(C,17))/MA(C,17);
DDIF:=(BIAS-REF(BIAS,16))*T1;
DBCD:=SMA(DDIF,76,1)*T1,COLORFF00FF;
DRAWTEXT(CROSS(KK,DD) AND KK>-0.6 AND DBCD>REF(DBCD,1),-2,'→→→暴利A'),COLORFFFF00;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
莊家秘密進(jìn): IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;
STICKLINE(C,0,0,2,1),COLORFFFF00;
STICKLINE(C,-3,-3,2,1),COLOR3C3CFF;
DRAWICON(V4>REF(V4,1),莊家秘密進(jìn),1);
DRAWTEXT(V4>REF(V4,1) AND REF(V4,2)>=REF(V4,1) AND CROSS(KK,DD),莊家秘密進(jìn)+5,'→→莊家密進(jìn)'),COLORYELLOW;
STICKLINE(V4>REF(V4,1) AND REF(V4,2)>=REF(V4,1) AND CROSS(KK,DD)
AND DBCD>REF(DBCD,1),-3,5,3.5,0),COLORGREEN,LINETHICK1;
AA05:=MA(C,3),LINETHICK3,COLOR0099CC;
五日乖離率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
AA10:=MA(C,10);
AA20:=MA(C,18);
AA30:=MA(C,30);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
DRAWTEXT(BB05>0 AND AA05>REF(AA05,1) AND REF(AA05,2)>REF(AA05,1)
AND CROSS(KK,DD),L+10,'←←莊家密進(jìn)'),COLORRED;
STICKLINE(V4>REF(V4,1) AND REF(V4,2)>=REF(V4,1) AND BB05>0 AND AA05>REF(AA05,1) AND REF(AA05,2)>REF(AA05,1),-3,10,2.5,0),COLORRED,LINETHICK1;
STICKLINE(V4>REF(V4,1) AND REF(V4,2)>=REF(V4,1) AND BB05>0 AND AA05>REF(AA05,1)
AND REF(AA05,2)>REF(AA05,1)AND CROSS(KK,DD),-3,15,1.5,0),COLORYELLOW,LINETHICK1;