Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 10:31:12 +0000



Post From: Daily OHLC previous high incorrect on non-time-based chart

[2023-12-13 15:39:14]
joshtrader - Posts: 488
On a 1 minute chart, the "PrevHigh" value is correct, at 4698.50:

https://www.sierrachart.com/image.php?Image=1702478230200.png

When changing to a 5000V chart, the "PrevHigh" value is incorrect, and shows 4698.25:

https://www.sierrachart.com/image.php?Image=1702478170772.png

(see the last few bars before the background color changes)

This is no doubt related to the fact that the high tick at 4698.50 was made with a timestamp of 15:59:59.xxx, so I suspect a rounding error of some sort is involved. This is for yesterday, trade date 12/12/2023.

Attached are the study settings. The symbol settings are to start 9:30:00 and end 15:59:59, and "new bar at session start" is set to Yes. This occurs whether evening is enabled or not. Also, I tried to increase the number of bars by going to a 500V chart, but see the same result.
imageSC_DailyOHLC.png / V - Attached On 2023-12-13 15:38:21 UTC - Size: 117.53 KB - 58 views