input:Length_D(9,"日KD期間");
variable:rsv_d(0);K_Value(0);D_Value(0);
stochastic(Length_D, 3 ,3, rsv_d,K_Value,D_Value);
condition1=K_Value>80 and K_Value[1]>80 and K_Value[2]>80;
condition2=D_Value>80 and D_Value[1]>80 and D_Value[2]>80;
condition3=true;
condition4=true;
condition5=true;
//成交量判斷
//condition99=Average(Volume[1], 100)>=1000
if condition1
and condition2
and condition3
and condition4
and condition5
then ret=1;
這是我寫的一個script
目的在提醒KD鈍化
請問我哪裡寫錯了呢?
出現了以下這樣的錯誤訊息
KD鈍化319函數 K_Value 需要輸入 2 個參數
 
            
        
        
            
1 評論