同花顺波段指导线公式
-
相关简介:同花顺波段指导线公式 自改的波段指导线,用了感觉挺好,分享分享。祝爱好用指标的朋友开心赚钱!! 买线:EMA(C,2),colorwhite,LINETHICK2; 卖线:EMA(SLOPE(C,21)*20+C,42),colorligreen,LINETHICK2; 指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),colormagenta,LINETHICK3; 界线:MA(CLOSE,27),COLO
-
文章来源:股海网作者:股海网发布时间:2015-02-06浏览次数:
同花顺波段指导线公式
自改的波段指导线,用了感觉挺好,分享分享。祝爱好用指标的朋友开心赚钱!!
买线:EMA(C,2),colorwhite,LINETHICK2;
卖线:EMA(SLOPE(C,21)*20+C,42),colorligreen,LINETHICK2;
指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),colormagenta,LINETHICK3;
界线:MA(CLOSE,27),COLOR00FFFF,LINETHICK3;
IF(买线>=卖线,界线,DRAWNULL),colorred,LINETHICK2;
IF(界线>=指导线,界线,DRAWNULL),colorgreen,LINETHICK3;
B买:IF(CROSS(指导线,界线) OR CROSS(买线,卖线),C,DRAWNULL),colormagenta,NODRAW;
持仓:IF(买线>=卖线,C,DRAWNULL),colorred,NODRAW;
S卖:IF(CROSS(界线,指导线) OR CROSS(卖线,买线),C,DRAWNULL),colorligray,NODRAW;
空仓:IF(买线<卖线,C,DRAWNULL),colorgreen,NODRAW;
DRAWTEXT(CROSS(买线,卖线),买线,'买'),LINETHICK2, coloryellow;
DRAWTEXT(CROSS(卖线,买线),卖线,'卖'),LINETHICK2,colormagenta;