LC:=REF((O+H+L+2*C)/5,1);
rsi:=SMA(MAX(C-LC,0),7,1)/SMA(Abs(C-LC),7,1)*10;
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,23))/(0.015*AVEDEV(TYP,23));
买:=crOSS(RSI,7.1) AND MA(V,5)>MA(V,10),COLORRED;
DRAWTEXT(CROSS(RSI,7.1) AND MA(V,5)>MA(V,10),L,'◆◆短线擒黑马◆◆'),COLORWHITE;
卖:=CROSS(7.1,RSI) AND MA(V,10)>MA(V,5),COLORGREEN;
DRAWTEXT(CROSS(7.1,RSI) AND MA(V,10)>MA(V,5),H*1.04,'■■■逃跑■■■'),COLORGREEN;
DRAWICON(卖,(H*1.03),28);