您現在的位置: 南方財富網 >> 股票知識 >> 股票公式 >> 正文
南財搜索

通達信股票公式之組合指標(2)

2013/7/23 14:44:43   來源:本站原創(chuàng)   佚名
    

  DRAWLINE(D1,OBV,S11,OBV,1),COLOR0000FF;

  T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);

  U11:=T11>REF(T11,1);

  DRAWLINE(D2,OBV,U11,OBV,1),COLORFFFF00;

  STICKLINE(C>0,下,下,1,0),COLOR00FF00;

  STICKLINE(C>0,上,上,1,0),COLORFF00FF;

  DRAWTEXT(CROSS(OBV,上*1.01),上,'上'),COLORFFFFFF;

  DRAWTEXT(CROSS(下*0.99,OBV),下,'下'),COLORFFFFFF;

  {主升波段顯示}

  BBI:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;

  EBBI:=(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4;

  FF1:=EMA(C,3)>EMA(C,7) AND EMA(C,7)>EMA(C,21) AND EMA(C,21)>EMA(C,54);

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

  DEA:=EMA(DIFF,9);

  主升浪:IF(BBI>EBBI AND FF1 AND DIFF>DEA,10,0),COLORYELLOW,POINTDOT;

  STICKLINE(主升浪,10,0,1,1),COLORYELLOW;

  DRAWICON(CROSS(K,D) AND CROSS(J,D),10,1);{1號圖標顯示紅箭頭};

  DRAWICON(D1,OBV,27);

  DRAWICON(D2,OBV,25);

  {金叉共振}

  VAR0004:="KDJ.K#WEEK"(9,3,3);

  VAR0005:="KDJ.D#WEEK"(9,3,3);

  VAR0006:="KDJ.K#MONTH"(9,3,3);

  VAR0007:="KDJ.D#MONTH"(9,3,3);

  周金叉:IF(CROSS(VAR0004,VAR0005),15,0)LINESTICK, COLORRED;

  月金叉:IF(CROSS(VAR0006,VAR0007),20,0)LINESTICK,COLORYELLOW;

  DRAWTEXT(周金叉,16,'周金叉'),COLORRED;

  DRAWTEXT(月金叉,20,'月金叉'),COLORYELLOW;

  {抄底加倉}

  抄底:IF(REF(COUNT(K<REF(K,1),5)>=5,1) AND COUNT(K<30,5)>=2 AND COUNT(J<0,3)>0 AND CROSS(J,0),60,50),COLOR00FFFF;

  TJ00:=BARSLAST(REF(CROSS(K,D) AND REF(K,1)<35,1));

  TJ11:=C<REF(C,TJ00+1)*1.1 AND REF(K,1)<60 AND (TJ00+1)<25 AND (TJ00+1)>5 AND K>REF(K,TJ00+1) AND CROSS(K,D);

  加倉:IF(TJ11,35,0),COLORGREEN;

  A22:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));

  DRAWICON(CROSS(K,D),K,1);

  DRAWICON(CROSS(D,K),D,2);

上一頁  [1] [2] 

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

關于南方財富網 -版權聲明誠聘英才廣告服務網站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財富網無關
sfzzp.cn
南方財富網 © 版權所有 閩ICP備09035581號