//FilledRecordCount 改價用法是否正確?
var: intrabarpersist FRC1(0) ,intrabarpersist SBT1(0)
if position=0 and filled=0 and condition1 then begin
setposition(1);
if position=1 and filled=0 then begin
SBT1=Getfield("時間","Tick");
FRC1=FilledRecordCount;
end;
end;
if position <> 0 and filled=0 and( Getfield("時間","Tick")>=timeadd(SBT1,"S",5) or FRC1>FRC1+5)
then setposition(minList(position+1,1),addSpread(PT1,1),label:="買1-2B");//5秒後或成交經過5筆,如果買不到則調高追價
 
 
             
        
         
         
         
         
     
     分類
    分類
 
            
13 評論