Support Board
Date/Time: Fri, 07 Feb 2025 17:56:19 +0000
how to find reference of line crossed by price
View Count: 424
[2022-08-27 14:41:51] |
User970210 - Posts: 99 |
Hi, how to find reference of a line with extend to future intersection of a study, crossed by price? thx |
[2022-08-29 09:25:14] |
|
We do not understand what is being asked for here.
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, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-08-29 16:22:26] |
User970210 - Posts: 99 |
sorry I realized this is a complex question. I have a study for pivot point to draw extension line until future intersection. I would like to use the reference ID# for another study when this line actually has been crossed by price at some point without to define the time period if possible. I hope I make myself clear this time. thx |
[2022-08-29 19:25:45] |
John - SC Support - Posts: 37827 |
Lines that are extended until a future intersection are not available through any built-in study. You can access these through a custom study, however. Refer to the following: sc.GetStudyLineUntilFutureIntersection() Although we are a little confused about what Pivot Point lines you are extending until the future, as the built-in Pivot Point studies draw a line through the entire current day, so there is no need to extend it. With the built-in studies, you would just need to reference the study ID and subgraph of the Pivot Point level you want. You would not need to look at anything other than the last bar, since the Pivot Points are straight lines. Depending on what exactly you want to do with this would determine how you would use it. For example, if this is going into an Alert, then the alert would look like the following: = C > IDx.SGy Where x is the ID number of the Pivot Point study and y is the Subgraph number of the Pivot Point level you want to reference. Note that the above only captures the situation where the last price goes above the pivot point level (i.e. from below it crosses to above). For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-08-31 20:25:38] |
User970210 - Posts: 99 |
John, thank you very much for your reply. I am terribly sorry I did not use correct words for my question. the line with extend until future intersection is from a color bar based on alert condition study, IDx.SG2. I would like to find the bar crossing this line at some point. thx
|
[2022-08-31 22:13:00] |
John - SC Support - Posts: 37827 |
The same answer still applies, the information for lines that are extended until future intersection is not available through any built-in study. Therefore you will not be able to create an alert against those extended lines unless you create a custom study.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-09-01 02:01:31] |
User970210 - Posts: 99 |
understand now. thx
|
To post a message in this thread, you need to log in with your Sierra Chart account: