ZAX:=(5*C+2*L+2*H+O)/10;
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,21);
DLX:=EMA((ZAX-VARA2)/(VARA3-VARA2)*4,4);
INE:=DLX>=REF(DLX,1);
N:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
AMOV:=vol*ZAX;
MN:=SUM(AMOV,N)/SUM(VOL,N);
MAA:MA(ZAX,8),LINETHICK2,COLORBLUE;
NO:IF(ZAX>=MN,MAA,DRAWNULL),LINETHICK2,COLORMAGENTA;
NB:IF(ZAX<=MN,MAA,DRAWNULL),LINETHICK2,COLORBLUE;
BOAL:EMA(EMA(MN,13),13),COLORRED,LINETHICK2;
AQ:=MIN(OPEN,REF(CLOSE,1));
AW:=MAX(OPEN,REF(CLOSE,1));
MTRQ:=MAX(MAX((HIGH-LOW),Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
DFQ:=((HIGH-AQ)+(CLOSE-MIN(LOW,REF(CLOSE,1))))/MTRQ;
KF:=((AW-L)+(MAX(HIGH,REF(CLOSE,1))-CLOSE))/MTRQ;
DK:=DFQ/KF;{WWW.GOODGUPIao.COM}
BOLS:=MA(DK,20);
UB:=BOLS+2*STD(DK,20);
LB:=BOLS-2*STD(DK,20);
BLQ:=MA(DK,12);
RW:=POW(DK-BLQ,2);
X:=SQRT(MA(RW,12));
UP:=0.5*(BLQ+2.5*X)+0.5*UB;
DP:=0.5*(BLQ-2.5*X)+0.5*LB;
DRAWICON(FILTER(crOSS(DK,UP) AND INE AND C>MAA,5),L*0.99,22);
EZT:=(HIGH>=ZTPRICE(REF(CLOSE,1),0.1));
EZTO:=EXIST(EZT,10);
MAA1:=MA(ZAX,10);
MAA2:=MA(ZAX,20);
JS:=REF(H,3)=HHV(H,10) AND ZAXMAA2 AND MAA1>MAA2 AND O
wr2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
bias1 :=(ZAX-MA(ZAX,6))/MA(ZAX,6)*100;
ZB:=BIAS1<-3 AND WR2>85 AND ZAX
XG1AS:=JS AND ZB AND EZTO;
DRAWTEXT(XG1AS,L*0.96,'阴买'),COLORRED;