个股短线指标 (源码)
2011-10-14 09:16:00来源:本站整理浏览:106
vo:=weekday=1;
vd1:=barslast(vo);
vd2:=ref(vd1,vd1+1);
cc:=ref(c,vd1+1);
oo:=ref(o,vd2+1);
hh:=hhv(ref(h,1),vd2);
ll:=llv(ref(l,1),vd2);
stickline(vo and cc>oo,cc,oo,4,0),colorred;
stickline(vo and cc>oo,hh,ll,1,0),colorred;
stickline(vo and cc<=oo,cc,oo,4,0),colorffff00;
stickline(vo and cc<=oo,hh,ll,1,0),colorffff00;
V1:=c;
V2:=MA(V1,5);
V3:=MA(V1,10);
IF(V2>V3,V2,V3),COLORRED,linethick2;
IF(V2<V3,V2,V3),COLOR00FF00,linethick2;
V4:V3,colorgray,linethick2;
现价:MA(V1,1),COLORBBBBBB;
- 上一篇公式:低吸高抛指标 (源码)
- 下一篇公式:击中要害指标 (源码)