找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
楼主: 王向辉

再发凹口平量柱选股及副图公式  -通达信适用 v2.0

   火.. [复制链接]
发表于 2017-5-10 11:26 | 显示全部楼层

本帖最后由 王向辉 于 2014-6-20 22:16 编辑


凹口平量柱选股及副图公式  -通达信适用 v2.0
http://www.178448.com/home.php?m ... 693&do=blog&id=6613


选股公式:
{特别鸣谢:黑马王子。此公式设计理念源自黑马王子。
此公式可同时选出7日-12日间的所以凹口平量柱。}
{使用副图指标,可以显示出各平量柱的时间段的长度}
XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,7) AND
REF(VOL,2)<REF(VOL,7) AND
REF(VOL,3)<REF(VOL,7) AND
REF(VOL,(7-3))<REF(VOL,7) AND
REF(VOL,(7-2))<REF(VOL,7) AND
REF(VOL,(7-1))<REF(VOL,7);
XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,8) AND
REF(VOL,2)<REF(VOL,8) AND
REF(VOL,3)<REF(VOL,8) AND
REF(VOL,(8-3))<REF(VOL,8) AND
REF(VOL,(8-2))<REF(VOL,8) AND
REF(VOL,(8-1))<REF(VOL,8);
XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,9) AND
REF(VOL,2)<REF(VOL,9) AND
REF(VOL,3)<REF(VOL,9) AND
REF(VOL,(9-3))<REF(VOL,9) AND
REF(VOL,(9-2))<REF(VOL,9) AND
REF(VOL,(9-1))<REF(VOL,9);
XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,10) AND
REF(VOL,2)<REF(VOL,10) AND
REF(VOL,3)<REF(VOL,10) AND
REF(VOL,(10-3))<REF(VOL,10) AND
REF(VOL,(10-2))<REF(VOL,10) AND
REF(VOL,(10-1))<REF(VOL,10);
XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,11) AND
REF(VOL,2)<REF(VOL,11) AND
REF(VOL,3)<REF(VOL,11) AND
REF(VOL,(11-3))<REF(VOL,11) AND
REF(VOL,(11-2))<REF(VOL,11) AND
REF(VOL,(11-1))<REF(VOL,11);
XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,12) AND
REF(VOL,2)<REF(VOL,12) AND
REF(VOL,3)<REF(VOL,12) AND
REF(VOL,(12-3))<REF(VOL,12) AND
REF(VOL,(12-2))<REF(VOL,12) AND
REF(VOL,(12-1))<REF(VOL,12);

XGX30:=(C-REF(C,1))>0 AND C>O;
xgx31:=xgx7=1 or xgx8=1 or xgx9=1 or xgx10=1 or xgx11=1 or xgx12=1;
XGX: XGX31=1 AND XGX30=1;


========================================
副图公式:
{凹口平量柱副图指标公式}
{特别鸣谢:黑马王子。此公式设计理念源自黑马王子。
此公式可同时选出7日-12日间的所以凹口平量柱。
使用副图指标,可以显示出各平量柱的时间段的长度}
XGX7:ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,7) AND
REF(VOL,2)<REF(VOL,7) AND
REF(VOL,3)<REF(VOL,7) AND
REF(VOL,(7-3))<REF(VOL,7) AND
REF(VOL,(7-2))<REF(VOL,7) AND
REF(VOL,(7-1))<REF(VOL,7);

XGX8:ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,8) AND
REF(VOL,2)<REF(VOL,8) AND
REF(VOL,3)<REF(VOL,8) AND
REF(VOL,(8-3))<REF(VOL,8) AND
REF(VOL,(8-2))<REF(VOL,8) AND
REF(VOL,(8-1))<REF(VOL,8);

XGX9:ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,9) AND
REF(VOL,2)<REF(VOL,9) AND
REF(VOL,3)<REF(VOL,9) AND
REF(VOL,(9-3))<REF(VOL,9) AND
REF(VOL,(9-2))<REF(VOL,9) AND
REF(VOL,(9-1))<REF(VOL,9);

XGX10:ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,10) AND
REF(VOL,2)<REF(VOL,10) AND
REF(VOL,3)<REF(VOL,10) AND
REF(VOL,(10-3))<REF(VOL,10) AND
REF(VOL,(10-2))<REF(VOL,10) AND
REF(VOL,(10-1))<REF(VOL,10);

XGX11:ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,11) AND
REF(VOL,2)<REF(VOL,11) AND
REF(VOL,3)<REF(VOL,11) AND
REF(VOL,(11-3))<REF(VOL,11) AND
REF(VOL,(11-2))<REF(VOL,11) AND
REF(VOL,(11-1))<REF(VOL,11);

XGX12:ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,12) AND
REF(VOL,2)<REF(VOL,12) AND
REF(VOL,3)<REF(VOL,12) AND
REF(VOL,(12-3))<REF(VOL,12) AND
REF(VOL,(12-2))<REF(VOL,12) AND
REF(VOL,(12-1))<REF(VOL,12);

DRAWTEXT(XGX7,1.1,'7日平量柱');
DRAWTEXT(XGX8,1,'8日平量柱');
DRAWTEXT(XGX9,0.9,'9日平量柱');
DRAWTEXT(XGX10,0.8,'10日平量柱');
DRAWTEXT(XGX11,0.7,'11日平量柱');
DRAWTEXT(XGX12,0.6,'12日平量柱');

================================
回复

使用道具 举报

发表于 2018-10-26 21:07 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

发表于 2020-2-28 11:20 | 显示全部楼层
谢谢老师分享,新手学习了。
回复

使用道具 举报

发表于 2022-3-10 18:58 | 显示全部楼层
谢谢谢谢,学习了,感谢分享,如何用此公式选股?
回复

使用道具 举报

发表于 2024-3-22 11:38 | 显示全部楼层
谢谢老师分享
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-10 05:55 , Processed in 0.087098 second(s), Total 9, Slave 8 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表