九毛八公式指标
公式模块:
因个人水平实在是不行,发现这个好指标时,想将“主力异动”指标改成选股公式,谢谢!
zz:=(hhv(h,3)+llv(l,3))/2;a:=if(c>zz,vol,0);b:=if(c<zz,VOL,0);总0:=(a-b);
bbd:EMA(总0,3)/sum(vol,5)*100,LINETHICK;
STICKLINE(BBD>=0,0,BBD,8,0),COLOR000088;
STICKLINE(BBD>=0,0,BBD,5,0),COLOR0000AA;
STICKLINE(BBD>=0,0,BBD,3,0),COLOR0000CC;
STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000FF;
STICKLINE(BBD<0,0,BBD,8,0),COLOR888800;
STICKLINE(BBD<0,0,BBD,5,0),COLORAAAA00;
STICKLINE(BBD<0,0,BBD,3,0),COLORCCCC00;
STICKLINE(BBD<0,0,BBD,1,0),COLORFFFF00;
XH1:=ref(bbd,1)<ref(bbd,2) and ref(bbd,1)<-10 and bbd>ref(bbd,1) and bbd>0;
XH2:=ref(bbd,1)>=ref(bbd,2) and ref(bbd,1)>8 and bbd<ref(bbd,1) and bbd<0;
DRAWICON(XH1,-25,4);DRAWICON(XH2,25,5);
DRAWTEXTEX(CLOSE,1,10,0,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFBB00;
//
zz:=(hhv(h,3)+llv(l,3))/2;
a:=if(c>zz,vol,0);
b:=if(c<zz,vol,0);
总0:=(a-b);
BBD:=EMA(总0,3)/sum(vol,5)*100;
XH1:ref(bbd,1)<ref(bbd,2) and ref(bbd,1)<-10 and bbd>ref(bbd,1) and bbd>0;
==========================================
zz:=(hhv(h,3)+llv(l,3))/2;
a:=if(c>zz,vol,0);
b:=if(c<zz,vol,0);
总0:=(a-b);
BBD:=EMA(总0,3)/sum(vol,5)*100;
XH2:ref(bbd,1)>=ref(bbd,2) and ref(bbd,1)>8 and bbd<ref(bbd,1) and bbd<0;