通达信牛牛主图公式主图源码

牛牛主图

 画线方法: 主图叠加

 

牛: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;
 




未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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