牛股出现预警:WINNER(C/1.20)*100,COLOR00FFFF,NODRAW;
主力赢利25持仓:WINNER(C/1.25)*100,COLORFF00FF,NODRAW;
主力赢利35锁仓:WINNER(C/1.35)*100,NODRAW,COLOR0089FF;
庄巨量控盘锁仓:WINNER(C/1.40)*100,NODRAW,COLORFF0080;
疯牛初现预警线:=55;
巨量持仓预警线:=65;
Y:=(H+O+L+3*C)/6;
净资金流向:=EMA(100-(100/(1+SUM(IF(Y>REF(Y,1),Y*vol,0),14)/SUM(IF(Y
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
黑马线:=SMA(VAR3,2,1);
换手率:=VOL/CAPITAL*100;
强弱分界:=50;
强势线:=65;
疯牛线:=75;
CJ:=(H+L+2*O+3*C)/7;
DN:=INTPART(276/POW(PERIOD-1.7,3.1)-1.1);
DS:=INTPART(1.8*DN);
DB:=INTPART(0.5*DN);
DC:=INTPART(0.67*DN);
roc:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
ROCMA:=MA(ROC,6);
ROCEMA:=EMA(ROC,9);
STICKLINE(crOSS(牛股出现预警,疯牛初现预警线),0,120,2,0),COLORFFFF00,LINETHICK2;
DRAWTEXT(CROSS(牛股出现预警,疯牛初现预警线),150,'疯牛信号'),COLORFFFF00;
STICKLINE(CROSS(主力赢利35锁仓,疯牛初现预警线) AND (净资金流向>55),0,150,2,0),COLORFF937F,LINETHICK2;
DRAWTEXT(CROSS(主力赢利35锁仓,疯牛初现预警线) AND (净资金流向>55),185,'提示疯牛开始狂奔'),COLORFF00FF;
STICKLINE(CROSS(主力赢利35锁仓,巨量持仓预警线) AND (换手率<4) AND (黑马线>90) AND (主力赢利35锁仓>50) AND (净资金流向>60),0,260,2,0),COLOR00FF0F,LINETHICK2;
DRAWTEXT(CROSS(主力赢利35锁仓,巨量持仓预警线) AND (换手率<4) AND (黑马线>90) AND (主力赢利35锁仓>50) AND (净资金流向>60),240,'提示主力锁仓拉升'),COLOR00FF0F;
STICKLINE(主力赢利25持仓>20,牛股出现预警,0,2,0),COLOR00FFFF,LINETHICK2;
STICKLINE((黑马线>60) AND (主力赢利25持仓>30) AND (净资金流向>50),主力赢利25持仓,2,2,0),COLORFF00FF,LINETHICK2;
STICKLINE((换手率<6) AND (黑马线>70) AND (主力赢利35锁仓>30) AND (净资金流向>60),主力赢利35锁仓,0,2,0),LINETHICK2,COLOR0089FF;
STICKLINE((换手率<4) AND (黑马线>90) AND (主力赢利35锁仓>50) AND (净资金流向>60),庄巨量控盘锁仓,0,2,0),LINETHICK2,COLORFF0080;
强势区: IF((黑马线>60) AND (牛股出现预警>30) AND (净资金流向>50),110,0),LINETHICK2,COLORWHITE;