TDXSTEP141:MA(CLOSE,29),LINETHICK2;
芙蓉出水1:=REF(CLOSE,1)*1.08;
TDXSTEP142:STICKLINE(芙蓉出水1 AND CURRBARSCOUNT=1 AND PERIOD=5,REF(CLOSE,1),芙蓉出水1,1.5,(-1)),COLORYELLOW,LINETHICK4;
TDXSTEP143:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA240:=MA(CLOSE,240);
VOL5:=MA(VOL,5);
VOL10:=MA(VOL,10);
VOL40:=MA(VOL,40);
量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1);
TDXSTEP144:DRAWTEXT(量托,LOW-0.012,20),COLORWHITE;
AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10));
BB1:=REF(COUNT(CLOSE<MA60,AA1)=AA1,1);
CC1:=CROSS(CLOSE,MA60) AND VOL>MA(VOL,5) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>3;
芙蓉出水:=BB1 AND CC1;
TDXSTEP145:DRAWTEXT(芙蓉出水,HIGH+0.3,21),COLORMAGENTA;
TDXSTEP146:STICKLINE(芙蓉出水,HIGH,LOW,1,1),COLORMAGENTA;
TDXSTEP147:STICKLINE(芙蓉出水,OPEN,CLOSE,3,1),COLORMAGENTA,LINETHICK2;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
ZJ:=AMOUNT/10000;
TM:=VOL-MA(VOL,10);
一穿三:=MA1>OPEN AND MA2>OPEN AND MA3>OPEN AND MA1<CLOSE AND MA2<CLOSE AND MA3<CLOSE AND CLOSE>OPEN;
TDXSTEP148:DRAWTEXT(一穿三,LOW-0.012,22),COLORMAGENTA;
TDXSTEP149:STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORMAGENTA;
TY:=CLOSE;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
前期高位:REF(CLOSE,BARSLAST(HD)),POINTDOT,COLORBLUE;
TDXSTEP150:STICKLINE(CLOSE,前期高位,前期高位,8,0),COLORBLUE;
三日不破:=MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>=REF(LOW,3);
三日量缩:=MAX(MAX(VOL,REF(VOL,1)),REF(VOL,2))<REF(VOL,3);
三日价涨A:=CLOSE>=REF(CLOSE,1);
三日价涨B:=CLOSE<REF(CLOSE,1);
三日价涨C:=MIN(MIN(CLOSE,REF(CLOSE,1)),REF(CLOSE,2))>=REF(LOW,3);
缩倍柱:=VOL*1.95<=REF(VOL,1);
百日低量:=VOL=LLV(VOL,100);
倍量柱:=CLOSE>REF(CLOSE,1)*1.04 AND VOL>=1.9*REF(VOL,1);
四日前倍量柱:=REF(VOL,3)>1.9*REF(VOL,4);
四日前高量柱:=REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩;
前三引用不成立:=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 高量黄金柱;
次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次黄金柱:=次倍量黄金柱 OR 次高量黄金柱;
准倍量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前倍量柱 AND (三日量缩 AND 三日价涨C OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立;
准高量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前高量柱 AND (三日量缩 AND 三日价涨C) AND 前三引用不成立;
准黄金柱:=准倍量黄金柱 OR 准高量黄金柱;
倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
将军柱:=倍量将军柱 OR 高量将军柱;
次倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次将军柱:=次倍量将军柱 OR 次高量将军柱;
准倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前倍量柱 AND 三日价涨C AND 前三引用不成立;
准高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前高量柱 AND 三日价涨C AND 前三引用不成立;
准将军柱:=准倍量将军柱 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 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))<=REF(LOW,3);
黄金线实体下端:=REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))<=MIN(REF(CLOSE,3),REF(OPEN,3)) AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>REF(LOW,3);
黄金线上影线:=REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>=REF(HIGH,3);
黄金线实体上端:=REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>=MAX(REF(CLOSE,3),REF(OPEN,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))<REF(HIGH,3);
黄金线实体中间:=REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))<MAX(REF(CLOSE,3),REF(OPEN,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>MIN(REF(CLOSE,3),REF(OPEN,3));
黄金线实体中间1:=REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))<MAX(REF(CLOSE,3),REF(OPEN,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>MIN(REF(CLOSE,3),REF(OPEN,3)) AND REF(LOW,2)=MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2));
黄金线实体中间2:=REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))<MAX(REF(CLOSE,3),REF(OPEN,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>MIN(REF(CLOSE,3),REF(OPEN,3)) AND REF(LOW,1)=MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2));
黄金线实体中间3:=REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))<MAX(REF(CLOSE,3),REF(OPEN,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(LOW,REF(LOW,1)),REF(LOW,2))>MIN(REF(CLOSE,3),REF(OPEN,3)) AND LOW=MIN(MIN(LOW,REF(LOW,1)),REF(LOW,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);
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,BARSCOUNT(CLOSE),BARSLAST(FILTER2051));
BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2052));
BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2053));
最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT2053);
DAY1:=SUMBARS(FILTER100,1);
|