您好..
我想警示股票1K記錄從 昨日午12點開始到現在(091000)的高...
091000後過高警示...可以幫忙調整嗎?
是不是用時間計算比K棒計算省資源呢?怕跑太多跑不動..
if barfreq <> "Min" or barinterval <> 1 then raiseruntimeerror("腳本只適合用於1分鐘");
if time = 120000 then begin
value1 = high;
end;
else if time > 120000 or time <= 091000 then begin
if high > value1 then value1 = high;
end;
if time >= 091000
and
high > value1
then ret=1;
7 評論