程式碼如下,我的問題是為什麼value1改變後,value2沒有隨著更新?
請小幫手協助查找錯誤,感謝!!
input:DD(30,"創新高"),VO(10);
if high=highest(high,DD)
then condition1=true
else condition1=false;
value1=barslast(condition1);//創高至今有幾天
value3=high[value1];
if volume=lowest(volume,value1) and volume>VO
then condition2=true
else condition2=false;
value2=barslast(condition2);
value4=high[value2];
2 評論