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

通達信股票公式之變盤點

2013/2/25 14:44:01   來源:本站原創(chuàng)   佚名
    

通達信股票公式變盤

  VAR1:=MA(CLOSE,5);

  VAR2:=MA(CLOSE,10);

  VAR3:=MA(CLOSE,30);

  VAR4:=MA(CLOSE,60);

  VAR5:=EMA(COST(85),7);

  VAR6:=EMA(COST(15),7);

  VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);

  VAR8:=INTPART(VAR7*100)/100;

  VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);

  VARA:=INTPART(VAR9*100)/100;

  VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);

  VARC:=INTPART(VARB*100)/100;

  VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);

  VARE:=EMA(CLOSE,5)-EMA(CLOSE,10);

  VARF:=EMA(VARD,9);

  放空段: IF(VARD>VARF,VARF,VARE),COLOR00FF00,LINETHICK2;

  持股段: IF(VARD< VARF,VARF,VARE),COLORRED,LINETHICK2;

  VAR10:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;

  VAR11:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;

  VAR12:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;

  VAR13:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;

  VAR14:=REF(VARF,1);rmkc.cn

  VAR15:=VARF;

  VAR16:=VAR15-VAR14;

  VAR17:=REF(VARD,1);

  VAR18:=VARD;

  VAR19:=VAR18-VAR17;

  VAR1A:=OPEN;

  VAR1B:=CLOSE;

  變盤點: IF(VAR1A<=VAR1 AND VAR1A<=VAR2 AND VAR1A<=VAR3 AND VAR1B>=VAR1 AND VAR1B>=VARC AND VAR16>0 AND VAR19>0,0.5,0), STICK,COLORWHITE;

  VAR1C:=IF(CROSS(VARD,VARF) AND VARD<0 AND VARF<-0.2 AND VAR11>45 AND VAR16>0,0.3,0);

  買進1: IF(VAR1C,0.5,0),COLORYELLOW;

  DRAWICON(買進1,0.5,1);

  VAR1D:=(2*CLOSE+HIGH+LOW)/4;

  VAR1E:=LLV(LOW,34);

  VAR1F:=HHV(HIGH,34);

  VAR20:=EMA((VAR1D-VAR1E)/(VAR1F-VAR1E)*100,13);

  VAR21:=EMA(0.667*REF(VAR20,1)+0.333*VAR20,2);

  VAR22:=REF(CLOSE,1);

  VAR23:=SMA(MAX(CLOSE-VAR22,0),6,1)/SMA(ABS(CLOSE-VAR22),6,1)*100;

  賣出: IF(CROSS(84,VAR23),0.5,0),COLOR00FF00;

  DRAWICON(賣出,0.5,2);

  持倉:0,COLORFF00FF;

  空倉:0,COLORGREEN;

  {持倉:}STICKLINE(VAR20>VAR21,0,-0.02,10,1),COLORFF00FF;

  {空倉:}STICKLINE(VAR20< VAR21,0,-0.02,10,1),COLORGREEN;

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

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