高量柱单阳不破薛斯通道2金叉组合主图主图源码附图.docx
- 文档编号:4725869
- 上传时间:2022-12-08
- 格式:DOCX
- 页数:6
- 大小:15.93KB
高量柱单阳不破薛斯通道2金叉组合主图主图源码附图.docx
《高量柱单阳不破薛斯通道2金叉组合主图主图源码附图.docx》由会员分享,可在线阅读,更多相关《高量柱单阳不破薛斯通道2金叉组合主图主图源码附图.docx(6页珍藏版)》请在冰豆网上搜索。
高量柱单阳不破薛斯通道2金叉组合主图主图源码附图
高量柱、单阳不破、薛斯通道2、金叉组合主图(主图,源码,附图)
AA:
=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:
AA*N/100;
通道2:
AA*(200-N)/100;
CC:
=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:
=DMA(CLOSE,CC);
通道3:
(1+M/100)*DD;
通道4:
(1-M/100)*DD;
通道金叉:
=CROSS(通道2,通道4);
DRAWTEXT(通道金叉,L*0.98,'通道金叉'),COLOR00FFFF;
TJ:
=VOL>=REF(V,1)*1.91ANDC>REF(C,1)*1.01;
DRAWTEXT(TJ,LOW*0.986,'↖高量柱'),COLORYELLOW;
STICKLINE(TJ,OPEN,CLOSE,1.5,0),COLORYELLOW;
K1:
=SUMBARS(TJ,1);
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORRED,LINETHICK2;
DRAWTEXT_FIX(C>0,0.12,1,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2;
DRAWTEXT(HIGH>=REF(CLOSE,1)*1.095,HIGH,'涨停'),COLORMAGENTA;
STICKLINE(V/REF(V,1)>2,OPEN,CLOSE,1,0),COLORGREEN;
DRAWTEXT(REF(CLOSE,1)>=LOW*1.095,LOW,'跌停'),COLORGREEN;
DRAWTEXT(REF(CLOSE,1)>=LOW*1.095,LOW,'跌停'),COLORGREEN;
{单阳不破}
阳涨幅:
=4;
阳倍量:
=2;
单阳:
=C>O*(1+阳涨幅/100)ANDVOL>REF(VOL,1)*阳倍量;
DRAWTEXT(CURRBARSCOUNT<90AND单阳,L*0.98,'阳'),COLOR00FFFF;
高不破价:
=REF(C,BARSLAST(单阳));
中不破价:
=REF((C+L)/2,BARSLAST(单阳));
低不破价:
=REF(L,BARSLAST(单阳));
单阳不破:
=CURRBARSCOUNT<90ANDBARSLAST(单阳)<11AND(LLV(L,BARSLAST(单阳))>低不破价ORLLV(L,BARSLAST(单阳))=低不破价);
STICKLINE(单阳不破,低不破价-低不破价*0.003,低不破价,4,0),COLORRED;
DRAWTEXT(BARSLAST(单阳)=1AND单阳不破,低不破价*0.98,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=2AND单阳不破,低不破价*0.98,'2'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=3AND单阳不破,低不破价*0.98,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=4AND单阳不破,低不破价*0.98,'4'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=5AND单阳不破,低不破价*0.98,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=6AND单阳不破,低不破价*0.98,'6'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=7AND单阳不破,低不破价*0.98,'7'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=8AND单阳不破,低不破价*0.98,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=9AND单阳不破,低不破价*0.98,'9'),COLORGREEN;
DRAWTEXT(BARSLAST(单阳)=10AND单阳不破,低不破价*0.98,'10'),COLORGREEN;
两天:
=LLV(L,BARSLAST(单阳))>低不破价ORLLV(L,BARSLAST(单阳))=低不破价;
一般:
=LLV(L,BARSLAST(单阳)-2)>低不破价ORLLV(L,BARSLAST(单阳)-2)=低不破价;
一般选股:
STICKLINE(CURRBARSCOUNT<90ANDBARSLAST(单阳)<9AND两天AND一般,低不破价,低不破价,2,0),COLOR88FF00;
较强:
=LLV(L,BARSLAST(单阳)-2)>中不破价ORLLV(L,BARSLAST(单阳)-2)=中不破价;
较强选股:
STICKLINE(CURRBARSCOUNT<90ANDBARSLAST(单阳)<9AND两天AND较强,中不破价,中不破价,2,0),COLOR0088FF;
最强:
=LLV(L,BARSLAST(单阳)-3)>高不破价ORLLV(L,BARSLAST(单阳)-2)=高不破价;
最强选股:
STICKLINE(CURRBARSCOUNT<90ANDBARSLAST(单阳)<9AND两天AND最强,高不破价,高不破价,2,0),COLOR00FFFF;
DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORRED,LINETHICK2;
DRAWTEXT_FIX(C>0,0.12,1,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2;
ZT:
=(C-REF(C,1))/REF(C,1)*100>9.5ANDC=H;
DRAWLINE(ZT,H,REF(ZT,1),REF(H,1),1);
{通用条件}
LAST3K:
=CURRBARSCOUNT>4;
上涨:
=REF(CLOSE,3)>REF(CLOSE,4);
未跌破:
=REF(CLOSE,2)>REF(LOW,3)ANDREF(CLOSE,1)>REF(LOW,3)ANDCLOSE>REF(LOW,3);
缩量:
=REF(VOL,3)>0.35*(REF(VOL,1)+REF(VOL,2)+VOL)ANDREF(VOL,3)>REF(VOL,2);{1.05/3,5%}
逐级缩量:
=REF(VOL,3)>=REF(VOL,2)ANDREF(VOL,2)>=REF(VOL,1)ANDREF(VOL,1)>=VOL;{平量也看成缩量}
逐级价升:
=REF(CLOSE,3)<REF(CLOSE,2)ANDREF(CLOSE,2)<=REF(CLOSE,1)ANDREF(CLOSE,1)<=CLOSE;
{倍量柱}
倍量柱1:
=(REF(VOL,3)>=REF(VOL,4)*1.8),NODRAW;{实际给1.8倍}
倍量柱:
VOL>REF(VOL,1)*1.8,NODRAW,COLORWHITE;
{高量柱}
高量柱1:
=REF(VOL,3)>0.25*(REF(SUM(VOL,3),4)+SUM(VOL,3))ANDREF(VOL,3)>REF(VOL,4)ANDREF(VOL,3)>REF(VOL,2),NODRAW,COLORWHITE;{1.5/6,1.5倍}
TEMP1:
=BACKSET(高量柱1,4);
高量柱:
FILTER(TEMP1,3),NODRAW,COLORWHITE;
{平量柱}
平量柱1:
=REF(VOL,3)>REF(VOL,2)*0.97ANDREF(VOL,3)<REF(VOL,2)*1.03ANDREF(VOL,3)>=1.5*REF(VOL,4),NODRAW,COLORWHITE;{平量柱取前一K线,到底是取前还是取后,你自己选}
TEMP2:
=BACKSET(平量柱1,4);
平量柱:
FILTER(TEMP2,3),NODRAW,COLORWHITE;
{梯量柱}
梯量柱1:
=REF(VOL,3)>REF(VOL,4)ANDREF(VOL,4)>REF(VOL,5)ANDREF(CLOSE,3)>=REF(CLOSE,4)ANDREF(CLOSE,4)>=REF(CLOSE,5),NODRAW,COLORWHITE;{虽然是梯量柱,但也不能太小}
梯量柱:
VOL>REF(VOL,1)ANDREF(VOL,1)>=REF(VOL,2)ANDCLOSE>REF(CLOSE,1),NODRAW,COLORWHITE;
{将军柱}
将军柱1:
=上涨AND未跌破AND(倍量柱1OR高量柱1OR平量柱1OR梯量柱1),NODRAW,COLORYELLOW;
{黄金柱}
黄金柱1:
=将军柱1AND缩量,NODRAW,COLORYELLOW;
{标准黄金柱}
标准黄金柱1:
=黄金柱1AND逐级缩量AND逐级价升,NODRAW,COLORRED;
将军柱2:
=将军柱1AND黄金柱1=0ANDBARSLAST(REF(将军柱1,1))>1;
黄金柱2:
=黄金柱1AND标准黄金柱1=0ANDBARSLAST(REF(将军柱1,1))>1;
将军柱3:
=BACKSET(将军柱2,4);
将军柱:
FILTER(将军柱3,3),NODRAW,COLORWHITE;
黄金柱3:
=BACKSET(黄金柱2,4);
黄金柱:
FILTER(黄金柱3,3),NODRAW,COLORYELLOW;
标准黄金柱2:
=BACKSET(标准黄金柱1,4);
标准黄金柱:
FILTER(标准黄金柱2,3),NODRAW,COLORRED;
{输出,规则是连续都满足条件则取第一个}
DRAWICON(LAST3KAND将军柱,HIGH*1.01,24),COLORRED;
DRAWICON(LAST3KAND标准黄金柱,HIGH*1.01,26),COLORRED;
DRAWICON(LAST3KAND黄金柱,HIGH*1.01,25),COLORRED;N:
=3;
BL:
=4;
BN:
=20;
C2:
=REF(C,1);
L0:
=0.00;
L1:
=ABS(L-REF(L,1))<=L0;
L2:
=ABS(L-REF(L,2))<=L0;
L3:
=ABS(L-REF(L,3))<=L0;
L4:
=ABS(L-REF(L,4))<=L0;
L5:
=ABS(L-REF(L,5))<=L0;
首次:
=L1ORL2ORL3{ORL4ORL5};
中点:
=(H+L)/2;
本日跌率:
=(O-C)*100/O;
比前跌率:
=(REF(C,1)-C)*100/REF(C,1);
左大阴K:
=FILTER(比前跌率>BL,N);
天数:
=BARSLAST(左大阴K);
JC:
=REF(C,天数);
下:
=HHV(中点,天数)<REF(中点,天数);
MAVOL1:
=MA(V,5);
JJ:
=(3*C+H+L+O)/6;
VAR1:
=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:
=VOL=HHV(VOL,10)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1ANDC>REF(C,1);
LJL:
=FILTER(TJ1,5);
TJ2:
=IF(BARSLAST(LJL)=1ANDCLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2ANDCLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3ANDCLOSE>REF(HIGH,3),1,0)));
TP:
=TJ2=1;
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0),COLORYELLOW;
TJ3:
=IF(BARSLAST(LJL)=1ANDCLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2ANDCLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3ANDCLOSE>REF(LOW,3),1,0)));
STFZ:
=TJ3=1;
CL:
=STFZANDTP;
TJCL:
=FILTER(CL,3);
STICKLINE(LJL,OPEN,CLOSE,5,0),COLORYELLOW;
DRAWTEXT(LJL,L*0.99,'黄金柱'),COLORF00FF0;
涨停:
=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
跌停:
=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 高量柱单阳不破薛 斯通 组合 主图主图 源码 附图