程序源碼 ZTTJ:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)=4,0.2,0.1))); 一板1:=ZTTJ AND NOT(REF(ZTTJ,1)) AND H=C AND FINANCE(42)>20; 一板:=C>REF(C,1)*1.065 AND C<REF(C,1)*1.118 AND C=H AND REF(C,1)<REF(C,2)*1.065; M1:=一板 AND V<REF(V,1); 二連板1:=((C>=ZTPRICE(REF(C,1),0.1) AND FINANCE(42)>30 AND REF(C,1)=ZTPRICE(REF(C,2),0.1)) OR (C>=ZTPRICE(REF(C,1),0.2) AND FINANCE(42)>30 AND REF(C,1)=ZTPRICE(REF(C,2),0.2)) AND NOT(REF(ZTTJ,2))); 二連板:=C>REF(C,1)*1.095 AND C<REF(C,1)*1.118 AND C=H AND REF(C,1)>REF(C,2)*1.095 AND REF(C,1)<REF(C,2)*1.118 AND REF(C,1)=REF(H,1) AND REF(C,2)<REF(C,3)*1.095; M2:=STICKLINE(二連板 AND V<REF(V,1),(O+C)/2,C,1,0),COLORRED; 三連板1:=(C>=ZTPRICE(REF(C,1),0.1) AND FINANCE(42)>20 AND REF(C,1)=ZTPRICE(REF(C,2),0.1) AND REF(C,2)=ZTPRICE(REF(C,3),0.1)) OR (C>=ZTPRICE(REF(C,1),0.2) AND FINANCE(42)>20 AND REF(C,1)=ZTPRICE(REF(C,2),0.2) AND REF(C,2)=ZTPRICE(REF(C,3),0.2)); 三連板:=C>REF(C,1)*1.095 AND C<REF(C,1)*1.118 AND C=H AND REF(C,1)>REF(C,2)*1.095 AND REF(C,1)<REF(C,2)*1.118 AND REF(C,1)=REF(H,1) AND REF(C,2)>REF(C,3)*1.095 AND REF(C,2)<REF(C,3)*1.118 AND REF(C,2)=REF(H,2); M3:=三連板 AND V<REF(V,1); MAvol1:=MA(V,5); Y:=DRAWTEXT(一板 AND C>O AND V>REF(MAVOL1,1)*2,L-0.07,'一進(jìn)二'),COLORRED; Y1:=DRAWTEXT(M1 AND C>O,L-0.09,'一進(jìn)二'),COLORRED; E1:=DRAWTEXT(M2 ,L-0.07,'二進(jìn)三'),COLORYELLOW; E2:=DRAWTEXT(M3 ,O,'龍妖'),COLORYELLOW; 夾1:=C>REF(C,1)*1.075 AND REF(C,1)<REF(C,2)*1.095 AND REF(C,2)>REF(C,3)*1.075 AND REF(C,3)<REF(C,4)*1.075 AND H=C; Y2:=DRAWTEXT(夾1 ,L-0.09,'一進(jìn)二'),COLORYELLOW; 夾2:=C>REF(C,1)*1.075 AND REF(C,1)<REF(C,2)*1.075 AND REF(C,2)<REF(C,3)*1.075 AND REF(C,3)>REF(C,4)*1.075 AND REF(C,4)<REF(C,5)*1.075 AND H=C; Y3:=DRAWTEXT(夾2 ,L-0.09,'一進(jìn)二'),COLORYELLOW; 封單量:=DYNAINFO(58); 量比:=(V/240)/((REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5))/1200); 一J二:=(一板 AND C>O AND V>REF(MAVOL1,1)*2) OR (M1 AND C>O) OR 夾1 OR 夾2; 打一進(jìn)二:(一J二 AND (量比>=1 AND 量比<=5)) AND ((封單量>10000 AND C>20) OR (封單量>30000 AND C>10 AND C<20) OR (封單量>80000 AND C<10)); 注: 館內(nèi)各種公式為學(xué)習(xí)編程而保存,實(shí)戰(zhàn)使用前一定要看其中是否有未來函數(shù)并自己親自測(cè)試成功率,決不能依據(jù)公式名稱的描述和形容去投資,據(jù)此入市造成投資損失由投資者自己承擔(dān)。 發(fā)文不易,如獲益,歡迎贊賞,贊賞必復(fù)! |
|