引用: 最初由 a9681054 發表
報告版主:
新的需求如下:
1)日盤原設1:30強出後,迴圈到收盤就不再運作
2)若想再操作夜盤與日盤區分開跑迴圈,其進出動作條件同日盤
3)夜盤強出設隔日上午4:30
4)盈虧統計,日/夜盤各分別統計(不共用),夜盤盈虧統計到隔日上午4:30止
以上新需求,再次麻煩版主幫忙....謝謝
將
強出:TIME>=133000 colorgreen;
DEST:=tradedate<>ref(tradedate,1) or barpos=1; //按交易日
改
強出:=(TIME>=133000 and TIME<=134500) or (TIME>=043000 and TIME<=050000) colorgreen;
DEST:=tradedate<>ref(tradedate,1) or IsRegularFbar or barpos=1;
|