大盘成交 个股成交 庄家异动源码
{大盘成交}
V3:=ma(INDEXV,3);
V60:=ma(INDEXV,60);
1,coloryellow;
大盘量能增减:(V3/v60),coloryellow,LINETHICK0;
STICKLINE(大盘量能增减>1,0,大盘量能增减,8.10,0),colorff00ff,layer7;
STICKLINE(大盘量能增减<1,0,大盘量能增减,8.10,0),colorgreen;
bb:=大盘量能增减<1;
放量天数:barslast(bb),colorff00ff,layer7,LINETHICK0;
{个股成交}
V3:=MA(VOL,3);
V60:=MA(VOL,60);
1,coloryellow;
量能增减:(v3/v60),coloryellow,LINETHICK0;
STICKLINE(量能增减>1,0,量能增减,8.10,0),colorff00ff,layer7;
STICKLINE(量能增减<1,0,量能增减,8.10,0),colorgreen;
aa:=量能增减<1;
放量天数:barslast(aa),colorff00ff,layer7,LINETHICK0;
(庄家异动2}
DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));
大V3:=ma(INDEXV,3);
大V60:=ma(INDEXV,60);
1,coloryellow;
大盘量能增减:(大V3/大V60),coloryellow,LINETHICK0;
dd:=大盘量能增减<1;
V3:=MA(VOL,3);
V60:=MA(VOL,60);
个股量能增减:(v3/v60),colorff00ff,layer7,LINETHICK0;
aa:=个股量能增减>1;
成交:=VOL/TICKCOUNT;
平3:=ma(成交,3);
cc:=ma(成交,60);
控盘增减:平3/cc,colorwhite,LINETHICK0;
STICKLINE(控盘增减>1,0,控盘增减,8.10,0),colorff00ff,layer7;
STICKLINE(控盘增减<1,0,控盘增减,8.10,0),colorgreen;
STICKLINE(控盘增减<1 and aa,0,控盘增减,8.10,0),coloryellow;
STICKLINE(控盘增减>1 and dd,0,控盘增减,8.10,0),COLOR0000CC;
bb:=控盘增减<1;
异动天数:barslast(bb),coloryellow,LINETHICK0;
1,colorgreen;