利:WINNER(CLOSE)*100,NODRAW;
XA_1:=COST(0.1);
XA_2:=COST(99.900002);
{XA_1:=LLV(COST(0.1),120);
XA_2:=HHV(COST(99.900002),120);}
XA_3:=(XA_2-XA_1)/10;
STICKLINE((WINNER(XA_1+XA_3)-WINNER(XA_1))*100>10,XA_1,XA_1+XA_3,3,0),COLOR000066;
STICKLINE((WINNER(XA_1+XA_3*2)-WINNER(XA_1+XA_3))*100>10,XA_1+XA_3,XA_1+XA_3*2,3,0),COLOR5533FF;
STICKLINE((WINNER(XA_1+XA_3*3)-WINNER(XA_1+XA_3*2))*100>10,XA_1+XA_3*2,XA_1+XA_3*3,3,0),COLOR0066FF;
STICKLINE((WINNER(XA_1+XA_3*4)-WINNER(XA_1+XA_3*3))*100>10,XA_1+XA_3*3,XA_1+XA_3*4,3,0),colormagenta;
STICKLINE((WINNER(XA_1+XA_3*5)-WINNER(XA_1+XA_3*4))*100>10,XA_1+XA_3*4,XA_1+XA_3*5,3,0),colorcyan;
STICKLINE((WINNER(XA_1+XA_3*6)-WINNER(XA_1+XA_3*5))*100>10,XA_1+XA_3*5,XA_1+XA_3*6,3,0),colorgray;
STICKLINE((WINNER(XA_1+XA_3*7)-WINNER(XA_1+XA_3*6))*100>10,XA_1+XA_3*6,XA_1+XA_3*7,3,0),COLORFF8000;
STICKLINE((WINNER(XA_1+XA_3*8)-WINNER(XA_1+XA_3*7))*100>10,XA_1+XA_3*7,XA_1+XA_3*8,3,0),COLOR663300;
STICKLINE((WINNER(XA_1+XA_3*9)-WINNER(XA_1+XA_3*8))*100>10,XA_1+XA_3*8,XA_1+XA_3*9,3,0),COLOR009933;
STICKLINE((WINNER(XA_2)-WINNER(XA_1+XA_3*9))*100>10,XA_1+XA_3*9,XA_2,3,0),COLOR00DD33;
一:(WINNER(XA_1+XA_3)-WINNER(XA_1))*100,COLOR000066,NODRAW;
二:(WINNER(XA_1+XA_3*2)-WINNER(XA_1+XA_3))*100,COLOR5533FF,NODRAW;
三:(WINNER(XA_1+XA_3*3)-WINNER(XA_1+XA_3*2))*100,COLOR0066FF,NODRAW;
四:(WINNER(XA_1+XA_3*4)-WINNER(XA_1+XA_3*3))*100,colormagenta,NODRAW;
低筹:=一+二+三+四,COLORE66878;
五:(WINNER(XA_1+XA_3*5)-WINNER(XA_1+XA_3*4))*100,COLOR0066FF,NODRAW;
六:(WINNER(XA_1+XA_3*6)-WINNER(XA_1+XA_3*5))*100,colorgray,NODRAW;
七:(WINNER(XA_1+XA_3*7)-WINNER(XA_1+XA_3*6))*100,COLORFF8000,NODRAW;
八:(WINNER(XA_1+XA_3*8)-WINNER(XA_1+XA_3*7))*100,COLOR663300,NODRAW;
九:(WINNER(XA_1+XA_3*9)-WINNER(XA_1+XA_3*8))*100,NODRAW;
十:(WINNER(XA_2)-WINNER(XA_1+XA_3*9))*100,colorligreen,NODRAW;
突集:(一/REF(一,1)>1.5 AND 一>10 AND REF(一,1)>10) OR (二/REF(二,1)>1.5 AND 二>10 AND REF(二,1)>10) OR (三/REF(三,1)>1.5 AND 三>10 AND REF(三,1)>10) OR (四/REF(四,1)>1.5 AND 四>10 AND REF(四,1)>10) OR (五/REF(五,1)>1.5 AND 五>10 AND REF(五,1)>10),NODRAW;
突集2:=(九/REF(九,1)>1.5 AND 九>5) OR (十/REF(十,1)>1.5 AND 十>5),NODRAW;
突集3:=(六/REF(六,1)>1.5 AND 六>5) OR (七/REF(七,1)>1.5 AND 七>5) OR (八/REF(八,1)>1.5 AND 八>5);
集中:=(一+二+三+四)>60;
DRAWICON(突集,HHV(COST(99.9)*1.1,20),5);
DRAWICON(突集2,HHV(COST(99.9)*1.1,20),6);
DRAWICON(突集3,HHV(COST(99.9)*1.1,20),13);
{DRAWICON(集中,HHV(COST(99.0),20),26);}
{DRAWICON(五>REF(五,1),HHV(COST(99.0),20),3);}
低突集:=(二/REF(二,10)>2 AND 二>15) OR (三/REF(三,10)>2 AND 三>15) OR (四/REF(四,10)>2 AND 四>15);
中突集:=(五/REF(五,10)>2 AND 五>15) OR (六/REF(六,10)>2 AND 六>15) OR (七/REF(七,10)>2 AND 七>15);
DRAWICON(低突集,LLV(COST(0.1)*0.9,20),26);
DRAWICON(中突集,LLV(COST(0.1)*0.9,20),27);
AA:=1;
AAA:=((EMA(CLOSE,5) - REF(EMA(CLOSE,5),1)) / REF(EMA(CLOSE,5),1));
BBB:=((EMA(INDEXC,5) - REF(EMA(INDEXC,5),1)) / REF(EMA(INDEXC,5),1));
CCC:=REF(HHV(CLOSE,120),1);
DDD:=REF(LLV(CLOSE,120),1);
WW:=((100 * (CLOSE - DDD)) / (CCC - DDD));
今日资金流:=(AMOUNT/100000000);
五日资金流:=(EMA(今日资金流,5)/REF(EMA(今日资金流,5),5));
庄股:=((((((五日资金流 >= 2) AND (AAA > BBB)) AND (WW < 35)) AND AA) AND (BARSCOUNT(CLOSE) > 30)) OR (((((五日资金流 >= 2) AND (AAA > BBB)) AND (WW < 100)) AND AA) AND (BARSCOUNT(CLOSE) < 50)));
DRAWTEXT(庄股,0,'庄'),colorgray;
MA20:MA(CLOSE,20),coloryellow;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
现价:CLOSE,colorgray,LINETHICK1;
浮筹:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0))*100,NODRAW,COLOR0066FF,LINETHICK3;
XA1:=120;
XA2:=MA(CLOSE,XA1);
XA3:=POW(CLOSE-XA2,2);
XA4:=MA(XA3,XA1);
XA5:=SQRT(XA4);
XA6:=XA2+2*XA5;
XA9:=REF(XA6,1);
XA16:=MA(CLOSE,24);
XA47:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA54:=WINNER(CLOSE)*100;
XA58:=(XA9-XA16)/REF(CLOSE,1)*100;
平台突破:CLOSE>XA9 AND LOW
WH01:=(HHV(C,10)-LLV(C,10))/LLV(C,10)*100<=10;
WH02:=SUM(vol,10)/CAPITAL*100<45;
WH03:=REF(WH01,1);
WH04:=HHVBARS(HIGH,55)>20 OR C=HHV(H,55);
WH05:=WH02 AND WH03 AND WH04 AND C>REF(HHV(H,10),1);
横盘:WH05 AND REF(NOT(WH05),1),NODRAW;
DRAWTEXT(横盘,L*0.95,'横'),COLORE66878;
DRAWTEXT(平台突破,H*1.1,'突'),colormagenta;
CPX:=10;
WX20:=COST(20);
WX80:=COST(80);
W5:=COST(5);
WX90:=COST(90);
筹码峰宽度1:=WX80-WX20;
筹码峰宽度2:=WX90-W5 ;
筹码密集:=(筹码峰宽度1/WX20<0.20) AND (筹码峰宽度2/W5<0.28);
股价突破:=CLOSE/REF(C,1)>1.030 AND VOL>REF(VOL,1)
AND WINNER(CLOSE)>0.80 AND CPX>0;
筹码峰突破:=(筹码密集 OR REF(筹码密集,1)) AND 股价突破 AND CLOSE/REF(WX80,2)<1.10;
W00:=COST(1);
W10:=COST(10);
W20:=COST(20);
W30:=COST(30);
W40:=COST(40);
W50:=COST(50);
W60:=COST(60);
W70:=COST(70);
W80:=COST(80);
W90:=COST(90);
W100:=COST(99);
wr00:=REF(W00,1);
WR10:=REF(W10,1);
WR20:=REF(W20,1);
WR30:=REF(W30,1);
WR40:=REF(W40,1);
WR50:=REF(W50,1);
WR60:=REF(W60,1);
WR70:=REF(W70,1);
WR80:=REF(W80,1);
WR90:=REF(W90,1);
WR100:=REF(W100,1);
WJ:=W00-WR00;
WJ10:=W10-WR10;
WJ20:=W20-WR20;
WJ30:=W30-WR30;
WJ40:=W40-WR40;
WJ50:=W50-WR50;
WJ60:=W60-WR60;
WJ70:=W70-WR70;
WJ80:=W80-WR80;
WJ90:=W90-WR90;
WJ100:=W100-WR100;
MAWJ:=MA(WJ,5);
MAWJ10:=MA(WJ10,5);
MAWJ20:=MA(WJ20,5);
MAWJ30:=MA(WJ30,5);
MAWJ40:=MA(WJ40,5);
MAWJ60:=MA(WJ60,5);
MAWJ70:=MA(WJ70,5);
MAWJ80:=MA(WJ80,5);
MAWJ90:=MA(WJ90,5);
MAWJ100:=MA(WJ100,5);
MAKS:=MAWJ+MAWJ10+MAWJ20+MAWJ30+MAWJ40;
MAYL:=MAWJ60+MAWJ70+MAWJ80+MAWJ90+MAWJ100;
MAWJ50:=MA(WJ50,5);
突破:=((MAKS+MAYL)-MAWJ50)/2;
筹码峰突破2:=筹码峰突破 AND FILTER(筹码峰突破=1,15);
筹码突破:=crOSS(突破,0);
DRAWICON(筹码峰突破 AND FILTER(筹码峰突破=1,15),HHV(COST(99.900002),120),34);
DRAWICON(CROSS(突破,0),HHV(COST(99.900002),120),23);
HHV(COST(99.900002),20),COLORFF00FF;