Parameter: Length(10)
Variables: AroonUp(0), AroonDn(0)
1.系統平台僅供參考,投資人仍需自行判斷負責,本人不負任何法律責任。
2.任何參數請客戶自行設定,本人僅提供介面語法操作說明
3.實際可交易商品相關資訊請以主管機關公告為限。
AroonUp = (Length - HhvBars(High, Length + 1)) / Length * 100
AroonDN = (Length - LlvBars( Low, Length + 1)) / Length * 100
if AroonUp - AroonDn cross over 0 then
Buy("多單") next bar at market
end if
if AroonUp - AroonDn cross below 0 then
Sell("空單") next bar at market
end if
Variables: AroonUp(0), AroonDn(0)
1.系統平台僅供參考,投資人仍需自行判斷負責,本人不負任何法律責任。
2.任何參數請客戶自行設定,本人僅提供介面語法操作說明
3.實際可交易商品相關資訊請以主管機關公告為限。
AroonUp = (Length - HhvBars(High, Length + 1)) / Length * 100
AroonDN = (Length - LlvBars( Low, Length + 1)) / Length * 100
if AroonUp - AroonDn cross over 0 then
Buy("多單") next bar at market
end if
if AroonUp - AroonDn cross below 0 then
Sell("空單") next bar at market
end if
沒有留言:
張貼留言