程式策略 要取三天內的"最高點"與"最低點" 如何寫呢?
30分鐘策略
if close > highd(3) then buy 1 next bar at market
if close < lowd(3) then sell 1 nest bar at market
這樣寫好像不對
minlist(lowD(0),lowD(1),lowD(2))
maxlist(highD(0),highD(1),highD(2))