锁定:=(PERIOD==4);数量:=23;DMADIF:=MA(C,10)-MA(C,50);DMAAMA:=MA(DMADIF,10); DMAX:=DMADIF>DMAAMA;P01:=DMAX;TR:=EXPMEMA(MAX(MAX(H-L,A(H-REF(C,1))),ABS(REF(C,1)-L)),14);DMIHD:=H-REF(H,1);DMILD:=REF(L,1)-L;DMIDMP:=EXPMEMA(IFF(DMIHD>0 AND DMIHD>DMILD,DMIHD,0),14);DMIDMM:=EXPMEMA(IFF(DMILD>0 AND DMILD>DMIHD,DMILD,0),14);DMIPDI:=DMIDMP*100/DMITR;DMI:=DMIDMM*100/DMITR;DMIX:=DMIPDI>DMIMDI;P02:=DMIX;DPO:=C-REF(MA(C,20),20/2+1);DPOMADPO:=MA(DPODPO,6);DPOX:=DPODPO>DPOMADPO;P03:=DPOX;EMVUME:=MA(V,14)/V;EMVMID:=1