| 本帖最後由 minime 於 11-8-23 12:06 PM 編輯 
 以上若是再加上計數器| 
 記錄條件成立時的資訊
 
 if Condition1 then begin
 triggerBar = BarNumber;
 triggerPrice =  your price  // ex: (h + l) / 2;
 end;
 
 if CurrentBar - triggerBar <= 3 then  //三根K棒內
 buy xxxxx triggerPrice xxxx;
 
 
 | 
 也有過濾均線短時間內反覆交插的效果boxcox 發表於 11-8-23 11:31 AM
 
 哇!  想了好久都想不出來, 大大一點就通, 真的叩謝大大.
  |