請問我目前是用帥哥元的程式碼求今天的寶塔線翻紅的股票有哪些(今日收盤大於前三日最高價),今天是2018/4/27 我網路
查寶塔線翻紅裡頭有達運這家公司,但是以下程式碼 卻沒跑出來
請問是什麼問題呢?
input: Length(4);
variable: _Index(0), HV(0), LV(0);
settotalbar(200);
HV = Close[1];
LV = Close[1];
for _Index = 2 to Length + 1
begin
if HV <= Close[_Index] then HV = Close[_Index];
if LV >= Close[_Index] then LV = Close[_Index];
end;
if Close[1] < LV[1] and Close > HV then ret=1;
1 評論