通达信再次优化成交量指标公式
2020/2/26 19:06:27
成交额:AMOUNT,LINETHICK0;
STICKLINE(C>O,0,成交额,2,1),COLORRED;
STICKLINE(C=O,0,成交额,2.5,1),COLORWHITE;
STICKLINE(C<O,0,成交额,2,1),COLORLIGREEN;
VAR1:=((AMOUNT)/((HIGH-LOW)*2-ABS(CLOSE-OPEN)));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),成交额/2)),COLORRED,LINETHICK0;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-成交额/2)),COLORGREEN,LINETHICK0;
买卖差:主买+主卖,COLORWHITE,LINETHICK0;
STICKLINE(买卖差>0,0,买卖差,2,0),COLORRED;
STICKLINE(买卖差<0,0,-买卖差,2,0),COLORGREEN;
{投股票网-股票公式网站 www.tou18.cn}
主动比:主买/主卖*-1,NODRAW;
成交额能数值:主动比-2,NODRAW;
成交比%:主买/成交额,LINETHICK0;
占流通盘比:V/CAPITAL,LINETHICK0;
STICKLINE(成交额>=3*REF(成交额,1) AND 买卖差>0,成交额/3,成交额/3,2.5,0),COLORWHITE;
STICKLINE(成交额>=2*REF(成交额,1) AND 买卖差>0,成交额/2,成交额/2,2.5,0),COLORYELLOW;
{IF(主买/成交额>0.79,成交额*1.4,DRAWNULL),COLORYELLOW,CIRCLEDOT;
IF(主买/成交额>0.89,成交额*1.4,DRAWNULL),COLORMAGENTA,CIRCLEDOT;}
MAV5:MA(成交额,5),COLORWHITE;
MAV35:MA(成交额,35),COLORMAGENTA;
MAV135:MA(成交额,135),COLORBLUE;
投 股票网 www. tou18.cn
股市公式下载推荐