晨海 发表于 2012-4-18 09:42

凹口平量柱选股及副图公式  -通达信适用

-
选股公式:
{特别鸣谢:黑马王子。此公式设计理念源自黑马王子。
此公式可同时选出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日平量柱');
补充内容 (2012-4-18 19:22):
这个只是自己记录别人的公式而已,如有冒犯不好意思

笼中乳鸽 发表于 2014-9-11 23:54

怎么回事,回贴看不到。

xu380803968 发表于 2016-12-10 19:22

股乐东东 发表于 2017-8-18 17:24

谢谢分享 谢谢谢谢谢谢

我随缘 发表于 2012-4-18 09:56

    :handshake谢谢。

阿李伯 发表于 2012-4-18 10:10

:lol

绚丽风信子 发表于 2012-4-18 10:29

:)xiexie

肥梁帮主 发表于 2012-4-18 10:40

谢谢朋友分享

美新 发表于 2012-4-18 10:50

谢谢 好好借鉴

美新 发表于 2012-4-18 10:51

谢谢 好好借鉴

美新 发表于 2012-4-18 10:54

谢谢 好好借鉴

恒瑞 发表于 2012-4-18 11:20

我们好好沁阳

孤风男 发表于 2012-4-18 17:01

凹口平量柱
本文来自: 股海明灯详细文章参考:http://www.178448.com/forum.php?mod=viewthread&tid=376212&extra=page%3D1%26filter%3Dauthor%26orderby%3Ddateline%26orderby%3Ddateline

路路通路路通 发表于 2012-4-19 08:44

学习 谢谢 学习 谢谢

鳕鱼 发表于 2012-4-19 12:38

这公式我在王向辉老师的空间见过!不错的!

责任造就公信力 发表于 2012-4-19 13:23

好好学习天天向上

qiuxue 发表于 2012-4-19 13:30

谢谢朋友分享

雨中点点 发表于 2012-4-19 20:45

谢谢楼主分享
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 凹口平量柱选股及副图公式  -通达信适用