通达信短线多空单双线副图指标(TNE下载 源码 附图 多空)
2017-05-18 09:05:00来源:本站整理浏览:326
点击下载通达信短线多空单双线副图指标(TNE下载 源码 附图 多空)
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
短多:IF(A1>=B1,A1,B1),LINETHICK2,COLORRED;
短空:IF(B1-A1,B1,A1),LINETHICK2,COLORGREEN;
ENTERLONG:(PEAK(1,5,5)>PEAK(1,5,6) AND PEAK(1,5,5)>PEAK(1,5,4) AND
PEAK(1,5,4)>PEAK(1,5,3) AND PEAK(1,5,3)>PEAK(1,5,2) AND
PEAK(1,5,2)>PEAK(1,5,1)) AND CROSS(REF(TROUGH(2,5,1),1),L*0.97);