請教下,這段要怎么翻譯if后面那一串看不懂
if?(ref(S1,1)?>?n1?and?holding?<=0?and?time?>?stime?and?time?<?etime)?thenbegin????sellshort(1,abs(holding),nextopen)?;?//平空倉buy(1,1,nextopen)?;//開多倉DRAWNUMBER(1,H+2,NEXTOPEN,0);end
?