主买:=IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
主动比:=主买/主卖*-1;
成交量能数值:=主动比-2;
成交量能值:成交量能数值,VOLSTICK;
二十日飘红:COUNT(成交量能值 0,20),NODRAW;
十日飘红:COUNT(成交量能值 0,10),NODRAW;
逐笔量能:
n 1 60 1
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*100/CAPITAL;
D1:=EMA(ABS(DDX),60);
D2:=MAX(DDX/D1+7.5,7.5);
主笔量能值:=MIN(DDX/D1,10);
主笔量能:主笔量能值,VOLSTICK;
十日飘红:COUNT(主笔量能 0,10),NODRAW;
五日飘红:COUNT(主笔量能 0,5),NODRAW;
通吃能量{通吃率}
净额:=LARGEINTRDVOL-LARGEOUTTRDVOL;
通吃率:净额/VOL*100,,VOLSTICK;
十日飘红:COUNT(通吃率 0,10),NODRAW;
五日飘红:COUNT(通吃率 0,5),NODRAW;