Login Page - Create Account

Support Board


Date/Time: Thu, 13 Feb 2025 17:28:59 +0000



Horizontal Line at Time Problem

View Count: 1234

[2020-12-10 00:14:44]
User52897 - Posts: 47
1. I can find no way to set Sierra Chart Horizontal Line at Time to 'immediately' draw the full [Start Time]-to-[End Time]length once the Horizontal Line start time is triggered.
2. Sierra Chart draws the Horizontal Line incrementally as each candle forms.
3. This is functionally unsatisfactory as it fails to give clear visual representation - in fact, when the line first starts to draw - incrementally as each candle is formed - it is hard to detect it unless one has ones eyes glued to the screen and paying vigilant attention.
5. This does make for relaxed trading.
4. This is not the case with MT4 and cTrader - where with correct coding - once a Horizontal Line Start Time is triggered the full [Start Time]-to-[End Time] line length is immediately drawn.
5. While,no doubt, a great charting with immense utility, this study is plainly substandard with regards the described limitation.
6. If this limitation is not factual please advise and accept apology.
Date Time Of Last Edit: 2020-12-10 00:17:36
[2020-12-10 08:23:20]
Sierra Chart Engineering - Posts: 104368
The Horizontal Line at Time study does work as documented and does work properly. We did run a test. However, there may be a scenario where there is a problem or it could be a new problem that has recently developed under certain scenarios.

Provide that chart with just that study only by following these instructions and we will have a look and see what the issue is:
Support Board Posting Information: Providing Chartbook with Only a Single Chart
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
[2020-12-10 11:21:06]
User52897 - Posts: 47
1. It does not sound as if we are on the same page.
2. There is no doubt - in my mind - that Sierra Chart Horizontal Line at Time works properly in accordance with the documentation descriptive - and that is precisely the problem - both the documentation function descriptive and the exact execution in accordance with the documentation descriptive are inadequate.

Here the essence of the documentation detailing the essence of execution.

The Horizontal Line at Time study will draw a horizontal line starting from the Start Time Input at the level of that chart bar specified with the Input Data Input, all the way up until the bar that the next occurrence of the time is encountered, or the Stop Time if used.

At that new encountered time, the level will change to the Input Data value on the new bar.

By default, the Time (both Start and Stop) is considered to be found at a bar when that bar contains the Time, or if that bar is greater than the Time and the prior bar is less than the Time. The Inputs for Use Allowed Range for Match in Minutes and Allowed Range for Match in Minutes can be used to modify this behavior.

As far a my understanding goes the execution of Sierra Chart Horizontal Line at Time is exactly in accordance with the above descriptive. Again, that is the essence of the problem.

Example: consider -> Sierra Chart Horizontal Line at Time with a Start Time of 07:00 and End Time of 23:59 on a 2 minute period time frame.

1. So a two minute candle includes the the Horizontal Line at Time start time of 07:00.
2. In accordance with the documentation descriptive and execution in accordance with the documentation descriptive how long will the HL be ?
3. Will it immediately be draw the the full length between 07:00 and the future 23:59 ? No that is not the documentation descriptive. And again, that is the problem.
4. Again, execution is exactly in accordance with the documentation descriptive so -----
5. after two minutes past 07:00 the length of the HL will be one 2 minute candle - HL length in time 07:00 to 07:02.
6. after four minutes past 07:00 the length of the HL will be two 2 minute candles - HL length in time 07:00 to 07:04.
7. etc., etc
9. In other words, at any given time before 23:59 the Sierra Chart HL is the length from the HL start time to the most current candle - not 07:00 to 23:59.
8. This is functionally unsatisfactory as it fails to give an immediate clear visual representation - in fact, when the line first starts to draw - incrementally as each candle is formed - it is hard to visually detect the HL unless one has ones eyes glued to the screen and paying vigilant attention.
9. This does not make for relaxed trading.
10. This is not the case with MT4 and cTrader - where with correct coding - once a Horizontal Line Start Time is triggered the full [Start Time]-to-[End Time] line length is immediately drawn. In other words - in the the above example case when the HL start time is triggered the length of the HL will immediately be from 07:00 to 23:59 - not grow in length starting at the HL start Time and incrementally increasing in length with every current candle.
11. While,no doubt, a great charting with immense utility, this study is has a limitation not found in lesser charting.
Date Time Of Last Edit: 2020-12-10 14:13:55
[2020-12-10 15:30:15]
John - SC Support - Posts: 37934
What you seem to be missing is an understanding of how Sierra Chart deals with forward time in relation to the current bars and how the studies deal with this. In this particular case, there is not an option to draw into the fill area to the right of the current bar.

If you want to have a line that is drawn out to the right of the last bar into the fill area and fully to the right of the chart, then use the Horizontal Ray drawing tool. Refer to the information here:
Chart Drawing Tools: Horizontal Line | Horizontal Ray | Horizonal Line Non-Extended | Vertical Line

If you want to control the number of bars forward that the line extends, then you could use the Forward Project Bars study and set it to be based on the Horizontal Line at Time and set the Subgraphs Graph Draw Type to Line on Open. Refer to the information here:
Forward Projection Bars
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-12-11 10:11:31]
User52897 - Posts: 47
Thank yo for reply - I appreciate time and labor.

What you seem to be missing is an understanding of how Sierra Chart deals with forward time in relation to the current bars and how the studies deal with this. In this particular case, there is not an option to draw into the fill area to the right of the current bar.

I disagree. I think it is very evident from my detailed reply that I understand exactly how Sierra Chart deals with forward time in relation to current bars. My detailed reply makes it quite evident that I am aware that in this particular case, here is not an option to draw into the fill area to the right of the current bar. Both these points are made explicitly clear in my detailed reply further clarifying that these two point are explicitly the problem with this study.

Manually placing the ray tool on the chart is a work around - however, from my utility perspective it is unworkable. I place trade orders via a single keyboard key because it is fast and efficient. It requires merely putting cursor focus on a chart and pressing a single down or up arrow. No need to to seek out the location of order button or tentatively and expectantly hover cursor over an order button. Likewise, I require all studies to be fully automatic and self maintaining in execution without the need for manual intervention assistance.

If I have a reasonably priced runner with electronic turning indication signalling when I hire a Lambotghini I do not expect to have to resort to hand signalling.

I have - myself - coded this study (indicator) in both MQL versions and cAlgo. Its very basic code.

In this very minor instance relative to the vast Sierra Chart utility this study falls flat on it back. Its plain and simple. This is either(with respect to previously detailed function and operation) as ready-to-go or otherwise a quick 1,2,3 accomplishment in other charting. Time permitting, it appears I will have to code this myself in Sierra Chart or have have it coded.
Date Time Of Last Edit: 2020-12-11 10:15:05
[2020-12-11 10:36:30]
Sierra Chart Engineering - Posts: 104368
Please make modifications to the existing study to meet your requirements. This will be the fastest solution. Documentation regarding this:
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account