想用開盤大於前一天收盤且過五分低點及低於平盤價通知
使用上有些在盤中破平盤卻無通知,是哪沒寫好嗎?
請協助
IF date<>date[1] then value1=0; //跨日清零
IF Time=090000 then
begin
value1 = low; //取得當天0900~0905的最低價
value2 = getfield("close","5")[1];
value3 = getfield("開盤價","5");
Value4 = GetQuote("成交");
end;
IF Time>=090500 and close < value1
and
value3 > value2 //開盤大於昨日收盤
and
value4 < value2 //成交價低過平盤
then ret=1;
2 評論