vvvccc:=1;{股票公式-股票指标www.gs6699.com}
DRAWGBK(CLOSE>0,RGB(0,10,10),RGB(88,0,0),0,65,0);
百日地量:=IF(KDJ.J<(-10),10,0);
选股指标公式:=CROSS(9.9,百日地量);
dddss4:=(2*CLOSE+HIGH+LOW)/4;
dddss5:=LLV(LOW,5);
dddss6:=HHV(HIGH,5);
dddss7:=EMA((dddss4-dddss5)/(dddss6-dddss5)*100,5);
dddss8:=MA(dddss7,2);
dddss9:=MA(dddss7,2);
STICKLINE(IF(vvvccc,dddss7>dddss9,DRAWNULL),dddss7+3,dddss9,2,1),COLORRED;
STICKLINE(IF(vvvccc,dddss7<=dddss9,DRAWNULL),dddss7-3,dddss9,2,0),COLORCYAN;
STICKLINE(IF(vvvccc,CROSS(9.9,百日地量),DRAWNULL),dddss7+4,dddss9-5,2,0),COLORCYAN;
vvdd1:IF(vvvccc,80,DRAWNULL),DOTLINE,COLORMAGENTA;
vvdd2:IF(vvvccc,20,DRAWNULL),DOTLINE,COLORGREEN;
vvvccc0:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
vvvccc1:=SMA(vvvccc0,3,1);
vvvccc2:=SMA(vvvccc1,3,1);
vvvccc3:=3*vvvccc1-2*vvvccc2;
vvvccc4:=vvvccc3<15 AND vvvccc3>REF(vvvccc3,1);
vvvccc5:=vvvccc3>95 AND vvvccc3<REF(vvvccc3,1);
vvvccc6:=CROSS(dddss7,dddss9) AND dddss9<20 AND dddss7<20;
vvvccc7:=CROSS(dddss9,dddss7) AND dddss9>80 AND dddss7>80;
vvdd3:IF(vvvccc6 AND vvvccc,20,0),COLORMAGENTA,LINETHICK2;
DRAWICON(vvdd3=20,20,34);
IF(vvvccc7 AND vvvccc,80,100),COLORGREEN,LINETHICK2;
vvdd4:IF(vvvccc,100,DRAWNULL),COLORMAGENTA;
vvdd6:IF(vvvccc,0,DRAWNULL),COLORGREEN;