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

通达信金蛇七寸及选股指标公式

2014-08-13 14:50    股票知识   zhishi.southmoney.com
    

  通达信金蛇七寸及选股指标公式VAR10:=100*(C-COST(10))/COST(10);

  空跌:=REF(VAR10,1)《0 OR REF (VAR10,2)《0;

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

  DEA:EMA(DIFF,9)COLORWHITE,LINETHICK2;

  MACD: 2*(DIFF-DEA), COLORSTICK,LINETHICK2;

  A1:EMA(C,13)》REF(EMA(C,13),1) AND MACD》REF(MACD,1),COLORFF00FF,LINETHICK0;

  A2:=EMA(C,13)《REF(EMA(C,13),1) AND MACD《REF(MACD,1);

  STICKLINE(A1》0 ,0,MACD,1.5,0),COLORRED;

  STICKLINE(A2》0 ,0,MACD,1.5,0),COLORGREEN;

  DRAWBAND(DIFF》DEA,RGB(255,153,153),DIFF《DEA,RGB(153,153,255));

  DIFF2:=EMA(CLOSE,9)-EMA(CLOSE,26);

  DEA2:=EMA(DIFF2,9);

  红:((2)*(DIFF2-DEA2)),COLOR0000FF;

  绿:MA(((2)*(DIFF2-DEA2)),5),COLORGREEN;

  DA:=MAX(DIFF,DEA);

  上突四线:CROSS(红,DA) AND 绿》DIFF AND 绿《0 AND 空跌》0,COLORLIBLUE,LINETHICK0;

  STICKLINE(上突四线》0,0,2,4,0),COLORRED;

  DRAWTEXT(上突四线》0,1.8,‘建仓!’),COLORYELLOW;

  下突四线:CROSS(绿,红) AND 绿《DIFF AND 绿》0 ,COLORFF00FF,LINETHICK0;

  STICKLINE(下突四线》0,0,2,4,0),COLORWHITE;

  DRAWTEXT(下突四线》0,1.8,‘注意!’),COLORYELLOW;

  {

  选股公式:

  VAR10:=100*(C-COST(10))/COST(10);

  空跌:=REF(VAR10,1)《0 OR REF (VAR10,2)《0;

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

  DEA:=EMA(DIFF,9);

  DIFF2:=EMA(CLOSE,9)-EMA(CLOSE,26);

  DEA2:=EMA(DIFF2,9);

  红:=((2)*(DIFF2-DEA2));

  绿:=MA(((2)*(DIFF2-DEA2)),5);

  DA:=MAX(DIFF,DEA);

  上突四线:=CROSS(红,DA) AND 绿》DIFF AND 绿《0 AND 空跌》0;

  上突四线》0;

  }

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

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