{EXPMA平均线}
明板价:CLOSE*1.1,NODRAW;
上次板天数:BARSLAST(CLOSE/REF(CLOSE,1)>=1.098),NODRAW;
XA_1:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=9.9 AND OPEN=HIGH AND PERIOD=5,1,0);
XA_2:=BARSLASTCOUNT(XA_1)>=2;
XA_3:=CONST(BARSLAST(XA_2));
水平线:IF(CURRBARSCOUNT<=XA_3+1,CONST(IF(XA_3=0,MAX(CLOSE,OPEN),REF(MAX(CLOSE,OPEN),XA_3))),DRAWNULL),DOTLINE,COLORLIBLUE;
XA_4:=BARSLAST(YEAR!=REF(YEAR,1));
XA_5:=BARSLAST(HHV(VOL,XA_4+1)=VOL);
XA_6:=BARSLAST(LLV(VOL,XA_4+1)=VOL);
STICKLINE(FILTERX(XA_5=0,XA_4+1),OPEN,CLOSE,1,0),COLOR009900;
STICKLINE(FILTERX(XA_6=0,XA_4+1),OPEN,CLOSE,1,0),COLORGREEN;
XA_7:=CONST(XA_5);{WWW.70822.com}
天量:IF(CURRBARSCOUNT<=XA_7+3,CONST(IF(XA_7=0,OPEN,REF(OPEN,XA_7))),DRAWNULL),DOTLINE,COLORGREEN;
IF(CURRBARSCOUNT=XA_7+1,天量,DRAWNULL),COLORYELLOW,LINETHICK2;
XA_8:=STRCAT(HYBLOCK,25);
XA_9:=STRCAT(XA_8,DYBLOCK);
XA_10:=STRCAT(DYBLOCK,25);
XA_11:=STRCAT(XA_9,GNBLOCK);
XA_12:=STRCAT(XA_11,25);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(XA_12,FGBLOCK)),COLORLIMAGENTA;
DRAWBAND(EMA(CLOSE,7),RGB(83,123,68),EMA(CLOSE,13),RGB(155,50,50));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWBAND(EMA(CLOSE,13),RGB(83,123,50),EMA(CLOSE,55),RGB(83,123,50));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_13:=REF(HHVBARS(MAX(CLOSE,OPEN),60),15)+15;
XA_14:=REF(MAX(CLOSE,OPEN),XA_13);
STICKLINE(BARSTATUS=2,XA_14,XA_14,2000,1),COLORRED,LINETHICK2;
XA_15:=CONST(XA_13);{WWW.70822.com}
突破干:IF(CURRBARSCOUNT<=XA_15+1,CONST(IF(XA_15=0,MAX(CLOSE,OPEN),REF(MAX(CLOSE,OPEN),XA_15))),DRAWNULL),POINTDOT,COLORGREEN,LINETHICK4;
IF(CURRBARSCOUNT=XA_15+1,突破干,DRAWNULL),POINTDOT,COLORAA00AA,LINETHICK4;
DRAWTEXT(CURRBARSCOUNT=XA_15+1,突破干*1.01,STRCAT(CON2STR(CONST(XA_15+1),0),17)),COLORAA00AA;
操做线:EXPMA(CLOSE,7),COLORYELLOW,LINETHICK2;
支撑线:EXPMA(CLOSE,13),COLORRED,LINETHICK2;
防守线:EXPMA(CLOSE,55),COLORLIRED,LINETHICK2;
生命线:MA(CLOSE,30),DOTLINE,COLORMAGENTA;
海面:EMA(CLOSE,78),COLORWHITE,LINETHICK2;
海平面:EMA(CLOSE,80),COLORBLUE,LINETHICK2;
XA_16:=FILTER(BACKSET(FILTER(REF(LOW,500)=LLV(LOW,2*500+1),500),500+1),500);
XA_17:=FILTER(BACKSET(FILTER(REF(HIGH,25)=HHV(HIGH,2*25+1),25),25+1),25);
XA_18:=REF(CLOSE,BARSLAST(XA_17));
XA_19:=BARSLAST(XA_17)<BARSLAST(XA_16) AND NOT(XA_17);
麒麟:IF(XA_19,XA_18,XA_18),POINTDOT,COLORLIBLUE,LINETHICK3;
STICKLINE(XA_19,XA_18,XA_18,10,(-1)),COLORGREEN;
DRAWTEXT(ISLASTBAR,麒麟,16),COLORLIBLUE;
XA_20:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),1,0);
XA_21:=IF((REF(CLOSE,1)-CLOSE)*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),1,0);
STICKLINE(XA_20,OPEN,CLOSE,3,0),COLORAA00AA;
STICKLINE(XA_20,OPEN,CLOSE,1,0),COLORBLACK;
STICKLINE(XA_20,HIGH,LOW,0,1),COLORCC00CC;
STICKLINE(XA_20,OPEN,CLOSE,3,1),COLORCC00CC;
跌停板:STICKLINE(XA_21,OPEN,CLOSE,3,0),COLORFF1100;
STICKLINE(XA_21,OPEN,CLOSE,2.5,0),COLORFF3300;
STICKLINE(XA_21,OPEN,CLOSE,2,0),COLORFF4400;
STICKLINE(XA_21,OPEN,CLOSE,1.5,0),COLORFF5500;
STICKLINE(XA_21,OPEN,CLOSE,1,0),COLORFF6600;
STICKLINE(XA_21,OPEN,CLOSE,0.5,0),COLORFF7700;
STICKLINE(XA_21,LOW,HIGH,0,0),COLORFF7700;
XA_22:=REF((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<=(-0.03),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.03;
STICKLINE(XA_22,OPEN,CLOSE,2.5,0),COLOR0000A5;
STICKLINE(XA_22,OPEN,CLOSE,2,0),COLOR0000C5;
STICKLINE(XA_22,OPEN,CLOSE,1.5,0),COLOR0000D5;
STICKLINE(XA_22,OPEN,CLOSE,1,0),COLOR0000E5;
STICKLINE(XA_22,LOW,HIGH,0,0),COLOR0000F5;
STICKLINE(XA_22,CLOSE,(OPEN+CLOSE)/2,2.5,0),COLOR008CFD;
XA_23:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_24:=(MAX(CLOSE,OPEN)-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(XA_23-XA_24>=2.5 AND PERIOD=5 AND CLOSE>OPEN AND MA(CLOSE,5),MAX(CLOSE,OPEN),HIGH,0,0),COLORGREEN;
STICKLINE(XA_23-XA_24>=2.5 AND PERIOD=5 AND CLOSE>OPEN AND MA(CLOSE,5),CLOSE,OPEN,3.1,0),COLORRED;
XA_25:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(XA_25,OPEN,CLOSE,2.8,1),COLOR0000CC;
XA_26:=OPEN>CLOSE AND OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);
假阴线:STICKLINE(XA_26,OPEN,CLOSE,2,0),COLORLIRED;
p20184131653285878.jpg
|