指标说明:出现蓝柱大盘走好,此时个股也走好出现黄柱买入参考!如果只出现红柱则表明个股走好大盘处于弱势。此时注意仓位控制。另外,指标还带短线反弹提升。
源码
换手率:V/CAPITAL*100,colorgreen,LINETHICK2;
个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;
STICKLINE(个股>=大盘,个股,大盘,0,0),colorred;
STICKLINE(个股<大盘,个股,大盘,0,0),colorblue;
STICKLINE(个股>=大盘,0,大盘,0,-1),coloryellow;
STICKLINE(个股<大盘,0,个股,0,-1),coloryellow;
短线反弹:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLOR00FF00;
DRAWTEXT(CROSS(个股,9),40,’短线反弹!’),COLOR00FF00;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,21);
VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15;
VAR4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;
VAR5:=CROSS(VAR1,VAR2) AND VAR4 AND VAR3;
黑马:IF(VAR5,80,0),STICK,LINETHICK4,COLORF00FF0;
DRAWTEXT(VAR5,70,’黑马!’),COLORF00FF0;
评论(0)