Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 00:17:38 +0000



Problem with

View Count: 847

[2014-12-10 05:20:34]
pointfisher - Posts: 3
When drawing a ray on a log scale chart, the ray, as rendered, does not pass through the second anchor point. The degree of deviation seems to depend on the angle of the ray (it's most noticeable when the ray has about a 45 degree slope).

A workaround is to use the parallel rays tool, turning off all but the primary line. The parallel rays tool does not exhibit this behavior (although it the tool itself does have a slight anomaly when used on a log scale chart).

Observed in versions 1183 through 1217.

http://www.sierrachart.com/image.php?l=1418188527778.png

[2014-12-10 08:08:47]
Sierra Chart Engineering - Posts: 104368
Other than what you visually observe, mathematically where is the problem and how would it be solved?

The Ray is extended using a linear equation. The coordinate mapping is correct.
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-12-10 08:37:21]
Sierra Chart Engineering - Posts: 104368
Although we need to look into why the Parallel Rays works differently.
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-12-10 08:43:02]
pointfisher - Posts: 3
I'm not sure what the mistake might be, but this problem was not evident in earlier (e.g. sub 1000) versions.

If you look at the supplied image, you can see the second anchor point (right in the middle of the image). The slope of the line deviates quite significantly from what was drawn with the tool.

So yes, maybe compare with the code for Parallel Rays, which still works as expected.
[2014-12-10 08:47:54]
Sierra Chart Engineering - Posts: 104368
The Parallel Rays drawing tool has a small implementation problem. This is why you do not notice it. But it is not working precisely like it should. We will be fixing this. What you are seeing is actually not correct even though it may look correct with Parallel Rays.
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-12-10 09:13:00]
pointfisher - Posts: 3
Just to be clear, Parallel Rays does produce a line that originates at the first anchor and passes through the second anchor, as expected. The Ray tool produces a line that does not pass through the second anchor. (I note also that the Extended Line tool has the same incorrect behavior.)

Compare the attached image, drawn using Parallel Rays, with the earlier one. The line drawn using Parallel Rays shows the expected behavior.

http://www.sierrachart.com/image.php?l=1418201872793.png

[2014-12-10 09:44:21]
Sierra Chart Engineering - Posts: 104368
Parallel Rays does produce a line that originates at the first anchor and passes through the second anchor, as expected.
Yes we know. But it should not do that on a logarithmic scale. There is an implementation problem with it. When that tool was worked on, it did not have the most accurate mapping method which is needed for most scenarios which are different than logarithmic scaling.
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-12-10 09:44:40

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

Login

Login Page - Create Account