软件名称:[B]∠45度线[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2009-08-03 18:26:57
软件简介:
{太冷老师---1X1线[接近1X1线]}
{框}
SYSPARAM(4),color00ffff;
SYSPARAM(5),color00ffff;
(SYSPARAM(5)+SYSPARAM(4))/2,LINETHICK;
VERTLINE(BARPOS=SYSPARAM(1)),colorff9900;
VERTLINE(BARPOS=SYSPARAM(3)),colorff9900;
{K线统计显示}
sok:(SYSPARAM(3)-SYSPARAM(2)+1),linethick0;
k:=if(sok=7,(544/565),if(sok=8,(642/565),if(sok=9,(734/565),if(sok=10,(825/565),if(sok=12,(685/565),
if(sok=19,(771/565),if(sok=29,(829/565),if(sok=30,(834/565),if(sok=46,(879/568),if(sok=67,(907/568),
if(sok=70,(911/568),if(sok=106,(931/568),if(sok=160,(946/568),if(sok=241,(956/568),
if(sok=363,(963/568),(1)))))))))))))))),linethick0;//(1)可以替换成使用者习惯的比例,比如(947/568)
pm:=(SYSPARAM(4)-SYSPARAM(5))/(SYSPARAM(3)-SYSPARAM(2));
{画线}
DRAWSL(BARPOS=SYSPARAM(1),SYSPARAM(5),2*pm*k,0,0),LINETHICK2,COLORCYAN;
//===========================================================================
{45度画线 -- 王照华}
X_L1:=(SYSPARAM(4)-SYSPARAM(5))/(SYSPARAM(3)-SYSPARAM(2));
DRAWSL(BARPOS=SYSPARAM(1),L,X_L1*2,0,0),LINETHICK2,Color00FFFF;//45度斜线
STICKLINE(BARPOS=SYSPARAM(1),L,SYSPARAM(4),0,0),LINETHICK2,COLORGREEN;//竖线
DRAWSL(BARPOS=SYSPARAM(1),L,0,0,3),LINETHICK2,COLORGREEN;//横线
[url=http://www.70822.com/soft/sort013/sort02/down-11389.html]∠45度线[/url]