上升浪 上升通道操作 Var1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; Var2:=SMA(Var1,2,1); Var3:=SMA(Var2,2,1); Var4:=SMA(Var3,2,1); 波: VAR3; 段: VAR4; Var6:=CROSS(Var3,Var4) AND Var3<20 AND Var3-Var4>0.8; DRAWTEXT(FILTER(Var6,10)=1,40,'抄底'),LINETHICK3 , ; STICKLINE(FILTER(Var6,10)=1,0,30,10,0),colorgreen , ; Var7:=CROSS(Var4,Var3) AND Var3>83; STICKLINE(FILTER(Var7,5)=1,80,100,10,0),coloryellow , ; DRAWTEXT(FILTER(Var7,5)=1,72,'清仓'),LINETHICK3 ,coloryellow, ; Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4; STICKLINE(Var8,85,100,10,0),coloryellow , ; VAR5:=CROSS(MA(CLOSE,3,),MA(CLOSE,10)) AND Var3>Var4 AND Var3-Var4>1.5 ; DRAWTEXT(FILTER(VAR5,10)=1,30,'买入'),LINETHICK2 , ; STICKLINE(FILTER(VAR5,10)=1,0,30,10,0),colorred , ; VAR10:=CROSS(MA(CLOSE,2,),MA(CLOSE,40))AND Var3>Var4 AND Var3-Var4>1.5 ; DRAWTEXT(FILTER(VAR10,10)=1,50,'牛犇'),LINETHICK3 , ; STICKLINE(FILTER(VAR10,10)=1,0,30,10,0),colormagenta , ; {买:C>OPEN AND C>REF(C,1) AND C>REF(LOW,2) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,4)>REF(OPEN,4) AND REF(C,1)<REF(OPEN,1) AND REF(C,2)<REF(OPEN,2) AND REF(C,3)<REF(OPEN,3) AND REF(C,4)>REF(C,5);} 条件1:=REF(C,1)<REF(OPEN,1) AND REF(C,2)<REF(OPEN,2) AND REF(C,3)<REF(OPEN,3) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,4)>REF(OPEN,4) AND REF(C,4)>REF(C,5); 条件2:=C>REF(C,1) AND C>OPEN AND C>REF(LOW,2); VAR11:=条件1 AND 条件2 AND Var3>Var4; DRAWTEXT(VAR11=1,40,'331'),LINETHICK1 , ; STICKLINE(VAR11=1,0,26,10,0),coloryellow , ; |
下一篇:冠军指标(同花顺公式)