VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),★買入 ),COLOR00FFFF;
DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),★加倉(cāng)),COLOR00FFFF;生命線:=MA(C,60);
牛熊線:=MA(C,120);
DRAWKLINE(H,O,L,C);
壓力:=MA(REF(HHV(C,30),1),2),COLOR00FF00;
支撐:=MA(REF(LLV(C,30),1),2),COLOR0000FF;
中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF0000,LINETHICK2;
IF(中>=REF(中,1), 中 ,DRAWNULL),LINETHICK2,COLOR00FFFF,;
上: BBI+3*STD(BBI,10),COLORGREEN,LINETHICK3;
下: BBI-3*STD(BBI,10),COLORMAGENTA,LINETHICK3;
安全:=MA(C,30),CIRCLEDOT,COLORFF00FF;
TJ1:=下*1.05>中 AND 中*1.05>上 AND 中>=REF(中,1) AND REF(中,1)>=REF(中,2);
TJ2:=LLV(REF(VOL,1),60);
VAR91:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);
VAR92:=VAR91/5;
LB:=V/VAR92;
TJ8:=C>LLV(LOW,120)*1.38;
VAR2:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR2) * VOL);
VAR7:=((VAR4 / VAR2) * VOL);
VAR8:=((VAR5 / VAR2) * VOL);
GG:=(VAR6 >= VAR7) AND (VAR6 >= VAR8) AND (CLOSE > OPEN);
TJ3:=LB>2 OR VOL/REF(VOL,1)>2 AND GG;
WLT1:EMA(C,3);
WLT2:EMA(C,5);
WLT3:=EMA(WLT2,5);
QQ:= C<上;
MM:=WLT1<REF(WLT1,1);
DD:=QQ AND MM;
TJ6:=COUNT(DD,7)=1;
TJ7:=C<LLV(LOW,250)*2.1;
XG:=FILTER(TJ1 AND TJ7 AND TJ3,5) AND C<支撐*1.13;
DRAWICON(XG,L,23);
DRAWICON(TJ6 AND MM AND TJ8 AND 上>中*1.1,HIGH*1.01,19);
TJ81:=中>=REF(中,1) AND LAST( 中<=REF(中,1),8,1) AND CROSS(C,中) AND C<支撐*1.13;
TJ82:=中>=REF(中,1) AND LAST( 中<=REF(中,1),5,1) AND CROSS(C,中) AND C<HHV(H,55)*0.72 AND C<支撐*1.13;
DRAWICON(TJ81,LOW*0.97,26);
DRAWICON(TJ82,LOW*0.99,25);
DRAWTEXT(TJ82 OR TJ81,L*0.98,布林牛),COLOR00FFFF;
DRAWBAND(WLT1,RGB(200,50,55),WLT2,RGB(0,100,50));
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000099;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLOR0000FF;
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999900;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFF00;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;
籌碼重心:IF(CURRBARSCOUNT<INTPART(PPART(4)*100/2),CONST(COSTEX(REF(C,3),REF(C,4)))*1.03,DRAWNULL),COLORF7F7F7;
DRAWTEXT(CURRBARSCOUNT<4 AND CROSS(C,籌碼重心) AND C/REF(C,1)>1.05,L,---突破籌碼重心買進(jìn)!),COLORMAGENTA;
JJ:=(HIGH+LOW+CLOSE)/3,NODRAW;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW),NODRAW;
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))),NODRAW;
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))),NODRAW; JJ1:=MA(C,30),NODRAW;
JJ2:=MA(C,60);
入1:=IF(JJ1>REF(JJ1,1),JJ1,DRAWNULL)NODRAW;
入2:=IF(JJ1<REF(JJ1,1),JJ1,DRAWNULL)NODRAW;
DRAWKLINE(H,O,L,C),NODRAW;
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
TT:=(V2*1.01-REF(V2,1));
TT2:=(REF(V2*1.01,1)-REF(V2,2));
YY:=TT>3*ABS(TT2);
TT1:=EMA(V2,15);
A111:=COST(85);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
單峰密集:=A333/A444*100<30;
BU1:=HHV(HIGH,250);
BU2:=LLV(LOW,250);
BU3:=BU1-BU2;
V135:=MA(V,135);
指標(biāo)優(yōu)化:COUNT(V>V135,10)>=6;
BU4:=(A444-BU2);
低位:=A444<(BU3*04+BU2);
低位單峰密集:=單峰密集 AND 低位;
BU5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}
主力持倉(cāng)%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主力持倉(cāng):=主力持倉(cāng)%>=75 {AND 主力持倉(cāng)%<=91} AND C>0 AND CLOSE>OPEN;
籌碼強(qiáng)勢(shì)突破:=主力持倉(cāng) AND 低位單峰密集 AND BU4 AND WINNER(C)>=0.90 AND BU5;
籌碼集中買入:低位單峰密集 AND TT>0 AND CROSS(TT,TT1) AND YY AND WINNER(C)>=0.90;
DRAWICON(籌碼強(qiáng)勢(shì)突破,LOW,26);
DRAWICON(籌碼集中買入,LOW*0.99,25);
DRAWTEXT(籌碼強(qiáng)勢(shì)突破,L,↖↖--------------------↖籌碼強(qiáng)勢(shì)突破),COLORGREEN;
DRAWTEXT(籌碼集中買入,L*0.96,↖↖--↖籌碼集中買入),COLORGREEN;
{黑棒佳麗戰(zhàn)法-牛股洗盤}
假陰線:DRAWTEXT(O>MA(C,20) AND (O-C)/O*100>0.01 AND VOL/CAPITAL*100 >=3 AND C>REF(C,1),L-0.08,←洗),COLORWHITE;
{妖股龍頭}
妖股線:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
妖股龍頭:DRAWTEXT(CROSS(妖股線,15),L-0.12,←鎖倉(cāng)),COLORMAGENTA;
未來(lái)壓力線:CONST(POW(SQRT(REF(LLV(C,60),60))+1,2)),LINETHICK3,COLORWHITE;
A11:=BARSCOUNT(C);
抽:=HHV(H,200);
插:=LLV(L,200);
高潮:=(抽-插)/43;
B11:=L-高潮;
STICKLINE((A11+0)/23=FLOOR((A11+0)/22),B11,B11-2.5*高潮,3,0),COLORF00FF0;
DRAWTEXT((A11+0)/23=FLOOR((A11+0)/22),B11-1*高潮,黑馬起飛),COLORWHITE,COLORYELLOW;
Z1:=STRCAT(HYBLOCK, );
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3, );
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z4,GNBLOCK)),COLORCYAN;
{二次給力}
給:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
買11:=CROSS(給,力);
賣11:=CROSS(力,給);
DRAWICON(買11,L*0.97,1);
DRAWTEXT(買11,L*0.95,進(jìn)攻),COLORYELLOW;
AA17:=EMA(C,14)COLORWHITE,LINETHICK1;
A17X:=(AA17-REF(AA17,1))/REF(AA17,1)*100,NODRAW;
參考線試買:IF(A17X>=0,REF(EMA(C,14),BARSLAST(CROSS(A17X,0))+1),DRAWNULL)COLORGREEN,LINETHICK2;
DRAWTEXT(籌碼集中買入,L*0.96,↖↖--↖籌碼集中買入),COLORGREEN;
DRAWTEXT(參考線試買,L*0.96,↖↖↖↖---------------參考線試買------),COLORGREEN,LINETHICK4;
總額:=AMOUNT;
買:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
買%:=買/AMOUNT*100;
流入:=AMOUNT*買%/10000000000;
流出:=AMOUNT/100000000-流入;
凈流:=(流入-流出);
總額3:=SUM(AMOUNT,3);
流入3:=SUM(流入,3);
流出3:=SUM(流出,3);
凈流3:=SUM(流入-流出,3);
總額5:=SUM(AMOUNT,5);
流入5:=SUM(流入,5);
流出5:=SUM(流出,5);
凈流5:=SUM(流入-流出,5);
總額10:=SUM(AMOUNT,10);
流入10:=SUM(流入,10);
流出10:=SUM(流出,10);
凈流10:=SUM(流入-流出,10);
畫:=CONST(FINDHIGH(總額10,0,190,1));
DRAWTEXT_FIX(1,0.71,0.07,0,凈流(億):),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.78,0.05,0,1日),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.83,0.05,0,3日),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.88,0.05,0,5日),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.93,0.05,0,10日),COLORMAGENTA,LINETHICK1;
DRAWNUMBER_FIX(1,0.78,0.10,0,CONST((凈流))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.83,0.10,0,CONST((凈流3))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.88,0.10,0,CONST((凈流5))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.93,0.10,0,CONST((凈流10))),COLORYELLOW;
E:=(H+L+O+2*C)/5;
CRTP:=E+(H-L);
CRZL:=2*E-L;
CRZC:=2*E-H;
CRFZ:=E-(H-L);
CRXL:=(E+CRTP+CRZL+CRZC+CRFZ)/5;
高:=CONST(CRTP),COLORRED;
阻:=CONST(CRZL),COLORC7C9FF;
支:=CONST(CRZC),COLOR7C9CFF;
反:=CONST(CRFZ),COLORDD00DD;
心理:=CONST(CRXL);
高壓:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,高,ISLASTBAR,高,1),COLOR0000FF;
阻力:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,阻,ISLASTBAR,阻,1),COLOR0099FF;
支撐1:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,支,ISLASTBAR,支,1),COLORGREEN;
反轉(zhuǎn)價(jià):DRAWLINE(S>1&&CURRBARSCOUNT=5+1,反,ISLASTBAR,反,1),COLORDD00DD;
次日心理價(jià):DRAWLINE(S>1&&CURRBARSCOUNT=5+1,心理,ISLASTBAR,心理,1),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,反, 反 轉(zhuǎn)少量買),LINETHICK1,COLORDD00DD;
DRAWTEXT(ISLASTBAR,支, 支 撐1),LINETHICK1,COLOR00FF00;
DRAWTEXT(ISLASTBAR,阻, 阻 力),LINETHICK1,COLOR0099FF;
DRAWTEXT(ISLASTBAR,高, 高 壓),LINETHICK1,COLOR0000FF;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
啟動(dòng):=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;
DRAWTEXT(啟動(dòng),L*0.99,↖金牛啟動(dòng)),COLORGREEN,LINETHICK2;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{漲停}
高位:=COST(99.9),COLORBROWN,NODRAW;
主力底倉(cāng):COST(1),COLORWHITE,LINETHICK2,NODRAW;
上突破:=高位>REF(高位,1) AND REF(高位,1)<=REF(高位,2);
下突破:=高位<=REF(高位,1) AND REF(高位,1)>REF(高位,2);
高點(diǎn):DRAWLINE(上突破,REF(高位,1),REF(上突破,1),REF(REF(高位,1),1),1)COLORRED, LINETHICK2;
前高:DRAWLINE(下突破,高位,REF(下突破,1),REF(高位,1),1)COLORWHITE, LINETHICK2;
龍頭啟動(dòng):=CROSS(C,高點(diǎn)) OR CROSS(C,前高) AND ZT;
突破:=CROSS(C,前高);
DRAWTEXT(龍頭啟動(dòng),L,↖龍頭啟動(dòng)),COLORGREEN; 參數(shù)( s 0 2 2 )