FZ東北白艮宮 N=33 A:=v*100/capital; 游資:MA(A,4),COLOR3399FF,POINTDOT; 主力:MA(A,9),COLORGREEN,POINTDOT; 大戶:MA(A,17),COLORRED,POINTDOT; 散戶:MA(A,34),COLORC87D97,POINTDOT; 警戒線:MA(A,180),COLORBLUE; STICKLINE(MA(A,120)>0,0,MA(A,120),6,0),COLOR996633; STICKLINE(MA(A,2)>0,0,MA(A,2),6,0),COLORC87DE4; STICKLINE(游資>0,0,游資,6,0),COLOR3399FF; STICKLINE(主力>0,0,主力,6,0),COLORGREEN; STICKLINE(大戶>0,0,大戶,6,0),COLORRED; STICKLINE(散戶>0,0,散戶,6,0),COLORC87D97; a001:= C-REF(c,6); a002:= MA(a001,6); a003:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; a004:=SMA(a003,3,1); a005:=SMA(a004,3,1); a006:=ema(3*a004-2*a005,2); a007:=(HIGH + LOW + CLOSE)/3; a008:=((a007-MA(a007,14))/(0.015*AVEDEV(a007,14)))/2; a009:=(a008+((ema((-100*(HHV(HIGH,14)-CLOSE)/ (HHV(HIGH,14)-LLV(LOW,14))+100)/100,3)*200-100)))/2; a010:=a009-ref(a009,14); a011:=a009-ref(a009,26); a012:=(a009+a010+a011)/3; kkm:=ema(a012,4); a013:=hhv(high,34); a014:=(2*c+h+l)/4; a015:=llv(low,34); a016:=ema((a014-a015)/(a013-a015)*100,13); a017:=ema(0.667*ref(a016,1)+0.333*a016,2); KKMD:=a016-a017> 1 and a016<30 and a017<30; KKML:=a016-a017< 0 and a016>80 and a017>80 and ref(a016-a017,1)>0 ; KKMQ:=count((a016-a017)>0,2)=2; KKAL:=(a016-a017)< 0; B:=SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n)),8,1)*100,coloryellow linethick2,; B1:=(EMA(HHV(B,3),1)),colorred linethick2,; 持股: DRAWICON(B-B1>=0,A,10),align4,COLOR530BF3; 持幣: DRAWICON(B-B1<0,A,11),align4,COLORD512C; 買進(jìn): STICKLINE(B1>0 AND B1<30 and B-B1>=0,0,-MA(vol,90)/100000,10,0),COLOR0000ff; 低吸: STICKLINE(B1>30 AND B1<55 and B-B1>=0,0,-MA(vol,90)/100000,10,0),COLORff9900; 賣出: STICKLINE(B1>70 and B-B1<0,0,-MA(vol,90)/100000,10,0),COLORffff00; 注意: STICKLINE(B1>80 and B-B1>=0,0,-MA(vol,90)/100000,10,0),COLORccff66; 持股觀望: STICKLINE(B1>55 AND B1<85 and B-B1>=0,0,-MA(vol,90)/100000,10,0),COLORblack; 高拋:STICKLINE(B1>50 AND B1<70 and B-B1<0,0,-MA(vol,90)/100000,10,0),COLOR00ccff; 謹(jǐn)慎持股:STICKLINE(B1>20 AND B1<50 and B-B1<0,0,-MA(vol,90)/100000,10,0) ,COLOR00ff00; 試探性買入:STICKLINE(B1>0 AND B1<20 and B-B1<0,0,-MA(vol,90)/100000,10,0),COLOR00cccc; 抄底:=FILTER( (CROSS(5,EMA(WINNER(C)*70,5)) and EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5)< 20 )*40,10 ); DRAWTEXT(抄底 ,A*4,'抄底' ); Var6:=ABS(WINNER(CLOSE)-WINNER(REF(CLOSE,1)))/(VOL/CAPITAL); Var7:=Var6>15; Var8:=ABS(WINNER(CLOSE)-WINNER(OPEN))*100; VarA:=ema(ref(CLOSE,1),4); var9:= MA((CLOSE-(MA(CLOSE,80)-MA(CLOSE,13)/3))/(MA(CLOSE,80)-MA(CLOSE,13)/3),1); var10:=SUM(MAX(0,HIGH-REF((HIGH+LOW+CLOSE)/3,1)),26)/SUM(MAX(0,REF((HIGH+LOW+CLOSE)/3,1)-LOW),26)*100; Var11:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,14))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,14)); Var12:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,89))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,89)); 牛角:=IF(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100<=25 AND ((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2<-95 AND (HHV(HIGH,30)-CLOSE)/CLOSE*100>20 AND SMA((SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1)-50)*2,3,1)<-30 AND SMA(SMA((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100,4,1),3,1)<30 AND EMA((LOW*0.9*VOL+REF(LOW,1)*0.9*(CAPITAL-VOL))/CAPITAL,30)-CLOSE>=-0.25 AND SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100<22 AND SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100<28 AND BARSCOUNT(CLOSE)>50,80,0); 活籌OAMV:= 100-3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1); OX:= IF(100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100)<90,100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100),100); Var13:=IF(MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20>0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0); 核能:= IF(MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20<0,2*ABS(MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20),0), LINESTICK; 預(yù)警:= IF(Var12>=200 AND Var11>=150,15,IF(Var12<=-200 AND Var11<=-150,-15,IF(Var11<=-150 AND Var11>-200 AND Var12<=-150 AND Var12>-200,-10,IF(Var11>=150 AND Var11<200 AND Var12>=150 AND Var12<200,10,0))))+60; Var14:=100-3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1)<REF(100-3*SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1),1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); Var15:=100-3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1)>=REF(100-3*SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1),1) AND CLOSE<REF(CLOSE,1) AND 預(yù)警=60 AND 牛角=0 AND 核能>=REF(核能,1) AND 3*SMA((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1)<REF(3*SMA((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1),1); 階段底部: DRAWTEXT(牛角>50 AND IF(100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100)<90,100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100),100)<90 AND COUNT(牛角>50 AND IF(100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100)<90,100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100),100)<90,30)=1,A,'階段底部'),colorred; 階段高點(diǎn): DRAWTEXT(Var15 AND COUNT(Var15,30)=1,游資,'階段高點(diǎn)'),colorblue; 上升趨勢(shì): DRAWTEXT(CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND COUNT(CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1),30)=1,A,'上升趨勢(shì)'),colorred; 下降趨勢(shì): DRAWTEXT(CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1) AND COUNT(CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1),30)=1,A,'下降趨勢(shì)'),colorblue; 拉升在即: DRAWTEXT(Var13>48 AND 預(yù)警>60 AND IF(100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100)<90,100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100),100)<100 AND COUNT(Var13>48 AND 預(yù)警>60 AND IF(100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100)<90,100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100),100)<100,30)=1,A,'拉升在即'),colorred; 上漲過(guò)急: DRAWTEXT(Var13>50 AND 預(yù)警>60 AND IF(100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100)<90,100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100),100)=100 AND COUNT(Var13>50 AND 預(yù)警>60 AND IF(100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100)<90,100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100),100)=100,30)=1,A,'上漲過(guò)急'),colorblue; 主力異動(dòng)(人和): DRAWTEXT(Var8>=20 AND Var7,A,'主力異動(dòng)'),COLORred; 有反彈: DRAWTEXT(核能>38 AND 預(yù)警<55 AND COUNT(核能>38 AND 預(yù)警<55,30)=1,A,'有反彈'),colorred; 大資金進(jìn)場(chǎng): DRAWTEXT(100-3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1)<REF(100-3*SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1),1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1) AND COUNT(Var14,30)=1,A,'大資金進(jìn)場(chǎng)'),colorred; EXPLAIN(KKMD,'最佳買入時(shí)機(jī)'); EXPLAIN(KKML,'最佳賣出時(shí)機(jī)'); EXPLAIN(KKMQ,'持倉(cāng)區(qū)'); EXPLAIN(KKAL,'空倉(cāng)區(qū)'); EXPLAIN(C/REF(C,1)>INDEXC/REF(INDEXC,1),'該股強(qiáng)于大盤'); EXPLAIN(C/REF(C,1),'該股強(qiáng)于大盤'); EXPLAIN(CROSS(MA(CLOSE,5),MA(CLOSE,10)),'出出手'); EXPLAIN(CROSS(MA(CLOSE,10),MA(CLOSE,5)),'收手了'); EXPLAIN((kkm > ema(kkm,4) and kkm > ref(kkm,1)),'快速介入吧!'); EXPLAIN((kkm > ema(kkm,4) and kkm < ref(kkm,1)),'休息一會(huì)~'); EXPLAIN((kkm < ema(kkm,4) and kkm > ref(kkm,1)),'防御能力'); EXPLAIN((kkm < ema(kkm,4) and kkm < ref(kkm,1)),'趕緊快跑呀!'); [ Last edited by 一起運(yùn)動(dòng) on 2005-2-23 at 18:08 ]股票論壇 www.55188.com |
|