通达信成交量能指标公式
2020/3/20 18:45:00
N:=1;
量:=V;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=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;
成交量能值:成交量能数值,COLORBLUE,VOLSTICK;
二十日飘红:COUNT(成交量能值>0,20),COLORRED,NODRAW;
十日飘红:COUNT(成交量能值>0,10),NODRAW;
{www.tou18.cn 投股票网_最新股票指标公式}
STICKLINE(主卖<0,0,主卖,3,0),COLORCC0000;
STICKLINE(主卖<0,0,主卖,2,0),COLORFF4400;
STICKLINE(主卖<0,0,主卖,1.1,0),COLORFF8800;
STICKLINE(主卖<0,0,主卖,0.4,0),COLORFFCC00;
STICKLINE(主买>0,0,主买,3,0),COLOR000066;
STICKLINE(主买>0,0,主买,2,0),COLOR000099;
STICKLINE(主买>0,0,主买,1.1,0),COLOR0000CC;
STICKLINE(主买>0,0,主买,0.4,0),COLOR0000FF;
投股票 网 w ww.tou18.cn
股市公式下载推荐