软件名称:[B]趋势转折.ALG[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2008-10-06 20:38:18
软件简介:
趋势转折.ALG
input: N(3,1,100);
{转折}
Z_1:=(EMA(C,N)-REF(EMA(C,N),1))/REF(EMA(C,N),1)*100;
Z_2:=IF(Z_1<0,REF(Z_1,BARSLAST(CROSS(0,Z_1))+1),0);
Z_3:=IF(Z_1>0,REF(Z_1,BARSLAST(CROSS(0,Z_1))+1),0);
Z_4:=if(CROSS(0,Z_1),H,L);
DRAWLINE(CROSS(Z_2,Z_3),h,CROSS(Z_3,Z_2),L,0),LINETHICK2,COLORWHITE;
DRAWLINE(CROSS(Z_3,Z_2),l,CROSS(Z_2,Z_3),h,0),LINETHICK2,COLORMAGENTA;
DRAWLINE(CROSS(0,Z_1)||CROSS(Z_1,0),Z_4,ISLASTBAR,Z_4,0),LINETHICK2,COLORGREEN;
//
[url=http://www.70822.com/soft/sort013/sort02/down-2440.html]趋势转折.ALG[/url]