一, 主圖
1,買入易漲停主圖 {買入易漲停主圖原碼} {參數(shù):N 1 100 5 LC 1 100 30} MA5:MA(C,5),COLOR00FF00; MA10:MA(C,10),COLORFFFFFF; ZX:=(MA5+MA10)/2; MA30:MA(C,30),COLORYELLOW; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF>9.8,O,C,6,0),COLORRED; STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE; QSXS:=MA5>=MA30 AND MA30>REF(MA30,1); GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2); YB:=C>REF((O-C)/2+C,2); 買:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0; 買入易漲停:買 AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE(買,h,l,0,0),COLOR00FF00,linethick2; STICKLINE(買,o,c,0,0),COLOR00FF00,linethick2; STICKLINE(買入易漲停,h,l,0,0),COLORYELLOW,linethick2; STICKLINE(買入易漲停,o,c,4,0),COLORYELLOW,linethick2; DRAWTEXT(買,L*0.99, '買'),COLOR00FF00; DRAWICON(買入易漲停,L,1); 上線:=sma(c,6.5,1); 下線:=sma(c,13.5,1); 上線1:=sma(c,3,1); 下線1:=sma(c,8,1); DRAWTEXT( cross(上線,下線),low *0.98,'全倉▲買喲' ),color00ff00; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'▲抄底'),coloryellow; x1:=(3*C+H+L+O)/6; x2:=EMA(x1,10); x3:=REF(x2,1); x4:=(REF(HIGH,1)+REF(LOW,1))/2; x5:=MA(CLOSE,21)+2*STD(CLOSE,21); x6:=REF(CLOSE,1);{出貨} x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100; x8:=CROSS(79,x7); x9:=FILTER(x8,4);{40} XL11:=EMA(CLOSE,10)/100;{70} XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100; XL3:= MA(XL2,3); XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1); DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),l-0.02,'買'),colorred; DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/ 4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0) and x2>x3,l-0.4,'加▲倉'),ColorFF5ED8;{80} VAR11:=(ZIG(3,10) < REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) > REF(ZIG(3,10),2)); VAR22:=(ZIG(3,10) > REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) < REF(ZIG(3,10),2)); DRAWTEXT(VAR11,HIGH*1.05,'逃▼頂'),STICK,COLORf0f000, linethick4; TY:=C; AA1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(AA1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); AB:=REF(C,BARSLAST(HD)); Z:=REF(L,BARSLAST(LD)); T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ; T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD); 峰:IF(T1,AB,AB),color00ff00,linethick1,POINTDOT; 谷:IF(T2,Z,Z),POINTDOT,color009090; cj2:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL); cj3:=(CLOSE-cj2)/cj2*100; cj4:=REF(cj3,1)<-40 AND cj3>REF(cj3,1) AND REF(cj3,1)<REF(cj3,2) AND cj3-REF(cj3,1)>2.5; cj5:=(CLOSE-OPEN)/OPEN*100; cj6:=REF(CLOSE,1); cj7:=SMA(MAX(CLOSE-cj6,0),6,1)/SMA(ABS(CLOSE-cj6),6,1)*100; cj8:=COUNT(cj7<20,20)>=1; cj9:=cj5>9 AND cj8; cjA:=100*WINNER(OPEN); cjB:=100*WINNER(CLOSE); cjC:=cjB-cjA; cjD:=cjC>=30; cjE:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); cjF:=REF(CLOSE,1); cj10:=SMA(MAX(CLOSE-cjF,0),5,1)/SMA(ABS(CLOSE-cjF),5,1)*100; cj11:=COUNT(cj10<20,20)>=1; cj12:=cjE AND cj11; cj13:=MA(CLOSE,4); cj14:=MA(CLOSE,10); cj15:=MA(CLOSE,20); cj16:=MA(CLOSE,25); cj17:=COUNT(CROSS(cj14,cj15),2)=1; cj18:=COUNT(CROSS(cj13,cj16),2)=1; cj19:=cj17 AND cj18; cj1A:=cj12 AND cjD AND cj19; cj1B:=MA(CLOSE,80)-MA(CLOSE,10)/3; cj1C:=CLOSE<cj1B AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3; 短底反彈:=cj4 OR cj9 OR cj1A OR cj1C; ls:=c/ref(c,1)>1.048 and c=h and between(forcast(V,4),0.2*forcast(v,12),2.1*forcast(v,12)); 拉升:=filter(ls,28)*100; DRAWTEXT(短底反彈,low*0.97,'短底●反彈'),linethick2,colorffffff; DRAWTEXT(拉升,low*0.99,'拉.▲.升'),color00ff00; DRAWICON(拉升,low*0.99,1),color00ff00; ZX1:=(MA5+MA10)/2; J1:=FORCAST(WMA(CLOSE,3),20); J2:=FORCAST(WMA(CLOSE,15),20) ; VARL:=((VOL)*(OPEN + CLOSE + HIGH + LOW))/(4); YB1:=FORCAST((MA(VARL,1))/(WMA(VOL,1)),20); Y:=FORCAST(MA(CLOSE,12),20); YB2:=C>REF((O-C)/2+C,2); YD:Y - J1 - Y,Color00FF00; QSXS1:=MA10>=MA10 AND MA10>REF(MA10,1); GD1:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2); YB3:=C>REF((O-C)/2+C,2); ●金叉買入必漲:IF(FILTER(CROSS(MA5,MA10),13) and (MA5 > YD) and (MA5 > YB) and (CLOSE >MA5 + 0.03),1,0),COLORRED,LINETHICK2; drawtext(Cross(MA5,MA10) AND MA5<50,MA5,'●'),COLORRED,LINETHICK2; 2,買入易漲停K{分時圖能用} {買入易漲停K } {參數(shù):N,0,250,21} v1:ema(close,5); v2:ema(close,10); v3:ema(c,n),color00ff00,linethick2;{21日指數(shù)平滑均價,同時稱短期魔線,為多空雙方短期操作的重要支撐位或阻力位.線上紅圈表示漲,藍(lán)圈表示跌} v4:ema(close,21); drawtext(Cross(v1,v3) AND v1<100,v3,'金▲叉'),COLORYELLOW,LINETHICK2; drawtext(Cross(v1,v3) AND v1<100,v3,'金▲叉'),COLORYELLOW,LINETHICK2; TY:=C; AA1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(AA1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); AB:=REF(C,BARSLAST(HD)); Z:=REF(L,BARSLAST(LD)); T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ; T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD); 谷買入1:IF(T2,Z,Z),POINTDOT,color009090; 峰賣出:IF(T1,AB,AB),color00ff00{COLORYELLOW},linethick1,POINTDOT; ZX:=(v1+v2)/2; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF>9.8,O,C,6,0),COLORRED; STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE; QSXS:=v1>=v2 AND v2>REF(v2,1); GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2); YB:=C>REF((O-C)/2+C,2); 金叉買入: 2,COLORYELLOW,LINETHICK2; 買:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0; 買黃k大漲3:買 AND v1>REF(v1,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE(買黃k大漲3,o,c,4,0),COLORYELLOW,linethick2; 全倉買4:買 AND v2>REF(v2,1),color00ff00; 買紅k漲停5:買 AND v2>REF(v2,1),COLORRED; IF(v2>ref(v2,1),v3,0),Circledot,COLORRED,LINETHICK2; IF(v2<ref(v2,1),v3,0),Circledot,COLOR00FF00,LINETHICK2; A:=ref(v3,1); mtm:=close-ref(close,1); dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6); dy:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx); lc:=ref(close,1); rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100; 上線:=sma(c,6.5,1); 下線:=sma(c,13.5,1); 上線1:=sma(c,3,1); 下線1:=sma(c,8,1); DRAWTEXT( cross(上線,下線),low *0.98,'全倉▲買哦' ),color00ff00; b:=ref(v2,1); mtm1:=close-ref(close,1); dx1:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6); dy1:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx); lc1:=ref(close,1); rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100; 險:filter(cross(80,rsi) or dy,5),colorblue; drawtext(險 and v2>A,high*1.03,'○'),colorblue; d:=ref(v4,1); mtm2:=close-ref(close,1); dx2:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6); dy2:=hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx); lc2:=ref(close,1); rsi2:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100; varC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,varC),HIGH,2); var6:=REF(C,1); var7:=SMA(MAX(C-var6,0),6,1)/SMA(ABS(C-var6),6,1)*100; Var32:=CLOSE/REF(CLOSE, 1)>=1.062 AND HIGH/CLOSE<1.005 AND MA(CLOSE, 90)/CLOSE>=1.150; Var33:=Var32 AND COUNT(Var32, 20)=1 ; Var34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1); Var35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1); Var36:=IF(Var34>0.010, 0.900, 1) AND IF(Var34>(-0.025), 1, 1.200); Var37:=Var36*(Var35-Var34)*100; Var38:=SUM(Var37, 10); Var39:=SMA(Var38, 40, 1); Var310:=Var38>20; Var311:=CROSS(CLOSE, MA(CLOSE*1.055, 3)) AND CLOSE>OPEN*1.060 AND VOL>=REF(VOL, 1)*1.5 AND CLOSE>=MA(CLOSE, 10); Var312:=Var310 AND Var311 ; Var313:=(-100)*(HHV(HIGH, 3)-CLOSE)/(HHV(HIGH, 3)-LLV(LOW, 3)); Var314:= CROSS(Var313, (-87)) AND OPEN=1.090*REF(CLOSE, 1) AND INDEXC>0.980*REF(INDEXC, 1) AND CLOSE<=1.470*LLV(CLOSE, 58); Var315:=EMA(CLOSE, 12)-EMA(CLOSE, 26); Var316:=EMA(Var315, 9); Var317:=2*(Var315-Var316); Var318:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100; Var319:=SMA(Var318, 3, 1); Var320:=SMA(Var319, 3, 1); Var321:=EMA(IF(Var316>REF(Var316, 1), 1, (-1)), 14)*14; Var322:=EMA(IF(Var320>REF(Var320, 1), 1, (-1)), 14)*14*2; Var323:=(MA(CLOSE, 5)/MA(CLOSE, 70)-1)*100; Var324:=(Var323+Var322+Var321)/3; Var325:=MA(CLOSE, 80)-MA(CLOSE, 10)/3; Var326:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{Var38>Var39;} Var327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND Var326>0, 91, 0); Var328:=IF(Var324>REF(Var324, 1) AND REF(Var324, 1)<REF(Var324, 2) AND (Var33 OR Var312 OR Var314) OR Var326>0 OR Var327>0, 85, 0); Var329:=IF(Var327>0 ,95,0), STICK,LINETHICK2; Var330:=IF(Var326>0 or var327>0,91,0), STICK,LINETHICK2; Var331:=IF(Var328>0 or var327>0 or var326>0,88,0), STICK,LINETHICK2; Var332:=100*(CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42)),LINETHICK1,colorgreen; Var333:=COUNT(MA(CLOSE,3)>REF(MA(CLOSE,3),1),1)=1; Var334:=(Var332<93 AND Var333 and MAX(MAX(Var329, Var330), Var331))*100; STICKLINE(Var327>90,LOW*0.99,LOW*0.95,2,0),COLORYELLOW; DRAWTEXT(Var327>90,LOW*0.95,'殺莊'),color00ff00;{COLORYELLOW; } cj2:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL); cj3:=(CLOSE-cj2)/cj2*100; cj4:=REF(cj3,1)<-40 AND cj3>REF(cj3,1) AND REF(cj3,1)<REF(cj3,2) AND cj3-REF(cj3,1)>2.5; cj5:=(CLOSE-OPEN)/OPEN*100; cj6:=REF(CLOSE,1); cj7:=SMA(MAX(CLOSE-cj6,0),6,1)/SMA(ABS(CLOSE-cj6),6,1)*100; cj8:=COUNT(cj7<20,20)>=1; cj9:=cj5>9 AND cj8; cjA:=100*WINNER(OPEN); cjB:=100*WINNER(CLOSE); cjC:=cjB-cjA; cjD:=cjC>=30; cjE:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); cjF:=REF(CLOSE,1); cj10:=SMA(MAX(CLOSE-cjF,0),5,1)/SMA(ABS(CLOSE-cjF),5,1)*100; cj11:=COUNT(cj10<20,20)>=1; cj12:=cjE AND cj11; cj13:=MA(CLOSE,4); cj14:=MA(CLOSE,10); cj15:=MA(CLOSE,20); cj16:=MA(CLOSE,25); cj17:=COUNT(CROSS(cj14,cj15),2)=1; cj18:=COUNT(CROSS(cj13,cj16),2)=1; cj19:=cj17 AND cj18; cj1A:=cj12 AND cjD AND cj19; cj1B:=MA(CLOSE,80)-MA(CLOSE,10)/3; cj1C:=CLOSE<cj1B AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3; ls:=c/ref(c,1)>1.048 and c=h and between(forcast(V,4),0.2*forcast(v,12),2.1*forcast(v,12)); 拉升:=filter(ls,28)*100; DRAWTEXT(拉升,low*0.99,'拉▲升'),COLORYELLOW,LINETHICK2; DRAWICON(拉升,low*0.99,1),color00ff00; 二,副圖 1,主力資金進(jìn)出場 {主力資金進(jìn)出場} ZLCM:=EMA(WINNER(CLOSE)*70,3); SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3); ZZLKP:=ZLCM/(ZLCM+SHCM)*100; ZZLJJ:=EMA(ZZLKP,89); ZJLRQD:=ZZLKP-ZZLJJ; AA:=EMA(ZJLRQD,3); BB:=EMA(AA,5); CC:=AA-BB; STICKLINE(CC<REF(CC,2),CC,0,1,1), COLOR00FF00; STICKLINE(CC>REF(CC,2),CC,0,1,1), COLORRED; 主力資金進(jìn)場:IF(CROSS(AA,BB),3,0),STICK,LINETHICK3,COLORFF00FF; 主力資金出場:IF(CROSS(BB,AA),-3,0),STICK,LINETHICK3,COLOR00FF00; DRAWICON(主力資金進(jìn)場>0,5,1); DRAWICON(主力資金出場<0,-4,2); VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5); 主力進(jìn)場:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0 ),colorred; 洗盤:STICKLINE(VAR5<REF(VAR5,1),0,VAR5,7,0),colorgreen;{綠} 主力進(jìn)場陽:STICKLINE(VAR5>REF(VAR5,1) AND C>O,0,VAR5,7,0 ),coloryellow; 洗盤陰:STICKLINE(VAR5<REF(VAR5,1) AND C<O,0,VAR5,7,0),colorblue; {主力}大資金進(jìn)場黃:0,coloryellow; {主力}大資金進(jìn)場紅:0,colorred; {主力}大資金洗盤藍(lán):0,colorblue; {主力}大資金洗盤綠:0,colorgreen; 2,莊機(jī)構(gòu)主力行蹤 {莊機(jī)構(gòu)主力行蹤} V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*0.5; 莊秘撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2; 莊秘進(jìn): IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2; V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; 大籌金進(jìn)場: IF(VB>=0,VB,20{高低調(diào)整}),COLORYELLOW,LINETHICK2; 大籌金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2; aa:=WINNER(CLOSE+CLOSE*15/100)*100; bb:=WINNER(CLOSE+CLOSE*0/100)*100; cc:=aa-bb; dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100; ee:=cc<3 and dd<0.5 and OPEN<>LOW; a1:=DYNAINFO(6); a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01))); a3:=VOL/WINNER(LOW); a4:=REF(HHV(CLOSE,120),1); a5:=REF(LLV(CLOSE,120),1); a6:=100*(CLOSE-a5)/(a4-a5); a7:=a2>0 or a2=1; a8:=a7 and a3/REF(a3,3)>=3 and a6<80; a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4); a10:=a8 and a9; a11:=IF(FILTER(a8,3),5,0); a12:=IF(FILTER(a10,3) or ee,10,0); 籌碼進(jìn)場日:IF(a11,8,0),COLORRED; STICKLINE(a12,0,15,5,0),colorff00ff; 籌碼加倉日:IF(a12,88,0),LINETHICK0; STICKLINE(a12,0,15,5,0),colorff00ff; STICKLINE(a11,0,5,5,0),colorff7700; STICKLINE(a11,0,5,4.5,0),colorff8800; STICKLINE(a11,0,5,4,0),colorff9900; STICKLINE(a11,0,5,3.5,0),colorffaa00; STICKLINE(a11,0,5,3,0),colorffbb00; STICKLINE(a11,0,5,2.5,0),colorffcc00; STICKLINE(a11,0,5,2,0),colorffdd00; STICKLINE(a11,0,5,1,0),colorffee00; STICKLINE(a12,0,15,4.5,0),color102099; STICKLINE(a12,0,15,4,0),color1020aa; STICKLINE(a12,0,15,3.5,0),color1020bb; STICKLINE(a12,0,15,3,0),color1020cc; STICKLINE(a12,0,15,2.5,0),color1020dd; STICKLINE(a12,0,15,2,0),color1020ee; STICKLINE(a12,0,15,1,0),color1020ff; DRAWTEXT(a11,38,'籌碼進(jìn)場'),COLORRED; DRAWTEXT(a12,60,'籌碼加倉'); Var1:=REF(LOW,1); Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4; Var3:=EMA(Var2,13); Var4:=LLV(LOW,34); Var5:=EMA(IF(LOW<=Var4,Var3,0),3); STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORRED; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,1),COLORGREEN; Var6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE- LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); Var7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV (LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); Var8:=Var6<REF(Var7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(Var8 AND COUNT(Var8,30)=1,50,'注意★有籌碼進(jìn)場跡象'); Var9:=HHV(Var8,10); STICKLINE(Var8=10,20,10,5,0),COLOR6666FF; VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); Var11:=VarF<REF(Var10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(Var11 AND COUNT(Var11,40)=1,30,'大資金活動'),linethick1,COLORff00ff; A01:=DYNAINFO(3); A03:=BARSCOUNT(CLOSE); A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100); A05:=IF((A03 > 20),A04,0); A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009)))); A07:=DMA(A06,(VOL / CAPITAL)) * 60; A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 200)),A07,0); 趨勢:=EMA(Var3,3)-10; STICKLINE(趨勢>80,趨勢,80,6,0); DRAWTEXT(CROSS(趨勢,0),0,'▲'),color0000ff; STICKLINE((A09 > 0 AND (趨勢<20 OR 趨勢>REF(趨勢,1)AND 趨勢<50)),0,A09,5,0),COLORFFFF00; 機(jī)構(gòu)建倉區(qū):0,LINETHICK0,colorFFFF00; 3,大資金進(jìn)場 {大資金進(jìn)場} Var27:=Var3<REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(Var27 AND COUNT(Var27,30)=2,80,'大資▲金進(jìn)場跡象,關(guān)注!'); 私募機(jī)構(gòu)進(jìn)場日:stickline(a11,0,85,5,0),colorff7700; 私募機(jī)構(gòu)加倉日:stickline(a12,0,115,5,0),colorff00ff; stickline(a11,0,5,5,0),colorff7700; stickline(a11,0,5,4.5,0),colorff8800; stickline(a11,0,5,4,0),colorff9900; stickline(a11,0,5,3.5,0),colorffaa00; stickline(a11,0,5,3,0),colorffbb00; stickline(a11,0,5,2.5,0),colorffcc00; stickline(a11,0,5,2,0),colorffdd00; stickline(a11,0,5,1,0),colorffee00; stickline(a12,0,15,4.5,0),color102099; stickline(a12,0,15,4,0),color1020aa; stickline(a12,0,15,3.5,0),color1020bb; stickline(a12,0,15,3,0),color1020cc; stickline(a12,0,15,2.5,0),color1020dd; stickline(a12,0,15,2,0),color1020ee; stickline(a12,0,15,1,0),color1020ff; drawtext(a11,88,'私募進(jìn)場'),COLORYELLOW; drawtext(a12,140,'私募加倉'),COLORWHITE; 三,選股及看盤用的副圖指標(biāo),妙極了 {公式名稱:VOL} {VOL(成交量)顯示} { 參數(shù)名:M1,2,250,5;M2,2,250,10;M3,2,250,30} VOL,VOLSTICK; 五日均量線:MA(VOL,M1),colorwhite; 十日均量線:MA(VOL,M2),coloryellow; 三十日均量線:MA(VOL,M3),colorff00ff; drawtext(Cross(五日均量線,十日均量線) AND 十日均量線<50,五日均量線,'金叉'),coloryellow,linethick2; drawtext(Cross(五日均量線,三十日均量線) AND 三十日均量線<70,五日均量線,'金叉'),coloryellow,linethick2; drawIcon(Cross(五日均量線,三十日均量線),十日均量線,1); drawIcon(Cross(五日均量線,十日均量線),五日均量線,1); c>ma(c,55) and cross(ma(c,5),ma(c,10)) and v>ma(v,5 ) and ma(v,5)>ma(v,10); 成交量連漲3天:COUNT(VOL>REF(VOL,1),3)=3 ,colorred; 日成交量大于5日:BETWEEN(v,ma(v,5)*0.8,ma(v,5)*6),coloryellow; 五上穿十日金叉:0,colorred; 四,個股CT掃描 個股CT掃描指標(biāo)在二樓,非常好用的副圖指標(biāo),不信你去看一看 |
|
來自: 冷蕊 > 《指標(biāo)》