编写条件:编写方法:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); macd:=2*(DIFF-DEA),COLORSTICK; JCCOUNT:=COUNT(crOSS(DIFF,DEA),BArslAST(DEA>=0)); 金叉:=CROSS(DIFF,DEA) AND DEA>0 AND COUNT(JCCOUNT=1,21)=1; 二金叉:CROSS(DIFF,DEA) AND DEA>0 AND COUNT(JCCOU...
编写条件:编写方法:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); macd:=2*(DIFF-DEA); A1:=BArslAST(REF(crOSS(DIFF,DEA),1)); 底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);...
编写条件:编写方法:TS:=BArslAST(C/REF(C,1)>1.095);{上一个涨停距今天数,简单涨停判断,没有考虑ST} A2:=REF(L,TS);{涨停当天最低价} A3:=BETWEEN(TS,2,10); {天数条件10天以内} A4:=C>=A2 AND BETWEEN(L/A2,1.035,0.97);{价格条件收盘价大于涨停当天的最低价,并且今天的最低价和涨停天的最低价很接近} A5:=V<REF(V,1) AND V<MA......
编写条件:编写方法:boll:=MA(CLOSE,20); LB:=BOLL-2*STD(CLOSE,20); BI:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; zd:=c>o and c>ref(c,1); sz:=abs(c-o)/(h-l)<10/100; ref(bi,1)<-4 and count(lb*1.01>=l,2)>0 and ref(c,2)>ref(c,1) and (zd or sz);...
编写条件:编写方法:A1:=(C-REF(C,1))/REF(C,1)>0.05; TS:=BArslAST(A1); A2:=COUNT(L>REF(O,TS),TS)=TS; A3:=H>REF(REF(H,TS),1); A4:=(C-REF(C,1))/REF(C,1)>0.094 AND C=H; crOSS(REF(A2,1) AND A3 AND A4 AND REF(TS,1)<=30,0.5);...
编写条件:编写方法:XG1:=(REF(C,2)-REF(C,3))*100/REF(C,3)>9.5; XG2:=REF(V,1)<REF(V,2) AND V<REF(V,1); XG3:=(REF(C,1)-REF(C,2))*100/REF(C,2)<3 AND (C-REF(C,1))*100/REF(C,1)<3; XG:XG1 AND XG2 AND XG3;...
编写条件:编写方法:VAR1:=(MA(CLOSE,80)-MA(CLOSE,13)/3); VAR2:=( MA((CLOSE-VAR1)/VAR1,1)); 买点1: IF(crOSS(VAR2,0) AND LOW/REF(HIGH,1)<1.012,20,0); 最佳点:IF(COUNT(VAR2>REF(VAR2,1),3)=3 AND COUNT(VAR2<0,10)=10 AND REF(VAR2,3)=LLV(VAR2,10),60,0); 买点2: IF(REF(VAR...