謝謝教授大力幫忙
橫線可以畫出來了
只是有個奇怪現象
value99 前幾個資料是對的, 之後會重複多次一樣的資料
比如粉紅圈圈這根k棒
應該要在Plot5(value99[3]), 但卻存到Plot10(value99[8])
Plot5(value99[3]) 到 Plot9(value99[7]) 跟 Plot4(value99[2]) 重複
不知道教授有沒有解決辦法?
謝謝

if ( (Condition1 and Condition3 and Condition4) or (Condition1 and Condition5) ) then
begin
value99 = low;
plot(1, low * 0.95, "entry");
PlotLine(2, 1, value99, CurrentBar, value99);
PlotLine(3, 1, value99[1], CurrentBar, value99[1]);
PlotLine(4, 1, value99[2], CurrentBar, value99[2]);
PlotLine(5, 1, value99[3], CurrentBar, value99[3]);
PlotLine(6, 1, value99[4], CurrentBar, value99[4]);
PlotLine(7, 1, value99[5], CurrentBar, value99[5]);
PlotLine(8, 1, value99[6], CurrentBar, value99[6]);
PlotLine(9, 1, value99[7], CurrentBar, value99[7]);
PlotLine(10, 1, value99[8], CurrentBar, value99[8]);
end;
5 評論