通達信買主升浪指標公式 {更新}
06-29
本帖最後由 跌聲一片 於 2011-4-22 19:16 編輯 VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;持幣區域:VAR1,COLORFEDCBA;持股區域:IF(VAR1>0,VAR1,0),COLORRED;短頂:VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),COLORGREEN;大頂:VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),COLOR00FF00;VAR2:=HHV(VAR1>20,10); 危險: VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)); 注意止損:VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2));短底:VAR1<-9 AND VAR1> REF(VAR1,1),COLORRED;大底:VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),COLORYELLOW;買入準備:VAR1<-9 AND VAR1>REF(VAR1,1),COLORWHITE; DRAWTEXT(VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,"短頂"),COLOR00FF00;DRAWTEXT(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,"大頂"),COLORFFFF00;DRAWTEXT(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,"危險"),COLOR00FFFF;DRAWTEXT(VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,"注意止損"),COLORFF00FF;DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),VAR1-2,"短底"),COLOR0000FF;DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,"大底");DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,"買入準備"); 授人以魚不如授人以漁 論壇的朋友們:我們都來至於全國的五湖四海,現在都匯聚在論壇。大家在這裡相互交流,相互學習,共同進步!如何選好一個股票有為關鍵,選擇一個好的股票,將是成功的一半!每個人有每個的思路,對股票市場也是一樣!現在將股票市場的歷史走勢以統計學的原理分析!(看帖是緣,回帖是禮!!)==================================================================================================VAR3:=LLV(HIGH,240);VAR4:=((100 * (CLOSE - VAR3)) / VAR3);VAR5:=REF(LLV(CLOSE,480),1);VAR6:=REF(HHV(CLOSE,480),1);VAR7:=(100 * (CLOSE - VAR5))/(VAR6 - VAR5);VAR8:=((CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)- LLV(CLOSE,981))) * 100;VAR9:=((CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)- LLV(CLOSE,393))) * 100;VARA:=((CLOSE-LLV(LOW,981))/(HHV(HIGH,981)- LLV(LOW,981))) * 100;VARB:=((CLOSE-LLV(LOW,393))/(HHV(HIGH,393)- LLV(LOW,393))) * 100;VARC:=EMA(((100*(CLOSE-LLV(LOW,100)))/(HHV(HIGH,100)-LLV(LOW,100))),5)/4;VARE:=VARC<1;VAR10:=((VAR4<0) AND (VAR7 < 0));VAR12:=((((HIGH + LOW) + (CLOSE * 2)) / 4));VAR13:=EMA(VAR12,21);VAR14:=STD(VAR12,21);VAR15:=((((((VAR12 - VAR13) / VAR14) * 100) + 200) / 4));VAR16:=(EMA(VAR15,89) - 25) * 1.56;VAR17:=EMA(VAR16,5) * 1.22;VAR18:=EMA(VAR17,3);VAR19:=3*VAR17 - 2*VAR18;VAR1A:=IF(((CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18)) AND CROSS(VAR17,VAR18)),1,0);VAR1B:=IF(((CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19)) AND CROSS(VAR18,VAR17)),1,0);買點:IF((FILTER(((((VAR8=0) AND VARE) AND VAR10) AND VAR1A),5) = 1),10,0),COLOR0000FF;賣點:IF(FILTER(VAR8=100 AND VAR1B,5)=1,10,0),COLOR00FF00;VAR1C:=(EMA(((100*(CLOSE-LLV(LOW,100)))/(HHV(HIGH,100)-LLV(LOW,100))),13) / 4);VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,89));VAR1E:=EMA(VAR1D,30);VAR1F:=((2 * (VAR1D - VAR1E)) * 10);VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));VAR21:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));VAR22:=EMA((VAR21 * 0.97),3);VAR23:=(((HIGH + LOW) + CLOSE) / 3);VAR24:=((VAR23 - MA(VAR23,14)) / (0.015 * AVEDEV(VAR23,14)));VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);庄拉線:VAR25,COLOR00FFFF;VAR26:=(EMA(CLOSE,2) - EMA(CLOSE,150));VAR27:=EMA(VAR26,100);VAR28:=(2 * (VAR26 - VAR27));VAR29:=((POW(VAR28,3) * 0.1) + POW(VAR28,1));VAR2A:=SQRT(SQRT((LOW * HIGH * OPEN * CLOSE)));VAR2B:=EMA(VAR2A * 0.97,3);VAR2C:=(HIGH + LOW + CLOSE) / 3;VAR2D:=(VAR2C - MA(VAR2C,14)) / (0.015 * AVEDEV(VAR2C,14));黑馬線:IF((VAR28 > 0.1),VAR29,0) * 5,COLOR0000FF;量價線:((CLOSE-MA(CLOSE,21))/MA(CLOSE,21))*100,COLORFFFFFF;VAR2E:=IF(FILTER(量價線>0 AND 量價線<3,5)=1,12,0);漲幅前兆:IF(FILTER(庄拉線>0 AND 庄拉線<0.5 AND VAR2E AND VAR1C<3,10)=1,10,0),COLORFFFFFF;選股利器:IF(FILTER(VAR2E>0 AND VAR1C<2 AND 庄拉線>0 AND 庄拉線<1 AND 黑馬線>0 AND 黑馬線<1.5 AND VAR2E>0,5)=1,10,0),COLORFF00FF;量價先行:7*CROSS(量價線,0),COLOR00FF00;拉升開始:12*(庄拉線>0.1 AND COUNT(庄拉線>0.1,2)=1 AND CLOSE>=OPEN AND VOL>REF(VOL,1) AND VOL/CAPITAL>0.003 AND 量價線>1 AND 量價線>黑馬線),LINETHICK2,COLOR00FFFF;量價主升浪:18*FILTER(CROSS(量價線,黑馬線) AND 庄拉線>0.5,7),LINETHICK3,COLOR00FF00;庄拉主升浪:20*(CROSS(庄拉線,黑馬線) AND 黑馬線>0 AND 量價線>0),LINETHICK3,COLOR0000FF;DRAWICON((買點 > 0),10,1);DRAWICON((賣點 > 0),10,2);DRAWICON((漲幅前兆 > 0),10,1);DRAWICON((選股利器 > 0),10,1);DRAWICON(量價先行 > 0,10,10);DRAWICON(拉升開始 > 0,15,10);DRAWICON(量價主升浪> 0,20,9);DRAWICON(庄拉主升浪 > 0,30,9);
推薦閱讀:
推薦閱讀:
※一套適合小白的指標模板
※滿屏的指標?刪了吧,手把手教你裸 K 交易!
※3歲以內寶寶的七個發育關鍵指標
※底分纏論數浪-----底分型纏論+數浪公式(主圖指標)
※PSY指標在買賣股票以及T+0操作中的妙用...