找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 4700|回复: 311

AK~HK共8种K像图的量柱副图标示

 火... [复制链接]
发表于 2018-8-27 19:16 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
在量价量柱组合中,有8种比较特殊的组合,它们是
AK像,小梯量三连阳;
BK像,价升量缩三连阳;
CK像,缩量三连阴;
DK像,梯量三连阴(价跌量增);
E像,倍伸倍缩三连阳;
F像,阳伸阴缩结构;
G像,阴伸阳缩三连阴;
下面的几行语句是用于用户自用的量柱公式里,在该公式加上这些语句就能在相应的量柱上标示对应的K像组合,见图上蓝色的字母。
AK:=EVERY(V>REF(V,1) AND C>REF(C,1),3);
DRAWTEXT(AK,V*0.7,'A'),DRAWABOVE,COLORBLUE;
BK:=EVERY(V<REF(V,1) AND C>REF(C,1),3);
DRAWTEXT(BK,V*0.7,'B'),DRAWABOVE,COLORBLUE;
CK:=EVERY(V<REF(V,1) AND C<REF(C,1),3);
DRAWTEXT(CK,V*0.7,'C'),DRAWABOVE,COLORBLUE;
DK:=EVERY(V>REF(V,1) AND C<REF(C,1),3);
DRAWTEXT(DK,V*0.7,'D'),DRAWABOVE,COLORBLUE;
EK:=EVERY(C>REF(C,1),3) AND V<0.55*REF(V,1) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(EK,V*0.7,'E'),DRAWABOVE,COLORBLUE;
FK:=EVERY(C<REF(C,1),3) AND V<0.55*REF(V,1) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(FK,V*0.7,'F'),DRAWABOVE,COLORBLUE;
GK:=C<REF(C,1) AND V<0.55*REF(V,1) AND REF(C,1)>REF(C,2) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(GK,V*0.7,'G'),DRAWABOVE,COLORBLUE;
HK:=C>REF(C,1) AND V<0.55*REF(V,1) AND REF(C,1)<REF(C,2) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(HK,V*0.7,'H'),DRAWABOVE,COLORBLUE;
谢谢回复




补充内容 (2018-8-28 11:53):
GK像,阴伸阳缩结构。不是:G像,阴伸阳缩三连阴

补充内容 (2019-4-5 11:29):
完整的“AK~HK共8种K像图的量柱副图标示”在楼下或者在336楼,请尊驾移步观看。
 楼主| 发表于 2019-1-3 19:24 | 显示全部楼层

m1:=5;
m2:=10;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
TJ:=C<O;
TJ1:=C>REF(C,1) AND TJ;
TJ2:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(TJ1) AND TJ;
STICKLINE(TJ1,VOL,0,-1,0),COLORMAGENTA;
STICKLINE(TJ2,VOL,0,-1,0),COLORMAGENTA;
{DRAWICON(TJ1,H,1);
DRAWICON(TJ2,H,5);};
TJ3:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND PERIOD = 5;
STICKLINE(TJ3,VOL,0,-1,0),COLORRED;
{DRAWICON(TJ1,H,1);
DRAWICON(TJ2,H,5);};
SL1TJ:=V=LLV(V,100) AND BARSCOUNT(V)>10;
SL2TJ:=V<REF(V,1)/2 AND NOT(SL1TJ);
SDI:=IF(C>O,O,C);
SDING:=IF(C>O,C,O);
SL3TJ:=V<REF(V,1)/1.5 AND NOT(SL2TJ) AND NOT(SL1TJ);{ AND SDI>REF((SDING-SDI)/1.5+SDI,1);}

DRAWTEXT(SL3TJ,V*0.95,'3'),DRAWABOVE,COLORLIBLUE;{三一}
DRAWTEXT(SL2TJ,V*0.95,'2'),DRAWABOVE,COLORLIBLUE;{二一}
DRAWTEXT(SL1TJ,V*0.95,'1'),DRAWABOVE,COLORLIBLUE;{百低}
AK:=EVERY(V>REF(V,1) AND C>REF(C,1),3);{价增量增三连阳}
DRAWTEXT(AK,V*0.7,'A'),DRAWABOVE,COLORBLUE;
BK:=EVERY(V<REF(V,1) AND C>REF(C,1),3);{价增量缩三连阳}
DRAWTEXT(BK,V*0.7,'B'),DRAWABOVE,COLORBLUE;
CK:=EVERY(V<REF(V,1) AND C<REF(C,1),3);{价减量缩三连阴}
DRAWTEXT(CK,V*0.7,'C'),DRAWABOVE,COLORBLUE;
DK:=EVERY(V>REF(V,1) AND C<REF(C,1),3);{价减量增三连阴}
DRAWTEXT(DK,V*0.7,'D'),DRAWABOVE,COLORBLUE;
EK:=EVERY(C>REF(C,1),3) AND V<0.55*REF(V,1) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(EK,V*0.7,'E'),DRAWABOVE,COLORBLUE;{倍伸倍缩三连阳}
FK:=EVERY(C<REF(C,1),3) AND V<0.55*REF(V,1) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(FK,V*0.7,'F'),DRAWABOVE,COLORBLUE;{倍伸倍缩三连阴}
GK:=C<REF(C,1) AND V<0.55*REF(V,1) AND REF(C,1)>REF(C,2) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(GK,V*0.6,'G'),DRAWABOVE,COLORBLUE;{阳伸阴缩}
HK:=C>REF(C,1) AND V<0.55*REF(V,1) AND REF(C,1)<REF(C,2) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(HK,V*0.6,'H'),DRAWABOVE,COLORBLUE;{阴伸阳缩}
{PING:=V<1.1*REF(V,1) AND V>0.9*REF(V,1);
DRAWTEXT(PING,V*0.6,'P'),DRAWABOVE,COLORGREEN;}{平量柱}
小倍量:=V<3.3*REF(V,1) AND V>1.9*REF(V,1) AND REF(V,1)<=1.2*LLV(V,100) AND C>=REF(C,1);
DRAWTEXT(小倍量,V*0.6,'Y'),DRAWABOVE,COLORRED;{百低后小倍阳};
小倍阳:=V>1.9*REF(V,1) {AND REF(C,1)<REF(C,2)} AND H>0.5*(REF(C,1)+REF(C,2)) AND C>=REF(C,1) AND NOT(小倍量);
DRAWTEXT(小倍阳,V*0.6,'B'),DRAWABOVE,COLORRED;{小倍阳};
{TJ9:=C>O;
TJ8:=C<REF(C,1) AND TJ9;
TJ7:=AMOUNT/V/100<REF(C,1) AND O<REF(C,1) AND NOT(TJ8) AND TJ9;
STICKLINE(TJ7,VOL,0,-1,0),COLORBROWN;
STICKLINE(TJ8,VOL,0,-1,0),COLORBROWN};

回复

使用道具 举报

 楼主| 发表于 2019-4-5 11:26 | 显示全部楼层
完整的标示8种K像的量柱公式:
m1:=5;
m2:=10;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
TJ:=C<O;
TJ1:=C>REF(C,1) AND TJ;
TJ2:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(TJ1) AND TJ;
STICKLINE(TJ1,VOL,0,-1,0),COLORMAGENTA;
STICKLINE(TJ2,VOL,0,-1,0),COLORMAGENTA;
{DRAWICON(TJ1,H,1);
DRAWICON(TJ2,H,5);};
TJ3:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND PERIOD = 5;
STICKLINE(TJ3,VOL,0,-1,0),COLORRED;
{DRAWICON(TJ1,H,1);
DRAWICON(TJ2,H,5);};
SL1TJ:=V=LLV(V,100) AND BARSCOUNT(V)>10;
SL2TJ:=V<REF(V,1)/2 AND NOT(SL1TJ);
SDI:=IF(C>O,O,C);
SDING:=IF(C>O,C,O);
SL3TJ:=V<REF(V,1)/1.5 AND NOT(SL2TJ) AND NOT(SL1TJ);
{ AND SDI>REF((SDING-SDI)/1.5+SDI,1);}
DRAWTEXT(SL3TJ,V*0.95,'3'),DRAWABOVE,COLORLIBLUE;{三一}
DRAWTEXT(SL2TJ,V*0.95,'2'),DRAWABOVE,COLORLIBLUE;{二一}
DRAWTEXT(SL1TJ,V*0.95,'1'),DRAWABOVE,COLORLIBLUE;{百低}
AK:=EVERY(V>REF(V,1) AND C>REF(C,1),3);{价增量增三连阳}
DRAWTEXT(AK,V*0.7,'A'),DRAWABOVE,COLORBLUE;
BK:=EVERY(V<REF(V,1) AND C>REF(C,1),3);{价增量缩三连阳}
DRAWTEXT(BK,V*0.7,'B'),DRAWABOVE,COLORBLUE;
CK:=EVERY(V<REF(V,1) AND C<REF(C,1),3);{价减量缩三连阴}
DRAWTEXT(CK,V*0.7,'C'),DRAWABOVE,COLORBLUE;
DK:=EVERY(V>REF(V,1) AND C<REF(C,1),3);{价减量增三连阴}
DRAWTEXT(DK,V*0.7,'D'),DRAWABOVE,COLORBLUE;
EK:=EVERY(C>REF(C,1),3) AND V<0.55*REF(V,1) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(EK,V*0.7,'E'),DRAWABOVE,COLORBLUE;{倍伸倍缩三连阳}
FK:=EVERY(C<REF(C,1),3) AND V<0.55*REF(V,1) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(FK,V*0.7,'F'),DRAWABOVE,COLORBLUE;{倍伸倍缩三连阴}
GK:=C<REF(C,1) AND V<0.55*REF(V,1) AND REF(C,1)>REF(C,2) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(GK,V*0.6,'G'),DRAWABOVE,COLORBLUE;{阳伸阴缩}
HK:=C>REF(C,1) AND V<0.55*REF(V,1) AND REF(C,1)<REF(C,2) AND REF(V,1)>1.9*REF(V,2);
DRAWTEXT(HK,V*0.6,'H'),DRAWABOVE,COLORBLUE;{阴伸阳缩}
{PING:=V<1.1*REF(V,1) AND V>0.9*REF(V,1);
DRAWTEXT(PING,V*0.6,'P'),DRAWABOVE,COLORGREEN;}{平量柱}
小倍量:=V<3.3*REF(V,1) AND V>1.9*REF(V,1) AND REF(V,1)<=1.2*LLV(V,100) AND C>=REF(C,1);
DRAWTEXT(小倍量,V*0.6,'Y'),DRAWABOVE,COLORRED;{百低后小倍阳};
小倍阳:=V>1.9*REF(V,1) {AND REF(C,1)<REF(C,2)} AND H>0.5*(REF(C,1)+REF(C,2)) AND C>=REF(C,1) AND NOT(小倍量);
DRAWTEXT(小倍阳,V*0.6,'B'),DRAWABOVE,COLORRED;{小倍阳};
{TJ9:=C>O;
TJ8:=C<REF(C,1) AND TJ9;
TJ7:=AMOUNT/V/100<REF(C,1) AND O<REF(C,1) AND NOT(TJ8) AND TJ9;
STICKLINE(TJ7,VOL,0,-1,0),COLORBROWN;
STICKLINE(TJ8,VOL,0,-1,0),COLORBROWN};
回复

使用道具 举报

发表于 2019-3-29 05:20
待审核
(待审核)

发表于 2018-8-27 19:44 | 显示全部楼层
学习,学习谢谢分享。
回复

使用道具 举报

发表于 2018-8-27 21:37 | 显示全部楼层
学习取经,谢谢分享,辛苦了。
回复

使用道具 举报

发表于 2018-8-27 22:10 | 显示全部楼层

学习,学习谢谢分享。
回复

使用道具 举报

发表于 2018-8-27 22:34 | 显示全部楼层
学习,学习谢谢分享,辛苦
回复

使用道具 举报

发表于 2018-8-28 05:10 | 显示全部楼层

学习,学习谢谢分享。
回复

使用道具 举报

发表于 2018-8-28 07:05 | 显示全部楼层
这个很好,向你学习,谢谢分享。
回复

使用道具 举报

发表于 2018-8-28 07:48 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

发表于 2018-8-28 08:34 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

发表于 2018-8-28 14:13 | 显示全部楼层

学习,学习谢谢分享。
学习,学习谢谢分享。
回复

使用道具 举报

发表于 2018-8-28 23:00 | 显示全部楼层
楼主辛苦了,谢谢分享!
回复

使用道具 举报

发表于 2018-8-29 12:36 | 显示全部楼层
谢谢老师分享
回复

使用道具 举报

发表于 2018-8-29 12:37 | 显示全部楼层
谢谢老师分享
回复

使用道具 举报

发表于 2018-8-29 14:11 | 显示全部楼层
谢谢老师,辛苦了!!!
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 01:37 , Processed in 0.105510 second(s), Total 12, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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