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

 2022-08-24 08:39:48    通达信指标网  

牛牛主图

 画线方法: 主图叠加

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


  •  标签:  

原文链接:https://www.tdxzb.com/?id=523

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服