您的位置:爱股网 > 查股公式 > 通达信牛牛主图公式主图源码[查股公式]
股票行情消息数据:

通达信牛牛主图公式主图源码[查股公式]

2022/11/13 19:01:57

牛牛主图

画线方法: 主图叠加

牛:MA(CLOSE,41)+MA(CLOSE,41)*10/100,COLORBLUE,LINETHICK2;

牛妖:MA(CLOSE,23)+MA(CLOSE,23)*5/100,COLORYELLOW,LINETHICK2;

牛动:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFFCC00,LINETHICK2;

牛启:MA(HIGH,5),COLORMAGENTA;

X_1:=VOL;

X_2:=MA(X_1,5);

X_3:=MA(X_1,135);

DD:REF(HIGH,BARSSINCE(BACKSET(ISLASTBAR,HHVBARS(VOL,59)+1))),COLORGREEN;

DRAWTEXT_FIX(TOTALBARSCOUNT>0,0,0.01,0,STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(4,CON2STR(FINANCE(37),0)),5),STRCAT(6,CON2STR(FINANCE(38),2))),STRCAT(7,CON2STR(FINANCE(1)/100000000,2))),STRCAT(STRCAT(STRCAT(8,CON2STR(FINANCE(1)*CLOSE/100000000,2)),STRCAT(9,CON2STR(FINANCE(7)/100000000,2))),STRCAT(10,CON2STR(DYNAINFO(39),2))))),COLORLIRED;

DRAWTEXT_FIX(TOTALBARSCOUNT>0,0,0.1,0,STRCAT(STRCAT(STRCAT(STRCAT(11,CON2STR(FINANCE(19)/FINANCE(1),2)),STRCAT(12,CON2STR(FINANCE(18),2))),STRCAT(13,CON2STR(FINANCE(32),2))),STRCAT(14,CON2STR(FINANCE(25)/FINANCE(1),2)))),COLORLIRED;

DRAWTEXT_FIX(TOTALBARSCOUNT>0,0,0.2,0,STRCAT(STRCAT(STRCAT(STRCAT(15,HYBLOCK),DYBLOCK),FGBLOCK),ZSBLOCK)),COLORLIRED;

DRAWRECTREL(0,500,350,1016,RGB(0,5,164));

DRAWTEXT_FIX(1,0.008,0.618,0,16),COLORCYAN;

DRAWTEXT_FIX(1,0.008,0.689,0,17),COLORYELLOW;

DRAWTEXT_FIX(1,0.008,0.758,0,18),COLORWHITE;

DRAWTEXT_FIX(1,0.008,0.81,0,19),COLORRED;

DRAWTEXT_FIX(1,0.008,0.87,0,20),COLORGREEN;

DRAWTEXT_FIX(1,0.008,0.55,0,21),COLORMAGENTA;

DRAWTEXT_FIX(1,0.008,0.95,0,22),COLORMAGENTA;

X_4:=CLOSE>REF(CLOSE,1)*1.05;

AA:DRAWTEXT(CROSS(牛启,牛妖) AND X_4,LOW,23),COLORMAGENTA;

BB:DRAWTEXT(CROSS(牛动,牛) AND X_4,LOW,24);

CC:DRAWTEXT(CROSS(牛启,牛) AND X_4,LOW,25);

EE:DRAWTEXT(CROSS(牛动,牛妖) AND X_4,LOW,26),COLORLIBLUE;

DRAWTEXT(CROSS(DD,CLOSE),HIGH,27),COLORLIGREEN;

DRAWTEXT(CROSS(CLOSE,DD) AND X_4,LOW,28),COLORYELLOW;

成妖:DRAWLINE(BB,OPEN,REF(BB,1),REF(OPEN,1),1),COLORMAGENTA;

小牛:DRAWLINE(CC,CLOSE,REF(CC,1),REF(CLOSE,1),1),COLORCYAN;

妖股初现:DRAWLINE(EE,OPEN,REF(EE,1),REF(OPEN,1),1),COLORRED;

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

股票公式分类

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