寶塔線翻紅問題

  •   225 
  • 最後發表   HYTA  2018 四月 30
HYTA 發文於   2018/04/27

請問我目前是用帥哥元的程式碼求今天的寶塔線翻紅的股票有哪些(今日收盤大於前三日最高價),今天是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;

XQ小幫手 發文於   2018/04/30

你好:

小幫手將此程式碼改成指標,確實是沒有條件達成

建議你可以在原討論文章詢問作者,以上說明。

發表回覆
Close