關於錢德指標週選股,我選日很正常,但選週就不正確了,能否幫忙看ˋ一下,因為週選會顯示不正確ˋ的股票類型
Input:length(34); setinputname(1, "天期");
variable: SU(0),SD(0);
SetTotalBar(900);
if close >= close[1] then
SU = CLOSE - CLOSE[1]
else
SU = 0;
if close < close[1] then
SD = CLOSE[1] - CLOSE
else
SD = 0;
value1 = summation(SU,length);
value2 = summation(SD,length);
if value1+value2 <> 0 then value3 = (value1-value2)/(value1+value2)*100;
condition1 = value3 crosses Above 25;
condition10 = CONDITION1;
if condition10 then ret = 1;
1 評論