STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR000045;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2.5,0),COLOR000065;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),COLOR000085;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5,0),COLOR0000A5;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),COLOR0000C5;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.5,0),COLOR0000E5;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),COLOR0000F5;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR353500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.5,0),COLOR454500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR555500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.5,0),COLOR656500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR757500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.5,0),COLOR858500;
STICKLINE(CLOSE<OPEN,HIGH,LOW,0,0),COLOR959500;
X_1:=1;
X_2:=(REF(HIGH,X_1)-REF(LOW,X_1))/REF(CLOSE,X_1+1)*100;
X_3:=(REF(HIGH,X_1+1)-REF(LOW,X_1+1))/REF(CLOSE,X_1+2)*100;
X_4:=(REF(HIGH,X_1+2)-REF(LOW,X_1+2))/REF(CLOSE,X_1+3)*100;
ZZF:(X_2+X_3+X_4)/3,NODRAW;
X_5:=MA(CLOSE,15);
P3:EMA(CLOSE,43),COLORGREEN;
IF(P3>REF(P3,1),P3,DRAWNULL),COLORRED;
X_6:=OPEN<=REF(LOW,1)*0.98 AND CLOSE/OPEN>=1.05 AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-7),1);
DRAWICON(X_6,LOW*0.97,38);
X_7:=MA(CLOSE,1);
X_8:=SMA(SMA(SMA(X_7,2,1),2,1),2,1);
X_9:=MA(X_8,3);
DRAWBAND(X_8,RGB(255,0,0),X_9,RGB(0,255,0));
X_10:=CLOSE=HHV(CLOSE,G1);
X_11:=BARSLAST(FILTER(CROSS(0.8,X_10),G2))+1;
GD:REF(HIGH,X_11),POINTDOT,COLORMAGENTA;
X_12:=CROSS(CLOSE,REF(GD,1));
STICKLINE(X_11<=6,GD,GD,8,0),COLORMAGENTA;
X_13:=CLOSE=LLV(CLOSE,D1);
X_14:=BARSLAST(FILTER(CROSS(0.8,X_13),D2))+1;
DDD1:REF(LOW,X_14),POINTDOT,COLORGREEN;
STICKLINE(X_14<=6,DDD1,DDD1,8,0),COLORGREEN;
X_15:=X_14=1;
DRAWICON(X_15,LOW*0.999,1);
X_16:=X_11=1;
DRAWICON(X_16,HIGH*1.001,37);
X_17:=CLOSE=LLV(CLOSE,60);
X_18:=FILTER(CROSS(0.8,X_17),10) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1);
DRAWICON(X_18,LOW*0.95,17);
X_19:=REF(CLOSE,1);
X_20:=SMA(MAX(CLOSE-X_19,0),6,1)/SMA(ABS(CLOSE-X_19),6,1)*100;
X_21:=CROSS(90,X_20);
DRAWICON(X_21,HIGH*1.005,2);
X_22:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_23:=EMA(X_22,9);
X_24:=(X_22-X_23)*2;
X_25:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
X_26:=SMA(X_25,9,3);
X_27:=SMA(X_26,9,3);
X_28:=3*X_26-2*X_27;
X_29:=CROSS(X_22,X_23) AND CROSS(X_26,X_27) AND CROSS(X_28,X_27) AND X_22<0;
X_30:=FILTER(X_29,20);
DRAWICON(X_30,LOW*0.98,30);
X_31:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
X_32:=NOT(X_31);
X_33:=FINANCE(42)>200;
X_34:=X_14=1 AND X_32;
X_35:=REF(CLOSE,1)*1.03;
X_36:=CLOSE/REF(CLOSE,1)>1.092 AND CLOSE/REF(CLOSE,1)<1.10095;
X_37:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,4)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-15),1);
X_38:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1);
X_39:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-20),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,15)<(-30),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,40)<(-40),1);
X_40:=BARSLAST(X_34);
X_41:=REF(LOW,REF(X_40,1)+1);
X_42:=BETWEEN(LOW,X_41,X_41*1.06) AND X_40=0 AND REF(X_40,1)<=30 AND X_34;
X_43:=X_42 AND X_33 AND X_37;
DRAWICON(X_43,LOW*0.95,23);
X_44:=HIGH>MAX(OPEN,CLOSE)*1.03;
X_45:=VOL=HHV(VOL,30);
X_46:=X_44 AND X_45 AND CLOSE/REF(CLOSE,10)>1.1;
DRAWICON(X_46,HIGH*1.005,41);
X_47:=VOL=HHV(VOL,20) AND CLOSE<OPEN AND OPEN/REF(CLOSE,1)>1.03;
X_48:=VOL=HHV(VOL,40) AND CLOSE<OPEN AND HIGH>MAX(OPEN,CLOSE)*1.03;
DRAWICON(X_47 OR X_48,HIGH*1.005,14);
X_49:=MACD.DIF>(-0.4) AND X_38 AND X_34;
DRAWICON(X_49,LOW*0.97,5);
X_50:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_51:=CLOSE/REF(CLOSE,1)>1.092 AND CLOSE=HIGH;
STICKLINE(X_51,CLOSE,OPEN,2,0),COLORYELLOW;
STICKLINE(X_51,HIGH,LOW,0,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.02,0,0,DYBLOCK),COLOR99CC32;
DRAWTEXT_FIX(1,0.1,0,0,HYBLOCK),COLORGREEN;
DRAWTEXT_FIX(1,0.2,0,0,GNBLOCK),COLORMAGENTA;
X_52:=CLOSE-REF(CLOSE,1);
X_53:=100*EMA(EMA(X_52,6),6)/EMA(EMA(ABS(X_52),6),6);
X_54:=IF(LLV(X_53,2)=LLV(X_53,7) AND COUNT(X_53<0,2) AND CROSS(X_53,MA(X_53,2)),1,0);
X_55:=IF(HHV(X_53,2)=HHV(X_53,7) AND COUNT(X_53>50,2) AND CROSS(MA(X_53,2),X_53),1,0);
STICKLINE(FILTER(X_54=1,5),CLOSE,OPEN,1,0),COLORMAGENTA;
STICKLINE(FILTER(X_55=1,1),CLOSE,OPEN,1,0),COLORGREEN;
X_56:=CLOSE/REF(CLOSE,1)>1.095 AND OPEN=HIGH AND LOW=HIGH;
X_57:=NOT(X_56);
X_58:=CLOSE/REF(CLOSE,1)>1.04;
X_59:=15;
X_60:=COUNT(LOW=LLV(LOW,X_59),3);
X_61:=CROSS(X_60 AND CLOSE>REF(CLOSE,1)*1.095,0.5);
X_62:=REF(CLOSE,1)<REF(CLOSE,2)*0.96;
X_63:=OPEN<REF(CLOSE,1) AND CLOSE>REF(OPEN,1);
X_64:=REF(CLOSE,1)*1.04;
X_65:=X_57 AND X_58 AND X_60 AND X_61 AND X_63 AND X_62;
STICKLINE(X_65,OPEN,X_64,3,0),COLORBROWN;
CD1:IF(BARSLAST(X_65)<=20 AND REF(X_64,BARSLAST(X_65))=REF(REF(X_64,BARSLAST(X_65)),1),REF(X_64,BARSLAST(X_65)),DRAWNULL),DOTLINE,COLORYELLOW;
X_66:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE>OPEN;
X_67:=REF(LOW,BARSLAST(REF(X_36,1))+1);
X_68:=REF(CLOSE,1)<REF(CLOSE,BARSLAST(REF(X_36,1))+1) OR REF(CLOSE,2)<REF(CLOSE,BARSLAST(REF(X_36,1))+1);
X_69:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1);
X_70:=REF(CLOSE<OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(CLOSE<OPEN,3);
X_71:=REF(CLOSE<OPEN,1) OR REF(CLOSE<OPEN,2) OR REF(CLOSE>OPEN,1);
X_72:=X_70 OR X_71;
X_73:=REF(CLOSE,1)<REF(CLOSE,2)*0.96 OR REF(CLOSE,2)<REF(CLOSE,3)*0.96 OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-3.5),1);
X_74:=CLOSE/REF(CLOSE,1)>1.015;
X_75:=REF(X_36,6) OR REF(X_36,7) OR REF(X_36,8) OR REF(X_36,9);
X_76:=REF(CLOSE,1) AND REF(CLOSE,2) AND REF(CLOSE,3) AND REF(CLOSE,4);
X_77:=REF(CLOSE,1)<REF(CLOSE,2)*0.95 OR REF(CLOSE,2)<REF(CLOSE,3)*0.95;
X_78:=REF(OPEN,1)<REF(LOW*0.98,2) OR REF(OPEN,2)<REF(LOW,3) OR REF(OPEN,3)<REF(LOW,4);
X_79:=REF(CLOSE,2)/REF(CLOSE,4)<1.2 AND REF(CLOSE,2)/REF(CLOSE,5)<1.3 AND REF(CLOSE,2)/REF(CLOSE,28)<1.4;
X_80:=REF(CLOSE,3)/REF(CLOSE,5)<1.2 AND REF(CLOSE,2)/REF(CLOSE,6)<1.3 AND REF(CLOSE,3)/REF(CLOSE,27)<1.4;
X_81:=REF(CLOSE,4)/REF(CLOSE,6)<1.2 AND REF(CLOSE,2)/REF(CLOSE,7)<1.3 AND REF(CLOSE,4)/REF(CLOSE,26)<1.4;
X_82:=REF(CLOSE,5)/REF(CLOSE,7)<1.2 AND REF(CLOSE,2)/REF(CLOSE,8)<1.3 AND REF(CLOSE,5)/REF(CLOSE,25)<1.4;
X_83:=REF(CLOSE,6)/REF(CLOSE,8)<1.2 AND REF(CLOSE,2)/REF(CLOSE,9)<1.3 AND REF(CLOSE,2)/REF(CLOSE,24)<1.4;
X_84:=REF(X_36,2) AND X_74 AND REF(CLOSE,1)<REF(CLOSE,2)*0.97 AND CLOSE>OPEN;
X_85:=REF(X_36,3) AND REF(CLOSE,2)<REF(CLOSE,BARSLAST(REF(X_36,1))+1) AND REF(CLOSE,1)<REF(CLOSE*0.95,BARSLAST(REF(X_36,1))+1) AND X_72 AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) AND X_74 AND X_80;
X_86:=REF(X_36,3) AND REF(CLOSE,2)/REF(CLOSE,3)<1.08 AND REF(CLOSE<OPEN,1) AND LOW<REF(CLOSE*0.92,BARSLAST(REF(X_36,1))+1) AND LOW<MIN(OPEN,CLOSE)*0.97 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,5)<1.15 AND CLOSE/REF(CLOSE,8)<1.15 AND CLOSE/REF(CLOSE,15)<1.2 AND REF(CLOSE,3)/REF(CLOSE,10)<1.15;
X_87:=REF(X_36,3) AND REF(CLOSE,1)<REF(CLOSE,2)*0.96 AND X_74 AND OPEN<REF(CLOSE*0.97,BARSLAST(REF(X_36,1))+1);
X_88:=REF(X_36,4) AND X_68 AND X_72 AND X_73 AND REF(CLOSE,1)<REF(CLOSE*0.98,BARSLAST(REF(X_36,1))+1) AND REF(CLOSE,1)>X_67 AND X_74;
X_89:=REF(X_36,4) AND REF(CLOSE<OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(CLOSE<OPEN,3) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) AND X_77 AND X_74;
X_90:=REF(X_36,4) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-15),1) AND REF(CLOSE,1)<REF(CLOSE,2)*0.95 AND OPEN<REF(LOW,1) AND CLOSE/OPEN>1.03;
X_91:=REF(X_36,4) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-11),1) AND REF(CLOSE,1)<REF(CLOSE,2)*0.96 AND CLOSE/OPEN>1.03;
X_92:=REF(X_36,4) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-12),1) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-10),1) AND REF(OPEN,1)<REF(LOW,2)*0.98 AND REF(CLOSE>OPEN,1) AND CLOSE/OPEN>1.02;
X_93:=REF(X_36,5) AND X_73 AND REF(CLOSE,2)<REF(CLOSE,BARSLAST(REF(X_36,1))+1) AND REF(CLOSE,1)<REF(CLOSE*0.95,BARSLAST(REF(X_36,1))+1) AND X_74 AND X_82;
X_94:=REF(X_36,5) AND REF(EVERY(CLOSE<OPEN,4),1) AND REF(CLOSE,1)<REF(CLOSE,2)*0.97 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,4)<(-10),1) AND X_74;
X_95:=REF(X_36,5) AND REF(CLOSE<OPEN,2) AND REF(CLOSE<OPEN,3) AND REF(CLOSE<OPEN,4) AND REF(OPEN,1)<REF(CLOSE,2) AND X_78 AND X_74;
X_96:=REF(X_36,6) OR REF(X_36,7) AND REF(CLOSE<OPEN,2) AND REF(CLOSE<OPEN,3) AND REF(CLOSE<OPEN,4) AND REF(LOW,1)<REF(OPEN,BARSLAST(REF(X_36,1))+1) AND REF(CLOSE>OPEN,1) AND REF(LOW<MIN(OPEN,CLOSE)*0.97,1) AND X_74;
X_97:=REF(X_36,6) OR REF(X_36,7) AND REF(CLOSE<OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(CLOSE<OPEN,3) AND REF(CLOSE<OPEN,4) AND LOW<REF(OPEN,BARSLAST(REF(X_36,1))+1) AND LOW<MIN(OPEN,CLOSE)*0.975 AND OPEN<REF(CLOSE,1) AND CLOSE/OPEN>1.01;
X_98:=X_84 OR X_85 OR X_86 OR X_87 OR X_88 OR X_89 OR X_91 OR X_92 OR X_93 OR X_94 OR X_95 OR X_96 OR X_97 AND NOT(LOW=CLOSE);
X_99:=FILTER(X_98,1);
DRAWICON(X_98,LOW*0.98,9);
STICKLINE(X_98,OPEN,REF(CLOSE,1)*1.015,2,0),COLORYELLOW;
CD3:IF(BARSLAST(X_98)<=8 AND REF(X_35,BARSLAST(X_98))=REF(REF(X_35,BARSLAST(X_98)),1),REF(X_35,BARSLAST(X_98)),DRAWNULL),COLORLIBLUE;
CD4:IF(BARSLAST(X_98)<=20 AND REF(OPEN,BARSLAST(X_98))=REF(REF(OPEN,BARSLAST(X_98)),1),REF(OPEN,BARSLAST(X_98)),DRAWNULL),COLORYELLOW;
X_100:=CLOSE/REF(CLOSE,1)<0.905 AND CLOSE=HIGH;
X_101:=REF(X_100,1) OR REF(X_100,2) OR REF(X_100,3) OR REF(X_100,4) OR REF(X_100,5) OR REF(X_100,6);
X_102:=NOT(X_101);
X_103:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-10),1);
X_104:=REF(CLOSE,1)<REF(CLOSE,2)*0.97 AND REF(CLOSE<OPEN,1);
X_105:=OPEN<=REF(CLOSE,1)*0.983 AND CLOSE/OPEN>=1.02 AND CLOSE/REF(CLOSE,1)>1.01 AND X_102 AND X_103 AND X_104;
DRAWICON(X_105,LOW*0.99,33);
副图1
换手率%:100*VOL/(FINANCE(7)/100)COLORYELLOW,NODRAW;
低迷:IF(换手率%<=1,换手率%,DRAWNULL),COLORFF9900,NODRAW;
温和放量:IF(换手率%>1 && 换手率%<=3,换手率%,DRAWNULL),COLORBBBBBB,NODRAW;
异动:IF(换手率%>3 && 换手率% <=5,换手率%,DRAWNULL),NODRAW;
活跃:IF(换手率%>5 && 换手率%<=8,换手率%,DRAWNULL)COLORMAGENTA,NODRAW;
非常活跃:IF(换手率%>8 && 换手率%<=10,换手率%,DRAWNULL)COLORYELLOW,NODRAW;
高度活跃:IF(换手率%>10 && 换手率%<=15,换手率%,DRAWNULL)COLOR0077FF,NODRAW;
极度活跃:IF(换手率%>15 && 换手率%<=25,换手率%,DRAWNULL)COLORRED,NODRAW;
巨量换手:IF(换手率%>25,换手率%,DRAWNULL)COLOR000099,NODRAW;
STICKLINE(低迷,换手率%,0,2.8,0),COLORFF0000;{低迷蓝色}
STICKLINE(低迷,换手率%,0,2.3,0),COLORFF3300;
STICKLINE(低迷,换手率%,0,1.7,0),COLORFF5500;
STICKLINE(低迷,换手率%,0,1.0,0),COLORFF7700;
STICKLINE(低迷,换手率%,0,0.3,0),COLORFF9900;
STICKLINE(温和放量,换手率%,0,2.8,0),COLOR555555;{温和灰色}
STICKLINE(温和放量,换手率%,0,2.3,0),COLOR777777;
STICKLINE(温和放量,换手率%,0,1.7,0),COLOR999999;
STICKLINE(温和放量,换手率%,0,1.0,0),COLORBBBBBB;
STICKLINE(温和放量,换手率%,0,0.3,0),COLORFF00FF;
STICKLINE(异动,换手率%,0,2.8,0),COLOR004400;{异动绿色}
STICKLINE(异动,换手率%,0,2.3,0),COLOR006600;
STICKLINE(异动,换手率%,0,1.7,0),COLOR009900;
STICKLINE(异动,换手率%,0,1.0,0),COLOR00CC00;
STICKLINE(异动,换手率%,0,0.3,0),COLOR00FF00;
STICKLINE(活跃,换手率%,0,2.8,0),COLOR880088;{活跃粉色}
STICKLINE(活跃,换手率%,0,2.3,0),COLORAA00AA;
STICKLINE(活跃,换手率%,0,1.7,0),COLORCC00CC;
STICKLINE(活跃,换手率%,0,1.0,0),COLOREE00EE;
STICKLINE(活跃,换手率%,0,0.3,0),COLORFF33FF;
STICKLINE(非常活跃,换手率%,0,2.8,0),COLOR008888;{非常活跃黄色}
STICKLINE(非常活跃,换手率%,0,2.3,0),COLOR00AAAA;
STICKLINE(非常活跃,换手率%,0,1.7,0),COLOR00CCCC;
STICKLINE(非常活跃,换手率%,0,1.0,0),COLOR00EEEE;
STICKLINE(非常活跃,换手率%,0,0.3,0),COLOR44FFFF;
STICKLINE(高度活跃,换手率%,0,2.8,0),COLOR0000AA;{高度活跃橘红}
STICKLINE(高度活跃,换手率%,0,2.3,0),COLOR0022CC;
STICKLINE(高度活跃,换手率%,0,1.7,0),COLOR0044DD;
STICKLINE(高度活跃,换手率%,0,1.0,0),COLOR0055FF;
STICKLINE(高度活跃,换手率%,0,0.3,0),COLOR0099FF;
STICKLINE(极度活跃,换手率%,0,2.8,0),COLOR000066;{极度活跃红色}
STICKLINE(极度活跃,换手率%,0,2.3,0),COLOR000088;
STICKLINE(极度活跃,换手率%,0,1.7,0),COLOR0000AA;
STICKLINE(极度活跃,换手率%,0,1.0,0),COLOR0000CC;
STICKLINE(极度活跃,换手率%,0,0.3,0),COLOR2222FF;
STICKLINE(巨量换手,换手率%,0,2.8,0),COLOR000022;{巨量换手酱红色}
STICKLINE(巨量换手,换手率%,0,2.3,0),COLOR000033;
STICKLINE(巨量换手,换手率%,0,1.7,0),COLOR000055;
STICKLINE(巨量换手,换手率%,0,1.0,0),COLOR000077;
STICKLINE(巨量换手,换手率%,0,0.3,0),COLOR000099;
X_1:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
前高量:REF(HHV(换手率%,60),REF(X_1,1)),COLORGREEN;
成交量:VOL,VOLSTICK,NODRAW;
N:=90;
后量超前量:V>=HHV(V,N);
DRAWICON(后量超前量,前高量,13);
V5:=MA(V,5),COLORWHITE,NODRAW;
V35:=MA(V,35),COLORGREEN,NODRAW;
V135:=MA(V,135),COLORFF00FF,NODRAW;
XG:=CROSS(V5,V35) AND V>V5 AND V>V135*2;
牛股启动:FILTER(XG,20),LINETHICK3,COLORRED,NODRAW;
DRAWTEXT(牛股启动,前高量,' 牛股启动'), COLORYELLOW;
DRAWICON(牛股启动,前高量,34);
量比:VOL/REF(MA(VOL,5),1),COLORFFFFFF,NODRAW;
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;
MAVOL1:=MA(预测量,5);
MAVOL2:=MA(预测量,60);
均量金叉:CROSS(MAVOL1,MAVOL2);
DRAWICON(均量金叉,5,11);
副图2
X_3:=IF(PERIOD<3,35,IF(PERIOD<=5,28,IF(PERIOD<=7,21,IF(PERIOD<=8,14,IF(PERIOD<=9,7,5)))));
X_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_5:=MAX(HIGH-LOW,MAX(HIGH-REF(CLOSE,1),REF(CLOSE,1)-LOW))/REF(CLOSE,1)*100;
X_6:=(HIGH-LOW)/REF(CLOSE,1)*100;
X_7:=VOL/REF(MA(VOL,5),1);
X_8:=VOL;
X_9:=(HIGH+LOW+CLOSE)/3;
X_10:=CLOSE>X_9;
X_11:=CLOSE<X_9;
X_12:=X_4*X_8;
X_13:=ABS(IF(X_11,X_12,0));
X_14:=IF(X_10,X_12,0);
阴线效率:=ABS(SUM(IF(X_12<0,X_12,0),7)),DOTLINE,COLOR008000;
阳线效率:=SUM(IF(X_12>0,X_12,0),7),DOTLINE,COLORRED;
X_15:=ABS(阴线效率-阳线效率);
X_16:=49;
X_17:=(阴线效率+阳线效率)/2;
X_18:=STDP(MAX(阴线效率,阳线效率),X_16);
X_19:=STDP(MIN(阴线效率,阳线效率),X_16);
X_20:=WMA(X_17,X_16);
X_21:=X_20+1.618*X_18;
X_22:=X_20-1.618*X_19;
X_23:=阳线效率>阴线效率 AND 阳线效率>=X_20;
X_24:=阴线效率>阳线效率 AND 阴线效率>=X_20;
X_25:=阳线效率>阴线效率 AND 阳线效率>X_21;
X_26:=阴线效率>阳线效率 AND 阴线效率>X_21;
X_27:=阳线效率<阴线效率 AND 阳线效率<X_22;
X_28:=阴线效率<阳线效率 AND 阴线效率<X_22;
X_29:=阳线效率>=HHV(阳线效率,100) AND 阳线效率>0;
X_30:=阴线效率>=HHV(阴线效率,100) AND 阴线效率>0;
X_31:=阳线效率<=LLV(阳线效率,100);
X_32:=阴线效率<=LLV(阴线效率,100);
STICKLINE(X_23,阳线效率,MAX(X_20,阴线效率),2,0),COLORRED;
STICKLINE(X_24,阴线效率,MAX(X_20,阳线效率),2,0),COLORGREEN;
STICKLINE(X_25,阳线效率,MAX(X_21,阴线效率),2,0),COLORYELLOW;
STICKLINE(X_26,阴线效率,MAX(X_21,阳线效率),2,0),COLORWHITE;
{NOTEXT0:IF(阳线效率>阴线效率,阳线效率,DRAWNULL),COLORRED,LINETHICK2;
NOTEXT1:IF(阳线效率<阴线效率,阴线效率,DRAWNULL),COLORGREEN,LINETHICK2;}
CMA:=(COST(95)-COST(5))/((COST(95)+COST(5)))*100,NODRAW,COLORYELLOW;
ZT:=C/REF(C,1)>=1.08 AND C=H AND NOT(CODELIKE('688'));
STICKLINE(X_25 AND ZT AND CMA<20,MAX(X_21,阴线效率),MAX(X_21,阴线效率)*2,2,0),COLORGREEN;
副图3
X_1:=MAX(MA(CLOSE,5),MAX(MA(CLOSE,10),MA(CLOSE,20)));
X_2:=MIN(MA(CLOSE,5),MIN(MA(CLOSE,10),MA(CLOSE,20)));
X_3:=(X_1/X_2-1)*100;
X_4:=(MAX(MA(CLOSE,5),MA(CLOSE,10))/MIN(MA(CLOSE,5),MA(CLOSE,10))-1)*100;
X_5:=(MAX(MA(CLOSE,10),MA(CLOSE,20))/MIN(MA(CLOSE,10),MA(CLOSE,20))-1)*100;
X_6:=(EMA(CLOSE,5)-LOW)/LOW*100;
X_7:=CROSS(10,X_6);
X_8:=BARSLAST(X_7);
X_9:=REF(HIGH,X_8);
X_10:=REF(MAX(CLOSE,OPEN),X_8);
X_11:=REF(MIN(CLOSE,OPEN),X_8);
X_12:=REF(LOW,X_8);
X_13:=BETWEEN(X_8,1,5);
X_14:=X_13 AND CLOSE>OPEN AND CLOSE>X_10 AND MA(CLOSE,5)<MA(CLOSE,10) AND MA(CLOSE,10)<MA(CLOSE,20) AND NOT(CROSS(MA(CLOSE,20),MA(CLOSE,10)));
X_15:=X_14 AND COUNT(X_14,X_8)=1;
X_16:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
洗盘结束:FILTERX(X_6>=10,BARSLAST(X_6>=10=0)),NODRAW,COLORLIGREEN;
STICKLINE(洗盘结束,0,0.328,(-1),0),COLORLIGREEN;
准备:X_7,NODRAW,COLORLIRED;
STICKLINE(X_7,0,0.618,(-1),0),COLORLIRED;
坚决干:X_15,NODRAW,COLORRED;
STICKLINE(X_15,0,1,(-1),0),COLORRED;
DRAWTEXT(洗盘结束,0.3,'洗盘结束'),COLORWHITE;
DRAWTEXT(X_7,0.5,'准备'),COLORWHITE;
DRAWTEXT(X_15,0.8,'坚决干'),COLORWHITE;