Login Page - Create Account

Support Board


Date/Time: Sun, 08 Sep 2024 00:26:04 +0000



Where are my stops and targets?

View Count: 123

[2024-07-03 12:57:14]
Ed C. - Posts: 115
This may sound like a silly question, but I can't find a study that would show me where my stops are or where my target is! There's the "Trading: Position Average Price" study to show me where my entry is, but not where my stops or target is.

What I'd like to do is to automatically calculate a target, based on my entry and stop price and based on a specific risk:reward ratio. It's easy to do if you have your stop and target price, but I can't find those two specific pieces of data so I can feed them into the "Spreadsheet Formula" study...
[2024-07-03 14:34:05]
John - SC Support - Posts: 34254
That information is not available through the built-in studies. You would have to create a custom study to get that information and then set things the way you want. Refer to the following:
Automated Trading From an Advanced Custom Study: Getting Order Information

List of Third Party Sierra Chart Study and System Programmers
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-07-03 14:50:21]
Sawtooth - Posts: 4083
What I'd like to do is to automatically calculate a target, based on my entry and stop price and based on a specific risk:reward ratio.
Cell J96 of the Spreadsheet System for Trading study outputs the stop price, if you are using Attached Orders.
If you are using Limit or Stop entries, J94 outputs those prices.
Date Time Of Last Edit: 2024-07-03 14:51:01
[2024-07-03 15:08:09]
Ed C. - Posts: 115
Spreadsheet System for Trading

I realize that, but how can I get those values inside a study?
[2024-07-03 16:49:54]
Sawtooth - Posts: 4083
I realize that, but how can I get those values inside a study?
You could use the Spreadsheet System for Trading study directly, instead of the Spreadsheet Formula and the Trading System Based On Alert Condition studies.

But if you want those values for use in other studies:
- Add the Spreadsheet System for Trading study
- Set the Number of Rows to 1
- use these formulas on the spreadsheet:

Stop price:
Cell O3:
=IF(ROW()=3,$J$96,0)

Limit or Stop entry price:
Cell P3:
=IF(ROW()=3,$J$94,0)

(Note: Don't use columns K-N)

Then reference SG5 and SG6 of the Spreadsheet System for Trading study.
[2024-07-03 16:51:24]
ForgivingComputers.com - Posts: 928
Use one of the Formula Cells to make the value appear as a subgraph. K3 outputs as Subgraph 1, L3 is Subgraph 2, etc.

K3
=J96

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

Login

Login Page - Create Account