Support Board
Date/Time: Fri, 18 Apr 2025 06:35:24 +0000
How can I create automatically a horizontal line at time from yesterday
View Count: 2807
[2014-09-22 15:40:56] |
User82828 - Posts: 44 |
How can I create a horizontal line at time from yesterday? I already use horizontal lines at time for the current day, however I also need horizontal lines at time from yesterday. For example in Germany the offical close of the YM future is at 22pm. So on my chart for the next day I would like to display this close price automatically as a horizontal line. Is this possible and how does it work? |
[2014-09-22 15:53:12] |
|
For this use the Daily OHLC study: http://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s137 It can be set to draw OHLC lines from the previous day. Any of the lines you do not want to see you can set the Draw Style for them to Ignore. 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 Date Time Of Last Edit: 2014-09-22 15:53:28
|
[2014-09-22 18:04:54] |
User82828 - Posts: 44 |
yes I already now the daily OHCL study and already use it for other charts. However I need a study, which makes automatically a horizontal line at time from yesterday (e.g. at 22pm for the YM-future), because after 22pm (e.g. at 22:01pm) there are further YM future data available and plotted. How can this be realized? |
[2014-09-22 18:15:42] |
vegasfoster - Posts: 444 |
I think you want the Horizontal Line at Time study. https://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s306
Date Time Of Last Edit: 2014-09-22 18:17:27
|
[2014-09-22 19:12:57] |
|
Why is it that the Daily OHLC study does not work for you? It follows the chart Session Times. You can set the End Time to 22:00:00 in Chart >> Chart Settings. It can reference the prior day. 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 |
[2014-09-22 20:24:06] |
User82828 - Posts: 44 |
I don't want to limit the session time of the YM to 22pm, because sometimes I'm still in an open trade after 22pm ;-) But taking your posting into account I think I can solve the problem by opening an additional YM chart with a session end of 22pm. From this chart I can copy the 22pm horizontal line (derived from the daily OHLC study) to my major YM trading chart by using the options chart Settings/Advanced Settings 2/Copy chart Drawings for different symbols. Does that work? An easier way would be to enhance the study "Horizontal Line at Time" with the option, that it can be also used for the day before. Are you working on that? Date Time Of Last Edit: 2014-09-22 20:24:49
|
[2014-09-22 20:26:30] |
|
For this you will need to use the Study/Price Overlay study: Http://www.sierrachart.com/index.php?page=doc/helpdetails28.html An easier way would be to enhance the study "Horizontal Line at Time" with the option, that it can be also used for the day before. Are you working on that? 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 |
[2025-03-26 14:29:11] |
User708541 - Posts: 135 |
I want to bring back this idea if it's not currently possible. How can we place an automatic horizontal line at a specific time from yesterday (previous day)? I'm referring to a horizontal line that is NOT an Open, High, Low or Close. Let's say I want a horizontal at 10:30 from the previous day marked on my chart. Is this possible since 2014 (When this post was created)?
|
[2025-03-26 14:49:11] |
John - SC Support - Posts: 39353 |
Place an automatic horizontal line at what time and at what price? How are these two items determined?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-03-26 21:26:34] |
User708541 - Posts: 135 |
Just like you can place a horizontal line at a time for the current session, I'd like to do the same for the previous session and have is drawn in the current session. So, as I mentioned in my previous comment, let's say at 10:30 from the previous day I want a horizontal line drawn in the current session. Like we can do now with the Horiz. Line at Time study, it would be a horizontal line at the [Open] one day prior at [10:30]. We can do horizontal line at time now, I just want to be able to do the same thing but for the previous day and carry that line forward into the current session. I hope that is more clear. Thank you. Date Time Of Last Edit: 2025-03-26 21:32:03
|
[2025-03-26 21:47:49] |
John - SC Support - Posts: 39353 |
Probably the "easiest" way to do this would be to use the Spreadsheet Study. To place a line at the Open for the previous day from the bar at 10:30:00, you would enter the following: Cell K3: =IF(AND(WEEKDAY(A3) = WEEKDAY($A$3) - 1, FRACTIME(A3) = TIME(10, 30, 00)), B3, 0) Cell L3: =MOSTRECENTNONZEROVALUE($K3:$K2000) L3 then has the line you want to display. Note that the above will work for any day but Monday. If you need to do this for Monday and show the data from Friday, then you will need to modify the K3 formula. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-03-26 22:46:32] |
User708541 - Posts: 135 |
That's the "easiest" way? Oh-My! Yes, I would need this to work on Monday with Friday's data.
|
To post a message in this thread, you need to log in with your Sierra Chart account: