软件名称:[B]趋势 (通用)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2013-05-13 02:35:42
软件简介:
{参数 D1=900101.00,1301231.00,1121204.00
Q1=0.00,2.00,0.00
D2=900101.00,1301231.00,1121214.00
Q2=0.00,2.00,0.00;}
BAR:CURRBARSCOUNT,NODRAW,COLOR666699;
DRAWNULL,NODRAW,COLOR000000;
X1:=CONST(BARSLAST(DATE<D1))-1;
Y1:=CONST(IF(Q1=0,REF(LOW,X1),IF(Q1=1, REF(HIGH,X1),REF(CLOSE,X1))));
X2:=CONST(BARSLAST(DATE<D2))-1;
Y2:=CONST(IF(Q2=0,REF(LOW,X2),IF(Q2=1, REF(HIGH,X2),REF(CLOSE,X2))));
DRAWKLINE(H,O,L,C);
Y1,NODRAW,COLORYELLOW;
Y2,NODRAW,COLORYELLOW;
0,NODRAW,COLOR000000;
DYIDX:=(Y2-Y1)/(X2-X1);
Y3:=Y2-(DYIDX*X2);
趋势线★今:IF(BAR<=X1+1,DYIDX*(BAR-1)+Y3,DRAWNULL),COLOR00FF00,DOTLINE;
★明:DYIDX*(BAR-2)+Y3,NODRAW,COLOR00FF00;
DRAWNULL,NODRAW,COLOR000000;
升速:-DYIDX,NODRAW,COLOR00FF00;
DRAWNUMBER(Q1=0 AND BAR=X1+1,H,Y1),COLORYELLOW;
DRAWNUMBER(Q2=0 AND BAR=X2+1,L,Y2),COLORYELLOW;
DRAWNUMBER(Q1>0 AND BAR=X1+1,H,Y1),COLORYELLOW;
DRAWNUMBER(Q2>0 AND BAR=X2+1,H,Y2),COLORYELLOW;
HH:=CONST(HHV(H,50))*1.05;
DRAWTEXT(BAR=18,HH,'升速='),COLOR00FF00;
DRAWNUMBER(BAR=13,HH,-DYIDX),COLOR00FF00;
[url=http://www.70822.com/soft/sort013/sort05/down-57643.html]趋势 (通用)[/url]