價量:=3SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)
-LLV(LOW,27))100,5,1)-2SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1),3,1);
主力活躍力度:=(((價量-LLV(價量,27))/(HHV(價量,27)-LLV(價量,27)))(4))(25);
快線:=(((價量-LLV(價量,9))/(HHV(價量,9)-LLV(價量,9)))(4))(25);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD;
TGLXS:=(TFXXS-REF(TFXXS,1));
主力籌碼:=EMA(WINNER(CLOSE)70,3);
散戶籌碼:=EMA((WINNER(CLOSE1.1)-WINNER(CLOSE0.9))*80,3);
金叉瘋牛:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
界:=MA(CLOSE,27);
持股時段:IF((金叉瘋牛>界)AND(散戶籌碼<主力籌碼)AND
((主力活躍力度>50)OR(主力活躍力度>REF(主力活躍力度,1))),-40,0),COLORRED,NODRAW;
ZLCM:=EMA(WINNER(CLOSE)70,3);
{//主力籌碼估算}
SHCM:=EMA((WINNER(CLOSE1.1)-WINNER(CLOSE0.9))80,3);
{//小籌碼估算}
ZSHTL:=SHCM/(ZLCM+SHCM)100;
{//小股民套牢籌碼比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)100;
{//主力控盤籌碼比}
ZCMZL:=MA(ZLCM+SHCM,13);
{//市場籌碼總量}
ZZNTS:=BARSLAST(ZSHTL<90ANDREF(ZSHTL,1)>90);
{//走牛天數(shù)}
ZSHJJ:=EMA(ZSHTL,89);
{//小股民警戒}
ZZLJJ:=EMA(ZZLKP,89);
{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);
{//資金流入強度}
BB:=MA(C,1);
持幣階段:SMA(SMA(SMA(BB,2,1),2,1),2,1);
主升持股波段:=HHV(MA(持幣階段,1),13);
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
牛股出現(xiàn)預(yù)警:=WINNER(C/1.10)100,COLOR00FFFF,NODRAW;
主力贏利25持倉:=WINNER(C/1.25)100,COLORFF00FF,NODRAW;
散戶套牢籌碼:=散戶籌碼/(主力籌碼+散戶籌碼)100;
主升浪波段:=主力籌碼/(主力籌碼+散戶籌碼)100,COLORFF6100,NODRAW;
主力主導(dǎo)行情:=EMA(主升浪波段,55),NODRAW,COLORFF00FF;
M:=60;
N:=30;
SHX:=100(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))COLORGRAY;
莊家主力線:=50-SMA(SMA(SMA(SHX,2,1),2,1),2,1)/2,COLOR00FFFF,LINETHICK2;
散戶持股線:=50-HHV(MA(莊家主力線,1),13)/2,COLORFF00FF,LINETHICK4;
跌幅:=(REF(C,1)-C)/REF(C,1)100;
漲幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)100,POINTDOT,COLOR009900,LINETHICK0;
ER:=V/FINANCE(7)100;
A0:=TMA(ER,(1-ER),1);
MAXCYC:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
T1:=BARSLAST(C>MAXCYCPOW(1.1,0.9));
T2:=BARSLAST(CPOW(1.1,-0.9));
T3:=CROSS(T1,T2)ORCROSS(T2,T1)ORBARSSINCE(T1+1)=0ORBARSSINCE(T2+1)=0ORBARSCOUNT(C)=0;
T4:=REF(MAXCYC,BARSLAST(T3));
HZ:=HHV((H+L)/2,120);
AA:=(2C+H+L)/4;
VAR1:=IF(DATE=10301201,0,1);
VAR2:=EMA(SLOPE(CLOSE,21)20+CLOSE,55);
VAR3:=EMA(CLOSE,3);
VAR4:=(2CLOSE+LOW+HIGH)/4VAR1;
VAR5:=VAR2-VAR3;
VAR6:=CLOSEVOL;
VAR7:=EMA((EMA(VAR6,3)/EMA(VOL,3)+EMA(VAR6,6)/EMA(VOL,6)+EMA(VAR6,12)/EMA(VOL,12)+EMA(VAR6,24)/EMA(VOL,24))/4,13);
VAR8:=(EMA(CLOSE,5)7+EMA(CLOSE,10)3)/10;
VAR9:=(CLOSE+OPEN)/2;
MA5:=MA(CLOSE,5);
VAR11:=3SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))100,5,1)
-2SMA(SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))100,180,1),15,1);
超級主升:=EMA(VAR11,5);
主升1:=超級主升-100;
D8:=EMA(C,5);
D2:=(EMA(C,1)+EMA(C,5)+EMA(C,10)+EMA(C,15)+EMA(C,20)+EMA(C,25)+EMA(C,30)+EMA(C,35)+EMA(C,40)+EMA(C,45)+
EMA(C,50)+EMA(C,55)+EMA(C,60)+EMA(C,65)+EMA(C,70)+EMA(C,75)+EMA(C,80)+EMA(C,85)+EMA(C,90)+EMA(C,95)+
EMA(C,100)+EMA(C,105)+EMA(C,110)+EMA(C,115)+EMA(C,120)+EMA(C,125)+EMA(C,130)+EMA(C,135)+EMA(C,140)+EMA(C,150))/30;
DDE:=(D8/D2)100;
主升2:=DDE-110;
A:=(H+L+2C)/4;
A1:=(A-REF(A,3))/3+A;
J:=EMA(HHV(A1,20),60),LINETHICK3;
CB5:=EMA(COST(80),30),CIRCLEDOT;
HMX:=EMA(1.4EMA(FORCAST(A1,20),40),20),LINETHICK2;
金牛線:=(J+CB5+HMX)/3,LINETHICK2;
MA20:=MA(C,20);
UP:=EMA(EMA(C*1.38,50),50),DOTLINE,COLOR0000FF;
白色:=SMA(HIGH,21,2)1.05;
黃色:=SMA(LOW,21,2)0.95;
中線:=(白色+黃色)/2;
UP1:=中線+2STD(中線,20);
UP2:=REF(UP1,0);
CC:=ABS((2CLOSE+HIGH+LOW)/4-MA(A1,20))/MA(A1,20);
DT:=DMA(CLOSE,CC);
通道3:=(1+9/100)DT;
通道4:=(1-7/100)DT;
界限:=(REF((金牛線+UP+EMA(UP11.04,40)+通道3)/4,10)+MA(C,20)1.04)/2;
AHC1:=HVOL;
AHC24:=EMA((EXPMA(AHC1,180)/EXPMA(VOL,180)+EXPMA(AHC1,360)/EXPMA(VOL,360)+EXPMA(AHC1,720)/EXPMA(VOL,720)+EXPMA(AHC1,1440)/EXPMA(VOL,1440))/4,34);
C上X:=1.06AHC24;
C下X:=AHC240.94;
AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
上X:=1.06AHC22;
下X:=AHC220.94;
AHC23:=EMA((EXPMA(AHC1,5)/EXPMA(VOL,5)+EXPMA(AHC1,10)/EXPMA(VOL,10)+EXPMA(AHC1,20)/EXPMA(VOL,20)+EXPMA(AHC1,40)/EXPMA(VOL,40))/4,34);
D上X:=1.06AHC23;
D下X:=AHC230.94;
T:=(C上X+D上X+上X)/31.05;
主升3:=(MA52/(界限+T)-1)100;
CBX80:=MA(COST(80),20);
主升4:=(MA5/CBX80-1)100;
FT:=((HHV(H,42)-LLV(L,42)))/2+LLV(L,42);
FT1:=ABS(HHV(H,40)-LLV(L,40)-LLV(L,40))+FT0.5;
主升5:=(FT/FT1-1)100;
P:=EMA(EMA(C1.14,55),20);
主升6:=(MA5/P-1)100;
金K線:=(EMA(HHV(H,60),60)+EMA(FT,453)1.62)/2;
主升7:=(MA5/金K線-1)100;
超牛拉升:=(主升1+主升2+主升3+主升4+主升5+主升6+主升7)/2,LINETHICK2;
SMA2:=MA(持幣階段,3);
V1:=(C2+H+L)/410;
V2:=EMA(V1,13)-EMA(V1,21);
V3:=EMA(V2,5);
V4:=2(V2-V3)100,COLORRED,LINETHICK2;
籌碼進(jìn):=IF(V4>=0,V4,0);
VARAA:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR21:=SMA(ABS(HIGH-VARAA),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
主力抬轎:=IF(VAR510)AND(籌碼進(jìn)>150)AND(持股時段<-18)AND(跌幅<3),籌碼進(jìn),0),COLORRED,NODRAW;
上軌:=EMA(VAR81.15,15),COLORRED,LINETHICK1;
黃線:=(EMA(VAR9,3)+EMA(VAR9,6)+EMA(VAR9,12)+EMA(VAR9,24))/4,COLORYELLOW,LINETHICK1;
HH:=(20H+19REF(H,1)+18REF(H,2)+17REF(H,3)+16REF(H,4)+15REF(H,5)+14REF(H,6)
+13REF(H,7)+12REF(H,8)+11REF(H,9)+10REF(H,10)+9REF(H,11)+8REF(H,12)
+7REF(H,13)+6REF(H,14)+5REF(H,15)+4REF(H,16)+3REF(H,17)+2REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
LL:=(20L+19REF(L,1)+18REF(L,2)+17REF(L,3)+16REF(L,4)+15REF(L,5)+14REF(L,6)
+13REF(L,7)+12REF(L,8)+11REF(L,9)+10REF(L,10)+9REF(L,11)+8REF(L,12)
+7REF(L,13)+6REF(L,14)+5REF(L,15)+4REF(L,16)+3REF(L,17)+2REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
VAR80:=3SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))100,5,1)-2SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))100,180,1),15,1);
瘋牛潛力股:=EMA(VAR80,5),NODRAW,COLOR6600FF;
牛熊分道:EMA(HH,90),COLORYELLOW,LINETHICK2;
下:=牛熊分道-((C-牛熊分道)C-牛熊分道)/牛熊分道1.68,LINETHICK3,COLORRED;
下軌:=MA(下,14),COLORGREEN,LINETHICK2;
IF(持股時段<-28AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF0080,LINETHICK6;
IF(持股時段<-28AND瘋牛潛力股>50ANDBARSCOUNT(C)>250AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>=REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF0080,LINETHICK6;
IF(瘋牛潛力股>50ANDBARSCOUNT(C)>250AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股<=REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORGREEN,LINETHICK6;
IF(上軌>=下軌AND下軌>REF(下軌,1),下軌,DRAWNULL),COLORGREEN,LINETHICK6;
IF(持股時段<-28ANDBARSCOUNT(C)<250AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>=REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF0080,LINETHICK6;
IF(持股時段=0ANDBARSCOUNT(C)<250AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>=REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF00FF,LINETHICK6;
IF(瘋牛潛力股>50AND上軌>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1)AND牛熊分道>=下軌,上軌,DRAWNULL),COLORFF00FF,LINETHICK4;
IF(瘋牛潛力股>50AND上軌>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1),上軌,DRAWNULL),COLORFF00FF,LINETHICK4;
IF(COUNT(C>上軌,5)>=2AND上軌>=牛熊分道AND瘋牛潛力股>REF(瘋牛潛力股,1)AND漲幅>0.5,上軌,DRAWNULL),COLOR0000FF,LINETHICK4;
不參與階段:IF(上軌<下軌,上軌,上軌),COLORGREEN,LINETHICK2;
分道關(guān)注:IF(上軌>=下軌AND牛熊分道<下軌AND下軌<REF(下軌,1),下軌,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(上軌>=下軌AND牛熊分道<下軌AND下軌<REF(下軌,1),下軌,DRAWNULL),COLORFF00FF,LINETHICK2;
行情主升浪:IF(持股時段<-28AND瘋牛潛力股>50AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF0080,LINETHICK2;
IF(持股時段<-28AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF0080,LINETHICK2;
IF(持股時段<-28AND瘋牛潛力股>50ANDBARSCOUNT(C)>250AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>=REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF0080,LINETHICK2;
IF(瘋牛潛力股>50ANDBARSCOUNT(C)>250AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股<=REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORGREEN,LINETHICK2;
IF(上軌>=下軌AND下軌>REF(下軌,1),下軌,DRAWNULL),COLORGREEN,LINETHICK2;
IF(持股時段<-28ANDBARSCOUNT(C)<250AND上軌>=下軌AND牛熊分道>=下軌AND瘋牛潛力股>=REF(瘋牛潛力股,1),下軌,DRAWNULL),COLORFF0080,LINETHICK2;
IF(瘋牛潛力股>50AND上軌>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1)AND牛熊分道>=下軌,上軌,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(瘋牛潛力股>50AND上軌>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1),上軌,DRAWNULL),COLORFF00FF,LINETHICK2;
超級瘋牛分界:IF(持股時段<-28AND瘋牛潛力股>50AND上軌>=下軌AND瘋牛潛力股>REF(瘋牛潛力股,1),上軌,DRAWNULL),COLORRED,LINETHICK2;
IF(COUNT(C>上軌,5)>=2AND上軌>=牛熊分道AND瘋牛潛力股>REF(瘋牛潛力股,1)AND漲幅>0.5,上軌,DRAWNULL),COLORRED,LINETHICK2;
開口選股:=BARSLASTCOUNT(上軌>下軌)=1,NODRAW;
DRAWICON(開口選股,MIN(下軌,上軌)1.08,26);
DRAWTEXT(開口選股,LOW,71),COLORYELLOW;
DRAWTEXT(開口選股,上軌1.13,’開始關(guān)注’),COLORRED;
變盤加速上揚:=CROSS(牛熊分道,下軌);
DRAWICON(變盤加速上揚
,LOW*0.9,25);
{重倉介入}
重倉目標(biāo):=FILTER((COUNT(變盤加速上揚,5)=1),15),COLORFFFF00,LINETHICK2;
STICKLINE(重倉目標(biāo)>0.8,牛熊分道0.8,牛熊分道0.88,0.5,0),COLORFFFF00,LINETHICK2;
STICKLINE(重倉目標(biāo)>0.8,牛熊分道0.8,牛熊分道0.86,2,0),COLORFF0080,LINETHICK2;
STICKLINE(重倉目標(biāo)>0.8,牛熊分道0.8,牛熊分道0.84,4,0),COLORFF00FF,LINETHICK2;
DRAWTEXT(重倉目標(biāo)>0.8,牛熊分道*0.76,’重點目標(biāo)’),COLORRED;
超強自選:=(CROSS(CLOSE,下軌)ANDCROSS(CLOSE,超級瘋牛分界)ANDCOUNT(上軌>下軌,2)=1ANDREF(下軌,2)>REF(上軌,2));
STICKLINE(重倉目標(biāo)>0.8OR超強自選,牛熊分道0.8,牛熊分道0.88,0.5,0),COLORFFFF00,LINETHICK2;
STICKLINE(重倉目標(biāo)>0.8OR超強自選,牛熊分道0.8,牛熊分道0.86,2,0),COLORFF0080,LINETHICK2;
STICKLINE(重倉目標(biāo)>0.8OR超強自選,牛熊分道0.8,牛熊分道0.84,4,0),COLORFF00FF,LINETHICK2;
DRAWTEXT(重倉目標(biāo)>0.8OR超強自選,牛熊分道*1.05,’重點目標(biāo)’),COLORRED;
VARA:=SMA(AMOUNT,10,1)/1000000;
VARB:=REF(VARA,1);
VARC:=MA(REF(CLOSE,1),5);
最高:=VARAHIGH/VARC1/10,POINTDOT,COLOR009900,COLORGRAY;
最低:=VARALOW/VARC1/10,POINTDOT,COLOR009900,COLORYELLOW;
開盤:=VARAOPEN/VARC1/10,POINTDOT,COLOR009900,COLORMAGENTA;
收盤:=VARACLOSE/VARC1/10,COLOR009900,COLORGREEN,POINTDOT;
漲跌:=(收盤-REF(收盤,1))/REF(收盤,1)*100,POINTDOT,COLOR009900,LINETHICK0;
STICKLINE((CLOSE>下軌AND漲跌>15ANDCLOSE<上軌ANDOPEN<上軌AND下軌<牛熊分道),CLOSE,OPEN,3,0),COLORYELLOW;
{超強突破}
自選:=IF((CROSS(CLOSE,上軌)AND下軌<=牛熊分道),18,0),COLORRED,LINETHICK2;
重點自選:=FILTER((自選>8),20),COLORRED,LINETHICK2;
STICKLINE(重點自選,CLOSE1.1,CLOSE1.15,0.5,0),COLORRED;
DRAWICON(重點自選,CLOSE*1.06,12),COLORRED;
DRAWTEXT(重點自選,CLOSE*1.2,’快馬加鞭’),COLORRED;
STICKLINE((漲跌>20ANDCLOSE>上軌),OPEN+(CLOSE-OPEN),OPEN,3,0),COLORRED;
STICKLINE((漲幅>5AND漲跌>0AND漲跌<20ANDCLOSE>上軌ANDOPEN<上軌),CLOSE,OPEN,3,0),COLORRED;
STICKLINE((漲幅>5AND漲跌>0AND漲跌<20ANDCLOSE>上軌ANDOPEN<上軌),OPEN+(CLOSE-OPEN)*2/3,OPEN,3,0),COLORBLUE;
STICKLINE((漲跌>40ANDCLOSE>上軌ANDOPEN<上軌),OPEN+(CLOSE-OPEN)/3,OPEN+(CLOSE-OPEN)*2/3,3,0),COLORYELLOW;
STICKLINE((漲跌>20ANDCLOSE>上軌ANDOPEN<上軌),OPEN+(CLOSE-OPEN)/3,OPEN+(CLOSE-OPEN)2/3,3,0),COLORBLUE;
STICKLINE((漲跌>10ANDCLOSE>上軌ANDOPEN>上軌),OPEN+(CLOSE-OPEN)/3,OPEN+(CLOSE-OPEN)2/3,3,0),COLORYELLOW;
DRAWICON(變盤加速上揚
,LOW*0.9,25);
{大膽博}
MB5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MB5))ANDCROSS(MB5,MA10);
FB:=FAANDMB5>MA30ANDMA10>MA30ANDMA10>REF(MA10,1);
DRAWTEXT(FB,L-0.58,’★紅?!?,COLORRED;
V11:=EMA(CLOSE,5);
V22:=EMA(EMA(CLOSE,90)1.01,10);
DRAWTEXT(CROSS(V11,V22),V11+0.05,’牛起步’),COLOR00FF00;
VAR11A:=LLV(LOW,21);
VAR22A:=HHV(HIGH,21);
AK1:=EMA((((CLOSE-VAR11A)/(VAR22A-VAR11A))100),5);
AK:=EMA((((CLOSE-VAR11A)/(VAR22A-VAR11A))50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB=1),(LOW0.99),’○牛窩’),COLORYELLOW;
AA1:=AMOUNT/V;
BB1:=L0.9;
CC1:=(C-REF(C,1))/REF(C,1)100>1.2;
DD1:=L0.921;
EE1:=V1.5;
老鼠倉:=BB1ANDCC1ANDDD1ANDEE1,LINETHICK0,COLOR0099FF;
DRAWTEXT(老鼠倉,L0.99,’老鼠倉’),COLOR0099FF;
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),’★加倉’),COLOR00FFFF;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)-0.5),84),(HIGH)(1.05),’小心變盤’),COLORFFFFFF;
VAR6A:=REF(C,1);
VAR7A:=SMA(MAX(C-VAR6A,0),6,1)/SMA(ABS(C-VAR6A),6,1)100;
DRAWTEXT(CROSS(82,VAR7A),H1.01,’逃頂’)COLORYELLOW;
原創(chuàng)文章,作者:股神,如若轉(zhuǎn)載,請注明出處:http://www./post/38521
|