if 开仓条件 then buy(holding=0,10%,market),pertrader;
if (hhv(h,enterbars+1)*holding*multiplier-c*holding*multiplier)/(hhv(h,enterbars+1)*holding*multiplier)>=0.01 and holding>0 then sell(1,0,market);