|
我用print檢查一下
結果highest(high[1],3)確時有取到最高值
結果lowest(low[1],3)卻沒有取到最低值(一直取到0)
到底是為甚麼呢?
還請各位指導!
P.S.我用5分線圖
下面是我用的程式碼
-----------------------------------
variables: aa(1),bb(1)
if time = 085000 then
aa=highest(high[1],3)
bb=lowest(low[1],3)
end if
Print(cdate(date),ctime(time),"aa = ", aa,"bb =",bb) |
|