通达信黄金法则源码

2017-03-02 08:58:00来源:本站整理浏览:594

X_83:=IF(X_62<=X_73,LLVBARS(X_75,X_62+1),DRAWNULL);

X_84:=IF(REF(X_75,X_83)<=(-X_74),REF(CLOSE,X_83)*REF(CLOSE,X_83)/REF(CLOSE,X_83+1)/1.1,DRAWNULL);

X_85:=BACKSET(REF(X_75,X_83)<=(-X_74) AND X_62<=X_73,X_83+1);

X_86:=BARSLAST(X_85=1 AND REF(X_85,1)=0);

X_87:=BACKSET(ISLASTBAR,X_86+1);

STICKLINE(X_87=1 AND REF(X_87,1)=0 AND K=1,LOW,X_84,0.5,(-1)),COLORCYAN;

NOTEXT测底:IF(K=1,DRAWLINE(X_87=1 AND REF(X_87,1)=0,X_84,ISLASTBAR,REF(CLOSE,X_86)*REF(CLOSE,X_86)/REF(CLOSE,X_86+1)/1.1,(-2)),DRAWNULL),DOTLINE,COLORCYAN;

DRAWNUMBER(X_87=1 AND REF(X_87,1)=0 AND K=1,X_84,X_84),COLORCYAN;

X_88:=CLOSE>REF(CLOSE,4);

X_89:=BARSLASTCOUNT(X_88);

X_90:=X_89=18;

X_91:=ISLASTBAR AND BETWEEN(X_89,1,17);

X_92:=(BACKSET(X_90>0,18) OR BACKSET(X_91>0,X_89))*X_89;

DRAWNUMBER(X_92>0,HIGH*1.02,X_92),COLORMAGENTA;

DRAWNUMBER(X_89=9,HIGH*1.02,9),COLORGREEN;

DRAWNUMBER(X_89=13,HIGH*1.02,13),COLORYELLOW;

DRAWNUMBER(X_89=18,HIGH*1.02,18),COLORYELLOW;

DRAWICON(X_89=8,HIGH*1.01,41);

X_93:=CLOSE<REF(CLOSE,4);

X_94:=BARSLASTCOUNT(X_93);

X_95:=X_94=18;

X_96:=ISLASTBAR AND BETWEEN(X_94,1,17);

X_97:=(BACKSET(X_95>0,18) OR BACKSET(X_96>0,X_94))*X_94;

DRAWNUMBER(X_97>0,LOW*0.98,X_97),COLORMAGENTA;

DRAWNUMBER(X_94=9,LOW*0.98,9),COLORGREEN;

DRAWNUMBER(X_94=13,LOW*0.98,13),COLORYELLOW;

DRAWNUMBER(X_94=18,LOW*0.98,18),COLORYELLOW;

DRAWICON(X_94=8,LOW*0.99,41);

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
 


 


上一页  [1] [2] [3] [4] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式