小編 你好,想請教您  我想寫一個xs盤中警示,
var: intrabarpersist _cond(false);
if date<>date[1]then begin // 每日重置
value1=high; //記錄最高價
_cond=false; //紀錄是否有超過前日收盤
end;
if time>090000 and time<100000 then begin //10點之前執行
if high>value1 then value1=high;
if value1>(getfield(“close”,”D”)[
if _cond=True and close <=(value1*0.99) then ret =1;
end;
 
            
        
        
            
2 評論