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

通达信智勇长攻指标公式

2014-02-26 14:55    股票知识   zhishi.southmoney.com
    

  F:=100*(C-REF(C,1))/REF(C,1);

  今小昨:=IF(C《REF(O,1) AND F《0,1,0);

  S1:=今小昨;

  今小前:=IF(C《REF(O,2) AND F《0,1,0),LINETHICK0;

  S2:=今小前;

  A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));

  A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));

  A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));

  STICKLINE(A1 AND A2 ,0,3,3,0)COLORGREEN;

  STICKLINE(A1 AND A2 ,0,1,3,0)COLORBLUE;

  STICKLINE(A1 AND A2 AND A3,0,5,3,0)COLORYELLOW;

  STICKLINE(A1 AND A2 AND A3,0,3,3,0)COLORFF00FF;

  STICKLINE(A1 AND A2 AND A3,0,1,3,0)COLORBLUE;

  DRAWTEXT(A3=1,4.8,‘长攻!’),COLORYELLOW;

  智勇出击: ZIG(3,6)》REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)《REF(ZIG

  (3,6),2),COLORWHITE,LINETHICK2;

  DRAWTEXT(智勇出击=1,0.8,‘突袭!’),COLORWHITE;

  小获且退: ZIG(3,10)《REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)》REF(ZIG

  (3,10),2),COLORYELLOW,LINETHICK2;

  DRAWTEXT(小获且退=1,1.3,‘退!’),COLORYELLOW;

  VAR3:=PEAKBARS(2,15,1)《10;

  VAR5:=IF(VAR3=1,2,0);

  顶:= IF(VAR5=2,2,0);

  大胜且归:IF(顶》REF(顶,1),2,0),COLORRED,LINETHICK2;

  DRAWTEXT(大胜且归=2,2,‘撤!’),COLORRED;

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

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