您現(xiàn)在的位置: 南方財(cái)富網(wǎng) >> 股票知識(shí) >> 股票公式 >> 正文
南財(cái)搜索

波段主升浪指標(biāo)公式源碼

2011-11-3 20:01:44   來(lái)源:本站原創(chuàng)   佚名
    

波段主升浪(雙跨越、雙蹄奮起)-指標(biāo)公式源碼

HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
REF(HHJSJDA,20))/210,COLORYELLOW;
HHJSJDC:MA(HHJSJDB,5),COLORRED;
MA5:=MA(C,7),COLORWHITE;
MA20:=MA(C,20),COLORFF00FF;
MA90:MA(C,90),COLORFFCC66;
Y1:=BARSLAST(CROSS(MA5,MA20)) AND MA5>MA20;
Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));
Y3:=Y2 AND CROSS(MA20,MA90);
DRAWICON(Y3,L-0.10,1);
DRAWTEXT(Y3,L-0.40,'雙跨越'),COLORMAGENTA;
F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));
F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);
DRAWICON(F2,L-0.10,1);
DRAWTEXT(F2,L-0.40,'雙蹄奮起');

MA51:=MA(C,5);
MA10:=MA(C,10);
MA201:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
FA:=BARSLAST(CROSS(MA10,MA51)) AND CROSS(MA51,MA10);
FB:=FA AND MA51>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
STICKLINE(FB,L,L-0.09,1,0),COLORYELLOW;

選股看盤(pán)用的副圖指標(biāo),妙極了

{公式名稱(chēng):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;

{買(mǎi)入易漲停主圖原碼}
{參數(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);
買(mǎi):CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0;
買(mǎi)入易漲停:買(mǎi) AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0;
STICKLINE(買(mǎi),h,l,0,0),COLOR00FF00,linethick2;
STICKLINE(買(mǎi),o,c,0,0),COLOR00FF00,linethick2;
STICKLINE(買(mǎi)入易漲停,h,l,0,0),COLORYELLOW,linethick2;
STICKLINE(買(mǎi)入易漲停,o,c,4,0),COLORYELLOW,linethick2;
DRAWTEXT(買(mǎi),L*0.99, '買(mǎi)'),COLOR00FF00;
DRAWICON(買(mǎi)入易漲停,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,'全倉(cāng)▲買(mǎi)喲' ),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;

專(zhuān)吃主升波段的指標(biāo)【抄底王】
【抄底王】能有效地避開(kāi)盤(pán)整、下跌行情,專(zhuān)吃主升波段,提高資金使用回報(bào)率,使用直觀簡(jiǎn)單,非常適合波段操作。
使用方法:在0軸以下或附近由綠轉(zhuǎn)紅(紅色圈位置)介入一路持有到變黃,當(dāng)專(zhuān)綠時(shí)(綠色全位置)馬上賣(mài)出。
通達(dá)信【抄底王】源碼
VAR2:=MA(CLOSE, 5);  

VAR3:=MA(CLOSE, 10);  

VAR4:=MA(CLOSE, 20);  

VAR5:=MA(CLOSE, 30);  

VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;  

VAR7:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100;  

VAR8:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100;  

VAR9:=EMA(VAR7, 8);  

反轉(zhuǎn):STICKLINE(VAR9>1*REF(VAR9, 1), VAR7, 0, 5, 0), COLOREE00EE;  

持股:STICKLINE(VAR7>1*REF(VAR7, 1), VAR7, VAR9, 5, 0), COLORRED;  

持幣:STICKLINE(VAR7<1*REF(VAR7, 1), VAR7, VAR9, 5, 1), COLORGREEN;  

洗盤(pán):STICKLINE(VAR7<1*REF(VAR7, 1) AND VAR9>1*REF(VAR9, 1), VAR7, VAR9, 10, 0), COLOR00EEFF;  

VAR10:=(CLOSE-MA(CLOSE, 58))/MA(CLOSE, 58)*100;  

VAR11:=(VAR10>1*REF(VAR10, 1) AND VAR10<-26 AND VAR10>-40)*1.5;  

VAR12:=VOL/CAPITAL*100;  

VAR13:=LLVBARS(LOW, 50);  

VAR14:=SUM(VOL, VAR13);  

VAR15:=HHVBARS(HIGH, 50);  

VAR16:=SUM(VOL, VAR15);  

VAR17:=(CLOSE-REF(OPEN, VAR15))/REF(OPEN, VAR15)*100;  

VAR18:=VAR16/CAPITAL*100;  

VAR19:=(CLOSE-REF(OPEN, VAR13))/REF(OPEN, VAR13)*100;  

VAR20:=VAR14/CAPITAL*100;  

VAR21:=MA(CLOSE, 3);  

VAR22:=REF(CLOSE, 2)*0.865;  

VAR23:=REF(CLOSE, 13)*0.772;  

VAR24:=MIN(VAR22, VAR23);  

VAR25:=MA(CLOSE, 13);  

抄底王:IF((CLOSE-VAR24)/CLOSE<0.030 AND VAR17<(-35) AND SUM(VAR12, 5)/5<1.800, 1, 0)*10, COLORWHITE;  

DRAWTEXT(抄底王, 抄底王, ' 成功率 90.22 %,共發(fā)出指示1289 次.底 追 '), COLORFFAA00;  

VAR26:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;  

VAR27:=(EMA(CLOSE, 12)-EMA(CLOSE, 26))*100;  

VAR28:=EMA(VAR27, 9);  

VAR29:=2*(VAR27-VAR28);  

DRAWTEXT(VAR27<(-50) AND VAR26>7 AND VAR27<VAR28, (-10), '底'), COLORWHITE;  

DRAWTEXT(VAR27<(-50) AND VAR26>7 AND VAR27>=VAR28, 5, '追'), COLORWHITE;  

STICKLINE(VAR27<(-50) AND VAR26>7, 0,(-10), 5, 0), COLORFFFF66; 

{短線天使}
漲跌幅度線:SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10,COLORRED,LINETHICK2;
短線天使:CROSS(漲跌幅度線,0)*15;

{使用要領(lǐng):
1、漲幅過(guò)大時(shí)紅線拐頭向下,預(yù)示未來(lái)調(diào)整。
2、雖然連收紅K線,但紅線卻連續(xù)向下最好走為上策。
3、特別注意:公式未經(jīng)過(guò)優(yōu)化,僅能作為實(shí)戰(zhàn)參考,請(qǐng)慎用。。

捕捉底部形態(tài)_通達(dá)信指標(biāo)公式2010最新源碼

RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
趨勢(shì)J1:3*K-2*D,COLORRED;
趨勢(shì)J2:EMA(K,3),LINETHICK1;
IF(趨勢(shì)J1>=REF(趨勢(shì)J1,1),趨勢(shì)J1,DRAWNULL),COLORRED,LINETHICK2;
IF(趨勢(shì)J1< REF(趨勢(shì)J1,1),趨勢(shì)J1,DRAWNULL),COLORBLUE,LINETHICK2;
BBIAS := (CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
搶反彈:= IF(CROSS(K,D) AND BBIAS<-6 AND D<16 AND CLOSE>REF(CLOSE,1),80,0),COLOR00FF00;
DRAWICON(搶反彈=80,趨勢(shì)J2-0.005,1);
底部動(dòng)態(tài):EMA(IF(L<= LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10,STICK,COLORRED,LINETHICK2;
DRAWLINE(D>=HHV(D,21),D,D<=LLV(D,21),D,1),COLOR00FF00;
V1:=AMOUNT/VOL/100;
V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
V3:=SUM(AMOUNT,7)/V1/100;
V4:=DMA(V2,VOL/V3);
V5:=(CLOSE-V4)/V4*100;
V6:=MA(V5,20)+STD(V5,20);
BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("KDJ.J"(34,3,3),1)>80 AND REF("KDJ.J"(9,3,3),1)>80,90,85,5,0),COLO

(南方財(cái)富網(wǎng)SOUTHMONEY.COM)

(責(zé)任編輯:張曉軒)

    南方財(cái)富網(wǎng)聲明:股市資訊來(lái)源于合作媒體及機(jī)構(gòu),屬作者個(gè)人觀點(diǎn),僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風(fēng)險(xiǎn)自擔(dān)。
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導(dǎo)讀
熱圖推薦

關(guān)于南方財(cái)富網(wǎng)版權(quán)聲明誠(chéng)聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財(cái)富網(wǎng)無(wú)關(guān)
emto2.com
南方財(cái)富網(wǎng) © 版權(quán)所有 閩ICP備09035581號(hào)