GOQIRI:=8180116;
GOQI:=DATE =GOQIRI;
GOQIVU:=COUNT(GOQI=1,0);
TIVIQI:=GOQI=1 AND DAY =15 ;
TIVIDJ:=GOQIVU=1 OR TIVIQI REF(TIVIQI,1);
TIVI1:=TIVIDJ=1 AND CURRBARSCOUNT =20 AND IF(MOD(CURRBARSCOUNT,2)=1,(MOD(FROMOPEN-1,30) =20 AND FROMOPEN!=240),(MOD(FROMOPEN-1,30) =15));
TIVI:=TIVI1=1 AND COUNT(TIVI1=1,0)=1;
IHDX:=BARSLAST(TIVI=1)
WUXD:=GOQI=1 AND IHDX=1;
AMNT:=AMOUNT;
AMNT1:=AMNT/10000;{万元}
成交额:AMNT1,NODRAW,COLORFFFFFF;
MD1:=AMNT1/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
MD2:=AMNT1/((HIGH-LOW)*2-ABS(CLOSE-OPEN)+ABS(OPEN-REF(CLOSE,1)));
IN1:=MD1*(CLOSE-OPEN);
IN2:=MD2*(CLOSE-REF(CLOSE,1));
涨停价:=IF(NAMELIKE('S') OR NAMELIKE('*'),ROUND(REF(CLOSE,1)*1.05*100)/100,ROUND(REF(CLOSE,1)*1.10*100)/100);
跌停价:=IF(NAMELIKE('S') OR NAMELIKE('*'),ROUND(REF(CLOSE,1)*0.95*100)/100,ROUND(REF(CLOSE,1)*0.90*100)/100);
IN:=IF((ROUND(OPEN*100)/100=涨停价 AND ROUND(CLOSE*100)/100=涨停价) OR (ROUND(OPEN*100)/100=跌停价 AND ROUND(CLOSE*100)/100=跌停价),IN2,IN1);
净流入:IN,NODRAW,COLOR00FFFF;{www.9m8.cn 九毛八公式指标网}
IN5:=(IN*0.5+REF(IN,1)*0.4+REF(IN,2)*0.3+REF(IN,3)*0.2+REF(IN,4)*0.1)/1.5;
INE:=EMA(IN5,5);
活跃流量1:=INE;
活跃流量:IF(WUXD,DRAWNULL,活跃流量1),COLOR4040FF;
STICKLINE(活跃流量 0,活跃流量,0,1.8,0),COLOR2020FF;
STICKLINE(活跃流量 0,活跃流量,0,1.8,0),COLORFF2020;
INE1:=REF(INE,1);
ZF:=((INE-INE1)/INE1)*100;
流量增幅%:IF(INE1 0,-ZF,ZF),NODRAW,COLORFF00FF;
HVT:=BARSLAST((VOL=HHV(VOL,40)));
量能突破:HVT 2 AND HVT =0 AND CLOSE REF(CLOSE,1) AND 流量增幅% 0,NODRAW,COLORFFFFFF;
DRAWICON(量能突破=1,HHV(活跃流量,20)*1.2,34);