if date<>date[1] then begin
value1=getField("最高價", "5");
end;
plot1(value1);
if date<>date[1] then begin
value1=getField("最高價", "5");
end;
plot1(value1);
日頻率之下,date<>date[1]永遠為True。改用5分鐘頻率就OK。
許教授 你好
在5分頻率,沒有問題,但是我想在日頻率上顯示,有辦法嗎?
跨頻率的一個原則:主頻率比較小,亦即小跨大。你現在反過來,會有問題。我不清楚是否可以這樣做,你試試看下列的程式碼。
if currentTime>=090000 and currentTime<090500 then value1=getfield("最高價","D");
plot1(value1,"前5分鐘最高價");
了解了,謝謝
我不清楚是否可以這樣做,你試試看下列的程式碼。
if currentTime>=090000 and currentTime<090500 then value1=getfield("最高價","D");
plot1(value1,"前5分鐘最高價");
5 評論