【通达信】换手率价量时空(副图)-指标公式源码
买入原则股价突破压力位预测换手大于5 预测倍量大于2
在什么时间买自己决断
个人建议收盘前半小时可靠性更高
换手率指标
DRAWGBK(CLOSE>0,STRIP(rgb(0,128,128),rgb(0,64,0),0));
yc:=IF(DYNAINFO(7)=CLOSE AND
DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0); sj:=VOL;
换手:VOL/CAPITAL*100,LINETHICK0,PRECIS2;
预测:yc/sj*换手,LINETHICK0,PRECIS2;
预倍:预测/REF(换手,1),LINETHICK0,PRECIS1;
实倍:换手/REF(换手,1),LINETHICK0,PRECIS1;
线:=0;
STICKLINE(C>=REF(C,1),换手,线,7,0),color5454ff;
STICKLINE(C>=REF(C,1),换手,线,5,0),color5f5fff;
STICKLINE(C>=REF(C,1),换手,线,3,0),color7878ff;
STICKLINE(C>=REF(C,1),换手,线,2,0),color9A9Aff;
STICKLINE(C>=REF(C,1),换手,线,1,0),colorA8A8ff;
STICKLINE(CSTICKLINE(CSTICKLINE(CSTICKLINE(CSTICKLINE(CSTICKLINE(预测>换手,换手,预测,7,0),coloryellow;
L5:MA(换手,5),coloryellow,PRECIS2,LAYER0;
L13:MA(换手,13),colorf00ff0,PRECIS2,LAYER1;
L21:MA(换手,21),colorgreen,PRECIS2,LAYER2;
L55:MA(换手,55),colorwhite,PRECIS2,LAYER3;
换手5:SUM(换手,5),LINETHICK0,colorwhite,PRECIS0;
换手13:SUM(换手,13),LINETHICK0,colorwhite,PRECIS0;
换手21:SUM(换手,21),LINETHICK0,colorwhite,PRECIS0;
换手55:SUM(换手,55),LINETHICK0,colorwhite,PRECIS0; DRAWTEXTABS(10,0,' 5换手:'+NUMTOSTRN(换手5,0)),Color00EEFF; DRAWTEXTABS(10,10,'13换手:'+NUMTOSTRN(换手13,0)),Color00EEFF; DRAWTEXTABS(10,20,'21换手:'+NUMTOSTRN(换手21,0)),Color00EEFF; DRAWTEXTABS(10,30,'55换手:'+NUMTOSTRN(换手55,0)),Color00EEFF; MC5:count(换手>10,5),PRECIS0,LINETHICK0,coloryellow;
MC10:count(换手>10,10),PRECIS0,LINETHICK0,coloryellow; DRAWTEXTABS(250,0,'5天高换手次
数:'+NUMTOSTRN(MC5,0)),Color00EEFF,linethick2; DRAWTEXTABS(242,20,'10天高换手次
数:'+NUMTOSTRN(MC10,0)),Color00EEFF,linethick2;
强弱:10,colorwhite,linethick3,pointdot;
看着花骚自己剪裁一下
下面是价量时空这个是主图测试版等优化完在发指标源码
{价量时空}
ma1:CLOSE,LINETHICK0,PRECIS2;
MA5:MA(CLOSE,5),coloryellow,PRECIS2;
MA13:MA(CLOSE,13),colorf00ff0,PRECIS2;
MA34:MA(CLOSE,34),colorgreen,PRECIS2;
MA55:MA(CLOSE,55),colorwhite,PRECIS2;
MA89:MA(CLOSE,89),colorgreen,PRECIS2,linethick3,pointdot;
MA233:MA(CLOSE,233),colorwhite,PRECIS2,linethick3,pointdot; STICKLINE(C>=O,H,L,1,0),color5454ff;
STICKLINE(C>=O,C,O,8,0),color5454ff;
STICKLINE(C>=O,C,O,7,0),color5f5fff;
STICKLINE(C>=O,C,O,3,0),color7878ff;
STICKLINE(C>=O,C,O,2,0),color9A9Aff;
STICKLINE(C>=O,C,O,1,0),colorA8A8ff;
STICKLINE(CSTICKLINE(CSTICKLINE(CSTICKLINE(CSTICKLINE(C