通达信南川三代分时E源码副图

源码:

STICKLINE(1,HIGH,LOW,2,0),COLORBLACK;
 X_1:=BARSLAST(HOUR=9 AND MINUTE=31)+1;
 X_2:=AMOUNT/VOL/100;
 X_3:=SUM(CLOSE*VOL,0)/SUM(VOL,0);
 X_4:=SETCODE=0 OR SETCODE=1 AND CLOSE<500;
 HHH:IF(SETCODE<2 AND CONST(BARSSINCE(CLOSE))<241,CONST(IF(TIME<TT2,HHV(CLOSE,0),SUM(IF(TIME=TT2,1,0)*HHV(CLOSE,0),0))),DRAWNULL),DOTLINE,COLORBLUE;
 LLL:IF(SETCODE<2 AND CONST(BARSSINCE(CLOSE))<241,CONST(IF(TIME<TT2,HHV(CLOSE,0),SUM(IF(TIME=TT2,1,0)*LLV(CLOSE,0),0))),DRAWNULL),DOTLINE,COLORBLUE;
 HHH2:IF(SETCODE<2 AND CONST(BARSSINCE(CLOSE))<241 AND TIME<TT2+1,HHH,DRAWNULL),COLORBLUE,LINETHICK3;
 LLL2:IF(SETCODE<2 AND CONST(BARSSINCE(CLOSE))<241 AND TIME<TT2+1,LLL,DRAWNULL),COLORBLUE,LINETHICK3;
 STICKLINE(TIME=931 OR TIME=TT2,HHH,LLL,1,0),COLORBLUE;
均价:IF(X_4,X_2,X_3),COLORYELLOW;
 X_5:=SUP排序.SUPL;
 X_6:=X_5*1.3;
 DRAWNUMBER_FIX(1,1,1,1,X_5);
 DRAWNUMBER_FIX(1,1,0,1,X_5);
 X_7:=CLOSE>REF(CLOSE,1) AND CLOSE/均价>1+X_5/100;
 X_8:=CLOSE<REF(CLOSE,1) AND CLOSE/均价<1-X_5/100;
 HH1:REF(SUM(X_7,0),1)=0 AND SUM(X_7,0)=1,NODRAW;
 LL1:REF(SUM(X_8,0),1)=0 AND SUM(X_8,0)=1,NODRAW;
 X_9:=SUM(HH1,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(HH1)),0.5);
 X_10:=SUM(LL1,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(LL1)),0.5);
 CS1:CONST(SUM(IF(X_9,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN,LINETHICK2;
 CB1:CONST(SUM(IF(X_10,REF(CLOSE,1),DRAWNULL),0)),COLORMAGENTA,LINETHICK2;
 HH2:CROSS(SUM(X_7 AND CLOSE>CS1*(1+X_6/100),0),0.5),NODRAW;
 LL2:CROSS(SUM(X_8 AND CLOSE<CB1*(1-X_6/100),0),0.5),NODRAW;
 X_11:=SUM(HH2,0)*CROSS(COUNT(CLOSE<REF(CLOSE,1),BARSLAST(HH2)),0.5);
 X_12:=SUM(LL2,0)*CROSS(COUNT(CLOSE>REF(CLOSE,1),BARSLAST(LL2)),0.5);
 CS2:CONST(SUM(IF(X_11,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN;
 CB2:CONST(SUM(IF(X_12,REF(CLOSE,1),DRAWNULL),0)),COLORMAGENTA;
 DRAWICON(HH1 OR HH2,CLOSE*1.001,39);
 DRAWICON(LL1 OR LL2,CLOSE*0.999,38);
 DRAWICON(X_10 OR X_12,REF(CLOSE,1)*0.999,7);
 DRAWICON(X_9 OR X_11,REF(CLOSE,1)*1.001,8);
价位:CLOSE,COLORWHITE,LINETHICK4;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图