软件名称:[B]红灯进绿灯出[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2012-01-18 03:34:05
软件简介:
本公式自己改为主图更加好,附件是副图公式
{红灯进绿灯出}
EMA14:=EMA(C,14),COLORWHITE,LINETHICK1;
A1X:=(EMA14-REF(EMA14,1))/REF(EMA14,1)*100,NODRAW;
红灯进:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORFF00FF,
POINTDOT,LINETHICK8;
绿灯出:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLOR00FF00,
POINTDOT,LINETHICK8;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLORFF3300;
STICKLINE(CROSS(A1X,0) OR CROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*
0.998,2,0),COLORWHITE;
STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0),COLORWHITE;
EMA7:=EMA(C,7),LINETHICK1,COLORFF0000;
上升线:IF(C>=EMA(C,10),EMA(C,10),DRAWNULL),COLORRED,LINETHICK3;
下跌线:IF(C<EMA(C,10),EMA(C,10),DRAWNULL),COLORFFFF00;
生命线:=EMA(C,25),COLORYELLOW;
DRAWICON(CROSS(EMA(C,14),生命线),EMA(C,14)*0.95,5);
DRAWICON(CROSS(C,生命线) AND C>EMA(C,14),L*0.99,1);
DRAWICON(COUNT(C<EMA7,2)=2 AND EMA7>EMA(C,14) AND COUNT(C>EMA7,6)>=3,H*1.03,2);
DRAWICON(CROSS(EMA(C,14),C) AND EMA(C,14)>EMA(C,25),H*1.01,8);
DRAWICON(CROSS(生命线,EMA(C,14)),H*1.1,6);
EMA14:=EMA(C,14),COLORWHITE,LINETHICK1;
A1X:=(EMA14-REF(EMA14,1))/REF(EMA14,1)*100,NODRAW;
红灯进:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORFF00FF,
POINTDOT,LINETHICK8;
绿灯出:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLOR00FF00,
POINTDOT,LINETHICK8;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLORFF3300;
STICKLINE(CROSS(A1X,0) OR CROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*
0.998,2,0),COLORWHITE;
STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0),COLORWHITE;
EMA7:=EMA(C,7),LINETHICK1,COLORFF0000;
上升线:IF(C>=EMA(C,10),EMA(C,10),DRAWNULL),COLORRED,LINETHICK3;
下跌线:IF(C<EMA(C,10),EMA(C,10),DRAWNULL),COLORFFFF00;
生命线:=EMA(C,25),COLORYELLOW;
DRAWICON(CROSS(EMA(C,14),生命线),EMA(C,14)*0.95,5);
DRAWICON(CROSS(C,生命线) AND C>EMA(C,14),L*0.99,1);
DRAWICON(COUNT(C<EMA7,2)=2 AND EMA7>EMA(C,14) AND COUNT(C>EMA7,6)>=3,H*1.03,2);
DRAWICON(CROSS(EMA(C,14),C) AND EMA(C,14)>EMA(C,25),H*1.01,8);
DRAWICON(CROSS(生命线,EMA(C,14)),H*1.1,6);
[url=http://www.70822.com/soft/sort013/sort05/down-43301.html]红灯进绿灯出[/url]