筹码重心:=(HHV(100*WINNER(C),17)+LLV(100*WINNER(C),17))/2;
TTR:=SMA(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),7,1);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),7,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),7,1);
正DI:=DMP*100/TTR;
负DI:=DMM*100/TTR;
ZZD:=SMA(ABS(负DI-正DI)/(负DI+正DI)*100,7,1);
T1:=crOSS(筹码重心,25) AND REF(EVERY(筹码重心<25,3),1);
T2:=CROSS(ZZD,25) AND REF(EVERY(ZZD<25,3),1);
XG:T1 AND T2;