{主力活跃起飞主图指标,含CAPITAL和DYNAINFO函数,当前流通股本和财务数据函数,不影响信号}
DCZ1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
DCZ2:=SMA(DCZ1,3,1);DCZ3:=SMA(DCZ2,3,1);DCZ4:=3*DCZ2-2*DCZ3;
DCZ5:=DCZ2>DCZ3 AND DCZ4>DCZ3 AND DCZ4>DCZ2;
DCZ6:=CAPITAL*C/1000000;DCZ7:=(C-REF(C,1))/REF(C,1)*100;
DCZ8:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
DCZ9:=DCZ6>0 AND DCZ6<80;
DCZ10:=DCZ7>9.8 AND DCZ7<10.99 AND C=H;
DCZ11:=C>2 AND C<22;DCZ12:=COUNT(DCZ10,2)=1;
DCZ13:=DCZ5 AND DCZ8 AND DCZ9 AND DCZ10 AND DCZ11 AND DCZ12;
DCZ14:=(C/REF(C,1)-1)*100;DCZ15:=(O/REF(C,1)-1)*100;
DCZ16:=DYNAINFO(15)/O/100;
DCZ17:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
DCZ18:=REF(L,BARSLAST(CROSS(DCZ17,0)));
DCZ19:=(O-DCZ18)/DCZ18*100;
DCZ20:=CODELIKE('60') OR CODELIKE('00');
DCZ21:=(C/REF(C,1)-1)*100>9.8 AND H=C;LB1:=EVERY(DCZ21,4)<3;
好股网:=LB1 AND DCZ19<=20 AND REF(DCZ14>9.80,1) AND DCZ15>=2 AND DCZ15<=7.5 AND DCZ20;MA10:MA(C,10)DOTLINE,COLORLIMAGENTA;
STICKLINE(DCZ13,C,O,2,0),COLORYELLOW;STICKLINE(DCZ13,C,O,1,0),COLORYELLOW;
DRAWTEXT(DCZ13,L*0.99,'←活跃'),COLORYELLOW;DRAWICON(DCZ13,L*0.999,11);
STICKLINE(好股网,C,O,2,0),COLORYELLOW;STICKLINE(好股网,C,O,1,0),COLORYELLOW;
DRAWTEXT(好股网,L*0.99,'←起飞'),COLORYELLOW;DRAWICON(好股网,L*0.999,9);
主力活跃:DCZ16/REF(V,1)*100,COLORRED,NODRAW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND V>0,0.85,0.9001,0,'主力活跃值:'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND V>0,0.92,0.9001,0,主力活跃),COLORYELLOW;