一跌百分比:=0.15;
趋势线周期:=100;
二跌百分比:=0.2;
三跌百分比:=0.2;
四跌百分比:=0.2;
五跌百分比:=0.2;
六跌百分比:=0.2;
七跌百分比:=0.2;
V5NCAAA3:=0.1;
DD11:0.95,COLOR5C4033;
DD22:2,COLOR8FBC8F;
(-1),COLOR333333;
X_1:=kdj.K#DAY(9,3,3);
X_2:=kdJ.D#DAY(9,3,3);
STICKLINE(X_1>X_2,2,10,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_1
X_3:=macd.DIF#DAY(12,26,9);
X_4:=MACD.DEA#DAY(12,26,9);
STICKLINE(X_3>X_4,12,20,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_3
X_5:=rsi.RSI1#DAY(9);
STICKLINE(X_5>50,22,30,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_5<50,22,30,3,0),COLORBLACK,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,26,336),COLORWHITE;
X_6:=KDJ.K#WEEK(9,3,3);
X_7:=KDJ.D#WEEK(9,3,3);
STICKLINE(X_6>X_7,32,40,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_6
X_8:=MACD.DIF#WEEK(12,26,9);
X_9:=MACD.DEA#WEEK(12,26,9);
STICKLINE(X_8>X_9,42,50,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_8
X_10:=RSI.RSI1#WEEK(9);
STICKLINE(X_10>50,52,60,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_10<50,52,60,3,0),COLORBLACK,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,56,339),COLORWHITE;
X_11:=KDJ.K#MONTH(9,3,3);
X_12:=KDJ.D#MONTH(9,3,3);
STICKLINE(X_11>X_12,62,70,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_11
X_13:=MACD.DIF#MONTH(12,26,9);
X_14:=MACD.DEA#MONTH(12,26,9);
STICKLINE(X_13>X_14,72,80,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_13
X_15:=RSI.RSI1#MONTH(9);
STICKLINE(X_15>50,82,90,3,0),COLOR5C4033,LINETHICK2;
STICKLINE(X_15<50,82,90,3,0),COLORBLACK,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,86,342),COLORWHITE;
X_16:=X_1>X_2;
X_17:=X_3>X_4;
X_18:=X_5>50;
X_19:=X_6>X_7;
X_20:=X_8>X_9;
X_21:=X_10>50;
X_22:=X_11>X_12;
X_23:=X_13>X_14;
X_24:=X_15>50;
X_25:=X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21 AND X_22 AND X_23 AND X_24;
STICKLINE(X_25,0,5,1,0),COLORBLUE;
STICKLINE(X_25 AND CLOSE/REF(CLOSE,1)>1.095,0,5,2,0),COLOR8FBC8F;
STICKLINE(X_25 AND CLOSE/REF(CLOSE,1)>1.095,0,5,1,0),COLORRED;
DRAWTEXT(X_25,1.9,343),COLORWHITE;
X_26:=1;
X_27:=MA(CLOSE,13);
X_28:=100-Abs((CLOSE-X_27)/X_27*100);
X_29:=LLV(LOW,75);
X_30:=HHV(HIGH,75);
X_31:=(X_30-X_29)/100;
X_32:=SMA((CLOSE-X_29)/X_31,20,1);
X_33:=SMA((OPEN-X_29)/X_31,20,1);
X_34:=3*X_32-2*SMA(X_32,15,1);
X_35:=3*X_33-2*SMA(X_33,15,1);
X_36:=100-X_35;
主力筹码趋向:(100-X_34)*X_26,COLOR0099FF;
X_37:=主力筹码趋向>X_28;
X_38:=REF(LOW,1)*0.9;
X_39:=LOW*0.9;
X_40:=EMA(X_39,30);
X_41:=CLOSE-REF(CLOSE,1);
X_42:=MAX(X_41,0);
X_43:=ABS(X_41);
X_44:=SMA(X_42,7,1)/SMA(X_43,7,1)*100;
X_45:=SMA(X_42,13,1)/SMA(X_43,13,1)*100;
X_46:=BARSCOUNT(CLOSE);
X_47:=SMA(MAX(X_41,0),6,1)/SMA(ABS(X_41),6,1)*100;
X_48:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
X_49:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
X_50:=SMA((SMA(X_49,4,1)-50)*2,3,1);
X_51:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
X_52:=SMA(X_51,4,1);
X_53:=SMA(X_52,3,1);
X_54:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
X_55:=X_47<=25 AND X_48<(-95) AND X_54>20 AND X_50<(-30) AND X_53<30 AND X_40-CLOSE>=(-0.25) AND X_44<22 AND X_45<28 AND X_46>50;
STICKLINE(X_37,X_28,主力筹码趋向,1,0),COLOR0099FF;
STICKLINE(X_55,0,80,1,0),COLORRED;
主力做底轴线:95,COLORYELLOW;
主力做大底轴线:100,COLORMAGENTA;
主力做顶轴线:0,COLORCYAN;
中线轴:15,COLORWHITE;
X_56:=100;
X_57:=90;
X_58:=10;
X_59:=SMA((LOW-LLV(LOW,趋势线周期))/(HHV(HIGH,趋势线周期)-LLV(LOW,趋势线周期))*100,5,1);
X_60:=VALUEWHEN(crOSS(X_58,X_59),LOW-LOW*一跌百分比);
DRAWNUMBER(CROSS(X_58,X_59),50,LOW-LOW*一跌百分比),COLORLIMAGENTA;
X_61:=VALUEWHEN(CROSS(X_58,X_59),LOW);
X_62:=IF(LOW
DRAWNUMBER(CROSS(X_60,LOW),50,X_60-X_60*二跌百分比),COLORWHITE;
X_64:=IF(LOW
DRAWNUMBER(CROSS(X_63,LOW),50,X_63-X_63*三跌百分比),COLORLICYAN;
X_66:=IF(LOW
DRAWNUMBER(CROSS(X_65,LOW),50,X_65-X_65*四跌百分比),COLORGREEN;
X_68:=IF(LOW
DRAWNUMBER(CROSS(X_67,LOW),50,X_67-X_67*五跌百分比),COLORBROWN;
X_70:=IF(LOW
DRAWNUMBER(CROSS(X_69,LOW),50,X_69-X_69*六跌百分比),COLORBROWN;
X_72:=IF(LOW
DRAWNUMBER(CROSS(X_71,LOW),50,X_71-X_71*七跌百分比),COLORBROWN;
X_74:=IF(LOW
跌3:IF(X_59<=10 AND X_64=1,(-30),0),COLORWHITE,LINETHICK3;
跌4:IF(X_59<=10 AND X_66=1,20,0),COLORLICYAN,LINETHICK3;
跌5:IF(X_59<=10 AND X_68=1,30,0),COLORGREEN,LINETHICK3;
跌6:IF(X_59<=10 AND X_70=1,40,0),COLORBROWN,LINETHICK3;
跌7:IF(X_59<=10 AND X_72=1,50,0),COLORLIBLUE,LINETHICK3;
跌8:IF(X_59<=10 AND X_74=1,60,0),COLORLIGREEN,LINETHICK3;
X_75:=CLOSE/MA(CLOSE,40)*100<78;
X_76:=CLOSE/MA(CLOSE,60)*100<74;
X_77:=HIGH>LOW*1.051;
X_78:=X_77 AND COUNT(X_77,5)>1;
X_79:=IF(X_78 AND (X_75 OR X_76),2,0);
X_80:=CLOSE/REF(CLOSE,25)<=1.1;
X_81:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100<15;
X_82:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
X_83:=SMA(X_82,2,1);
X_84:=VALUEWHEN(CROSS(23,X_83),LOW-LOW*V5NCAAA3);
X_85:=IF(X_83>REF(X_83,1) AND REF(X_83,1)买就赢利:IF(X_80 AND X_79 AND X_81 AND X_85 AND X_59<=10 AND X_62=1,80,0),COLORYELLOW;
DRAWNUMBER(X_59<=10 AND X_62=1 AND ISLASTBAR,100,X_61),COLORLIMAGENTA;
DRAWNUMBER(X_59<=10 AND X_62=1 AND ISLASTBAR,90,LOW),COLORLIMAGENTA;
DRAWNUMBER(X_59<=10 AND X_62=1 AND ISLASTBAR,80,(X_61-LOW)/X_61),COLORLIMAGENTA;
DRAWNUMBER(X_59<=10 AND X_64=1 AND ISLASTBAR,70,X_60),COLORWHITE;
DRAWNUMBER(X_59<=10 AND X_64=1 AND ISLASTBAR,60,LOW),COLORWHITE;