Support Board
Date/Time: Mon, 23 Dec 2024 12:51:57 +0000
Chart drawing not being drawn to correct location occasionally.
View Count: 960
[2015-09-22 19:08:36] |
CustomIndicators - Posts: 126 |
Heya SC Engineers, I've run into one hell of a roadblock. Without getting this fixed, I can't move on in one of my projects. In the code logic, it doesn't make sense to me why it would be occasionally drawing the signal wrong, when most of the time it nails it. I'm attaching a few files for you. Pic: Error.png You will notice that a yellow line doesn't end on the correct high on both the price and oscillator, yet there is a yellow down arrow that marks the spot perfectly in price. Pic: GreenArrow.png You will notice that there are a couple yellow lines also not going to the correct locations, while their yellow downward arrow and red downward wedge are placed correctly. There is a green arrow on the bottom closer to the end of a chart with no line going to it at all. Pic: StartWrong.png The yellow line on the signal at the center of the pic doesn't start at the correct placing. There are other examples of correct drawings on this chart. Ignore the yellow line in the null space, its a backed up chart from a backtest. |
Private File Private File Private File Private File Private File |
[2015-09-22 22:58:53] |
Sierra Chart Engineering - Posts: 104368 |
You are providing us too much information. And we will not examine the entire source code file either. Where you see an incorrect placement of a drawing, do you see repeating times for the chart bars at that point? You can use the Chart Values tool to determine 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 |
[2015-09-23 18:26:50] |
CustomIndicators - Posts: 126 |
Alright, it appears that the time stamps do in fact match. This, of course, brings me to a concern. One of the charts I use is a 16 tick chart. In the active time of the day, I can't tell whats going on, but thats what the bot is for. I'm trying to get the milliseconds working, but do you support greater precision in microseconds? I noticed that in the scdatetime.h file, you have this line hanging out: static const __int64 MICROSECONDS_PER_SECOND = MICROSECONDS_PER_MILLISECOND*MILLISECONDS_PER_SECOND; // number of microseconds in a second = 1 000 000
I can't seem to find code that allows for microseconds. If you haven't implemented it, do you plan to? Is it giving you too much trouble? |
[2015-09-24 00:26:46] |
CustomIndicators - Posts: 126 |
I just came across a drawing where the date times are separate. My line should have ended on 2015-09-24 00:19:01:017, but it ended up landing on 2015-09-24 00:10:45:002. Are there any other reasons this would happen, when it works perfectly elsewhere? |
[2015-09-24 04:45:51] |
Sierra Chart Engineering - Posts: 104368 |
We need a little time to look into this. We have more than enough information and we know how to solve this but we just need to work out the details and implement them. We do not expect this will take longer than two weeks if it goes as expected. 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: 2015-09-24 05:24:50
|
[2015-09-24 17:05:59] |
CustomIndicators - Posts: 126 |
Just to be clear, are you going to be implementing microseconds, or fixing a different part?
|
[2015-10-03 08:38:50] |
Sierra Chart Engineering - Posts: 104368 |
We are working on a solution. We cannot go into further details at the moment. One solution you can use is to specify the horizontal coordinates for Chart Drawings using bar indexes rather than the Date-Time value. That will solve the problem. The s_UseTool structure has member variables for 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 Date Time Of Last Edit: 2015-10-03 08:39:17
|
To post a message in this thread, you need to log in with your Sierra Chart account: