DRAWGBK(OPEN>0,RGB(0,0,0),RGB(33,47,58),0,6,0);
获利30:=10*WINNER(CLOSE*0.9*0.9*0.9),COLORYELLOW;
STICKLINE(获利30>=2,0,-获利30/20,8,0),COLORRED;
换手:=V*100/CAPITAL;
主力:=MA(换手,4);
大户:=MA(换手,9);
中户:=MA(换手,17);
散户:=MA(换手,34);
均量:=(主力+大户+中户+散户)/4;
主力能量:=(主力-均量);
操盘:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),0+2.2,主力能量/5+2.2,3,3),COLORRED;
减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),0+2.2,主力能量/5+2.2,3,3),COLORYELLOW;
反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),0+2.2,主力能量/5+2.2,3,0),COLORGREEN;
寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),0+2.2,主力能量/5+2.2,3,3),COLORGREEN;
ACB1:=CLOSE/REF(CLOSE,1)>=1.098;
ACB22:=COUNT(ACB1,2)>=1 AND NOT(COUNT(ACB1,3)>=2);
妖股授精:FILTER(ACB22,13),COLORDDDDDD;
DRAWICON(妖股授精,1.01,5);
ACB23:=COUNT(ACB1,3)>=2 AND NOT(COUNT(ACB1,4)>=3);
妖股孕育:FILTER(ACB23,13),COLORGREEN;
ACB24:=COUNT(ACB1,4)>=3 AND NOT(COUNT(ACB1,5)>=4);
妖股初生:FILTER(ACB24,11),COLOR9933FF;
妖股长成:COUNT(ACB1,8)>=6.5,COLORRED;
STICKLINE(妖股授精 AND COUNT(妖股授精,18)=1,0,2,3,0),COLORDDDDDD;
STICKLINE(妖股孕育 AND COUNT(妖股孕育,18)=1,0,2,3,0),COLORGREEN;
STICKLINE(妖股初生 AND COUNT(妖股孕育,18)=1,0,1,3,0),COLOR9933FF;
STICKLINE(妖股长成 AND COUNT(妖股孕育,18)=1,0,1
,3,0),COLORRED;
ABC3:=MA(CLOSE,13);
ABC4:=100-ABS((CLOSE-ABC3)/ABC3*100);
筹码:=MA(WINNER(CLOSE*0.95)*100,1),COLORRED;
CBAD:=筹码>ABC4;
DRAWNUMBER(CBAD AND ABC4>REF(ABC4,1) AND REF(CBAD,1)>0,(ABC4+20-30)/80-1.2,ROUND(ABC4)) COLORCYAN;
DRAWNUMBER(CBAD,(ABC4+20-30)/80-1.2,ROUND(ABC4)) COLORCYAN;
STICKLINE(CBAD,(ABC4-30)/80-1.2,5/80-1.2,2,0),COLORMAGENTA;
STICKLINE(CBAD AND ABC4>REF(ABC4,1) AND REF(CBAD,1)>0,(ABC4-30)/80-1.2,5/80-1.2,2,0),COLORGREEN;
DRAWTEXT(CBAD AND ABC4>REF(ABC4,1) AND REF(CBAD,1)>0,(ABC4+30-30)/80-1.2,'风险'),COLORGREEN;
DRAWTEXT(CBAD AND ABC4>REF(ABC4,1) AND REF(CBAD,1)>0,(ABC4+60-30)/80-1.2,'注意'),COLORGREEN;
FFD:=EMA((C - REF(C,1)) / REF(C,3),10) * 100;
KJHU:=EMA(EMA(EMA(EMA(FFD,2),2),2),3);
A1:=SMA(MAX(C - REF(C,1),0),24,1) / SMA(ABS(C - REF(C,1)),24,1) * 100;
龙头启动:=(A1 > 65) * (A1 - 65) / 10 + 2,LINETHICK0;
控盘度:=CYW / 100,COLORSTICK,LINETHICK2,COLORRED;
STICKLINE(KJHU >= REF(KJHU,1) AND FFD>2,2.2,2.05,2,0),COLORRED;
STICKLINE(KJHU < REF(KJHU,1) AND KJHU > EMA(KJHU,4) AND FFD>2,2.2,2.05,2,0),COLOR00BBFF;
STICKLINE(KJHU < REF(KJHU,1) AND KJHU < EMA(KJHU,4) AND FFD>2,2.2,2.05,2,0),COLORGREEN;
DRAWTEXT(ISLASTBAR, 2.2,' 机构持仓'),COLORFF00FF;