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

通達信K線+MACD股票指標(biāo)公式

2013/3/12 14:05:31   來源:本站原創(chuàng)   佚名
    

通達信K線+MACD股票指標(biāo)公式

  DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);

  DEA : EMA(DIFF,9);

  MACD : 2*(DIFF-DEA);

  STICKLINE(MACD》0,MACD,0,0.5,1),COLORRED;

  STICKLINE(MACD《0,MACD,0,0.5,1),COLORGREEN;

  STICKLINE(MACD》0 AND MACD

  STICKLINE(MACD《0 AND MACD》REF(MACD,1),MACD,0,0.5,1),COLORFF00FF;

  綠柱面積:IF (MACD《0,SUM(MACD,BARSLAST(MACD》0)),0),nodraw,colorgreen;

  紅柱面積:IF (MACD》0,SUM(MACD,BARSLAST(MACD《0)),0),nodraw,Colorred;

  DRAWTEXT(CROSS(diff,80),diff,‘強’),COLORRED;

  DRAWTEXT(CROSS(-80,diff),diff,‘弱’),COLORGREEN;

  DRAWTEXT(CROSS(diff,-80),diff,‘強’),COLORRED;

  DRAWTEXT(CROSS(80,diff),diff,‘弱’),COLORGREEN;

  DRAWTEXT(CROSS(diff,30),diff,‘強’),COLORRED;

  DRAWTEXT(CROSS(-30,diff),diff,‘弱’),COLORGREEN;

  DRAWTEXT(CROSS(diff,-30),diff,‘強’),COLORRED;

  DRAWTEXT(CROSS(30,diff),diff,‘弱’),COLORGREEN;

  DRAWTEXT(CROSS(diff,50),diff,‘強’),COLORRED;

  DRAWTEXT(CROSS(-50,diff),diff,‘弱’),COLORGREEN;

  DRAWTEXT(CROSS(diff,-50),diff,‘強’),COLORRED;

  DRAWTEXT(CROSS(50,diff),diff,‘弱’),COLORGREEN;

[1] [2] 下一頁

(南方財富網(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)
sfzzp.cn
南方財富網(wǎng) © 版權(quán)所有 閩ICP備09035581號