beyond202104 发表于 2023-8-28 16:47:26

通达信量能买卖指标 (主动买、主卖、持币、持股 源码)


万手:VOL/10000,LINETHICK0,NODRAW;   

AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);   

预测:AA/10000;   

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,0,3,1),COLORYELLOW;   

BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));   

主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,   

BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));   

主买:主动买/10000,COLORRED,NODRAW;   

主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),   

IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));   

主卖:-主动卖/10000,COLORGREEN,NODRAW;   

差额:(主动买+主动卖)/10000,NODRAW;   

CC:=(2*C+H+L)/4;   

STICKLINE(CC>REF(CC,1),0,VOL,2,DRAWNULL),COLORRED;   

STICKLINE(CC<REF(CC,1),0,VOL,2,DRAWNULL),COLORCYAN;   

STICKLINE(CC=REF(CC,1),0,VOL,2,DRAWNULL),COLORWHITE;   

{STICKLINE(C>-1,0,VOL,3,1),COLORRED;   

STICKLINE(C<O ,0,VOL,3,1),COLORFFFF00;   

STICKLINE(C=O AND C<REF(C,1),0,VOL,2,1),COLORFFFF00;   

STICKLINE(C=O AND C>REF(C,1),0,VOL,2,1),COLORRED;}   

STICKLINE(主动买>0,0,主动买,1,0),COLOR0000FF;   

STICKLINE(主动卖<0,VOL,主动买,1,0),COLOR00FF00;   

持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN;   

持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORMAGENTA;   

五日: MA(V,5) COLORFFFFFF LINETHICK2;   

三十四日: MA(V,34) COLORFF80FF LINETHICK2;   

一百四十四日: MA(V,144) COLOR00FFFF LINETHICK1; 


精灵玉鼠履 发表于 2023-8-30 11:59:31

我是为了获得花花!

123461112 发表于 2023-9-17 01:41:34

不错不错,楼主您辛苦了。。。

世博会海宝兄 发表于 2023-9-23 22:44:00

如果想获取全部资源,怎么操作?

喵呜_520 发表于 2024-3-18 09:13:06

感谢分享好资源

亦池 发表于 2024-4-6 20:43:48

无量天尊!
页: [1]
查看完整版本: 通达信量能买卖指标 (主动买、主卖、持币、持股 源码)