通达信周复利目标(指标副图贴图)
IF(A=51,DRAWNULL,
IF(A=52,DRAWNULL,
IF(A=53,DRAWNULL,
IF(A=54,DRAWNULL,
IF(A=55,DRAWNULL,
IF(A=56,DRAWNULL,
IF(A=57,DRAWNULL,
IF(A=58,DRAWNULL,
IF(A=59,DRAWNULL,
IF(A=60,DRAWNULL,
IF(A=61,DRAWNULL,
IF(A=62,DRAWNULL,
IF(A=63,DRAWNULL,
IF(A=64,DRAWNULL,
IF(A=65,DRAWNULL,
IF(A=66,DRAWNULL,
IF(A=67,DRAWNULL,
IF(A=68,DRAWNULL,
IF(A=69,DRAWNULL,
IF(A=70,DRAWNULL,
IF(A=71,DRAWNULL,
IF(A=72,DRAWNULL,
IF(A=73,DRAWNULL,
IF(A=74,DRAWNULL,
IF(A=75,DRAWNULL,
IF(A=76,DRAWNULL,
IF(A=77,DRAWNULL,
IF(A=78,DRAWNULL,
IF(A=79,DRAWNULL,
IF(A=80,DRAWNULL,
IF(A=81,DRAWNULL,
IF(A=82,DRAWNULL,
IF(A=83,DRAWNULL,
IF(A=84,DRAWNULL,
IF(A=85,DRAWNULL,
IF(A=86,DRAWNULL,
IF(A=87,DRAWNULL,
IF(A=88,DRAWNULL,
IF(A=89,DRAWNULL,
IF(A=90,DRAWNULL,
IF(A=91,DRAWNULL,
IF(A=92,DRAWNULL,
IF(A=93,DRAWNULL,
IF(A=94,DRAWNULL,
IF(A=95,DRAWNULL,
IF(A=96,DRAWNULL,
IF(A=97,DRAWNULL,
IF(A=98,DRAWNULL,
IF(A=99,DRAWNULL,
IF(A=100,DRAWNULL,
ZJ1))))))))))))))))))))))))))))))))))))))))))))))))));
总资产:=IF(ZJ2=DRAWNULL,REF(ZJ2,1),ZJ2),NODRAW,COLORFFFFFF;
DX1:=(总资产/REF(总资产,A)-1)*100;
DX2:=(C/REF(C,A)-1)*100;DX3:=DX1-DX2;
跑赢大盘:DX3,COLORFFFF00;
DRAWRECTREL(0,0,139,1000,RGB(25,25,25));
周盈亏:(总资产/REF(总资产,1)-1)*100,NODRAW,COLORFFFFFF;
周大盘:(C/REF(C,1)-1)*100,NODRAW,COLOR00FFFF;
周跑赢:周盈亏-周大盘,NODRAW,COLORFFFF00;XX5:=总资产-REF(总资产,1);XX7:=总资产-REF(总资产,A);{www.goodgupiao.com}
DRAWTEXT_FIX(ISLASTBAR AND A>0,0.115,0.83,1,VAR2STR(REF(QSZJ,A),0)),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND 周跑赢<0 ,0.115,0.17,1,VAR2STR(周跑赢,2)),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.45,0,'%'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND XX7>=0,0.115,0.6,1,VAR2STR(XX7,0)),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.5,0,'%'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND 周大盘<0 ,0.115,0.12,1,VAR2STR(周大盘,2)),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND DX1>=0,0.115,0.4,1,VAR2STR(DX1,2)),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.6,1,'盈亏:'),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR,0.045,0.02,0,'周盈亏'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND DX2>=0,0.115,0.45,1,VAR2STR(DX2,2)),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.27,1,'盈亏:'),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.27,0,'元'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.40,1,'个人:'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.12,1,'大盘:'),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.07,1,'个人:'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.17,1,'跑赢:'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND A>0,0.115,0.73,1,VAR2STR(REF(DATE-1000000,A),0)),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.55,1,'目标:'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.07,0,'%'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND 周盈亏<0 ,0.115,0.07,1,VAR2STR(周盈亏,2)),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.17,0,'%'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND 周跑赢>=0,0.115,0.17,1,VAR2STR(周跑赢,2)),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND XX5>=0,0.115,0.27,1,VAR2STR(XX5,0)),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND DX2<0 ,0.115,0.45,1,VAR2STR(DX2,2)),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.78,0,'周'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.12,0,'%'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND DYMB>0,0.115,0.55,1,VAR2STR(目标,2)),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.027,0.68,0,'总资产收益'),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.93,1,'次目标:'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.4,0,'%'),COLORFFFFFF;DRAWTEXT_FIX(ISLASTBAR,0.3,0.95,0,STRCAT(STRCAT('理想论坛',' 刘小刀 '),'作品')),COLOR333333;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND 周盈亏>=0,0.115,0.07,1,VAR2STR(周盈亏,2)),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.50,1,'跑赢:'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.55,0,'%'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.78,1,'距今:'),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.22,1,'目标:'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND DYMB>0,0.115,0.22,1,VAR2STR(DYMB,2)),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND DX1<0 ,0.115,0.4,1,VAR2STR(DX1,2)),COLOR00FF00;DRAWTEXT_FIX(ISLASTBAR,0.3,0.95,0,STRCAT(STRCAT(' ',' 刘小刀 '),'')),COLOR000099;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.6,0,'元'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.88,1,'总资产:'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR,0.118,0.83,0,'元'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND DX3>=0,0.115,0.5,1,VAR2STR(DX3,2)),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.45,1,'大盘:'),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR AND A>0 AND XX5<0 ,0.115,0.27,1,VAR2STR(XX5,0)),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.065,0.83,1,'本金:'),COLORFF00FF;
- 上一篇公式:通达信黄金三角主图指标公式
- 下一篇公式:通达信益阳龙共振主图选股预警源码 贴图 无未来