Support Board
Date/Time: Fri, 10 Jan 2025 19:50:55 +0000
Range Chart - issue
View Count: 873
[2016-09-26 23:20:26] |
Marek F - Posts: 244 |
Chart: Range Per Bar-Standard The Issue there is only on specific bar. See "incorrect" in attached pic. In the Tool Values Window, the Price Chg is displayed red, even though the Last of this bar ("incorrect") is equal the Last of previous bar. The Last of the "correct" bar is equal the Last of previous bar, but The Price Chg of the "correct" bar is black. This issue causes malfunctions in the ACSIL code: if (sc.Close[sc.Index] == sc.Close[sc.Index - 1])
returns false for "incorrect" bar and should be true.Thanks |
[2016-09-26 23:50:14] |
Sierra Chart Engineering - Posts: 104368 |
For this comparison: if (sc.Close[sc.Index] == sc.Close[sc.Index - 1]) You need to use: sc.FormattedEvaluate() We will solve the problem with the coloring of the Price Change text. 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: 2016-09-27 00:22:04
|
[2016-09-27 18:52:12] |
Marek F - Posts: 244 |
I can use the function sc.FormattedEvaluate(), but in any chart of type "Days-Mins-Secs Per Bar" i never had to use this function for comparison between the sc.Close and sc.Open and sc.High and sc.Low to get correct return, so i thought that there is the issue in the chart type "Range Per Bar-Standard".
|
[2016-09-27 21:16:15] |
Sierra Chart Engineering - Posts: 104368 |
No, there is not an issue.
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: