通达信优化成交量附图+源码

 2023-10-21 11:13:46    通达信指标网  

成交额:AMOUNT,LINETHICK0;

STICKLINE(成交额,成交额,0,2.5,1),COLORGRAY;

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;

主动比:主买/主卖*-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;

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1702

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服