Lowest取不到值
作者:開拓者 TB 來源:cxh99.com 發布時間:2018年03月09日
-
咨詢內容:
代碼如下:
- ? ? ? ? If(CrossUp)
- ? ? ? ? {
- ? ? ? ? PreDownLen1 = CountCrossDown1;
- ? ? ? ? PreDownLen2 = CountCrossDown2 - CountCrossUp2;
- ? ? ? ? Commentary("上一死叉周期數: "+Text(PreDownLen1));
- ? ? ? ? Commentary("上兩死叉周期數: "+Text(PreDownLen2));
- ? ? ? ? LastPriceL1 = Lowest(Close, PreDownLen1); //上個死叉周期最低收盤價
- ? ? ? ? LastPriceL2 = Lowest(Close[CountCrossDown2], PreDownLen2); //上上個死叉周期最低收盤價
- ? ? ? ? Commentary("上一死叉周期數最低收盤價: "+Text(LastPriceL1));
- ? ? ? ? Commentary("上兩死叉周期數最低收盤價: "+Text(LastPriceL2));
- ? ? ? ? }
?
?來源:CXH99.COM
-
TB技術人員:
編譯和語法沒有問題,就是取不到Lowest值,還請大神指點。