值此05元旦,恭賀大家心想事成、萬事如意! 特奉獻一新創(chuàng)主圖公式,同時歡迎眾愛好者進一步優(yōu)化,記住,到時別忘了給我一份。 {參數(shù):N 28 1 100 N1 20 1 110 N2 8 1 50} Var1: EMA(CLOSE,5); Var2:=(REF(HIGH,1)+REF(LOW,1))/2; Var3: EMA(CLOSE,10); Var4: EMA(CLOSE,23); 半年線: MA(CLOSE,120); Var5:=MA(CLOSE,N)+2*STD(CLOSE,N); Var6:=(LOW+HIGH+CLOSE)/3; Var7:=SUM(MAX(0,HIGH-REF(Var6,1)),N)/SUM(MAX(0,REF(Var6,1)-LOW),N)*100; Var8:=REF(MA(Var7,3),2.2); Var9:=CROSS(Var8,Var7) AND Var7>180; Var10:=SMA(MAX(CLOSE-(REF(CLOSE,1)),0),N2,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),N2,1)*100; Vat11:=SMA(MAX(CLOSE-(REF(CLOSE,1)),0),6,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),6,1)*100; AA:=CROSS(Var1,Var3) AND Var4>REF(Var4,2)AND OPEN<Var4 AND Var1<Var4 AND Var1<半年線; DRAWTEXT(Var9,HIGH*1.025,'逃頂'); DRAWICON(FILTER(REF(Var10,1)<20 AND Var10>REF(Var10,1),5) AND LOW<REF(LOW,1),LOW*0.98,4); DRAWICON(FILTER(REF(Var10,1)>80 AND Var10<REF(Var10,1),5),HIGH*1.03 ,5); DRAWTEXT((CROSS(Vat11,12)) AND FILTER(REF(Var10,1)<20 AND Var10>REF(Var10,1),5),LOW*0.97,'找底'),COLOR00FF00; Var12:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04; Var13:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2; Var14:=LLV(LOW,3)=LLV(LOW,120) AND CLOSE/REF(CLOSE,1)>=1.06; BB:=Var12 AND Var13 AND Var14; Var15:=(CLOSE-LLV(1.02*LOW,633))/(HHV(1.02*HIGH,633)-LLV(LOW,633))*120; Var16:=CROSS(Var15,0); Var17:=CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)); CC:=Var16 AND (OPEN>REF(HIGH,1)OR LOW/REF(LOW,1)<0.96); DRAWICON(FILTER((CROSS(80,Vat11) or CROSS(Var2,Var5)or Var17),5),HIGH*1.035,2); DRAWICON(FILTER(AA OR BB OR CC,5),L,1); [ Last edited by 大慶老楊 on 2005-4-10 at 16:52 ]股票論壇 www.55188.com |
|