您的位置:爱股网 > 查股公式 > 通达信南川三代分时E源码副图[查股公式]
股票行情消息数据:

通达信南川三代分时E源码副图[查股公式]

2022/7/25 9:33:43

源码:

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;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29