锁定:=(PERIOD==4);方向:=IFF(CLOSE>=OPEN,,*(-1)); LHLNMID:=(3*CLOSE+OPEN+HIGH+LOW)/6;LHLN:=WMA(LHLNMID,5);LHLN:=WMA(LHLNMID,10);LHLN:=LHLN短线>LHLN中线;P01:=SUM(方向成交量,1)>0;P02:=SUM(方向成交量,2)>0;P03:=SUM(方向成交量,3)>0;P04:=SUM(方向成交量,4)>0;P05:=SUM(方向成交量,5)>0;SUM11:=SUM(方向成交量,11);SUM12:=SUM(方向成交量,12);SUM13:=SUM(方向成交量,13);SUM14:=SUM(方向成交量,14);SUM15:=SUM(方向成交量,15);SUM16:=SUM(方向成交量,16);SUM17:=SUM(方向成交量,17);SUM18:=SUM(方向成交量,18);SUM19:=SUM(方向成交量,19);SUM20:=SUM(方向成交量,20);P11:=SUM11>0 AND SUM11>REF(SUM11,1);P12:=SUM12>