您现在的位置: 南方财富网 >> 股票知识 >> 股票公式 >> 正文
南财搜索

通达信股票公式之优化后的老指标(2)

2013/3/21 10:53:16   来源:本站原创   佚名
    
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;

  DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);

  ZB:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;

  VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

  K:=EMA(VAR7,5)*2, , COLORFF00FF;

  D:=EMA(K,5), , COLORWHITE;www.southmoney.com

  J:=K*3-D*2, ,COLORYELLOW;

  VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;

  HS:=VOL/CAPITAL*100, , COLORGREEN;

  VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

  VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

  DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.95,'机构进场'),LINETHICK1,COLORFF00FF;

  VAR1A:=IF(VARE>0,VARE,0);

  VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;

  VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;

  DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,LOW*0.95,'大顶(底)') COLORWHITE;

  趋势线:EMA(CLOSE,17),LINETHICK1,COLORFFFFFF;

  牛熊分界线:EMA(CLOSE,50),LINETHICK1,COLORRED;

  卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;

  买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;

  幅度:100*(卖出-买入)/买入,NODRAW;

  MA1:=MA(VAR1,3);

  STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;

  STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;

  STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;

  STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;

  STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;

  STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;

  STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;

  STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;

  STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;

  STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;

上一页  [1] [2] 

(南方财富网SOUTHMONEY.COM)
    南方财富网声明:股市资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
延伸阅读
商务进行时
每日必读
学院24小时排行
证券导读
热图推荐

关于南方财富网 -版权声明诚聘英才广告服务网站地图友情链接
特此声明:广告商的言论与行为均与南方财富网无关
www.southmoney.com
南方财富网 © 版权所有 闽ICP备09035581号