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

大智慧股票公式之SV決策圖

2013/6/19 15:38:39   來(lái)源:本站原創(chuàng)   佚名
    

大智慧股票公式之SV決策圖

  SV決策圖

  TODAY:="ddx.ddx"=0;{判斷是否有正版數(shù)據(jù)}

  TODAY1:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT and (ORDER(1)=0 and ORDER(2)=0);

  Ddmr:=IF(TODAY,("DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(2,2)),(bigorder(1,2)-bigorder(2,2)));

  Ddmrs:=sum(Ddmr,0);

  {CY}

  主單買(mǎi):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(1,2),SELFDATA('特大買(mǎi)入')+SELFDATA('大單買(mǎi)入')),bigorder(1,2))*V/CAPITAL;

  主單賣(mài):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(2,2),SELFDATA('特大賣(mài)出')+SELFDATA('大單賣(mài)出')),bigorder(2,2))*V/CAPITAL;

  特單買(mǎi):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(1,3),SELFDATA('特大買(mǎi)入')),bigorder(1,3))*V/CAPITAL;

  特單賣(mài):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(2,3),SELFDATA('特大賣(mài)出')),bigorder(2,3))*V/CAPITAL;

  大單買(mǎi):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(1,3)),SELFDATA('大單買(mǎi)入')),(bigorder(1,2)-bigorder(1,3)))*V/CAPITAL;

  大單賣(mài):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(2,2)-"DDEDATA@BIGORDER"(2,3)),SELFDATA('大單賣(mài)出')),(bigorder(2,2)-bigorder(2,3)))*V/CAPITAL;

  中單買(mǎi):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(1,1)-"DDEDATA@BIGORDER"(1,2)),SELFDATA('中單買(mǎi)入')),(bigorder(1,1)-bigorder(1,2)))*V/CAPITAL;

  中單賣(mài):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(2,1)-"DDEDATA@BIGORDER"(2,2)),SELFDATA('中單賣(mài)出')),(bigorder(2,1)-bigorder(2,2)))*V/CAPITAL;

  小單買(mǎi):=IF(TODAY,IF(TODAY1,1-("DDEDATA@BIGORDER"(1,1)),1-(SELFDATA('特大買(mǎi)入')+SELFDATA('大單買(mǎi)入')+SELFDATA('中單買(mǎi)入'))),1-(bigorder(1,1)))*V/CAPITAL;

  小單賣(mài):=IF(TODAY,IF(TODAY1,1-("DDEDATA@BIGORDER"(2,1)),1-(SELFDATA('特大賣(mài)出')+SELFDATA('大單賣(mài)出')+SELFDATA('中單賣(mài)出'))),1-(bigorder(2,1)))*V/CAPITAL;

  MA157:eMA(CLOSE,157),colorFF7676;

  MA5:eMA(CLOSE,5),COLORFFAA66;

  MA11:eMA(CLOSE,11),COLORFFFFCC;

  MA24:eMA(CLOSE,24),Color9DFFFF;

  MA38:eMA(CLOSE,38),ColorABFF46;

  MA55:eMA(CLOSE,55),Color8000FF;

  MA96:MA(CLOSE,96),POINTDOT,linethick4,colorYellow;

  MA191:eMA(CLOSE,191),Colorffffff;

  MA262:eMA(CLOSE,262),colorfaabec;

  MA314:eMA(CLOSE,314),color00ff00;

  MA453:eMA(CLOSE,453),colorCyan;

  DRAWGBK(c,'7' );

  Var3:=LLV(H,240);

  Var4:=100*(C-Var3)/Var3;

  Var5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;

  Var6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;

  Var7:=0;

  Var8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;

  Var9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;

  VarA:=BARSCOUNT(C);

  VarB:=Var8<20 AND Var9<23 AND VarA>35;

  VarC:=VarB AND COUNT(VarB,1)=1;

  VarD:=EMA(C,21)-EMA(C,8);

  VarE:=EMA(VarD,5);

  VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE);

  Var10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);

  Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

  Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

  Var13:=ZIG(3,22)>REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);

  Var14:=ZIG(3,22)<REF(ZIG(3,22),1)AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);

  Var15:=ZIG(3,51)>REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);

  Var16:=ZIG(3,51)<REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);

  Var17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);

  Var18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2)AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);

  Var19:=EMA(C,2)-EMA(C,150);

  Var1A:=EMA(Var19,100);

  Var1B:=2*(Var19-Var1A);

  Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);

  Var1D:=SQRT(SQRT(L*H*O*C));

  Var1E:=EMA(Var1D*0.97,3);

  Var1F:=(H+L+C)/3;

  Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));

  Var21:=CROSS(Var1E,L);

  買(mǎi)點(diǎn)1:=Var10;

  買(mǎi)點(diǎn)2:=(Var11+Var13+Var15+Var17);

  賣(mài)點(diǎn)1:=(Var12+Var14+Var16+Var18);

  Var22:=買(mǎi)點(diǎn)1 AND VarF AND VarC AND Var21 AND Var4<0AND Var5=0 AND Var6=0 AND Var20<(-110);

  DRAWTEXT(買(mǎi)點(diǎn)1>0,L-0.15,'多'),LINETHICK2,ALIGN1,colorred;

  DRAWTEXT(買(mǎi)點(diǎn)2>0,L-0.15,'多'),LINETHICK2,ALIGN1,ColorRed;

  DRAWTEXT(賣(mài)點(diǎn)1>0,H+0.35,'空'),LINETHICK2,ALIGN1,COLOR33FF33;

  x1:=(C+L+H)/3;

  x2:=EMA(x1,6);

  x3:=EMA(x2,5);

[1] [2] 下一頁(yè)

(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
    南方財(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)
nuqn.cn
南方財(cái)富網(wǎng) © 版權(quán)所有 閩ICP備09035581號(hào)