Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 19:46:04 +0000



[Locked] - Problem with Ray and Parallel Ray on Log Scale

View Count: 1265

[2018-01-04 15:00:28]
Al SC Developer - Posts: 434
When using a log scale, the Ray and Parallel Ray tools do not draw correctly. The anchors are set properly, but the lines are drawn incorrectly. Also, you can not select the ray by clicking on it, but instead need to click where the drawn ray would be.

The following is an example with the ray selected, and the anchor/ray difference highlighted:

http://www.sierrachart.com/image.php?Image=151507769721.png

The following is the same chart after switching to linear scale:

http://www.sierrachart.com/image.php?Image=1515077792294.png

This seems to affect other extending tools as well (i.e. extended line).
[2018-01-04 18:48:39]
Sierra Chart Engineering - Posts: 104368
We will look into this.
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
[2018-01-04 20:38:28]
John - SC Support - Posts: 31233
This is the correct behavior for these drawings. This is due to keeping the slope consistent when using a log scale. You can find documentation on this here:
https://www.sierrachart.com/index.php?page=doc/helpdetails34.html#LogarithmicScalingAndRays
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-01-04 20:47:52]
Al SC Developer - Posts: 434
No, I do not think you understand. The basic issue is you can not draw a ray on a log scaled chart. When you do, the first anchor is placed correctly, and the second anchor and line no longer coincide while placing the second anchor. This is just wrong, as I am giving you the two points the line goes thru. As an example, if you draw a "line" instead the two anchors and resulting line are correct. If you then extend that line it draws the line incorrectly.

I understand the doc in terms of straight line vs curve on log etc. However, the basic premise of line drawing tools is you provide the anchors and the lines go thru the those anchors. If I switch from log to linear scale, the line will move, but the anchors will NOT.

In its current form, sc extended line/ray drawings are not usable on a log scale.
[2018-01-04 22:19:24]
John - SC Support - Posts: 31233
We understand what you are stating. Again, this is working correctly.

What happens is that the original drawing has a slope that is defined by the two anchor points that are drawn. When the line is extended, the line starts at the end that is not extending and then draws the line to keep the same slope and have the other end extended to the end of the visible screen. In doing so, the line must move off the other anchor point to keep the slope consistent on the Logarithmic scale.

Again, the point here is that the decision was made to keep the slope consistent, not the anchor points.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-01-04 22:39:12]
Al SC Developer - Posts: 434
If it is working correctly (which of course it is not by any definition other than yours), then you need to add a new drawing type (or option) that respects the anchors all the time.

As is, SierraChart is fundamentally broken when trying to draw extended lines on a logarithmic scale.
[2018-09-08 21:12:35]
Queeq - Posts: 42
I agree with the OP: inability to draw log lines has been a major inconvenience for me for years. After some recent update lines/rays stopped being displayed at all if the logarithmic scale is active.

I think SC has lost a lot of users to Tradingview due to lack of some simple features like this one.
Date Time Of Last Edit: 2018-09-08 21:14:14
[2018-09-08 23:05:51]
Sierra Chart Engineering - Posts: 104368
After some recent update lines/rays stopped being displayed at all if the logarithmic scale is active.
We do see this and we were not aware of this. We are resolving this now.

As is, SierraChart is fundamentally broken when trying to draw extended lines on a logarithmic scale.
This is not true with how this is designed. And you very well know it.

We are now aware of not being able to right-click on an extended line on a logarithmic scale and perform actions on it at some points, and that will be resolved. We had thought this was not the case but we checked and it is the case and we do apologize for the delay with attending to that.

What we need to do is draw each portion of the line between chart bars as a separate segment on a logarithmic scale so there will be a curved line. That is something we are working on. Currently when a line is extended, the extended endpoint is going to map to a specific value on the vertical scale and a specific bar. That is the proper way to do it.

I think SC has lost a lot of users to Tradingview due to lack of some simple features like this one.
We do not really care and we do not think this is the case anyway. We will fix the problem with lines not appearing.

And as far as extending a line on a logarithmic scale, it is done properly if the line is straight, despite what you think. But really the only true proper way to do this is to draw the line as different segments and have it be a curved line.

The simple fact is is that on a logarithmic scale, the concept of a straight line is fundamentally flawed to begin with. That is the core problem. The lines are currently extended properly and will *never* change and we do not agree with anyone who differs on that. There has to be a standard way in which a line is extended to extend to proper endpoint values based on Date-Times and the actual vertical axis price scale. We did a very thorough analysis of this today and we are 100% certain that the way it is done now is correct. There must be consistency with chart drawings between different types of scales, linear or logarithmic, and the chart bars and study values. We will never engage in faulty extension methods which apparently trading view is using. If you want to use substandard software, Trading view by your own admission, you are welcome to leave Sierra Chart. That is perfectly fine with us.

The only true way to draw a line on a logarithmic scale is to draw it bar by bar and have it be curved.

Think of a chart graph which is linear and has a line on it and then you change to a logarithmic scale. The only way to accurately represent that line as it was before is for it to be a curved line.

For consistency therefore, being that the coordinates of a line use the standard linear chart values, when extending a line, these values are used for the extension using a standard linear equation, and then there is the final transformation to the logarithmic scale during drawing. All this makes complete sense. It cannot be done any differently.

Update: We realize why the lines are not drawn on a logarithmic scale, it was because of incomplete development (Still in progress) to be able to draw curved lines on a logarithmic scale to represent proper intersection with the price bars and ultimately give you what you want which is the ultimate perfection. This is going to be corrected in version 1801. But the curved line support will not be supported until a later release.

Here is an example of a properly drawn line on a Logarithmic scale:
http://www.sierrachart.com/image.php?Image=1536486926607.png

At every chart bar, the line is where it is supposed to be. And that is what users expect.

Same line without logarithmic scaling:
http://www.sierrachart.com/image.php?Image=1536486960979.png
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: 2018-09-28 03:47:26
[2018-09-19 20:24:47]
Sierra Chart Engineering - Posts: 104368
: inability to draw log lines has been a major inconvenience for me for years.

Line, Ray, Extending Line, Arrow, Pitchfork drawings on a Logarithmic scale now fully work as they should in the latest release.

The most recent issue involving lines not appearing at all on a logarithmic scale was because we were working towards a proper implemented solution and incomplete development had mistakenly been released.
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: 2018-09-19 20:26:41

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

Login

Login Page - Create Account