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

通达信天狼成本均线主图及选股指标公式

2014-08-25 15:25    股票知识   zhishi.southmoney.com
    

  通达信天狼成本均线主图及选股指标公式P1:=8;

  P2:=21;

  P3:=60;

  STICKLINE(C》=O,C,O,3,0),COLOR000045;

  STICKLINE(C》=O,C,O,2.5,0),COLOR000065;

  STICKLINE(C》=O,C,O,2,0),COLOR000085;

  STICKLINE(C》=O,C,O,1.5,0),COLOR0000A5;

  STICKLINE(C》=O,C,O,1,0),COLOR0000C5;

  STICKLINE(C》=O,C,O,0.5,0),COLOR0000E5;

  STICKLINE(C》=O,H,L,0,0),COLOR0000F5;

  STICKLINE(C《O,C,O,3,0),COLOR656500;

  STICKLINE(C《O,C,O,2.5,0),COLOR757500;

  STICKLINE(C《O,C,O,2,0),COLOR858500;

  STICKLINE(C《O,C,O,1.5,0),COLOR959500;

  STICKLINE(C《O,C,O,1,0),COLORA5A500;

  STICKLINE(C《O,C,O,0.5,0),COLORB5B500;

  STICKLINE(C《O,H,L,0,0),COLORC5C500;

  JJJ:=IF(DYNAINFO(8)》0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));

  DDD:=(DYNAINFO(5)《0.01 || DYNAINFO(6)《0.01);

  JJJT:=IF(DDD,1,(JJJ《(DYNAINFO(5)+0.01) && JJJ》(DYNAINFO(6)-0.01)));

  MA8:IF(JJJT,0.01*EXPMA(AMOUNT,P1)/EXPMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1))COLORWHITE LINETHICK2;

  MA21:IF(JJJT,0.01*EXPMA(AMOUNT,P2)/EXPMA(VOL,P2),EMA((HIGH+LOW+CLOSE)/3,P2))COLORYELLOW LINETHICK2;

  MA60:IF(JJJT,0.01*EXPMA(AMOUNT,P3)/EXPMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3))COLORMAGENTA LINETHICK2;

  MA∞:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120))COLORBLUE LINETHICK2;

  获利:=WINNER(CLOSE)*100;

  受伤庄股:=获利》40 AND MA60》MA∞ AND MA21》MA60 AND C《MA∞ AND REF(C,3)》MA∞ STICK;

  DRAWTEXT(受伤庄股,(L-0.04),‘受伤庄股’),COLORCYAN;

  {

  选股公式:

  JJJ:=IF(DYNAINFO(8)》0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));

  DDD:=(DYNAINFO(5)《0.01 || DYNAINFO(6)《0.01);

  JJJT:=IF(DDD,1,(JJJ《(DYNAINFO(5)+0.01) && JJJ》(DYNAINFO(6)-0.01)));

  MA8:=IF(JJJT,0.01*EXPMA(AMOUNT,8)/EXPMA(VOL,8),EMA((HIGH+LOW+CLOSE)/3,8))COLORWHITE LINETHICK2;

  MA21:=IF(JJJT,0.01*EXPMA(AMOUNT,21)/EXPMA(VOL,21),EMA((HIGH+LOW+CLOSE)/3,21))COLORYELLOW LINETHICK2;

  MA60:=IF(JJJT,0.01*EXPMA(AMOUNT,60)/EXPMA(VOL,60),EMA((HIGH+LOW+CLOSE)/3,60))COLORMAGENTA LINETHICK2;

  MA∞:=IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120))COLORBLUE LINETHICK2;

  获利:=WINNER(CLOSE)*100;

  受伤庄股:获利》40 AND MA60》MA∞ AND MA21》MA60 AND C《MA∞ AND REF(C,3)》MA∞;

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

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