DRAWTEXT_FIX(1,0,0.07,0,162),COLORYELLOW;
定海神针选股:=MA(CLOSE,60);
指标公式:=LLV(INDEXL,275);
rrfdd1:=HHV(INDEXH,275);{选股公式-选股指标www.gs6699.com}
rrfdd2:=(CLOSE-DMA(CLOSE,VOL/MA(VOL,4)/4))/DMA(CLOSE,VOL/MA(VOL,4)/4)*100<(-8) AND (DMA(CLOSE,VOL/MA(VOL,4)/4)-DMA(CLOSE,VOL/MA(VOL,4)/32))/DMA(CLOSE,VOL/MA(VOL,32)/32)*100<(-21) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>(-0.05) AND COUNT(CLOSE=OPEN,3)=0;
rrfdd3:=MA((INDEXC-指标公式)/(rrfdd1-指标公式)*100,40);
rrfdd4:=SMA(rrfdd3,50,1);
rrfdd5:=(C-定海神针选股)/定海神针选股*100<-20 AND rrfdd4<23 AND COUNT((C-定海神针选股)/定海神针选股*100<-20,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.6;
rrfdd6:=rrfdd2 OR rrfdd5;
rrfdd9:IF(rrfdd6=1,1,0) ,NODRAW;
STICKLINE(IF(rrfdd9,(-120),0),300,0,0.5,0),COLOR00AAFF;
STICKLINE(IF(rrfdd9,(-120),0),300,0,6,0),COLOR00BBFF;
STICKLINE(IF(rrfdd9,(-120),0),300,0,5,0),COLOR00CCFF;
STICKLINE(IF(rrfdd9,(-120),0),300,0,4,0),COLOR00DDFF;
STICKLINE(IF(rrfdd9,(-120),0),300,0,3,0),COLOR00EEFF;
STICKLINE(IF(rrfdd9,(-120),0),300,0,2,0),COLORYELLOW;
STICKLINE(IF(rrfdd9,(-120),0),300,0,1,0),COLORYELLOW;