设为首页收藏本站

步步汇盈服务平台

 找回密码
 手机注册
搜索
查看: 1289|回复: 0
打印 上一主题 下一主题

UZ百分比线

[复制链接]
跳转到指定楼层
楼主
发表于 2017-11-21 10:50:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

M:=(SYSPARAM(4)-SYSPARAM(5))/(SYSPARAM(3)-SYSPARAM(2));

QD:=SYSPARAM(2);
CCC:=IF(BARPOS=SYSPARAM(1),CLOSE,0);
KXS:=QD+2=BARSCOUNT(CLOSE);
DDD:=SYSPARAM(5);
HD:=SYSPARAM(4);
VAR1:=HD-DDD;
HH:HD,LINETHICK2,colorFF;
B2:HH-VAR1*0.25,POINTDOT,LINETHICK2,color8000;
B4:HH-VAR1*0.375,POINTDOT,LINETHICK2,color8000;
B5:HH-VAR1*0.5,POINTDOT,LINETHICK2,colorFF;
B6:HH-VAR1*0.625,POINTDOT,LINETHICK2,color8000;
B8:HH-VAR1*0.75,POINTDOT,LINETHICK2,color8000;
LLDD,LINETHICK2,colorFF;
DRAWNUMBER(ISLASTBAR,B2,B2,2),SHIFT1,color8000;
DRAWNUMBER(ISLASTBAR,B4,B4,2),SHIFT1,color8000;
DRAWNUMBER(ISLASTBAR,B5,B5,2),SHIFT1,colorFF;
DRAWNUMBER(ISLASTBAR,B6,B6,2),SHIFT1,color8000;
DRAWNUMBER(ISLASTBAR,B8,B8,2),SHIFT1,color8000;
DRAWTEXT(KXS,B2,'+75.0 -25.0'),color8000;
DRAWTEXT(KXS,B4,'+62.5 -37.5'),color8000;
DRAWTEXT(KXS,B5,'+ -50.0   %'),colorFF;
DRAWTEXT(KXS,B6,'+37.5 -62.5'),color8000;
DRAWTEXT(KXS,B8,'+25.0 -75.0'),color8000;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),HD,-80*M/50,0,0),LINETHICK1,colorFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,26*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,47*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,80*M/50,0,0),LINETHICK1,colorFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,135*M/50,0,0),LINETHICK1,colorFFFF;
DRAWSL(DD=1 AND BARPOS=SYSPARAM(1),LOW,240*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-240*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-135*M/50,0,0),LINETHICK1,colorFF0000;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-80*M/50,0,0),LINETHICK1,colorFF0000;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-47*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),HIGH,-26*M/50,0,0),POINTDOT,colorFFFFFF;
DRAWSL(DD=2 AND BARPOS=SYSPARAM(1),DDD,80*M/50,0,0),LINETHICK1,colorFF0000;
A:=SYSPARAM(1);
VERTLINE(BARPOS=A),POINTDOT,SHIFT13,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT21,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT34,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT55,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT89,color8000;
VERTLINE(BARPOS=A),POINTDOT,SHIFT144,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'天数'),ALIGN2,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'13'),SHIFT13,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'21'),SHIFT21,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'34'),SHIFT34,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'55'),SHIFT55,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'89'),SHIFT89,color8000;
DRAWTEXT(BARPOS=A,SYSPARAM(5),'144'),SHIFT144,color8000;

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 手机注册

本版积分规则

QQ|小黑屋|手机版|Archiver|步步汇盈 ( 冀ICP备13000772   

GMT+8, 2024-11-24 06:26 , Processed in 0.141866 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc. 技术支持 by 巅峰设计.

快速回复 返回顶部 返回列表