设定值:=9;
主力:=(REF(CLOSE,设定值+1)<CLOSE);
CAT6:=REF(C,1);CAT7:=SMA(MAX(C-CAT6,0),6,1)/SMA(ABS(C-CAT6),6,1)*100;
CAT1:=EMA(EMA(CLOSE,13),13);
控盘:= (CAT1-REF(CAT1,1))/REF(CAT1,1)*1000,COLORFFCCCC,POINTDOT;
STICKLINE(控盘<0,控盘,0,2,0),COLORWHITE;
无庄控盘:=控盘<0,COLORWHITE;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,2,1),COLORRED;
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0,COLORRED;
CAT2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLOR00FF00;
主力出货:=控盘<REF(控盘,1) AND 控盘>0,COLOR00FF00;
STICKLINE(CAT2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,2,0),COLORFF00FF;
高度控盘:=CAT2>50 AND COST(85)<CLOSE AND 控盘>0,COLORFF00FF;
A10:=CROSS(控盘,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;做多:=MACD>0;
出手必赢:IF(A10,6,0)AND 做多 ,LINETHICK0,COLORYELLOW;
STICKLINE(出手必赢,18,0,2,0),COLORMAGENTA;
DRAWICON(出手必赢,18,9);
DRAWTEXT(出手必赢,10,' ★出手必赢')COLORYELLOW;
DRAWTEXT_FIX(C>O,0.01,0.1,0,' '),COLOR0000FF;
控盘天数:BARSLASTCOUNT(有庄控盘 OR 高度控盘 ),LINETHICK0,COLORWHITE;
出货天数:BARSLASTCOUNT(主力出货),LINETHICK0,COLORGREEN;
筹码1:=(2*CLOSE+HIGH+LOW)/4;
筹码2:=EMA(筹码1,4);
筹码3:=EMA(筹码2,4);
筹码4:=EMA(筹码3,4);
X:=(筹码4-REF(筹码4,1))/REF(筹码4,1)*2000;
筹码5:=IF(X<REF(X,1),X,DRAWNULL),COLORWHITE,LINETHICK2;
筹码6:=MA(X,2),COLOR9932CD;
筹码7:=REF(X,1);
筹码8:=EMA(HHV(HIGH,1),8);
筹码91:=EMA(CLOSE,8);
筹码10:=((筹码91 < REF(筹码91,1)) AND (CLOSE < 筹码91));
筹码11:=IF(((筹码8 < REF(筹码8,1)) OR 筹码10),1,0);
大胆杀入:((((COUNT((筹码11 = 1),4) = 3) AND (筹码11 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 66) COLORMAGENTA LINETHICK0;
STICKLINE(大胆杀入,18,0,2,0),COLORYELLOW;
DRAWICON((大胆杀入 >= 66),18,1);
DRAWTEXT((大胆杀入 >= 66),18,'*大胆杀入');