X_1:=LLV(LOW,10);
X_2:=HHV(HIGH,25);
阶段卖:3.2,COLORC6C600;
清仓:3.5,COLORFF75FF;
X_3:=EMA((CLOSE-X_1)/(X_2-X_1)*4,4);
STICKLINE(X_3>REF(X_3,1),X_3,REF(X_3,1),3,1),COLORRED;
STICKLINE(X_3<=REF(X_3,1),X_3,REF(X_3,1),3,1),COLORGREEN;
底部:0.2,COLOR70DB93;
关注:0.5,COLORYELLOW;
DRAWICON(FILTER(CROSS(X_3,关注),20),X_3+0.02,1);
DRAWICON(FILTER(CROSS(清仓,X_3),20),X_3+0.02,2);
DRAWICON(FILTER(CROSS(X_3,底部),20),X_3+0.02,1);
DRAWICON(FILTER(CROSS(阶段卖,X_3),20),X_3+0.02,2);
界线:1.75,POINTDOT,COLOR70DB93,LINETHICK2;
X_4:=X_3;
最佳买入:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),COLORLIMAGENTA,LINETHICK0;
DRAWTEXT(最佳买入=1,2.3,13),COLORYELLOW;
X_5:=DMI.PDI(12,6);
X_6:=DMI.MDI(12,6);
X_7:=X_5>65 AND X_5>REF(X_5,1);
X_8:=LLV(X_5,0);
X_9:=BARSLAST(X_8=X_5);
X_10:=(0-REF(X_6,4))/(X_8-REF(X_6,X_9))>2;
X_11:=X_5>REF(X_5,1);
X_12:=VOL>2*MA(VOL,30);
X_13:=DMI.ADX(12,6);
X_14:=DMI.ADXR(12,6);
X_15:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
X_16:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
X_17:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
X_18:=TROUGHBARS(3,15,1)<4;
X_19:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
X_20:=IF(X_18=1,50,0);
X_21:=CROSS(X_6,X_5) AND CROSS(X_14,X_13);
X_22:=CROSS(X_6,X_5) AND CROSS(X_13,X_14);
X_23:=X_15 AND X_16 AND X_17 AND X_19 AND X_10 AND X_11 AND X_12*50;
X_24:=BARSLAST(CROSS(X_6,X_5)=1);
X_25:=BARSLAST(CROSS(X_5,X_6)=1);
X_26:=HHV(X_5,X_25);
X_27:=BARSLAST(X_5=X_26);
X_28:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
STICKLINE(FILTER(X_18=1,5) AND X_28<(-10),2.5,0.5,3,0),COLORRED;
STICKLINE(FILTER(X_18=1,5),2.5,0.5,1,0),COLORRED;
X_29:=X_7 OR X_21 OR X_22*100;
X_30:=X_22*100;
DRAWTEXT(FILTER(X_18=1,3),1.3,14),COLORYELLOW;
X_31:=EMA(CLOSE,7)-EMA(CLOSE,21);
X_32:=EMA(0.668*REF(X_31,1)+0.333*X_31,1);
X_33:=IF(X_31>=X_32,X_31,X_32);
X_34:=X_32;
X_35:=REF(CLOSE,1);
X_36:=SMA(MAX(CLOSE-X_35,0),2,1)/SMA(ABS(CLOSE-X_35),2,1)*100;
X_37:=SMA(MAX(CLOSE-X_35,0),3,1)/SMA(ABS(CLOSE-X_35),3,1)*100;
X_38:=SMA(MAX(CLOSE-X_35,0),4,1)/SMA(ABS(CLOSE-X_35),4,1)*100;
X_39:=SMA(MAX(CLOSE-X_35,0),5,1)/SMA(ABS(CLOSE-X_35),5,1)*100;
X_40:=SMA(MAX(CLOSE-X_35,0),6,1)/SMA(ABS(CLOSE-X_35),6,1)*100;
X_41:=SMA(MAX(CLOSE-X_35,0),7,1)/SMA(ABS(CLOSE-X_35),7,1)*100;
X_42:=SMA(MAX(CLOSE-X_35,0),8,1)/SMA(ABS(CLOSE-X_35),8,1)*100;
X_43:=SMA(MAX(CLOSE-X_35,0),9,1)/SMA(ABS(CLOSE-X_35),9,1)*100;
X_44:=SMA(MAX(CLOSE-X_35,0),10,1)/SMA(ABS(CLOSE-X_35),10,1)*100;
X_45:=SMA(MAX(CLOSE-X_35,0),11,1)/SMA(ABS(CLOSE-X_35),11,1)*100;
X_46:=SMA(MAX(CLOSE-X_35,0),12,1)/SMA(ABS(CLOSE-X_35),12,1)*100;
X_47:=SMA(MAX(CLOSE-X_35,0),13,1)/SMA(ABS(CLOSE-X_35),13,1)*100;
X_48:=SMA(MAX(CLOSE-X_35,0),14,1)/SMA(ABS(CLOSE-X_35),14,1)*100;
X_49:=SMA(MAX(CLOSE-X_35,0),15,1)/SMA(ABS(CLOSE-X_35),15,1)*100;
X_50:=SMA(MAX(CLOSE-X_35,0),16,1)/SMA(ABS(CLOSE-X_35),16,1)*100;
X_51:=SMA(MAX(CLOSE-X_35,0),17,1)/SMA(ABS(CLOSE-X_35),17,1)*100;
X_52:=SMA(MAX(CLOSE-X_35,0),18,1)/SMA(ABS(CLOSE-X_35),18,1)*100;
X_53:=SMA(MAX(CLOSE-X_35,0),19,1)/SMA(ABS(CLOSE-X_35),19,1)*100;
X_54:=SMA(MAX(CLOSE-X_35,0),20,1)/SMA(ABS(CLOSE-X_35),20,1)*100;
X_55:=SMA(MAX(CLOSE-X_35,0),21,1)/SMA(ABS(CLOSE-X_35),21,1)*100;
X_56:=SMA(MAX(CLOSE-X_35,0),30,1)/SMA(ABS(CLOSE-X_35),30,1)*100;
X_57:=SMA(MAX(CLOSE-X_35,0),40,1)/SMA(ABS(CLOSE-X_35),40,1)*100;
X_58:=SMA(MAX(CLOSE-X_35,0),50,1)/SMA(ABS(CLOSE-X_35),50,1)*100;
X_59:=SMA(MAX(CLOSE-X_35,0),60,1)/SMA(ABS(CLOSE-X_35),60,1)*100;
X_60:=SMA(MAX(CLOSE-X_35,0),70,1)/SMA(ABS(CLOSE-X_35),70,1)*100;
X_61:=SMA(MAX(CLOSE-X_35,0),80,1)/SMA(ABS(CLOSE-X_35),80,1)*100;
X_62:=SMA(MAX(CLOSE-X_35,0),90,1)/SMA(ABS(CLOSE-X_35),90,1)*100;
X_63:=SMA(MAX(CLOSE-X_35,0),100,1)/SMA(ABS(CLOSE-X_35),100,1)*100;
X_64:=SMA(MAX(CLOSE-X_35,0),110,1)/SMA(ABS(CLOSE-X_35),110,1)*100;
X_65:=SMA(MAX(CLOSE-X_35,0),120,1)/SMA(ABS(CLOSE-X_35),120,1)*100;
X_66:=(X_36+X_37+X_38+X_39+X_40)/5;
X_67:=(X_41+X_42+X_43+X_44+X_45+X_46+X_47+X_48+X_49+X_50+X_51+X_52+X_53+X_54+X_55)/15;
X_68:=(X_55+X_56+X_57+X_58+X_59+X_60+X_61+X_62+X_63+X_64+X_65)/11;
X_69:=CROSS(X_66,X_67);
X_70:=CROSS(X_67,X_66);
X_71:=3*EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5)-2*EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);
X_72:=LLV(LOW,21);
X_73:=LLV(LOW,30);
X_74:=EMA(X_71,5);
X_75:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
X_76:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_77:=EMA(X_76,9);
X_78:=X_76<(-0.1) AND X_76>X_77;
X_79:=CROSS(X_71,X_74) AND X_75-X_74>40 AND X_78;
STICKLINE(X_79,0.5,2,1,0),COLORMAGENTA;
DRAWTEXT(X_79,1.8,2),COLORYELLOW;
X_80:=CROSS((-100*(HHV(HIGH,IF(IF(BARSCOUNT(CLOSE)>7,100*(MA(CLOSE,7)/LLV(MA(CLOSE,7),7)-1),1)>0.35,6,65))-CLOSE))/(HHV(HIGH,IF(IF(BARSCOUNT(CLOSE)>7,100*(MA(CLOSE,7)/LLV(MA(CLOSE,7),7)-1),1)>0.35,6,65))-LLV(LOW,IF(IF(BARSCOUNT(CLOSE)>7,100*(MA(CLOSE,7)/LLV(MA(CLOSE,7),7)-1),1)>0.35,6,65)))*(DATE<20070110),(-2));
X_81:=MA(CLOSE,26);
X_82:=X_81+2*STD(CLOSE,26);
X_83:=X_81-2*STD(CLOSE,26);
X_84:=CLOSE=HHV(CLOSE,20);
X_85:=BARSLAST(X_84);
X_86:=IF(X_85>0,REF(CLOSE,X_85),REF(CLOSE,X_85));
X_87:=CROSS(CLOSE,REF(X_86,1));
X_88:=IF(X_87 AND COUNT(X_87,5)=1,20,0);
X_89:=EMA(CLOSE,2);
X_90:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
X_91:=CROSS(X_89,X_90);
STICKLINE(X_80 AND X_88 AND X_91,0.5,2,1,0),COLORMAGENTA;
DRAWTEXT(X_80 AND X_88 AND X_91,1.8,15),COLORYELLOW;
X_92:=LLV(LOW,3)<=LLV(LOW,60);
X_93:=CLOSE>OPEN AND (CLOSE/OPEN>1.03 OR CLOSE>1.03*REF(CLOSE,1));
X_94:=IF(X_92 AND X_93,90,0);
STICKLINE(X_94,0.5,1,3,0),COLORCYAN;
STICKLINE(X_94,0,0.5,3,0),COLORMAGENTA;
DRAWTEXT(X_94,0.8,16),COLORYELLOW;
|