通达信多期成交量副图公式

[复制链接]
查看90 | 回复0 | 2021-8-19 19:16:14 | 显示全部楼层 |阅读模式

以下是通达信多期成交量副图公式(无源码的请下载附件导入)

MAVOL5:MA(VOL,5),COLORMAGENTA;

MAVOL10:MA(VOL,10),COLORGREEN;

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);

OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);

OBV2:=EMA(OBV1,3)-MA(OBV1,9);

OBV3:=EMA(IF(OBV2>0,OBV2,0),3);

MAC3:=MA(C,3);

STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3/2,4,0),COLORYELLOW;

A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

长期线:=A+100;

短期线:=B+100;

中期线:=D+100;

见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));

顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5

AND 短期线<中期线 AND 短期线<长期线+4;

顶部:=FILTER(顶部区域,4);

STICKLINE( 见顶 OR 顶部,VOL,VOL*1.1,20,1 ),COLORBLUE,LINETHICK2;

VAR6:=REF(CLOSE,1);

VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;

STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),COLORBLUE,LINETHICK2;

647499689.gif

647499689.gif
 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则