討論區列表
MultiCharts
一般模式
討論串模式
標題:
[發表] maxpositionprofit, the opposite ?
by 2019-10-27 16:24:42
0
暱稱:
hks1022
信箱:不顯示
成就:發文(0) / 回文(0) / 推薦(0)
請教各位專家,
maxpositionprofit 取得目前部位的曾經最大獲利,那麼,如果我是要取得目前部份的曾經最大損失,有function可以使用嗎?
第1篇:
[發表] maxpositionprofit, the opposite ?
by 2019-10-28 08:43:59
0
暱稱:
MultiCharts小秘書
信箱:不顯示
成就:發文(0) / 回文(0) / 推薦(94)
MaxPositionLoss
Returns a negative numerical value, indicating the largest loss reached while the specified position was held.
Usage
MaxPositionLoss(PosBack)
Where: PosBack - a numerical expression, specifying the position:
0 - open position;
1 - one position back (the last position closed);
2 - two positions back, etc.
If PosBack is not specified, a value for the open position will be returned.
Notes
This function can only be used in signals.
Example
MaxPositionLoss will return a value of 0 if the value of the open position has not dropped below the entry price at any time while it was held
MaxPositionLoss (1) will return a value of -10 if the most recently closed position has dropped in value as much as �10 while it was held
第一頁
上一頁
1
下一頁
最後頁
討論區列表
MultiCharts
MultiCharts
│
討論區
│
會員專區
│
教學講座
│
支援與服務
│
產品購買
│
申請試用
All rights for MultiCharts Trading Software are reserved by MultiCharts, LLC
凱衛資訊股份有限公司 營利事業統一編號(21261212) 著作權所有 本網站最佳瀏覽解析度為 1024 x 768
隱私權政策
│
網站安全政策
│
著作權說明
若不清楚點選圖片更新驗證碼
註冊帳號
忘記密碼
解除鎖定