LC:=REF(CLOSE,1);
rsi56:=SMA(MAX(CLOSE-LC,0),56,1)/SMA(Abs(CLOSE-LC),56,1)*100;
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),14);
pdi:=DMP*100/MTR;
mdi:=DMM*100/MTR;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6),;
量比:=vol/REF(VOL,1);
关注:量比>3 AND C/REF(C,1)>1.05 AND RSI56>54 AND ADX<30;