当前位置:首页 > 免费资源 > 正文

「翔博精选指标」财务副图(通达信副图 贴图)

2022-03-14未知 编 辑:翔博软件

 财务副图(通达信副图 贴图)


活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));
DRAWTEXT_FIX(1,0.74,0.15,1,STRCAT(STRCAT('量能饱和: ',CON2STR(量能饱和,2)),'%')),COLORYELLOW;
DRAWTEXT_FIX(1,0.74,0.35,1,STRCAT(STRCAT('活跃度比: ',CON2STR(活跃度比,2)),'%')),COLORYELLOW;
DRAWTEXT_FIX(1,0.74,0.55,1,STRCAT(STRCAT('获利筹码: ',CON2STR(获利筹码,2)),'%')),COLORYELLOW;
DRAWRECTREL(970,340,580,270,RGB(150,10,250));
DRAWRECTREL(970,470,580,540,RGB(150,10,250));
DRAWRECTREL(970,670,580,740,RGB(150,10,250));
DRAWRECTREL(970,340,580+CONST(量能饱和*(970-580)/100),270,RGB(0,100,0));
DRAWRECTREL(970,470,580+CONST(活跃度比*(970-580)/100),540,RGB(0,100,0));
DRAWRECTREL(970,670,580+CONST(获利筹码*(970-580)/100),740,RGB(0,100,0));
DRAWTEXT_FIX(1,0.96,0.01,1,'大盘趋势:'),COLORRED;
DRAWTEXT_FIX(   CONST(INDEXC) >SAR(4,2,20),0.95,0.16,1,'∧∧∧∧'),COLORRED;
DRAWTEXT_FIX( CONST(INDEXC) >SAR(4,2,20),0.95,0.11,1,'∧∧∧∧'),COLORRED;
DRAWTEXT_FIX( CONST(INDEXC) <SAR(4,2,20),0.95,0.16,1,'∨∨∨∨'),COLORGREEN;
DRAWTEXT_FIX( CONST(INDEXC) <SAR(4,2,20),0.95,0.11,1,'∨∨∨∨'),COLORGREEN;

获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;
DRAWTEXT_FIX(获利%>=95 AND ISLASTBAR,0.97,0.97,0,'   高危'),COLORRED;
DRAWTEXT_FIX(获利%>=80 AND 获利%<95 AND ISLASTBAR,0.97,0.97,0,'   风险'),COLORYELLOW;
DRAWTEXT_FIX(获利%>=50 AND 获利%<80 AND ISLASTBAR,0.97,0.97,0,'   安全'),COLORGREEN;
DRAWTEXT_FIX(获利%<50 AND ISLASTBAR,0.97,0.97,0,'空头'),COLORBLUE;
筹峰:=((COST(85)+COST(15))/2+COST(50))/2,COLOR9900FF,NODRAW;
成本线:MA(筹峰*0.80,10),COLORFF6600,LINETHICK2,NODRAW;
主力成本:(C-成本线)/成本线*100,LINETHICK1,COLORFFFFFF,NODRAW;
主力线:MA(主力成本,5),COLORFF00FF,NODRAW;
下跌:IF(主力成本<REF(主力成本,1) AND 主力成本<主力线 AND ((主力线<REF(主力线,1) AND MA
       (C,5)<REF(MA(C,5),1)) OR MA(C,20)<REF(MA(C,20),1)) AND C<=REF(C,1),主力成本,0),
       COLOR00AA00,LINETHICK2,STICK,NODRAW;
震荡:IF((主力成本<REF(主力成本,1) AND 主力线>REF(主力线,1)) OR (主力成本>REF(主力成本,1)
       AND 主力线<REF(主力线,1)) OR (主力成本<REF(主力成本,1) AND 主力线<REF(主力线,1)
       AND (主力成本>主力线 OR MA(C,5)>REF(MA(C,5),1))) OR (主力线>REF(主力线,1) AND
       主力成本>REF(主力成本,1) AND 主力成本<主力线),主力成本,0),COLORFF9900,
       LINETHICK2,STICK,NODRAW;
反弹:IF(主力线>REF(主力线,1) AND MA(C,20)<REF(MA(C,20),1) AND (主力成本>主力线 OR
       主力成本>REF(主力成本,1)),主力成本,0),COLORFF00AA,LINETHICK2,STICK,NODRAW;
上涨:IF(主力成本>主力线 AND 主力成本>REF(主力成本,1) AND 主力线>REF(主力线,1) AND MA
       (C,20)>REF(MA(C,20),1),主力成本,0),COLOR0000FF,LINETHICK2,STICK,NODRAW;
DRAWTEXT_FIX(ISLASTBAR AND 下跌=主力成本,0.97,0.1,0,'   下跌'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(下跌,1)=REF(主力成本,1),0.97,0.1,0,
         '下跌中震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(上涨,1)=REF(主力成本,1),0.97,0.1,0,
         '上涨中震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 震荡=主力成本 AND REF(震荡,1)=REF(主力成本,1),0.97,0.1,0,
         '震荡'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 反弹=主力成本 AND 震荡!=主力成本,0.97,0.1,0,'   反弹'),
         COLORFF00CC;
DRAWTEXT_FIX(ISLASTBAR AND 上涨=主力成本,0.97,0.1,0,'   上涨'),COLOR00FFFF;

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标