J9:3*("KDJ.K")-2*("KDJ.D"),colorred; MJ9:MA(J9,3),colorgreen; RSVD:=(indexC-LLV(indexL,9))/(HHV(indexH,9)-LLV(indexL,9))*100; KD:=sma(RSVD,3,1); DD:=sma(KD,3,1); JD:3*KD-2*DD,colorcyan,linethick2; RSV2:=(C-LLV(L,45))/(HHV(H,45)-LLV(L,45))*100; K45:=SMA(RSV2,15,1); D45:=SMA(K45,15,1); J45:3*K45-2*D45,coloryellow; RSV3:=(C-LLV(L,180))/(HHv(H,180)-LLV(L,180))*100; K180:=SMA(RSV3,60,1); D180:=SMA(K180,60,1); J180:=3*K180-2*D180,colormagenta; 50,colorwhite; 0,colorwhite,linethick3; Var1:=VOL/CAPITAL; Var2:=VOL/700000000; Var3:=IF(Var1=0,Var2,Var1); Var4:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1); Var5:=2.5*MAX(Var3,Var4); Var6:=DMA(CLOSE,Var5); Var7:=SMA(20*(Var6/REF(Var6,1)-1),2,1); Var8:=EMA(Var7,2); 白观望:STICKLINE(Var8>=0.003 and ma(c,34)>ref(ma(c,34),1) and ma(c,8)<ref(ma(c,8),1),0.0,0.0,20,0),linethick4 ,colorwhite ; 红进:STICKLINE(Var8>=0.003 and ma(c,34)>ref(ma(c,34),1) and ma(c,8)>ref(ma(c,8),1),0.0,0.0,20,0),linethick5 ,colorred ; 红进进:STICKLINE(Var8>=0.003 and ma(c,34)<ref(ma(c,34),1) and ma(c,8)>ref(ma(c,8),1),0.0,0.0,20,0),linethick4,colormagenta; STICKLINE(BETWEEN(Var8,0.003,-0.003),0.0,0.0,20,0),linethick4,colorwhite ; 绿退:STICKLINE(Var8<=-0.003,0.0,0.0,20,0),linethick3 ,colorgreen; 买:if(J9<30 andcross(J9,MJ9)and J45<20 and (JD<20 or JD>ref(JD,1)),50,20),colorred,linethick2; 卖:if(J9>50 andcross(MJ9,J9) and J45>80 and JD<ref(JD,1) ,60,80),colorgreen,linethick2;
|