Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 18:43:45 +0000



Open Profit Loss

View Count: 397

[2023-07-08 14:53:59]
77sx7 - Posts: 16
I see many studies available like-

'Trading: Daily Profit/Loss'
'Trading: Position Quantity'

Am I missing a 'Trading: Open Profit/Loss'?

I want to use these in tandem with the 'Write Bar and Study Data to File'. I see no data for Open Profit/Loss for a chart.

Any help is appreciated

Thank you
[2023-07-09 07:14:44]
Ticks - Posts: 183
There is a workaround that I use.
1. Add a spreadsheet study to your chart
2. Expose the "Open Profit/Loss (read-only):" value by placing this formula
=J9
in column M row 3.
3. Add the study "Study Subgraph Reference" to your chart.
4. Reference the spreadsheet study and select"M(SG3)".

You can now use the value however you would like to.
[2023-07-09 11:21:53]
Sierra_Chart Engineering - Posts: 17198
No that is not supported. The information of that is not available historically and would not work reliably. It is not anything we would ever offer.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-07-09 11:21:58
[2023-07-09 11:59:15]
77sx7 - Posts: 16
Sierra_Chart Engineering- Not looking for Historical information of Open Profit/Loss, just something that would export with the "write bar data' study. If I can see it on screen with a 'Trading: Profit/Loss Text' study, why doesn't it write to file?

Thank you Ticks- I tried your method. However, nothing is produced in the Write Bar Data study file. I appreciate your time.
Date Time Of Last Edit: 2023-07-09 12:41:18
[2023-07-09 13:37:36]
Sierra_Chart Engineering - Posts: 17198
This is because the study Trading: Profit/Loss Text does not output data to a Subgraph.

You can create your own custom study to accomplish what you need. Refer to:
How to Build an Advanced Custom Study from Source Code
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-07-09 13:38:15

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account