想請問各位大大以下時間條件程式哪裡出了問題,最近程式想設定在不同時間用不同條件進場,
但是發現寫成指標後的value4,跟我想的不太一樣,不知道是哪裡出了問題了?
condition3=(time>=0845 and time<=1000) or (time>=2130 and time<=2330);
condition4=(time>=1005 and time<=2135) or (time>=2335 and time<=0500);
if condition3 then begin value4=1;end; if condition4 then begin value4=0; end;
**本問題源於網友先前所提出的疑問,由量化通統整編輯並分享,相關回覆請參考下方留言