在线检测未来函数

凯恩斯工作线优化版(通达信)

来源:Internet,编辑:股旁网,2010-05-24

止盈线:EMA(C,7),LINETHICK1,COLORWHITE; 工作线:EMA(C,14),LINETHICK1,COLORYELLOW; 生命线:EMA(C,25),COLORRED,LINETHICK1; DRAWICON(CROSS(工作线,生命线),工作线*0.95,5); DRAWICON(CROSS(C,生命线) AND C>EMA(C,14),L*0.96,1); DRAWICON(CROSS(止盈线,C) AND REF(C,1)>EMA(C,7) AND REF(C,2)>EMA(C,7) AND REF(C,3)>EMA(C,7) AND REF(C,4)>EMA(C,7),H*1.08,2); DRAWTEXT(CROSS(REF(C,3),生命线) AND REF(C,1)>EMA(C,25) AND REF(C,2)>EMA(C,25) AND C>EMA(C,25) AND REF(C,4)<EMA(C,25) AND REF(C,5)<EMA(C,25),L*0.96,'$'),COLORYELLOW; DRAWTEXT(CROSS(工作线,C) AND REF(C,1)>EMA(C,25) AND REF(C,1)>EMA(C,14) AND REF(C,2)>EMA(C,14) AND REF(C,3)>EMA(C,14) AND REF(C,4)>EMA(C,14),H*1.05,'止损'),COLORYELLOW; DRAWTEXT(CROSS(生命线,C) AND REF(C,1)>EMA(C,25) AND REF(C,2)>EMA(C,25) AND REF(C,3)>EMA(C,25),H*1.03,'逃命'),COLORGREEN; DRAWICON(CROSS(生命线,工作线),HIGH*1.04,4);

 

相关文章