//平多空单
IF holding>0 THEN BEGIN
IF enterbars>1 and L<=(Mdstop -2*MINDIFF) THEN
SELL(1,ss,limitr,MIN(OPEN,Mdstop-MINDIFF));
END
IF holding<0 THEN BEGIN
IF enterbars>1 and H>=(Mdstop +2*MINDIFF) THEN
SELLSHORT(1,ss,limitr,MAX(OPEN,Mdstop+MINDIFF));
END
哪里有问题