买卖专用指标 (源码)
2013-01-09 10:10:00来源:本站整理浏览:213
N1:=3;N2:=6;
mtm:=c-ref(c,1);
ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite;
MAZL:MA(ZLGJ,N2),coloryellow;
买点:0,linethick3,colorred;
drawtext(CROSS(ZLGJ,MAZL) and ZLGJ<80,55,'买'),COLORred;
STICKLINE(CROSS(ZLGJ,MAZL) and ZLGJ<80 ,0,40,4,0),COLORred;
drawicon(CROSS(ZLGJ,MAZL) and ZLGJ<0,-2,1);
drawtext(CROSS(MAZL,ZLGJ),40,'卖'),color00FF00;
STICKLINE(CROSS(MAZL,ZLGJ),0,20,4,0),color00FF00;
- 上一篇公式:CDL的变版+DJ指标 (源码)
- 下一篇公式:启动在即指标 (源码)