{价格变异率}
{主图叠加}
价格变异率:TDXWAVE.SAR,CIRCLEDOT,COLOR9AFF9A,LINETHICK2;
IF(CLOSE =价格变异率,价格变异率,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK2;
X_1:=REF(LOW,1);
X_2:=REF(HIGH,1);
X_3:=LOW
X_4:=HIGH
STICKLINE(LOW REF(HIGH,1),LOW,REF(HIGH,1),3.1,(-1)),COLORRED;
STICKLINE(REF(LOW,1) HIGH,REF(LOW,1),HIGH,3.1,(-1)),COLORGREEN;
STICKLINE(OPEN =CLOSE,HIGH,LOW,0,0),COLOR909090;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,3.1,0),COLOR606060;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,2.1,0),COLOR707070;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,1.2,0),COLORGRAY;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,0.2,0),COLOR909090;
STICKLINE(OPEN =CLOSE,HIGH,LOW,0,0),COLOR666B6F;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,3.1,1),COLOR666B6F;
X_5:=VOL/REF(VOL,1) =1.9 AND CLOSE REF(CLOSE,1);
STICKLINE(X_5,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(X_5,OPEN,CLOSE,3.1,0),COLOR0033FF;
STICKLINE(X_5,OPEN,CLOSE,2.1,0),COLOR0077FF;
STICKLINE(X_5,OPEN,CLOSE,1.1,0),COLOR00BBFF;
STICKLINE(X_5,OPEN,CLOSE,0.1,0),COLORYELLOW;
X_6:=CLOSE/REF(CLOSE,1) 1.097;
ZT数:COUNT(X_6,BARSSINCE(X_6)),NODRAW;
X_7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(X_7 9.5,CLOSE,OPEN,3.1,0),COLOR0000CC;
STICKLINE(X_7 9.5,CLOSE,OPEN,2.1,0),COLOR0000DD;
STICKLINE(X_7 9.5,CLOSE,OPEN,1.2,0),COLOR0000EE;
STICKLINE(X_7 9.5,CLOSE,OPEN,0.2,0),COLORRED;
STICKLINE(X_7 9.5,HIGH,LOW,0,0),COLORRED;
STICKLINE(X_7 (-9.9),OPEN,CLOSE,3.1,0),COLOR66CC66;
STICKLINE(X_7 (-9.9),OPEN,CLOSE,2.1,0),COLOR77DD77;
STICKLINE(X_7 (-9.9),OPEN,CLOSE,1.2,0),COLOR88EE88;
STICKLINE(X_7 (-9.9),OPEN,CLOSE,0.2,0),COLOR99FF99;
STICKLINE(X_7 (-9.5),HIGH,LOW,0,0),COLOR99FF99;
X_8:=AMO.AMOW/VOL/100;
X_9:=CLOSE OPEN AND CLOSE =REF(MIN(CLOSE,OPEN),1) AND X_8 REF(X_8,1);
X_10:=X_9;
STICKLINE(X_10,HIGH,LOW,0,0),COLORFFAA00;
STICKLINE(X_10,OPEN,CLOSE,3,0),COLORFF3300;
STICKLINE(X_10,OPEN,CLOSE,2,0),COLORFF7700;
STICKLINE(X_10,OPEN,CLOSE,1,0),COLORFFAA00;
STICKLINE(X_10,OPEN,CLOSE,0.1,0),COLORCYAN;
X_11:=REF(OPEN,BARSLAST(X_9));
假阴实顶:X_11,NODRAW,COLORFF7700;
STICKLINE(VOL,X_11,X_11,1,0),COLORFF7700;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.9,0,FGBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK);
X_12:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_13:=(20*X_12+19*REF(X_12,1)+18*REF(X_12,2)+17*REF(X_12,3)+16*REF(X_12,4)+15*REF(X_12,5)+14*REF(X_12,6)+13*REF(X_12,7)+12*REF(X_12,8)+11*REF(X_12,9)+10*REF(X_12,10)+9*REF(X_12,11)+8*REF(X_12,12)+7*REF(X_12,13)+6*REF(X_12,14)+5*REF(X_12,15)+4*REF(X_12,16)+3*REF(X_12,17)+2*REF(X_12,18)+REF(X_12,20))/210;
回调认同:EMA(X_13,13),COLORGREEN;
X_14:=MACD.MACD#WEEK(12,26,9);
X_15:=(EMA(回调认同,2)-REF(EMA(回调认同,2),2))/REF(EMA(回调认同,2),2)*100;
IF(X_15 =0,回调认同,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MACD.DIF =0 AND X_14 =0,回调认同,DRAWNULL),COLORRED,LINETHICK3;
X_16:=MA(CLOSE,2);
X_17:=IF(CLOSE X_16,VOL,0);
X_18:=IF(CLOSE X_16,VOL,0);
X_19:=SUM(X_17,4);
X_20:=SUM(X_18,4);
X_21:=X_20/X_19;
X_22:=IF(HHV(X_21,5) 4 AND CROSS(2,X_21) AND CLOSE =OPEN,1,0);
DRAWICON(X_22,LOW*0.99,9);