UID152569
积分71
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2012-4-15
最后登录1970-1-1
|
MA5:MA(CLOSE,10),COLORYELLOW;
MA10:MA(CLOSE,10),COLORRED;
MA30:MA(CLOSE,30),COLORMAGENTA;
MA60:MA(CLOSE,60),COLORGREEN;
MA525:MA(C,525),COLORLIBLUE;
AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10));
三日不破:=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:=LAST(C>=REF(C,1),3,0);
三日价涨B:=C<REF(C,1) AND LAST(L>REF(C,3),3,0);
三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);
TIM:=IF(DATE<1140214,1,0);
百分比:=5;
倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;
四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;
四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;
前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;
倍量黄金柱:=四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
高量黄金柱:=四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
黄金柱:=倍量黄金柱 OR 高量黄金柱;
BACKSET101:=BACKSET(黄金柱,4);
FILTER101:=FILTER(BACKSET101,4);
STICKLINE(FILTER101,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(FILTER101,H,L,0,0),COLORYELLOW;
K1:=SUMBARS(FILTER101,1);
STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),1,0),COLOR009070;
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR009090;{低位线}
DK:=XMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),POINTDOT,COLORRED;
VARF:=TROUGHBARS(3,15,1)<4;
XX:=PEAKBARS(3,15,1)<4;
STICKLINE((FILTER(VARF=1,5)),O,C,2,0),COLORRED;
STICKLINE((FILTER(VARF=1,5) AND DK<-10),O,C,2,0),COLORMAGENTA;
STICKLINE((FILTER(XX=1,5) AND DK>10),O,C,2,1),COLORFFFF00;
黄金值_实:REF(C,K1-1),NODRAW,COLORYELLOW;
虚:REF(L,K1-2),NODRAW,COLORYELLOW;
波谷值:= CONST(TROUGH(2,5,1)),COLORYELLOW,NODRAW;{前M个ZIG转向波谷值}
波谷距离:= 1+CONST(TROUGHBARS(2,百分比,1)),NODRAW;{前M个ZIG转向波谷到当前距离}
波峰值:= CONST(PEAK(1,5,2));
允许误差:=0.024;
XG:= ABS(波峰值-波谷值)<=允许误差 {AND BARSCOUNT(V)>60};
波峰距离:= 1+CONST(PEAKBARS(1,百分比,2)),NODRAW;
距离:=CURRBARSCOUNT;
DRAWLINE(距离=波峰距离 AND XG,波谷值,距离=1,波谷值,1),COLOR007070;
DRAWTEXT(距离=波谷距离 AND XG,L*0.99,'FG'),COLOR007050;
精准点:=(ABS(H-波谷值)<=允许误差 OR ABS(L-波谷值)<=0.024){AND 距离<=120};
STICKLINE(精准点,波谷值,波谷值,5,0),COLORYELLOW;
波谷值2:= CONST(TROUGH(2,百分比,2));
波谷值3:= CONST(TROUGH(2,百分比,3));
波谷值4:= CONST(TROUGH(2,百分比,4));
波谷距离2:= 1+CONST(TROUGHBARS(2,百分比,2));
波谷距离3:= 1+CONST(TROUGHBARS(2,百分比,3));
波谷距离4:= 1+CONST(TROUGHBARS(2,百分比,4));
XG2:= ABS(波谷值-波谷值2)<=允许误差;
XG3:= ABS(波谷值-波谷值3)<=允许误差;
XG4:= ABS(波谷值-波谷值4)<=允许误差;
XGL:=(距离=波谷距离2 AND XG2) OR (距离=波谷距离3 AND XG3)
OR (距离=波谷距离4 AND XG4);
精准线: DRAWLINE(XGL,波谷值,距离=2,波谷值,1),COLOR00CCA0;
DRAWTEXT(XGL,L*0.99, 'JZ' ),COLOR00CCA0;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓值:IF((VARO7<10),MA30,DRAWNULL),COLORMAGENTA,LINETHICK2;
SS:= REF(C,1)>=REF(C,2)*1.099 AND REF(V,1)<REF(V,2)*2 AND LAST(C>REF(C,1),4,1);
DD:= C<O AND C>REF(C,1) AND (DYNAINFO(13)>0.15 OR V>REF(V,1)*3);
DRAWTEXT(SS AND DD,H*1.01,'OIL'),COLOR000090;
STICKLINE(O<REF(C,1) AND C>REF(O,1) AND REF(C<O,1) AND LAST(REF(C,1)<REF(C,2),2,0),O,C,0,0),COLOR00FF00;
VAR8:=MA(CLOSE,27);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VARA:=MA(VAR9,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARD:=VARA<-10 AND VARB>3;
银坑值:IF(VARD,MA60,DRAWNULL),COLORYELLOW,LINETHICK1;
|
|