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

量化指标(通达信公式 副图 源码 测试图)


WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;VOLUME:VOL,VOLSTICK;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;STICKLINE(主买>0,0,主买,2,0),COLORRED;{STICKLINE(主卖>0,主买,VOL,2,-1),COLOR00FF80;}STICKLINE(主买<REF(主买,1)AND 主买>0,0,主买,2,0),COLOR00FFFF;换手:VOL/CAPITAL*100,POINTDOT;十日换手:SUM(换手,10);MAVOL1:MA(VOLUME,M1),COLORWHITE,LINETHICK2;MAVOL2:MA(VOLUME,M2),COLORYELLOW,LINETHICK2;MAVOL3:MA(VOLUME,M3),COLORGREEN,LINETHICK2;AA:=VOL>=REF(V,1)*2 && C>REF(C,1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.06;AA4:=VOL<=REF(V,1)*0.50 ;STICKLINE(AA,0,V,1,0),COLORYELLOW;STICKLINE(AA2,0,V,1,0),COLORRED;STICKLINE(AA3,0,V,1,0),COLORWHITE;STICKLINE(AA4,0,V,1,0),COLORBLUE;地量:=VOL<=REF(LLV(VOL,55),1);XG:COUNT(地量>0,3)=3; DRAWTEXT(XG ,VOL,'芝麻量'),COLORRED; 天量:VOL=HHV(VOL,200);DRAWTEXT(天量=1,VOL,'天量'),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0.001,0,0,'倍量黄色 '),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.081,0,0,'芝麻量红色 '),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.161,0,0,'平量白色 '),COLORWHITE;DRAWTEXT_FIX(ISLASTBAR,0.241,0,0,'缩倍量蓝色 '),COLORBLUE;所属地域:DRAWTEXT_FIX(ISLASTBAR,0.33,0,0,HYBLOCK),COLORYELLOW;所属概念:DRAWTEXT_FIX(ISLASTBAR,0.46,0,0,GNBLOCK),COLORYELLOW;

所属地区:DRAWTEXT_FIX(ISLASTBAR ,0.88,0,0,DYBLOCK),COLORYELLOW;




chxna13869 发表于 2023-10-15 11:19:47

很好的内容,感谢分享!

五题架转困 发表于 2023-11-7 20:27:36

我抢、我抢、我抢沙发~

赶楼增顺脸 发表于 2024-1-29 04:02:30

功德无量!

桃源佳景贝sq 发表于 2024-1-29 12:13:10

有道理。。。

尘埃384 发表于 2024-2-12 23:05:18

谢谢了呀,辛苦了呀,支持呀!

擦你吓到我啦你k 发表于 2024-4-3 09:14:00

路过,帮顶一下!
页: [1]
查看完整版本: 量化指标(通达信公式 副图 源码 测试图)