好运加倍10:=(LLV(好运加倍9,5)+LLV(好运加倍9,15)+LLV(好运加倍9,30))/3;
好运加倍11:=好运加倍4/EMA(好运加倍4,120);
大盘中线:=EMA(EMA(CLOSE,120)*好运加倍11,2),COLORRED;
好运加倍12:=好运加倍6>=牛线 AND 好运加倍6>=大盘中线;
牛股强势起爆紫:好运加倍12=1,NODRAW,COLORMAGENTA;
STICKLINE(牛股强势起爆紫,4,7,3.5,0),COLORMAGENTA ;
DRAWTEXT(牛股强势起爆紫,6.7,'紫'),COLORYELLOW;
TT:=(2*CLOSE+OPEN+HIGH+LOW)*100;
FF:=TT/EMA(TT,4)-1;
动能2红:FF>REF(FF,1) AND FF>0,NODRAW,COLORRED ;
STICKLINE(动能2红,4,6,4,0),COLORRED ;
DRAWTEXT(动能2红,5.7,'红'),COLORYELLOW;
动能2黄:FF<REF(FF,1) AND FF>0 ,NODRAW,COLORYELLOW ;
STICKLINE(动能2黄,4,6,2,0),COLORYELLOW ;
DRAWTEXT(动能2黄,5.7,'黄'),COLORRED;
擒牛捉妖1A:=EMA(EMA(C,8),39),NODRAW;
控盘度:=((擒牛捉妖1A-REF(擒牛捉妖1A,1))/REF(擒牛捉妖1A,1)*1000)+50,NODRAW;
低控盘:IF(控盘度>50 AND 控盘度<58,控盘度,0),NODRAW,COLORYELLOW;
STICKLINE(控盘度>50 ,4,5,5,0),COLORYELLOW;
DRAWTEXT(控盘度>50,4.7,'黄'),COLORRED;ACB1:=CLOSE/REF(CLOSE,1)>=1.098 AND C=H;
ACB22:=COUNT(ACB1,2)>=1 AND NOT(COUNT(ACB1,3)>=2);
妖启:=FILTER(ACB22,13),COLORDDDDDD;
ACB23:=COUNT(ACB1,3)>=2 AND NOT(COUNT(ACB1,4)>=3);