您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通达信凤凰波段倒仓主图指标公式

2014-08-11 14:56    股票知识   zhishi.southmoney.com
    

  通达信凤凰波段倒仓主图指标公式昨收:DYNAINFO(3),COLORYELLOW,LINETHICK2;{将括号中3改为11则为今日均价,那么此图即可省略分时振荡图}

  S2:=SMA(C,3,1);

  S6:=SMA(C,5,1);

  DK:=16*(S2-S6);

  STICKLINE(DK》0,昨收,昨收+DK,0,0),COLORYELLOW;

  STICKLINE(DK《0,昨收,昨收+DK,0,0),COLORGREEN,COLORGRAY;

  STICKLINE(FILTER(BB》70,3),昨收,昨收+DK,0.3,0),COLORBLUE;

  MAV:=(2*C+H+L)/4;

  强度: EMA(MAV,9)*0.8+1,POINTDOT,LINETHICK5,COLORFF00FF;

  趋势线:昨收+DK,COLORGRAY,LINETHICK1;

  转暖:IF(趋势线》REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK1;

  转凉:IF(趋势线《REF(趋势线,1),趋势线,DRAWNULL),COLORGREEN,LINETHICK1;

  {GREEN}

  STICKLINE(OPEN》=CLOSE ,H ,L,0,0 ),COLORFF7700;

  STICKLINE(OPEN》=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;

  STICKLINE(OPEN》=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;

  STICKLINE(OPEN》=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;

  STICKLINE(OPEN》=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;

  {RED}

  STICKLINE(CLOSE》OPEN,CLOSE,OPEN,3,0),COLOR000099;

  STICKLINE(CLOSE》OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;

  STICKLINE(CLOSE》OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;

  STICKLINE(CLOSE》OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;

  STICKLINE(CLOSE》OPEN,H,L,0,0),COLORRED;

  {抄底2}

  抄底:=3*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - 2*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));

  STICKLINE(CROSS(抄底,3),(L+H)/2,昨收+0.9,1.5,0),COLORYELLOW,LINETHICK2;{可直接做抄底选股公式}

  {箱体}

  颈线:MA(REF(HHV(C,30),1),2),NODRAW,COLORBLUE;

  底线:MA(REF(LLV(C,30),1),2),NODRAW,COLORWHITE;

  支撑:(REF(H,1)+REF(L,1))/2,NODRAW,COLORFF00FF;{可加在其他主副图,要显示线,去掉NODRAW即可}

  {凤凰金叉}

  {JINCHA}

  XXX:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

  K:=SMA(XXX,3,1);

  D:=SMA(K,3,1);

  DRAWTEXT(CROSS(K,D) AND CROSS(MACD.DIF,MACD.DEA),L*0.99,‘Ψ’),COLORYELLOW;{可单独做金叉选股公式}

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号