网友求助:
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;谢谢老师!
解答如下:
大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,LINETHICK0;
AA:=个股量能增减>1;
成交:=VOL/TICKCOUNT;
平3:=MA(成交,3);
CC:=MA(成交,60);
控盘增减:平3/CC,COLORWHITE,LINETHICK0;
STICKLINE(控盘增减>1,0,控盘增减,8.10,0),COLORFF00FF;
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;