各位先進好
第一次碰MC,下列語法是台指期結算適用!!那若改成A50月底倒數第二天出場要怎改呢!!
if marketposition<>0 and dayofweek(date)=3 and dayofmonth(date)>14 and dayofmonth(date)<22 and time>1300 then begin
sell this bar on close;
buytocover this bar on close;
end;
沒辦法,只能用查表法,因為它有可能向前,也可能向後,這是新加坡期貨最討厭的地方
一般假日向前,特殊假日向後(颱風地震等不定期因素時)