超准买卖KDJ,高位死叉坚决卖出,地位交叉买进。 J1:=MA(C,11); RSV:=(J1-LLV(J1,9))/(HHV(J1,9)-LLV(J1,9))*100; K:SMA(RSV,3,1); D:SMA(K,3,1); J:3*K-2*D; VARF:=TROUGHBARS(3,15,1)<4; VAR11:=IF(VARF=1,50,0); DRAWTEXT(FILTER(VARF=1,3),5,'▲买入'),colorred; VAR3:=PEAKBARS(3,15,1)<10; VAR5:=IF(VAR3=1,2,0); 顶:= IF(VAR5=2,2,0); 顶A:=IF(顶>REF(顶,1),100,0),colorgreen; DRAWTEXT(顶A=100,90,'▼卖出'),COLOR00FF00; |
