五十成本集中:=(COST(75)-COST(25))/(COST(75)+COST(25))*100;
成本價1:=COST(五十成本集中),COLORGREEN;
五十成本集中1:=100-五十成本集中;
成本價2:=COST(五十成本集中1),COLORBLUE;
單峯密集價:成本價2/成本價1-1,STICK;
紅:=REF(單峯密集價,1)REF(成本價2,1) ;
綠:=REF(單峯密集價,1)>單峯密集價;
主力籌碼:=單峯密集價
底部:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
底部成本價:=COST(底部),COLORYELLOW;
頂部:=100-底部;
頂部成本價:=COST(頂部),COLORGREEN;
均值:=(底部+頂部)/2;
均值成本:=COST(均值),COLORLICYAN,DOTLINE;
STICKLINE(紅,單峯密集價,0,2.8,0),COLOR000055;
STICKLINE(紅,單峯密集價,0,2,0),COLOR000088;
STICKLINE(紅,單峯密集價,0,1.5,0),COLOR0000AA;
STICKLINE(紅,單峯密集價,0,1,0),COLOR0000CC;
STICKLINE(紅,單峯密集價,0,0.5,0),COLOR0000EE;
STICKLINE(紅,單峯密集價,0,0,0),COLORFFFFFF;
底:=REF(單峯密集價,2)
STICKLINE(底,單峯密集價,0,0,0),COLORGREEN;
STICKLINE(底,單峯密集價,0,2.8,0),COLOR009900;
STICKLINE(底,單峯密集價,0,2,0),COLOR00BB00;
STICKLINE(底,單峯密集價,0,1.5,0),COLOR00DD00;
STICKLINE(底,單峯密集價,0,0.5,0),COLOR00FF00;
頂:=REF(單峯密集價,2)
STICKLINE(頂,單峯密集價,0,2,0),COLORYELLOW;
N:=30;
N1:=20;
V1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)=REF(HHV(H,N),1) AND BARSCOUNT(C)>N;
一線天:IF(V1,1,0);
A30:=EMA(C,34)>REF(EMA(C,34),1);
A50:=COST(50),COLORRED,LINETHICK2;
A70:=WINNER(C)*100>50;
A90:=CROSS(C,A50);
突破密集:A30 AND A50 AND A70 AND A90;
DRAWICON(突破密集,1,1);
AJB:=IF(CAPITAL>20000000,CAPITAL*33/100,IF(CAPITAL>12000000,CAPITAL*27/100,CAPITAL*22/100));
AJ1:=(COST(85)+COST(15))/2;AJ2:=(COST(75)+COST(25))/2;AJ3:=(COST(65)+COST(35))/2;AJ4:=(COST(55)+COST(45))/2;AJ5:=(COST(95)+COST(5))/2;
AJ:=(AJ1+AJ2+AJ3+AJ4+AJ5)/5;
BJ1:=(COST(90)+COST(10))/2;BJ2:=(COST(80)+COST(20))/2;BJ3:=(COST(70)+COST(30))/2;BJ4:=(COST(60)+COST(40))/2;BJ5:=(COST(50));
BJ:=(BJ1+BJ2+BJ3+BJ4+BJ5)/5;
籌碼峯值:MA((AJ+BJ)/2,3),NODRAW;
籌碼中樞:(COST(65)-COST(15))/(COST(25))*100,NODRAW;
日集中度:(AMOUNT/籌碼峯值)/(CAPITAL-AJB)*2,NODRAW;
五日集中度:SUM(AMOUNT/籌碼峯值,5)/(CAPITAL-AJB)/100*100,NODRAW;
五日集中:五日集中度>30,COLORCYAN;
DRAWTEXT_FIX(1,0.0,0.02,0,'1.低位綠K底 高位黃色K線小心頂 紅K拉昇'),COLORYELLOW;