软件名称:[B]通达信压力支撑主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2011-03-04 05:47:18
软件简介:
{INPUT: N(20,1,100);}
MA(C,N);
Z_X1:=REF(EMA(C,N),1);
Z_X2:=(EMA(C,N)-Z_X1)/Z_X1*100;
Z_X3:=REF(EMA(C,N),BARSLAST(CROSS(Z_X2,0))+1);
Z_X4:=REF(EMA(C,N),BARSLAST(CROSS(0,Z_X2))+1);
IF(Z_X2>=0 AND Z_X3=REF(Z_X3,1),Z_X3,DRAWNULL),LINETHICK2,COLORRED;{//红--直线
}DRAWLINE(CROSS(Z_X2,0),Z_X1,CROSS(0,Z_X2),Z_X1,0),LINETHICK2,COLORRED;{//红--斜线
}IF(Z_X2<0 AND Z_X4=REF(Z_X4,1),Z_X4,DRAWNULL),LINETHICK2,COLORGREEN;{//绿--直线
}DRAWLINE(CROSS(0,Z_X2),Z_X1,CROSS(Z_X2,0),Z_X1,0),LINETHICK2,COLORGREEN;{//绿--斜线
}DRAWLINE(CROSS(0,Z_X2) OR CROSS(Z_X2,0),Z_X1,ISLASTBAR,Z_X1,0),LINETHICK2,COLORYELLOW;{ //黄--最后斜线}
[url=http://www.70822.com/soft/sort013/sort05/down-31207.html]通达信压力支撑主图[/url]