PARAM:停損點(50)
PARAM:停利點(50)
1.系統平台僅供參考,投資人仍需自行判斷負責,本人不負任何法律責任。
2.任何參數請客戶自行設定,本人僅提供介面語法操作說明
3.實際可交易商品相關資訊請以主管機關公告為限。
if CurrentContracts > 0 then exitlong("多停損") next bar EntryPrice(0)-停損點 stop end if
if CurrentContracts < 0 then exitshort("空停損") next bar EntryPrice(0)+停損點 stop end if
if CurrentContracts > 0 then exitlong("多停利") next bar EntryPrice(0)+停利點 limit end if
if CurrentContracts < 0 then exitshort("空停利") next bar EntryPrice(0)-停利點 limit end if
PARAM:停利點(50)
1.系統平台僅供參考,投資人仍需自行判斷負責,本人不負任何法律責任。
2.任何參數請客戶自行設定,本人僅提供介面語法操作說明
3.實際可交易商品相關資訊請以主管機關公告為限。
if CurrentContracts > 0 then exitlong("多停損") next bar EntryPrice(0)-停損點 stop end if
if CurrentContracts < 0 then exitshort("空停損") next bar EntryPrice(0)+停損點 stop end if
if CurrentContracts > 0 then exitlong("多停利") next bar EntryPrice(0)+停利點 limit end if
if CurrentContracts < 0 then exitshort("空停利") next bar EntryPrice(0)-停利點 limit end if
沒有留言:
張貼留言