beyond202104 发表于 2023-8-28 16:42:08

牛牛主图(通达信公式 主图 源码 测试图)


牛牛主图

画线方法: 主图叠加
牛: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;




芝麻小尐馨 发表于 2023-9-20 22:44:50

楼主哪儿来的这么多好东西!

水果甜蜜蜜潮 发表于 2023-11-16 08:08:20

好贴不能沉!

因醉鞭名马幌 发表于 2023-11-27 21:12:27

好人还是很多的!

好哥很拉风 发表于 2023-12-4 16:09:17

点赞楼主!
页: [1]
查看完整版本: 牛牛主图(通达信公式 主图 源码 测试图)