♥ 0 |
Pete, this request is link to a previous post named “Label to display current price of debit spread”. The original label has been great for me, so thanks for the time and suggestions. In working with this label for several months, I realize I could enhance it to include a second label that denotes the actual Mark price difference (actual profit). Today the code is tracking the value of the spread, and I would like to track the value of the trade, in other words. i.e. spreadValue – debitPaid = tradeValue So I will provide the debit paid amount as Input, and will expect to see two labels side by side, first one being the original (spreadValue) and the new one being (tradeValue). Thanks
Marked as spam
|
Private answer
Whenever you reference a previous post you should include a link to that post in your question. Since you did not, I will provide a link to that post here: https://www.hahn-tech.com/ans/label-to-display-current-price-of-debit-spread/ I will be updating the title to this question to use the most common term for this: spreadValue – debitPaid = tradeValue That computation is referred to as Open Profit/Loss everywhere on Thinkorswim. So we need to use the correct terminology to ensure the rest of our viewers are able to search for and find this solution. We only need to add two lines to the original code. Here is the complete solution:
Marked as spam
|
Please log in to post questions.