XA_1:=SUM(VOL*CLOSE,0)/SUM(VOL,0);
XA_2:=EMA(XA_1,50)/0.97;
XA_3:=(XA_1+XA_2)/2;
DRAWBAND(XA_2,RGB(100,30,0),XA_3,0);
DRAWBAND(XA_3,RGB(0,100,50),XA_1,0);
上轨:XA_2,COLORGREEN,LINETHICK4;
IF(XA_2>REF(XA_2,1),XA_2,DRAWNULL),COLORRED,LINETHICK4;
中轨:XA_3,COLORYELLOW,LINETHICK4;
下轨:XA_1,COLORBLUE,LINETHICK4;
现价:CLOSE,COLORWHITE,LINETHICK3;
XA_4:=CONST(REF(CLOSE,480));
XA_5:=CONST(HHV(HIGH,480));
XA_6:=CONST(LLV(LOW,480));
XA_7:=EMA(CLOSE,30);
XA_8:=EMA(CLOSE,900);
XA_9:=MAX(XA_4,XA_5);
XA_10:=MIN(XA_4,XA_6);
XA_11:=XA_9-XA_10;
XA_12:=XA_10+XA_11*7/8;
XA_13:=XA_10+XA_11*0.5/8;
DRAWICON(LONGCROSS(XA_13,CLOSE,2),CLOSE*0.995,5);
DRAWICON(LONGCROSS(CLOSE,XA_12,2),CLOSE*1.005,19);
XA_14:=BARSCOUNT(CLOSE);
XA_15:=CROSS(CLOSE,REF(HHV(HIGH,XA_14),1)) AND CLOSE/XA_1<1.09 AND XA_14>=1 AND XA_14<240;
XA_16:=COUNT(XA_15,13)>=3 AND CROSS(CLOSE,REF(HHV(HIGH,XA_14),1));
XA_17:=CROSS(CLOSE,REF(HHV(HIGH,XA_14),1)) AND HHVBARS(VOL,XA_14)=0 AND CLOSE/XA_1<1.09 AND XA_14>1 AND XA_14<240 AND BARSLAST(XA_16)>=21;
DRAWTEXT(XA_15,下轨*0.99,1),COLORRED;
DRAWTEXT(XA_16,下轨*0.99,2),COLORYELLOW;
DRAWTEXT(XA_17,下轨*0.99,3),COLORBLUE;
XA_18:=EMA(EMA(CLOSE,13),13);
XA_19:=(XA_18-REF(XA_18,1))/REF(XA_18,1)*1000;
XA_20:=DYNAINFO(11);
XA_21:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
XA_22:=EMA(XA_21,3);{www.70822.com}
XA_23:=(CLOSE-XA_20)/XA_20<(-0.03);
XA_24:=XA_19>REF(XA_19,1) AND XA_19<(-0.2);
XA_25:=CROSS(XA_21,XA_22) AND XA_21<(-0.3);
XA_26:=FILTER(XA_23 AND XA_24 AND XA_25,13);
DRAWTEXT(XA_26,CLOSE*0.999,4),COLORMAGENTA;
XA_27:=DYNAINFO(14);
XA_28:=IF(XA_27>0,0.76,0.04);
XA_29:=IF(XA_27>0,0.86,0.12);
XA_30:=IF(XA_27>0,0.96,0.2);
XA_31:=VOL/CLOSE/2;
XA_32:=SUM(IF(XA_31>100 AND CLOSE>REF(CLOSE,1),XA_31,0),0);
XA_33:=SUM(IF(XA_31>100 AND CLOSE<REF(CLOSE,1),XA_31,0),0);
XA_34:=SUM(IF(XA_31<100 AND CLOSE>REF(CLOSE,1),XA_31,0),0);
XA_35:=SUM(IF(XA_31<100 AND CLOSE<REF(CLOSE,1),XA_31,0),0);
XA_36:=XA_32+XA_33+XA_34+XA_35;
XA_37:=STRCAT(STRCAT(5,CON2STR(100*XA_32/XA_36,0)),6);
XA_38:=STRCAT(STRCAT(7,CON2STR(100*XA_33/XA_36,0)),6);
XA_39:=STRCAT(STRCAT(8,CON2STR(100*(XA_32-XA_33)/XA_36,0)),6);
DRAWTEXT_FIX(CLOSE>0,0,XA_28,0,XA_37),COLORRED;
DRAWTEXT_FIX(CLOSE>0,0,XA_29,0,XA_38),COLORGREEN;
DRAWTEXT_FIX(CLOSE>0,0,XA_30,0,XA_39),COLORYELLOW;
XA_40:=MA(CLOSE,BARSCOUNT(CLOSE));
XA_41:=SUM(CLOSE*VOL,240)/SUM(VOL,240);
XA_42:=CLOSE/REF(CLOSE,1)>1.02;
XA_43:=CLOSE/REF(CLOSE,1)<0.98;
XA_44:=(HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE<0.05;
XA_45:=SMA(VOL,30,1);{www.70822.com}
XA_46:=(XA_45-LLV(LLV(XA_45,1),30))/(HHV(HHV(XA_45,1),30)-LLV(LLV(XA_45,1),30))>0.95;
XA_47:=XA_42 OR XA_43;
XA_48:=XA_47=0 AND XA_44 AND XA_46 AND CROSS(XA_41,XA_40);
DRAWTEXT(FILTER(XA_48,10),XA_1,9),COLORCYAN;
DRAWICON(FILTER(XA_48,10),XA_1,1);
p20183141611874625.jpg
|