通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
VVOL:IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
AA:=VOL REF(V,1)*1.9;
AA1:=VOLAA2:=VOLSTICKLINE(AA,0,V,1,0),COLORYELLOW;
STICKLINE(AA1,0,V,1,0),COLORGREEN;
STICKLINE(AA2,0,V,1,0),COLORMAGENTA;
TJ1:=COUNT(V REF(V,1)*1.9,4)=1;
TJ2:=COUNT(VMIN(L,4)ANDL REF(L,1),3)=3;
TJ3:=TJ1ANDTJ2;
STICKLINE(TJ3,0,V,1,0),COLORRED;
MV2:MA(V,2);
MV6:MA(V,6);
MV20:MA(V,20);
以下是⼀个135指标公式
MA13:MA(CLOSE,13),COLORRED;
MA34:MA(CLOSE,34),COLORWHITE;
MA55:MA(CLOSE,55),COLORBLUE;
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
{135战法}
YY1:=C MA(C,13)ANDOPENYY3:=C MA(C,34)ANDOPENYY5:=C MA(C,55)ANDOPENDRAWTEXT(YY1ANDYY5
ANDYY3,LOW-0.3, ⼀阳三线 ),COLORRED;
DRAWICON(YY1ANDYY5ANDYY3,LOW-0.4,5);
SJ1:=ABS(MA(CLOSE,13)-MA(CLOSE,34))SJ2:=ABS(MA(CLOSE,34)-
MA(CLOSE,55))SJ3:=CROSS(MA(CLOSE,13),MA(CLOSE,55));{13线上穿55线}
DRAWTEXT(SJ1ANDSJ2ANDSJ3,LOW-0.3, 三军集合 ),COLORRED;
DRAWICON(SJ1ANDSJ2ANDSJ3,LOW-0.4,5);
RY1:=C/OPEN 1.04;{阳线4%}
RY2:=REF(OPEN,1)/REF(CLOSE,1) 1.04;{阴线4%}
RY3:=ABS(OPEN-REF(C,1))DRAWTEXT(RY1ANDRY2ANDRY3,LOW-0.3, ⽇⽉合璧 ),COLORRED;
DRAWICON(RY1ANDRY2ANDRY3,LOW-0.4,5);
HK1:=CROSS(MA(C,13),MA(C,55));{13线上穿55线}
HK2:=CHK3:=ABS(L-MA(C,13))HK:=HK1ANDHK2ANDHK3;
DRAWTEXT(HK,HIGH+0.3, ⿊客点击 ),COLORBLUE;
DRAWICON(HK,HIGH+0.4,4);
JG1:=ABS(MA(C,13)-MA(C,34))JG2:=O MA(C,13)ORO=MA(C,13);
JG3:=C/OPEN 1.03;{阳线3%}
JG:=JG1ANDJG2ANDJG3;
DRAWTEXT(JG,LOW-0.3, 揭竿⽽起 ),COLORRED;
DRAWICON(JG,LOW-0.4,5);
HY1:=CROSS(MA(C,13),MA(C,55));{13线上穿55线}
HY2:=OPEN1.02;{阳线3%}
HY3:=ABS(OPEN-MA(C,13))HY:=HY1ANDHY2ANDHY3;
DRAWTEXT(HY,LOW-0.3, 红⾐侠⼥ ),COLORRED;
DRAWICON(HY,LOW-0.4,5);
JW1:=CJW2:=OPENREF(L,1);
JW3:=OJW:=JW1ANDJW2ANDJW3;
DRAWTEXT(JW,LOW-1.2, ⾦屋藏娇 ),COLORRED;
DRAWICON(JW,LOW-1.2,5);
TS1:=CROSS(MA(C,13),MA(C,34));{13线上穿
33线}
TS2:=MA(C,13)TS:=TS1ANDTS2;
DRAWTEXT(TS,LOW-0.3, 投⽯问路 ),COLORRED;
DRAWICON(TS,LOW-0.4,5);
MK1:=MA(C,13) MA(C,55)ANDMA(C,34) MA(C,55);
MK:=TS1ANDMK1;
DRAWTEXT(MK,H+0.3, 梅开⼆度 ),COLORBLUE;
DRAWICON(MK,HIGH+0.4,4);
YZ1:=C/O 1.02ANDH/C 1.02ANDO/L 1.02;{收阳有上影}
YZ2:=REF(C,1) REF(O,1)ANDO MA(C,13);{昨收阳今⼤于均线}
YZ:=YZ1ANDYZ2ANDY
DRAWTEXT(YZ,HIGH+0.3, ⼀枝独秀 ),COLORBLUE;
DRAWICON(YZ,HIGH+0.4,4);
DS1:=OPEN/C 1.04ANDO/REF(C,1) 1.03;{⾼开收阴}
DS2:=V*100/FINANCE(7) 0.08ANDY {换⼿⾼涨幅⼤}
DS:=DS1ANDDS2;
DRAWTEXT(DS,HIGH+0.3, 独上⾼楼 ),COLORGREEN;
DRAWICON(DS,HIGH+0.4,6);
YJ1:=H/O 1.04;
YJ2:=ABS(C-O)YJ3:=C/MA(C,11)
YJ:=YJ1ANDYJ2ANDDS2ANDYJ3ANDYZ2;
DRAWTEXT(YJ,HIGH+0.3, ⼀剑封喉 ),COLORGREEN;
DRAWICON(YJ,HIGH+0.4,6);
PC:=CPO:=O MA(C,13);
DRAWTEXT(PCANDPO,HIGH+0.3, S ),COLORGREEN;
DRAWICON(PCANDPO,HIGH+0.4,6);
CC:=C MA(C,13);
CO:=ODRAWTEXT(CCANDCO,LOW-0.3, B ),COLORRED;
DRAWICON(CCANDCO,LOW-0.4,5);
DRAWTEXT(Y 10,HIGH+0.3, GS ),COLORGREEN;
HJZ3:=VOL=HHV(VOL,10)ANDVOL 2*REF(VOL,1)ANDCLOSE HJZ2ANDC
黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4,NODRAW;STICKLINE(黄
金柱,O,C,3.3,0),COLORRED;
STICKLINE(黄金柱,H,L,0.1,0),COLORRED;
DRAWTEXT(黄金柱,H*0.98, ?黄金柱 ),COLORYELLOW;
XG:=SUMBARS(FILTER(黄金柱,2),1);
STICKLINE(XG,REF(C,XG-1),REF(C,XG-1),10,0),COLORGREEN;
XG1:=SUMBARS(FILTER(黄金柱,2),1);
STICKLINE(XG1,REF(L,XG1-1),REF(L,XG1-1),10,0),COLORAA00FF;平量黄金
线:STICKLINE(平量黄金柱,PHD*1.002,PHD,28,0),COLORYELLOW;DRAWTEXT(平量黄
金柱,PHD*1.015, ?平量黄金线 ),COLORFFCC00;
梯量黄金线:STICKLINE(梯量黄金柱,PHD*1.002,PHD,28,0),COLORYELLOW;
DRAWTEXT(梯量黄金柱,PHD*1.015, ?梯量黄金线 ),COLORCYAN;
STICKLINE(C/REF(C,1) 1.095,C,O,2,0),COLORYELLOW;高:=REF(HHV(H,1),3);
低:=REF(LLV(L,1),3);
H19:=高-(高-低);
H38:=高-(高-低);
-低);H中:=高-(高
H61:=高-(高-低);
H80:=高-(高-低);
Q:=(O+C)/2;
DRAWKLINE(Q,Q,Q,Q);
MA5:MA(C,5),COLORYELLOW;
MA10:MA(CLOSE,10),COLORFF00FF;
MA30:MA(C,30),COLORRED,LINETHICK2;
跌:IF(MA(CLOSE,30) =REF(MA(CLOSE,30),1),MA(CLOSE,30),DRAWNULL),COLOR
GRE
EN,LINETHICK2;
MA60:MA(CLOSE,60),COLORFFCC66;
公式解读:
[源码注释]通达信公式动态公式解读V111赋值:120日内最高价的最低值
飞鱼赋值:100*(收盘价-V111)/V111,画黄色,线宽为1
V211赋值:120日内最高价的最高值
海洋赋值:100*(V211-收盘价)/收盘价,画绿色,线宽为1
海1赋值:22日内海洋的最高值,画绿色,线宽为1
当满足条件飞鱼 海1时,在日期日130日内最高价的最高值和日期日130日内最低价的最低值位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR545454
K线
输出 上:(开盘价和收盘价的较大值-开盘价和收盘价的较小值)*2/3+开盘价和收盘价的较小值,画洋红色,NODRAW
输出中:(开盘价+收盘价)/2,画红色,NODRAW
输出下:(开盘价和收盘价的较大值-开盘价和收盘价的较小值)/3+开盘价和收盘价的较小值,画黄色,NODRAW
F10赋值:100*(收盘价-开盘价)/开盘价
F20赋值:100*(收盘价-1日前的收盘价)/1日前的收盘价
振幅赋值:(最高价-最低价)/1日前的收盘价*100
RQ赋值:如果日期 =1200824,返回1,否则返回0
KCB赋值:如果属于某,返回1,否则返回0
CYB赋值:如果属于某板块ANDRQ,返回1,否则返回0
ZT1赋值:F20 =9.5 AND 收盘价=最高价 AND 取反
ZT2赋值:F20 =19.5 AND 收盘价=最高价 AND (KCB OR CYB)
ZT3赋值:平盘AND 收盘价=最低价 AND 收盘价=最高价 AND (ZT1 OR ZT2)
ZT4赋值:ZT1 OR ZT2 OR ZT3
当满足条件ZT4时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORFF00FF
当满足条件ZT4时,在最高价和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLORFF00FF
输出强弱分界80:获利盘为85%的分布的10日指数移动平均,画红色
输出强弱分界99:获利盘为99%的成本分布的10日指数移动平均,画绿色
强弱分界80向上赋值:强弱分界80 1日前的强弱分界80
强弱分界99向上赋值:强弱分界99 1日前的强弱分界99
输出LC:100*(最低价-1日前的收盘价)/1日前的收盘价,画绿色,NODRAW
输出HC:100*(最高价-1日前的收盘价)/1日前的收盘价,画白色,NODRAW
当满足条件LC =-5时,在中和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLORFF8000
当满足条件LC =-8时,在中和最低价位置之间画柱状线,宽度为0,0不为0则画空心柱.,画黄色
当满足条件(最高价/1日前的收盘价 =1.03)时,在中和最高价位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLOR838383
当满足条件(最高价/1日前的收盘价 =1.05)时,在中和最高价位置之间画柱状线,宽度为0,0不为0则画空心柱.,COLORFF8000
当满足条件(最高价/1日前的收盘价 =1.08)时,在中和最高价位置之间画柱状线,宽度为0,0不为0则画空心柱.,画黄色,线宽为2
黄金柱:=V/REF(V,1) =2.0;
K1:=SUMBARS(黄金柱,1);
K2:=SUMBARS(黄金柱,2);
K3:=SUMBARS(黄金柱,3);
K4:=SUMBARS(黄金柱,4);
K5:=SUMBARS(黄金柱,5);
K6:=SUMBARS(黄金柱,6);
K7:=SUMBARS(黄金柱,7);
K8:=SUMBARS(黄金柱,8);
K9:=SUMBARS(黄金柱,9);
K10:=SUMBARS(黄金柱,10);
AA:STICKLINE(K1,REFV(L,K1-1)*1.002,REFV(L,K1-1),2,0),COLORYELLOW;
T60:=V=HHV(V,60);
T100:=V=HHV(V,100);
T2:=V/REF(VOL,1)
T3:=REF(C,1)/REF(O,1)
五星上将:=(T60ANDT2ANDT3)OR(T100ANDT2ANDT3);
DRAWICON(五星上将,H,23);
{量柱图}
C2:=REF(C,1);
:=IF((C-C2)*100/C2 =(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORWHITE;
STICKLINE(涨停,H,L,0,0),COLORWHITE;
DRAWICON(涨停,L-0.2,11);
DRAWTEXT(涨停,L-0.2, --涨停
跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
DRAWICON(跌停,H+0.2,2);
DRAWTEXT(跌停,H+0.2, --跌停
TY:=C;
AA1:=REF(TY,10)=HHV(TY,2*10+1);
BB1:=FILTER(AA1,10);
C1:=BACKSET(BB1,10+1);
HD:=FILTER(C1,10);
AA2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(AA2,10);
CC2:=BACKSET(B2,10+1);
LD:=FILTER(CC2,10);
前期高位:REFV(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;
前期低位:REFV(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;
{求位置坐标}
PHD:=IF(LLV(L,3) =REF(H,3),REF(H,3),
IF((LLV(L,3) =REF(C,3)ANDREF(C,3) REF(O,3)),REF(C,3),
IF(LLV(L,3) =REF(O,3)ANDREF(C,3) REF(O,3),REF(O,3),REF(L,3))));
{在K线图上标示量柱类型}倍量:=DRAWICON((VOL REF(V,1)*2.0ORVOL=REF(V,1)*2.0)AND
C REF(C,1),H+0.2,26);
低量:=DRAWICON(VOL REF(LLV(VOL,13),1),H+0.1,2);
地量:=DRAWICON(VOL REF(LLV(VOL,100),1),H+0.1,12);
平量:=DRAWICON(ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5) =0.03OR
ABS(VOL-REF(VOL,1))/REF(VOL,1) =0.03,H+0.1,16);
倍缩:=DRAWICON(VOL =REF(V,1)*0.5,H+0.1,27);
{画量柱标识:}
{1.画倍量黄金柱标识--红箭头图标}倍量黄金柱:=DRAWICON((LLV(L,3) REF(L,3)ORLLV(L,3)=REF(L,3))AND
HHV(V,3) REF(V,3)AND
REF(C,3) REF(O,3)ANDREF(V,3) =2*REF(V,4),H+0.2,1);
{2.画梯量黄金柱标识--橘子图标}
梯量黄金柱:=DRAWICON(LLV(L,3) REF(L,3)ANDHHV(V,3) REF(V,3)AND
REF(V,5) REF(V,6)ANDREF(V,4) REF(V,5)ANDREF(V,3) REF(V,4),H,17);
{3.画平量黄金柱标识--苹果图标}
平量黄金柱:=DRAWICON(LLV(L,3) REF(L,3)ANDHHV(V,3) REF(V,3)AND
REF(C,3) REF(O,3)ANDABS(REF(V,3)-REF(V,4))/REF(V,4) =0.03,H,19);
{4.画立桩量标识--顶部红箭头图标}
N:=25;
立桩量:=REF(V,3)/REF(MA(V,5),4) (N/10)AND
REF(V,3)/REF(HHV(V,60),4) 1.5ANDLLV(L,3) REF(L,3);
STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW;
倍量黄金线:STICKLINE(倍量黄金柱,PHD,PHD,30,0),COLORWHITE;
DRAWICON(倍量黄金柱,PHD*1.008,12);
DRAWTEXT(倍量黄金柱,PHD*1.010, 标准黄金柱精准线 ),COLORFF00FF;
DRAWTEXT(倍量黄金柱,PHD, ================= ),COLORWHITE;
立桩量标识:DRAWICON(立桩量,H*1.002,1);
DRAWTEXT(立桩量,H*1.06, 立 ),COLORRED;
DRAWTEXT(立桩量,H*1.04, 桩 ),COLORRED;
DRAWTEXT(立桩量,H*1.02, 量 ),COLORRED;
AAA:=CONST(HHV(H,190));
TS1:=0+0.03;
TS2:=TS1+0.03;
TS3:=TS2+0.03;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS1), 一 .量柱的阶段性拐点标志--
空间转化原则: ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS2), 1.平台起柱:在K线整理平台
上突然起柱; ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS3), 2.凹口起柱:在K线逐步回调
形成凹口时起柱.常见凹口倍量; ),COLORFF00FF;
TS4:=TS3+0.03;
TS5:=TS4+0.03;
TS6:=TS5+0.03;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS4), 3.过顶起柱:过左峰起柱.常见
过顶倍量; ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS5), 4.触底起柱:触前期谷底起柱.
常见触底倍量. ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS6), 二 .量柱的集合定性--组合量
柱: ),COLORFF00FF;
TS7:=TS6+0.03;
TS8:=TS7+0.03;
TS9:=TS8+0.03;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS7), 1.低量柱+倍量柱:后市必大
涨! ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS8), 2.倍量柱+倍量柱:主庄控盘
良好,急于拉升! ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=70,AAA-(AAA*TS9), 3.缩倍柱+倍量柱:机会就在
眼前! ),COLORFF00FF;
{============================}
BBB:=CONST(HHV(H,190));
TT1:=0+0.03;
TT2:=TT1+0.03;
TT3:=TT2+0.03;
DRAWTEXT(CURRBARSCOUNT=100,BBB-(BBB*TT1), 三 .量柱的三日定性--时间转
化原则: ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=100,BBB-(BBB*TT2), 1.后三日价升量缩:转化为黄
金柱; ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=100,BBB-(BBB*TT3), 2.后三日量柱先阴后阳:该量
柱官升一级; ),COLORFF00FF;
TT4:=TT3+0.03;
TT5:=TT4+0.03;
DRAWTEXT(CURRBARSCOUNT=100,BBB-(BBB*TT4), 3.后三日量柱阴阳相间:量柱
退化,走势面临调整; ),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=100,BBB-(BBB*TT5), 4.后三日量柱实体逐步缩小:
力量将衰退,面临调整. ),COLORFF00FF;
{底部趋势拐点}
VVOL:=IF(CURRBARSCOUNT=1AND
PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
VOLUME:=VOL;
AAG:=VOL =REF(V,1)*1.91ANDC REF(C,1);
AA1G:=VOL REF(LLV(VOL,21),1);
AA2G:=VOL REF(LLV(VOL,55),1);
AA3G:=ABS(VOL-REF(VOL,1))/REF(VOL,1) =0.05;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);
{前期高位:=REF(C,BARSLAST(HD)),COLORGREEN,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),COLORGREEN,POINTDOT;}{高位的绿线}{高点:=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW;
STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGHLOW) 0.667,H,C,0.8,0),COLORBLUE;}
三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2)) =REF(L,3);
三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2)) REF(V,3));
三日价涨A:=C =REF(C,1)ANDC BBIANDC
三日价涨B:=C REF(C,1);
三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2)) =REF(L,3);
TIM:=IF(DATE 1140214,1,0);
缩倍柱:=(VOL*1.95 =REF(VOL,1))*TIM;
百日低量:=(VOL=LLV(VOL,100))*TIM;
倍量柱:=C REF(C,1)*1.04AND(VOL =1.9*REF(VOL,1))*TIM;
四日前倍量柱:=(REF(VOL,3) 1.9*REF(VOL,4))*TIM;
四日前高量柱:=(REF(VOL,3) =REF(VOL,4)
REF(VOL,3) 1.9*REF(VOL,4)AND三日量缩)*TIM;
前三引用不成立:=COUNT(REF(四日前倍量柱,1)AND(REF(三日
不破,1)ORREF(三日价涨C,1)),3)=0ANDCOUNT(REF(四日前高量
柱,1)AND(REF(三日不破,1)ORREF(三日价涨C,1)),3)=0;
倍量黄金柱:=四日前倍量柱AND三日量缩AND三日不破AND
三日价涨AAND前三引用不成立;
AND
B2:=FILTER(A2,10);
B1:=FILTER(A1,10);
高量黄金柱:=四日前高量柱AND三日量缩AND三日不破AND
三日价涨AAND前三引用不成立;
黄金柱:=倍量黄金柱OR高量黄金柱;
次倍量黄金柱:=NOT(黄金柱)AND四日前倍量柱AND三日量缩
AND三日不破AND三日价涨BAND前三引用不成立;
次高量黄金柱:=NOT(黄金柱)AND四日前高量柱AND三日量缩
AND三日不破AND三日价涨BAND前三引用不成立;
次黄金柱:=次倍量黄金柱OR次高量黄金柱;
准倍量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前倍量柱
AND((三日量缩AND三日价涨C)OR(COUNT(倍量柱,3) =1AND
三日不破))AND前三引用不成立;
准高量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前高量柱
AND(三日量缩AND三日价涨C)AND前三引用不成立;
准黄金柱:=准倍量黄金柱OR准高量黄金柱;
倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日
前倍量柱AND三日不破AND三日价涨AAND前三引用不成立;
高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日
前高量柱AND三日不破AND三日价涨AAND前三引用不成立;
将军柱:=倍量将军柱OR高量将军柱;
次倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军
柱)AND四日前倍量柱AND三日不破AND三日价涨BAND前三引
用不成立;
次高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军
柱)AND四日前高量柱AND三日不破AND三日价涨BAND前三引
用不成立;
次将军柱:=次倍量将军柱OR次高量将军柱;
准倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军
柱OR次将军柱)AND四日前倍量柱AND三日价涨CAND前三引用
不成立;
准高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军
柱OR次将军柱)AND四日前高量柱AND三日价涨CAND前三引用
不成立;
准将军柱:=准倍量将军柱OR准高量将军柱;
BACKSET100:=BACKSET(黄金柱OR次黄金柱OR准黄金柱OR
将军柱OR次将军柱OR准将军柱,4);
FILTER100:=FILTER(BACKSET100,3);
BACKSET101:=BACKSET(黄金柱,4);
FILTER101:=FILTER(BACKSET101,3);
BACKSET102:=BACKSET(次黄金柱,4);
FILTER102:=FILTER(BACKSET102,3);
BACKSET103:=BACKSET(准黄金柱,4);
FILTER103:=FILTER(BACKSET103,3);
BACKSET104:=BACKSET(将军柱,4);
FILTER104:=FILTER(BACKSET104,3);
BACKSET105:=BACKSET(次将军柱,4);
FILTER105:=FILTER(BACKSET105,3);
BACKSET106:=BACKSET(准将军柱,4);
FILTER106:=FILTER(BACKSET106,3);
黄金线下影线:=REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) =REF(L,3);
黄金线实体下端:=REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) =MIN(REF(C,3),REF(O,3))
MIN(MIN(L,REF(L,1)),REF(L,2)) REF(L,3),LINETHICK0;
黄金线上影线:=REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) =REF(H,3);
黄金线实体上端:=REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) =MAX(REF(C,3),REF(O,3))
REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) REF(H,3);
黄金线实体中间:=REF(FILTER100,3)=1
AND
AND
AND
AND
AND
AND
AND
AND
MIN(MIN(L,REF(L,1)),REF(L,2)) MAX(REF(C,3),REF(O,3))
REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) MIN(REF(C,3),REF(O,3));
黄金线实体中间1:=REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) MAX(REF(C,3),REF(O,3))
REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) MIN(REF(C,3),REF(O,3))
REF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间2:=REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) MAX(REF(C,3),REF(O,3))
REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) MIN(REF(C,3),REF(O,3))
REF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间3:=REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) MAX(REF(C,3),REF(O,3))
REF(FILTER100,3)=1
MIN(MIN(L,REF(L,1)),REF(L,2)) MIN(REF(C,3),REF(O,3))
L=MIN(MIN(L,REF(L,1)),REF(L,2));
BACKSET201:=BACKSET(黄金线下影线,4);
FILTER201:=FILTER(BACKSET201,3);
BACKSET202:=BACKSET(黄金线实体下端,4);
FILTER202:=FILTER(BACKSET202,3);
BACKSET203:=BACKSET(黄金线上影线,4);
FILTER203:=FILTER(BACKSET203,3);
BACKSET204:=BACKSET(黄金线实体上端,4);
FILTER204:=FILTER(BACKSET204,3);
BACKSET205:=BACKSET(黄金线实体中间,4);
FILTER205:=FILTER(BACKSET205,3);
BACKSET2051:=BACKSET(黄金线实体中间1,4);
AND
AND
AND
AND
AND
AND
AND
AND
AND
AND
AND
AND
AND
AND
FILTER2051:=FILTER(BACKSET2051,3);
BACKSET2052:=BACKSET(黄金线实体中间2,4);
FILTER2052:=FILTER(BACKSET2052,3);
BACKSET2053:=BACKSET(黄金线实体中间3,4);
FILTER2053:=FILTER(BACKSET2053,3);
BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(
CLOSE),BARSLAST(FILTER201));
BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(
CLOSE),BARSLAST(FILTER202));
BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(
CLOSE),BARSLAST(FILTER203));
BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(
CLOSE),BARSLAST(FILTER204));
BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(
CLOSE),BARSLAST(FILTER205));
BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOU
NT(CLOSE),BARSLAST(FILTER2051));
BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOU
NT(CLOSE),BARSLAST(FILTER2052));
BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOU
NT(CLOSE),BARSLAST(FILTER2053));
最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),B
T2051),BT2052),BT2053);
DAY1:=SUMBARS(FILTER100,1);
HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,R
EF(LOW,DAY1-1)),0);
HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C
,O),MIN(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0);
HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,
REF(HIGH,DAY1-1)),0);
HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(
C,O),MAX(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0);
HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LO
W,IF(DAY1 2,DRAWNULL,REF(LOW,DAY1-2))),0);
HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LO
W,IF(DAY1 3,DRAWNULL,REF(LOW,DAY1-3))),0);
HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LO
W,IF(DAY1 4,DRAWNULL,REF(LOW,DAY1-4))),0);
黄
_53,COLORYELLOW;
立桩量:=VOL=HHV(VOL,30)ANDVOL 1.9*REF(VOL,1);
立桩量三日:=IF(BARSLAST(立桩量)=1AND
CLOSE REF(HIGH,1),1,IF(BARSLAST(
CLOSE REF(HIGH,2),1,IF(BARSLAST(
CLOSE REF(HIGH,3),1,0)));
立桩量三日不破:=BARSLAST(立桩量)=3AND
REF(LOW,3) =MIN(MIN(C,REF(C,1)),REF(C,2));
BACKSET300:=BACKSET(立桩量三日不破,4);
BACKSET301:=BACKSET(立桩量三日突破,4);
立桩量成立:=FILTER(BACKSET300,3)ANDBACKSET301AND
立桩量;
FILTER101ANDFILTER(BACKSET300,3)ANDBACKSET301
AND立桩量;