筹码峰
XA_1:=(COST(75)-COST(25))/(COST(75)+COST(25))*100;
XA_2:=COST(XA_1);
XA_3:=100-XA_1;
XA_4:=COST(XA_3);
单峰密集价:XA_4/XA_2-1,STICK;
XA_5:=REF(单峰密集价,1)<单峰密集价 AND XA_4>REF(XA_4,1);
XA_6:=REF(单峰密集价,1)>单峰密集价;
XA_7:=单峰密集价<=0.25;
XA_8:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
XA_9:=COST(XA_8);
XA_10:=100-XA_8;
XA_11:=COST(XA_10);
XA_12:=(XA_8+XA_10)/2;
XA_13:=COST(XA_12);
STICKLINE(XA_5,单峰密集价,0,2.8,0),COLOR000055;
STICKLINE(XA_5,单峰密集价,0,2,0),COLOR000088;
STICKLINE(XA_5,单峰密集价,0,1.5,0),COLOR0000AA;
STICKLINE(XA_5,单峰密集价,0,1,0),COLOR0000CC;
STICKLINE(XA_5,单峰密集价,0,0.5,0),COLOR0000EE;
STICKLINE(XA_5,单峰密集价,0,0,0),COLORWHITE;
XA_14:=REF(单峰密集价,2)<REF(单峰密集价,1) AND 单峰密集价<REF(单峰密集价,1) AND XA_13<REF(XA_13,1);
STICKLINE(XA_14,单峰密集价,0,0,0),COLORGREEN;
STICKLINE(XA_14,单峰密集价,0,2.8,0),COLOR009900;
STICKLINE(XA_14,单峰密集价,0,2,0),COLOR00BB00;
STICKLINE(XA_14,单峰密集价,0,1.5,0),COLOR00DD00;
STICKLINE(XA_14,单峰密集价,0,0.5,0),COLORGREEN;
DRAWICON(XA_14,单峰密集价,13);{WWW.70822.com}
XA_15:=REF(单峰密集价,2)<REF(单峰密集价,1) AND 单峰密集价<REF(单峰密集价,1) AND XA_13>REF(XA_13,1);
STICKLINE(XA_15,单峰密集价,0,2,0),COLORYELLOW;
DRAWICON(XA_15,单峰密集价,15);
XA_16:=CLOSE/MA(CLOSE,40)*100<78;
XA_17:=CLOSE/MA(CLOSE,60)*100<74;
XA_18:=HIGH>LOW*1.051;{WWW.70822.com}
XA_19:=XA_18 AND COUNT(XA_18,5)>1;
XA_20:=IF(XA_19 AND (XA_16 OR XA_17),2,0);
XA_21:=CLOSE/REF(CLOSE,25)<=1.1;
XA_22:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100<15;
XA_23:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
XA_24:=SMA(XA_23,2,1);
XA_25:=SMA(XA_24,2,1);
{WWW.70822.com}
XA_26:=IF(XA_24>REF(XA_24,1) AND REF(XA_24,1)<REF(XA_24,2) AND XA_24<23,1.5,0);
买就赢利:XA_21 AND XA_20 AND XA_22 AND XA_26,NODRAW,COLORMAGENTA;
STICKLINE(买就赢利,单峰密集价,0,2.8,0),COLOR9932CD;
STICKLINE(买就赢利,单峰密集价,0,2,0),COLORMAGENTA;
STICKLINE(买就赢利,单峰密集价,0,1.5,0),COLOREAEAAE;
STICKLINE(买就赢利,单峰密集价,0,0.5,0),COLORMAGENTA;
STICKLINE(买就赢利,单峰密集价,0,0,0),COLORBLUE;
DRAWICON(买就赢利,单峰密集价,29);
XA_27:=IF(BARSCOUNT(CLOSE)>7,100*(MA(CLOSE,7)/LLV(MA(CLOSE,7),7)-1),1);
XA_28:=IF(XA_27>0.35,6,65);
XA_29:=(-(100*(HHV(HIGH,XA_28)-CLOSE)))/(HHV(HIGH,XA_28)-LLV(LOW,XA_28));
XA_30:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
XA_31:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
XA_32:=(HIGH+LOW)/2;
XA_33:=EMA(XA_32,3);
XA_34:=IF(CLOSE>XA_33,VOL,0);
XA_35:=IF(CLOSE<XA_33,VOL,0);
XA_36:=MA(SUM(XA_34-XA_35,22),3);
XA_37:=21*XA_36+20*REF(XA_36,1)+19*REF(XA_36,2)+18*REF(XA_36,3)+17*REF(XA_36,4)+16*REF(XA_36,5)+15*REF(XA_36,6)+14*REF(XA_36,7)+13*REF(XA_36,8)+12*REF(XA_36,9)+11*REF(XA_36,10)+10*REF(XA_36,11)+9*REF(XA_36,12)+8*REF(XA_36,13)+7*REF(XA_36,14)+6*REF(XA_36,15)+5*REF(XA_36,16)+4*REF(XA_36,17)+3*REF(XA_36,18)+2*REF(XA_36,19)+REF(XA_36,20);
XA_38:=XA_37/(21+1)/21*2;
XA_39:=XA_38;
XA_40:=XA_36-XA_39;
XA_41:=SMA(XA_30,3,1);
XA_42:=SMA(XA_41,3,1);
XA_43:=EMA(SMA(XA_31,3,1),2);
XA_44:=SMA(XA_43,3,1);
涨停99.99%:CROSS(XA_29,(-2)) AND CROSS(XA_41,XA_42) AND CROSS(XA_43,XA_44),NODRAW,COLORRED;
STICKLINE(涨停99.99%,单峰密集价,0,0,0),COLORBROWN;
STICKLINE(涨停99.99%,单峰密集价,0,2.8,0),COLOR009900;
STICKLINE(涨停99.99%,单峰密集价,0,2,0),COLORRED;
STICKLINE(涨停99.99%,单峰密集价,0,1.5,0),COLORWHITE;
STICKLINE(涨停99.99%,单峰密集价,0,0.5,0),COLORRED;
DRAWICON(涨停99.99%,单峰密集价,30);
XA_45:=MA(CLOSE,13);
XA_46:=MA(CLOSE,55);
XA_47:=CROSS(XA_45,XA_46);
XA_48:=MA(CLOSE,34)>=REF(MA(CLOSE,34),1);
XA_49:=MA(CLOSE,55)>=REF(MA(CLOSE,55),1);
XA_50:=XA_48 AND XA_49;
XA_51:=VOL>REF(VOL,1);
XA_52:=CLOSE/MA(CLOSE,13)<=1.01 OR CLOSE/MA(CLOSE,13)>=0.99;
适当加仓:XA_47 AND XA_50 AND XA_51 AND CLOSE>=OPEN,NODRAW,COLORLIRED;
STICKLINE(适当加仓,单峰密集价,0,0,0),COLORRED;
STICKLINE(适当加仓,单峰密集价,0,2.3,0),COLORBLUE;
STICKLINE(适当加仓,单峰密集价,0,2,0),COLORWHITE;
STICKLINE(适当加仓,单峰密集价,0,1.5,0),COLORWHITE;
STICKLINE(适当加仓,单峰密集价,0,0.5,0),COLORLIGREEN;
DRAWICON(适当加仓,单峰密集价,23);
XA_53:=MA(VOL,5);
XA_54:=MA(VOL,35);
XA_55:=MA(VOL,135);
买:CROSS(XA_53,XA_54) AND CROSS(XA_53,XA_55) AND VOL>XA_53,NODRAW,COLORBLUE;
STICKLINE(买,单峰密集价,0,0,0),COLORBROWN;
STICKLINE(买,单峰密集价,0,2.8,0),COLORLIRED;
STICKLINE(买,单峰密集价,0,2,0),COLOR009900;
STICKLINE(买,单峰密集价,0,1.5,0),COLORWHITE;
STICKLINE(买,单峰密集价,0,0.5,0),COLORBLUE;
DRAWICON(买,单峰密集价,25);
p20183251453689748.jpg
|