主力赢利区副图指标
牛股出现预警:WINNER(CLOSE/1.2)*100,NODRAW,COLORYELLOW;
主力赢利25持仓:WINNER(CLOSE/1.25)*100,NODRAW,COLORMAGENTA;
主力赢利35锁仓:WINNER(CLOSE/1.35)*100,NODRAW,COLOR0089FF;
庄巨量控盘锁仓:WINNER(CLOSE/1.4)*100,NODRAW,COLORFF0080;
VAR1:=55;
VAR2:=65;
VAR3:=(HIGH+OPEN+LOW+3*CLOSE)/6;
VAR4:=EMA(100-100/(1+SUM(IF(VAR3>REF(VAR3,1),VAR3*VOL,0),14)/SUM(IF(VAR3<REF(VAR3,1),VAR3*VOL,0),14)),5);
VAR5:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR6:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR7:=SMA(VAR6,2,1);
VAR8:=SMA(VAR7,2,1);
VAR9:=VOL/CAPITAL*100;
VAR10:=50;
VAR11:=65;
VAR12:=75;
VAR13:=(HIGH+LOW+2*OPEN+3*CLOSE)/7;
VAR14:=INTPART(276/POW(PERIOD-1.7,3.1)-1.1);
VAR15:=INTPART(1.8*VAR14);
VAR16:=INTPART(0.5*VAR14);
VAR17:=INTPART(0.67*VAR14);
VAR18:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
VAR19:=MA(VAR18,6);
VAR20:=EMA(VAR18,9);
STICKLINE(CROSS(牛股出现预警,VAR1),0,120,2,0),COLORCYAN,LINETHICK2;
DRAWTEXT(CROSS(牛股出现预警,VAR1),150,1),COLORCYAN;
STICKLINE(CROSS(主力赢利35锁仓,VAR1) AND VAR4>55,0,150,2,0),COLORFF937F,LINETHICK2;
DRAWTEXT(CROSS(主力赢利35锁仓,VAR1) AND VAR4>55,185,2),COLORMAGENTA;
STICKLINE(CROSS(主力赢利35锁仓,VAR2) AND VAR9<4 AND VAR8>90 AND 主力赢利35锁仓>50 AND VAR4>60,0,260,2,0),COLOR00FF0F,LINETHICK2;
DRAWTEXT(CROSS(主力赢利35锁仓,VAR2) AND VAR9<4 AND VAR8>90 AND 主力赢利35锁仓>50 AND VAR4>60,240,3),COLOR00FF0F;
STICKLINE(主力赢利25持仓>20,牛股出现预警,0,2,0),COLORYELLOW,LINETHICK2;
STICKLINE(VAR8>60 AND 主力赢利25持仓>30 AND VAR4>50,主力赢利25持仓,2,2,0),COLORMAGENTA,LINETHICK2;
STICKLINE(VAR9<6 AND VAR8>70 AND 主力赢利35锁仓>30 AND VAR4>60,主力赢利35锁仓,0,2,0),COLOR0089FF,LINETHICK2;
STICKLINE(VAR9<4 AND VAR8>90 AND 主力赢利35锁仓>50 AND VAR4>60,庄巨量控盘锁仓,0,2,0),COLORFF0080,LINETHICK2;
强势区:IF(VAR8>60 AND 牛股出现预警>30 AND VAR4>50,110,0),COLORWHITE,LINETHICK2;