以下是通达信千钧控盘:在马泰效应老师的发的指标上美化(无源码的请下载附件导入)
VAR12:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10);
VAR22:=DMA(VAR12,INDEXV/SUM(INDEXV,22));
VAR23:=DMA(VAR12,VOL/CAPITAL);
DRAWBAND(VAR12,RGB(255,0,0),0,RGB(0,0,255));
控盘系数:IF(C>1000,VAR22,VAR23),CROSSDOT,COLORYELLOW;
选股:控盘系数>=-5 AND 控盘系数<0,COLORFFBC00;
{STICKLINE(VAR12>0,0,VAR12,6,0),COLORFF00FF;
STICKLINE(VAR12<0,0,VAR12,6,0),COLORFFFF00;}
NOTEXT顶:50,COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=2,48,'顶');
NOTEXT风险:33,COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=2,32,'风险');
NOTEXT控盘:20,COLORRED,LINETHICK3;
DRAWTEXT(CURRBARSCOUNT=2,18,'控盘');
NOTEXT吸筹:10,COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=2,8,'吸筹');
NOTEXT无庄:-5,COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=2,-7,'无庄');
NOTEXT底:-15,COLOR979390;
DRAWTEXT(CURRBARSCOUNT=2,-17,'底部');
{PARTLINE(控盘系数,VAR12>0,RGB(255,255,0),VAR12<0,RGB(0,255,255),1,RGB(0,0,255)),LINETHICK2;};
1248288641.jpg
1248488253.jpg
|