請問一下
以下語法,是否有問題?
新手,敬請指教,謝謝
------ 編譯時產生錯誤: ------
syntax error, expecting 'bars'
line 0, column 0
--------------------------------------------------------------------
if time>=0945 and time <=1300 then begin
buy next bar at Highest(close,20)+1 stop;
sellshort next bar at Lowest(close,20)-1 stop;
end;
setstoploss(15*bigpointvalue);
if time>=1335 marketposition<>0 then begin
sell next bar at market;
buytocover next bar at market;