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

通達(dá)信MACD超跌主圖股票指標(biāo)公式

2013/1/29 10:43:31   來(lái)源:本站原創(chuàng)   佚名
    

通達(dá)信MACD超跌主圖股票指標(biāo)公式

  {MACD}

  RC:=DYNAINFO(3)*1.1;

  DK:="MACD.MACD"(60,130,45)*2;

  控盤(pán):=DK;

  STICKLINE(控盤(pán)<0 AND 控盤(pán)

  STICKLINE(控盤(pán)<0 AND 控盤(pán)>REF(控盤(pán),1),控盤(pán)+RC,RC,0.05,0),COLORWHITE;

  STICKLINE(控盤(pán)>REF(控盤(pán),1) AND 控盤(pán)>0,控盤(pán)+RC,RC,0.05,0),COLORRED;

  STICKLINE(控盤(pán)0,控盤(pán)+RC,RC,0.05,0),COLOR00FF00;

  {超跌反彈原碼}{加在主圖即可}

  KS:=(C-MA(C,13))/MA(C,13)*(-100);

  RKS:=REF(KS,1);

  MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02;

  超跌:STICKLINE(KS>=8,H,L,0,1),COLORWHITE,LINETHICK1;

  STICKLINE(KS>=8,O,C,7,1),COLORWHITE,LINETHICK1;

  反彈:STICKLINE(MLS=1,H,L,0,1),COLORMAGENTA,LINETHICK1;

  STICKLINE(MLS=1,O,C,7,1),COLORMAGENTA,LINETHICK1;

  MA5:EMA(C,5),COLORWHITE LINETHICK1;

  IF(MA5>=REF(MA5,1),MA5,DRAWNULL),LINETHICK2,COLORRED;

  IF(MA5<=REF(MA5,1),MA5,DRAWNULL),LINETHICK1,COLORGREEN;

  MA10:EMA(C,10),COLORWHITE LINETHICK1;

  IF(MA10>=REF(MA10,1),MA10,DRAWNULL),LINETHICK2,COLORRED;

  IF(MA10<=REF(MA10,1),MA10,DRAWNULL),LINETHICK1,COLORGREEN;

  MA20:EMA(C,20),COLORWHITE LINETHICK1;

  IF(MA20>=REF(MA20,1),MA20,DRAWNULL),LINETHICK2,COLORRED;

  IF(MA20<=REF(MA20,1),MA20,DRAWNULL),LINETHICK1,COLORGREEN;

  M30:EMA(C,30),COLORWHITE POINTDOT;

  IF(M30>=REF(M30,1),M30,DRAWNULL),LINETHICK2,COLOR0066FF;

  IF(M30<=REF(M30,1),M30,DRAWNULL),LINETHICK1,COLORCYAN;

  M60:EMA(C,60),COLORWHITE POINTDOT;

  IF(M60>=REF(M60,1),M60,DRAWNULL),LINETHICK2,COLORYELLOW;

  IF(M60<=REF(M60,1),M60,DRAWNULL),LINETHICK1,COLORCC9900;

  M120:EMA(C,120),COLORWHITE POINTDOT;czcymm.com

  IF(M120>=REF(M120,1),M120,DRAWNULL),LINETHICK1,COLOR0066FF POINTDOT;

  IF(M120<=REF(M120,1),M120,DRAWNULL),LINETHICK1,COLORWHITE POINTDOT;

  M240:EMA(C,240),COLORWHITE POINTDOT;

  IF(M240>=REF(M240,1),M240,DRAWNULL),LINETHICK1,COLOR0066FF POINTDOT;

  IF(M240<=REF(M240,1),M240,DRAWNULL),LINETHICK1,COLORMAGENTA POINTDOT;

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