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

通達(dá)信股票公式之dmi改進(jìn)

2012/12/13 13:30:07   來(lái)源:本站原創(chuàng)   佚名
    

  通達(dá)信股票公式之dmi改進(jìn)

  {其中參數(shù)N取默認(rèn)值14, N 2 100 14。};

  TR:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);

  HD:=HIGH-REF(HIGH,1);

  LD:=REF(LOW,1)-LOW;

  DMP:=SMA(IF(HD》0 AND HD》LD,HD,0),N,1);

  DMM:=SMA(IF(LD》0 AND LD》HD,LD,0),N,1);

  PDI:DMP*100/TR,COLORRED;

  MDI:DMM*100/TR,COLORGREEN;

  ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLORYELLOW;

  ADXR:=SMA(ADX,M,1);

  MA62:=MA(CLOSE,5);

  MA20:=MA(CLOSE,4);

  MA10:=MA(CLOSE,3);

  VOL5:=MA(VOL,5);

  DMR:=MA62》MA20 AND2dayisday1.com SLOPE(MA62,5)《0 AND SLOPE(MA20,4)《0 AND SLOPE(MA10,3) AND REF(MA20》MA10,1) AND CROSS(MA10,MA20) AND VOL》VOL5;

  VAR2:=LLV(LOW,10);

  VAR3:=HHV(HIGH,25);

  VAR1:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);

  16;

  30;

  MR1:STICKLINE(LONGCROSS(PDI,MDI,2) AND LONGCROSS(PDI,ADX,2),28,15,1,0),COLORWHITE;

  MR2:=(CROSS(PDI, MDI)AND CROSS(PDI, ADX)AND CROSS(PDI, ADXR))AND CLOSE》OPEN

  AND C/REF(C,1)》0.5 AND VOL》MA(VOL,5)*1.5,COLORRED,LINETHICK3;

  DRAWICON(MR2,16,9),LINETHICK3;

  DRAWICON(DMR,17,15),LINETHICK3;

  JH:=SMA(MAX(C-REF(C2dayisday1.com,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;

  DRAWICON(CROSS(84,JH),31,10);

  DRAWICON( FILTER(CROSS(3.5,VAR1),20),29,16);

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