日天个股主图指标,不仅仅只是漂亮!
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;
XA_1:=1;
XA_2:=(REF(HIGH,XA_1)-REF(LOW,XA_1))/REF(CLOSE,XA_1+1)*100;
XA_3:=(REF(HIGH,XA_1+1)-REF(LOW,XA_1+1))/REF(CLOSE,XA_1+2)*100;
XA_4:=(REF(HIGH,XA_1+2)-REF(LOW,XA_1+2))/REF(CLOSE,XA_1+3)*100;
ZZF:(XA_2+XA_3+XA_4)/3,NODRAW;
P3:EMA(CLOSE,43),COLORGREEN;
IF(P3>REF(P3,1),P3,DRAWNULL),COLORRED;
XA_5:=OPEN<=REF(LOW,1)*0.98 AND CLOSE/OPEN>=1.05 AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-7),1);
DRAWICON(XA_5,LOW*0.97,38);
XA_6:=MA(CLOSE,1);
XA_7:=SMA(SMA(SMA(XA_6,2,1),2,1),2,1);
XA_8:=MA(XA_7,3);
DRAWBAND(XA_7,RGB(255,0,0),XA_8,RGB(0,255,0));
XA_9:=CLOSE=HHV(CLOSE,G1);
XA_10:=BARSLAST(FILTER(CROSS(0.8,XA_9),G2))+1;
GD:REF(HIGH,XA_10),POINTDOT,COLORMAGENTA;
XA_11:=CROSS(CLOSE,REF(GD,1));
STICKLINE(XA_10<=6,GD,GD,8,0),COLORMAGENTA;
XA_12:=CLOSE=LLV(CLOSE,D1);
XA_13:=BARSLAST(FILTER(CROSS(0.8,XA_12),D2))+1;
DDD1:REF(LOW,XA_13),POINTDOT,COLORGREEN;
STICKLINE(XA_13<=6,DDD1,DDD1,8,0),COLORGREEN;
XA_14:=XA_13=1;
DRAWICON(XA_14,LOW*0.996,1);
XA_15:=XA_10=1;
DRAWICON(XA_15,HIGH*1.001,37);
XA_16:=BARSLAST(XA_14);
XA_17:=CLOSE=LLV(CLOSE,60);
XA_18:=FILTER(CROSS(0.8,XA_17),10) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1);
DRAWICON(XA_18,LOW*0.95,17);
XA_19:=REF(CLOSE,1);
XA_20:=SMA(MAX(CLOSE-XA_19,0),6,1)/SMA(ABS(CLOSE-XA_19),6,1)*100;
XA_21:=CROSS(90,XA_20);
DRAWICON(XA_21,HIGH*1.005,2);
XA_22:=HIGH>MAX(OPEN,CLOSE)*1.03;
XA_23:=VOL=HHV(VOL,30);
XA_24:=XA_22 AND XA_23 AND CLOSE/REF(CLOSE,10)>1.1;
DRAWICON(XA_24,HIGH*1.005,41);
XA_25:=VOL=HHV(VOL,20) AND CLOSE<OPEN AND OPEN/REF(CLOSE,1)>1.03;
XA_26:=VOL=HHV(VOL,40) AND CLOSE<OPEN AND HIGH>MAX(OPEN,CLOSE)*1.03;
DRAWICON(XA_25 OR XA_26,HIGH*1.005,14);
XA_27:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_28:=EMA(XA_27,9);
XA_29:=(XA_27-XA_28)*2;
XA_30:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
XA_31:=SMA(XA_30,9,3);
XA_32:=SMA(XA_31,9,3);
XA_33:=3*XA_31-2*XA_32;
XA_34:=CROSS(XA_27,XA_28) AND CROSS(XA_31,XA_32) AND CROSS(XA_33,XA_32) AND XA_27<0;
XA_35:=FILTER(XA_34,20);
DRAWICON(XA_35,LOW*0.98,30);
XA_36:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
XA_37:=NOT(XA_36);
XA_38:=FINANCE(42)>200;
XA_39:=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);
XA_40:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1);
XA_41:=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);
XA_42:=XA_13=1 AND XA_37;
XA_43:=REF(CLOSE,XA_13);
XA_44:=XA_43>REF(XA_43,1);
XA_45:=XA_13=1 AND XA_37;
XA_46:=BARSLAST(XA_42);
XA_47:=REF(LOW,REF(XA_46,1)+1);
XA_48:=BETWEEN(LOW,XA_47,XA_47*1.06) AND XA_46=0 AND REF(XA_46,1)<=30 AND XA_45;
XA_49:=XA_48 AND XA_38 AND XA_39;
DRAWICON(XA_49,LOW*0.95,23);
XA_50:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_51:=XA_50>=9.6 AND CLOSE=HIGH;
STICKLINE(XA_51,CLOSE,OPEN,3,0),COLOR000085;
STICKLINE(XA_51,CLOSE,OPEN,2.6,0),COLOR0000A5;
STICKLINE(XA_51,CLOSE,OPEN,2.2,0),COLOR0005B5;
STICKLINE(XA_51,CLOSE,OPEN,1.8,0),COLOR0015D5;
STICKLINE(XA_51,CLOSE,OPEN,1.4,0),COLOR0025F5;
STICKLINE(XA_51,CLOSE,OPEN,1,0),COLOR0035FF;
STICKLINE(XA_51,CLOSE,OPEN,0.5,0),COLOR0045FF;
STICKLINE(XA_51,HIGH,LOW,0,0),COLOR0055FF;
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;
XA_52:=CLOSE-REF(CLOSE,1);
XA_53:=100*EMA(EMA(XA_52,6),6)/EMA(EMA(ABS(XA_52),6),6);
XA_54:=IF(LLV(XA_53,2)=LLV(XA_53,7) AND COUNT(XA_53<0,2) AND CROSS(XA_53,MA(XA_53,2)),1,0);
XA_55:=IF(HHV(XA_53,2)=HHV(XA_53,7) AND COUNT(XA_53>50,2) AND CROSS(MA(XA_53,2),XA_53),1,0);
STICKLINE(FILTER(XA_54=1,5),CLOSE,OPEN,1,0),COLORMAGENTA;
STICKLINE(FILTER(XA_55=1,1),CLOSE,OPEN,1,0),COLORYELLOW;
XA_56:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
XA_57:=NOT(XA_56);
XA_58:=CLOSE=LLV(CLOSE,20);
XA_59:=BARSLAST(FILTER(CROSS(0.8,XA_58),10))+1;
XA_60:=XA_42 AND MACD.DIF>(-0.4) AND XA_40 AND XA_57;
DRAWICON(XA_60,LOW*0.97,5);
XA_61:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
XA_62:=NOT(XA_61);
XA_63:=CLOSE/REF(CLOSE,1)>1.04;
XA_64:=15;
XA_65:=COUNT(LOW=LLV(LOW,XA_64),3);
XA_66:=CROSS(XA_65 AND CLOSE>REF(CLOSE,1)*1.095,0.5);
XA_67:=REF(CLOSE,1)<REF(CLOSE,2)*0.96;
XA_68:=OPEN<REF(CLOSE,1) AND CLOSE>REF(OPEN,1);
XA_69:=REF(CLOSE,1)*1.04;
XA_70:=XA_62 AND XA_63 AND XA_65 AND XA_66 AND XA_68 AND XA_67;
STICKLINE(XA_70,OPEN,XA_69,3,0),COLORYELLOW;
CD1:IF(BARSLAST(XA_70)<=30 AND REF(XA_69,BARSLAST(XA_70))=REF(REF(XA_69,BARSLAST(XA_70)),1),REF(XA_69,BARSLAST(XA_70)),DRAWNULL),DOTLINE,COLORYELLOW;
XA_71:=CLOSE/REF(CLOSE,1)>1.095;
XA_72:=CLOSE/REF(CLOSE,1)>1.04;
XA_73:=REF(CLOSE,1)<REF(CLOSE,2)*0.96;
XA_74:=XA_72 AND XA_73 AND LOW>REF(LOW*0.94,BARSLAST(REF(XA_71,1))+1) AND LOW<REF(CLOSE*0.95,BARSLAST(REF(XA_71,1))+1) AND BARSLAST(REF(XA_71,1))>=2 AND BARSLAST(REF(XA_71,1))<=30;
XA_75:=REF(CLOSE,1)*1.04;
STICKLINE(XA_74,OPEN,XA_75,3,0),COLORWHITE;
CD2:IF(BARSLAST(XA_74)<=30 AND REF(XA_75,BARSLAST(XA_74))=REF(REF(XA_75,BARSLAST(XA_74)),1),REF(XA_75,BARSLAST(XA_74)),DRAWNULL),DOTLINE,COLORWHITE;
XA_76:=REF(CLOSE,1);
XA_77:=SMA(MAX(CLOSE-XA_76,0),6,1)/SMA(ABS(CLOSE-XA_76),6,1)*100;
XA_78:=CROSS(80,XA_77);
XA_79:=CROSS(XA_77,20) AND XA_41;
XA_80:=FILTER(XA_78,10);
XA_81:=FILTER(XA_79,10);
DRAWICON(XA_81,LOW*0.997,26);