源码
GLL:=-6;N:=9;M1=3;M2:=3;
Var1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var4:=(Var1+2*Var2+3*Var3)/6;
Var5:=MA(Var4,3)-STD(Var4,3);
乖离36: STICKLINE(Var5<-36,125,110,6,0), ,COLOR95FBDD ;
乖离28: STICKLINE(Var5<-28 AND Var5>-36,115,100,6,0), ,COLORf00ff0 ;
乖离24: STICKLINE(Var5<-24 AND Var5>-28,105,85,6,0), , COLORYELLOW;
乖离20: STICKLINE(Var5<-20 AND Var5>-24,95,65,6,0), , COLORRED;
乖离18: STICKLINE(Var5<-18 AND Var5>-20,85,55,6,0), ,COLORDDAA78 ;
乖离16: STICKLINE(Var5<-16 AND Var5>-18,75,45,6,0), ,COLORFFE0C0;
乖离14: STICKLINE(Var5<-14 AND Var5>-16,65,35,6,0), , ;
乖离12: STICKLINE(Var5<-12 AND Var5>-14,50,20,5,0), , COLOR00ff00;
乖离9: STICKLINE(Var5<-9 AND Var5>-12,35,5,5,0), , COLORAAAE5D;
乖离6: STICKLINE(Var5<-6 AND Var5>-9,-2,-15,5,0), , COLORWHITE;
Var6:STICKLINE(Var5<-4 AND Var5>-6,-17,-30,5,0),coloryellow;
Var7:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
Var8:=EMA(Var7,9);
Var9:=2*(Var7-Var8);
VarA:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K: SMA(VarA,M1,1), , COLORYELLOW;
VarB:=SMA(K,M2,1);
J: 3*K-2*VarB, , COLOR00ff00;
试探介入: IF(CROSS(J,VarB) AND COUNT(Var5<-9,4)>=1,65,-15),coloryellow,LINETHICK2 , ;
果断介入: IF(CROSS(J,VarB) AND COUNT(Var5<-12,3)>=1,95,1), , COLORf00ff0;
主力介入: IF(CROSS(J,VarB) AND COUNT(Var5<-16,4)>=1,40,-15), , COLORWHITE;
VarC:DRAWICON(CROSS(J,1),1,1);
98;