先知:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF;
洗盘:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLOR008000;
叫跌:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000;
惯势:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF;
50,COLORRED;
80,COLORYELLOW;
预升:crOSS(先知,50) AND REF(先知,1)<50;
确升:CROSS(洗盘,50) AND REF(洗盘,1)<50;
继升:CROSS(叫跌,50) AND REF(叫跌,1)<50;
惯升:CROSS(惯势,50) AND REF(惯势,1)<50;
空1:=MA(C,5)<REF(MA(C,5),1);
EXIST(预升,3);
DRAWICON(EXIST(预升,3) AND EXIST(确升,3) AND EXIST(继升,3) AND EXIST(惯升,3),50,13);
DRAWICON(先知=100 AND 洗盘=100 AND 叫跌=100 AND 惯势=100,88,25);
DRAWTEXT(CROSS(惯势,80) AND REF(惯势,1)<80 AND 先知>80 AND 洗盘>80 AND 叫跌>80,68,'稳');
DRAWTEXT(CROSS(惯势,80) AND REF(惯势,1)<80 AND 先知>80 AND 洗盘>80 AND 叫跌>80,58,'升');
DRAWTEXT(CROSS(80,惯势) AND REF(惯势,1)>80 AND 先知<80 AND 洗盘<80 AND 叫跌<80 AND 空1,88,'看');
DRAWTEXT(CROSS(80,惯势) AND REF(惯势,1)>80 AND 先知<80 AND 洗盘<80 AND 叫跌<80 AND 空1,58,'跌');
DRAWTEXT(CROSS(50,惯势) AND REF(惯势,1)>50 AND 先知<50 AND 洗盘<50 AND 叫跌<50,68,'必');
DRAWTEXT(CROSS(50,惯势) AND REF(惯势,1)>50 AND 先知<50 AND 洗盘<50 AND 叫跌<50,58,'跌');
空:=MA(C,10)<REF(MA(C,10),1);
DRAWTEXT(惯势<50 AND REF(惯势,1)>50 AND 先知<50 AND REF(先知,1)>50
AND 洗盘<50 AND REF(洗盘,1)>50 AND 叫跌<50 AND REF(叫跌,1)>50 AND 空,58,'跌');
DRAWTEXT(惯势<50 AND REF(惯势,1)>50 AND 先知<50 AND REF(先知,1)>50
AND 洗盘<50 AND REF(洗盘,1)>50 AND 叫跌<50 AND REF(叫跌,1)>50 AND 空,78,'大');