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) AND MA(C,5) MA(C,10) AND MA(C,20) MA(C,30),COLORRED;
DRAWTEXT(CROSS(RSI,7.1) AND MA(V,5) MA(V,10) AND MA(C,5) MA(C,10) AND MA(C,20) MA(C,30) AND C MA(C,120),L*0.79,'擒马'),COLORWHITE;