在线检测未来函数

把股价站上E40均线的,做出预警

来源:Internet,编辑:股旁网,2012-06-30

编写条件:

请老师把股价站上E40均线的,做出预警,麻烦了 M3:MA(C,3),COLORGREEN; E13:EMA(C,13),COLORWHITE; E40:EMA(C,40),LINETHICK2,COLOR33AAFF; M60:MA(C,60),LINETHICK2,COLOREE8888; F:=100*(C-REF(C,1))/REF(C,1); STICKLINE(C-5,C+(O-C)/3,C+(O-C)/3,2.5,0),COLORRED; STICKLINE(C-5,C+2*(O-C)/3,C+2*(O-C)/3,2.5,0),COLORRED; STICKLINE(C-7,C+(O-C)/2,C+(O-C)/2,2.5,0),COLORYELLOW; STICKLINE(C-10,C+2*(O-C)/3,C+(O-C)/3,2.5,1),COLORYELLOW; STICKLINE(CO AND F>3 AND F<5,O+(C-O)/3,O+(C-O)/3,2.5,0),COLORYELLOW; STICKLINE(C>O AND F>3 AND F<5,O+2*(C-O)/3,O+2*(C-O)/3,2.5,0),COLORYELLOW; STICKLINE(C>O AND F>=5 AND F<7,O+(C-O)/2,O+(C-O)/2,2.5,0),COLORYELLOW; STICKLINE(C>O AND F>=7 ,O+2*(C-O)/3,O+(C-O)/3,2.5,1),COLORYELLOW; A:=IF(C1.2; DD1:=L编写方法:

&nbsp;E40:=EMA(C,40);

cross(c,e40) and c>e40;

相关文章