【通达信】资金成交量(主动买盘、主动卖盘、资金异动)-指标公式源码
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主动买
盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE 盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE STICKLINE(主动买盘>0,0,主动买盘,3.2,0),COLOR000055; STICKLINE(主动买盘>0,0,主动买盘,2.7,0),COLOR000077; STICKLINE(主动买盘>0,0,主动买盘,2.1,0),COLOR000099; STICKLINE(主动买盘>0,0,主动买盘,1.5,0),COLOR0000BB; STICKLINE(主动买盘>0,0,主动买盘,0.9,0),COLOR0000DD; STICKLINE(主动买盘>0,0,主动买盘,0.3,0),COLOR0000FF; STICKLINE(主动卖盘<0,0,主动卖盘,3.2,0),COLOR006000; STICKLINE(主动卖盘<0,0,主动卖盘,2.7,0),COLOR007500; STICKLINE(主动卖盘<0,0,主动卖盘,2.1,0),COLOR009100; STICKLINE(主动卖盘<0,0,主动卖盘,1.5,0),COLOR00A600; STICKLINE(主动卖盘<0,0,主动卖盘,0.9,0),COLOR00BB00; STICKLINE(主动卖盘<0,0,主动卖盘,0.3,0),COLOR00CC00; STICKLINE(资金异动>100 ,0,VOL,0.6,0),COLORYELLOW; SQX:=(C-MA(CLOSE,13))*100; DIFF:EMA(MA(SQX,7),1),COLOR00FFFF; DEA:EMA(DIFF,7),COLOR00FF00; 【通达信】资金成交量(主动买盘、主动卖盘、资金异动)-指标公式效果图 (文档来源:若水财经社区)