F:=100*(C-REF(C,1))/REF(C,1); S1:=今小昨; S2:=今小前; A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIGZAG(C,3,1) ,REF(ZIGZAG(C ,3,1),1)); A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIGZAG(C,5,1) ,REF(ZIGZAG(C ,5,1),1)); A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIGZAG(C,10,1) ,REF(ZIGZAG(C ,10,1),1)); STICKLINE(A1 AND A2 ,0,3,3,0),COLORGREEN; STICKLINE(A1 AND A2 ,0,1,3,0),COLORBLUE; STICKLINE(A1 AND A2 AND A3,0,5,3,0),COLORYELLOW; STICKLINE(A1 AND A2 AND A3,0,3,3,0),COLORFF00FF; STICKLINE(A1 AND A2 AND A3,0,1,3,0),COLORBLUE; DRAWTEXT(A3=1,3.8,'全倉殺入'),COLORYELLOW; 智勇出擊: ZIGZAG(C,6,1)>REF(ZIGZAG(C,6,1),1) AND REF(ZIGZAG(C,6,1),1) DRAWTEXT(智勇出擊=1,0.8,'突襲!'),COLORWHITE; 小獲且退: ZIGZAG(C,10,1)REF(ZIGZAG(C,10,1),2),COLORYELLOW,LINETHICK2; DRAWTEXT(小獲且退=1,1.3,'撤退!'),COLORYELLOW; VAR3:=PEAKBARS(C,15,1,1)<10; VAR5:=IF(VAR3=1,2,0); 頂:= IF(VAR5=2,2,0); 大勝且歸:IF(頂>REF(頂,1),2,0),COLORRED,LINETHICK2; DRAWTEXT(大勝且歸=2,2,'将大跌逢高清跌完再買!'),COLORGREEN; VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57; VAR400:=EMA(VAR300,5); 操盤:=3*VAR300-2*VAR400; A4:=CROSS(操盤,VAR300) AND VAR300<2.1 AND C>O; |
上一篇
我喜歡上了碼字
下一篇
VBS整人代碼大合集
有話要說...