{龙妖基因主图源码如下}
{龙妖基因主图指标,无未来函数}
DC:=C/REF(C,1)>1.099;
STICKLINE(DC,OPEN,CLOSE,3,0),COLORFF00FF;
STICKLINE(DC,OPEN,CLOSE,2.5,0),COLORFF00FF;
STICKLINE(DC,H,L,0,0),COLORFF00FF;
DCZ10:MA(C,5);
DCZ20:MA(C,10);
DCZ30:MA(C,20);
ZF:=((C-REF(C,1))/REF(C,1))*100;
DACHENGZF:=REF(ZF,2)<9 OR REF(ZF,3)<9 OR REF(ZF,4)<9 OR REF(ZF,5)<9;
NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);
DACHENG11:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H ;
DACHENG3:=VOL>=REF(V,1)*1.1;
DACHENG1:=REF(DACHENG11,1);
DACHENG2:=DACHENG1 AND DACHENG11;
DACHENG9:=DACHENG11 AND DACHENG3;
DACHENG4:=DACHENG2 AND DACHENG3;
XG1:=DACHENG9 OR DACHENG4;
XG:=XG1 AND DACHENGZF AND (C-REF(C,4))/REF(C,4)*100<40 AND (C-REF(C,3))/REF(C,3)*100<30;
龙妖基因:=BARSLASTCOUNT(XG)=1;
DRAWTEXT(龙妖基因,L,' ★龙妖基因'),COLORYELLOW;
DRAWICON(龙妖基因,L,9);
{龙妖基因副图源码如下}
{龙妖基因副图指标,无未来函数}
ZF:=((C-REF(C,1))/REF(C,1))*100;
DCZZF:=REF(ZF,2)<9 OR REF(ZF,3)<9 OR REF(ZF,4)<9 OR REF(ZF,5)<9;
NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);
DCZ11:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H ;
DCZ3:=VOL>=REF(V,1)*1.1;
DCZ1:=REF(DCZ11,1);
DCZ2:=DCZ1 AND DCZ11;
DCZ9:=DCZ11 AND DCZ3;
DCZ4:=DCZ2 AND DCZ3;
XG1:=DCZ9 OR DCZ4;
龙妖基因:XG1 AND DCZZF AND (C-REF(C,4))/REF(C,4)*100<40 AND (C-REF(C,3))/REF(C,3)*100<30 COLORMAGENTA DOTLINE;
DRAWICON(龙妖基因,0.7,9);