一个很不错的指标源码 回档起飞
2014-10-20 12:43:39点击:
MM1:=MA(C,60); MM2:=MA(C,120); CQXD:=COUNT(MM2<REF(MM2,1),60)=60; JD:=57.3*ATAN(100*(MM1/REF(MM1,1)-1)); CSFR:=LONGCROSS(C,MM1,5); FRYL:=BARSLAST(CSFR); ZG:=HHV(C,FRYL); ZD:=LLV(C,FRYL); ZGYL:=BARSLAST(ZG=C); ZDYL:=BARSLAST(ZD=C); MZG:=REF(MM1,ZGYL); MZD:=REF(MM1,ZDYL); FL:=V>1.25*REF(V,1); SL:=V<0.75*REF(V,1); TJ6:=CQXD AND FRYL>ZGYL AND ZGYL>ZDYL AND ZG>1.05*MZG AND ZD>0.95*MZD AND COUNT(C>MM1,FRYL)>5; TJ7:=COUNT(FL,3)>=1 AND COUNT(SL,ZGYL)>0.6*COUNT(FL,ZGYL) AND COUNT(C<REF(ZD,1),2)>=1 AND C>REF(C,1) AND C>O AND COUNT(JD>0,3)=3; 回档起飞:TJ6 AND TJ7;